:root {
      --ink: #111827;
      --muted: #5b6472;
      --paper: #fbf7ec;
      --white: #ffffff;
      --line: #dde5e2;
      --brand: #0f766e;
      --brand-dark: #123f3b;
      --gold: #f2a900;
      --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
      --page-grid:
        linear-gradient(rgba(129, 112, 84, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 112, 84, 0.08) 1px, transparent 1px);
      --page-grid-size: 24px 24px, 24px 24px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 96px;
    }

    body {
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--page-grid), var(--paper);
      background-size: var(--page-grid-size), auto;
      color: var(--ink);
      line-height: 1.6;
      padding-top: 76px;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .container {
      width: min(1140px, calc(100% - 40px));
      margin: auto;
    }

    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 90;
      width: 100%;
      background: #ffffff;
      border-bottom: 1px solid #dbe7e3;
      backdrop-filter: blur(16px);
    }

    .navbar {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      min-height: 76px;
      gap: 20px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      justify-self: start;
      color: #172033;
    }

    .logo-img {
      display: block;
      width: 178px;
      max-width: 46vw;
      height: auto;
    }

    .nav-links {
      display: flex;
      align-items: center;
      justify-content: center;
      justify-self: center;
      gap: 22px;
      color: #354052;
      font-size: 15px;
      font-weight: 750;
    }

    .nav-links a {
      position: relative;
      transition: color 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--brand);
    }

    .preview-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 28px;
      border: 2px solid var(--brand);
      border-radius: 999px;
      background: transparent;
      color: var(--brand);
      font-family: inherit;
      font-size: 13px;
      font-weight: 900;
      line-height: 1;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .preview-link:hover,
    .preview-link.active {
      border-color: var(--brand-dark);
      background: rgba(15, 118, 110, 0.08);
      color: var(--brand-dark);
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(15, 118, 110, 0.15);
    }

    .nav-links a.active::after,
    .nav-links a:hover::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -10px;
      width: 28px;
      height: 3px;
      transform: translateX(-50%);
      border-radius: 999px;
      background: var(--brand);
    }

    .preview-link::after,
    .preview-link:hover::after {
      display: none;
    }

    .mobile-preview-link {
      display: none;
    }

    .mobile-menu-btn {
      display: none;
      width: 44px;
      height: 44px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--white);
      color: var(--ink);
      font-size: 24px;
    }

    .nav-actions {
      display: flex;
      justify-self: end;
      justify-content: flex-end;
      align-items: center;
      gap: 10px;
    }

    .whatsapp-float {
      position: fixed;
      right: calc(26px + env(safe-area-inset-right));
      bottom: calc(26px + env(safe-area-inset-bottom));
      z-index: 60;
      display: grid;
      place-items: center;
      width: 68px;
      height: 68px;
      border-radius: 50%;
      background: #25d366;
      color: var(--white) !important;
      box-shadow: 0 18px 42px rgba(17, 24, 39, 0.28);
      transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }

    .whatsapp-float:hover {
      background: #1ebe5d;
      color: var(--white) !important;
      transform: translateY(-3px);
      box-shadow: 0 22px 48px rgba(17, 24, 39, 0.34);
    }

    .whatsapp-float svg {
      display: block;
      width: 34px;
      height: 34px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 22px;
      border: 0;
      border-radius: 8px;
      background: var(--brand-dark);
      color: var(--white);
      font-size: 15px;
      font-weight: 900;
      line-height: 1;
      letter-spacing: 0;
      box-shadow: 0 14px 30px rgba(18, 63, 59, 0.24);
      transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn-primary:hover {
      background: #0b302d;
      color: var(--white);
      transform: translateY(-2px);
      box-shadow: 0 18px 36px rgba(11, 48, 45, 0.28);
    }

    .services-section {
      padding: 70px 0 86px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .service-card {
      position: relative;
      min-height: 240px;
      padding: 26px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--white);
      box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 46px rgba(17, 24, 39, 0.1);
    }

    .service-arrow {
      position: absolute;
      top: 24px;
      right: 24px;
      display: grid;
      place-items: center;
      width: 32px;
      height: 32px;
      color: var(--brand);
      font-size: 26px;
      font-weight: 700;
      line-height: 1;
      transition: color 0.2s ease, transform 0.2s ease;
    }

    .service-arrow:hover {
      color: var(--brand-dark);
      transform: translate(3px, -3px);
    }

    .service-icon {
      display: grid;
      place-items: center;
      width: 50px;
      height: 50px;
      margin-bottom: 18px;
      border-radius: 8px;
      background: #e6f6f3;
      color: var(--brand-dark);
      font-weight: 950;
      font-size: 22px;
    }

    .service-card:nth-child(2n) .service-icon {
      background: #fff4d7;
      color: #8a5a00;
    }

    .service-card:nth-child(3n) .service-icon {
      background: #ffe9e5;
      color: #9f2f23;
    }

    .service-card h2 {
      margin-bottom: 10px;
      font-size: 21px;
      line-height: 1.25;
    }

    .service-card p {
      color: var(--muted);
    }

    .service-card ul {
      margin-top: 16px;
      padding-left: 18px;
      color: #4b5563;
      font-size: 15px;
    }

    .cta-band {
      padding: 52px 0;
      border-top: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.55);
      text-align: center;
    }

    .cta-band h2 {
      margin-bottom: 12px;
      font-size: clamp(28px, 4vw, 42px);
      line-height: 1.12;
    }

    .cta-band p {
      max-width: 620px;
      margin: 0 auto 22px;
      color: var(--muted);
    }

    .site-footer {
      padding: 0;
      background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        radial-gradient(circle at 18% 0%, rgba(15, 118, 110, 0.18), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(139, 92, 246, 0.18), transparent 32%),
        #111827;
      background-size: 24px 24px, 24px 24px, auto, auto, auto;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      color: var(--white);
      font-size: 18px;
    }

    .footer-main {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 58px;
      padding: 86px 0 72px;
    }

    .footer-column {
      display: grid;
      align-content: start;
      gap: 20px;
    }

    .footer-column h2 {
      margin: 0 0 18px;
      color: #ffffff;
      font-size: 24px;
      line-height: 1.2;
    }

    .footer-column h2::after {
      content: "";
      display: block;
      width: 42px;
      height: 3px;
      margin-top: 12px;
      border-radius: 999px;
      background: #8b5cf6;
    }

    .footer-column a,
    .footer-column p {
      margin: 0;
      color: #d1d5db;
      line-height: 1.45;
    }

    .footer-column a {
      transition: color 0.2s ease, transform 0.2s ease;
    }

    .footer-column a:hover {
      color: #c4b5fd;
      transform: translateX(3px);
    }

    .footer-phone-row {
      display: flex;
      justify-content: center;
      gap: 22px;
      padding: 0 0 34px;
      color: #f8fafc;
      font-size: 15px;
      font-weight: 760;
      line-height: 1;
      flex-wrap: wrap;
    }

    .footer-phone-row a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 0 24px;
      border: 1px solid rgba(148, 163, 184, 0.22);
      border-radius: 999px;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(8, 13, 26, 0.52);
      color: #f8fafc;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.18);
      transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
      white-space: nowrap;
    }

    .footer-phone-row a:hover {
      border-color: rgba(196, 181, 253, 0.58);
      background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(15, 118, 110, 0.12)),
        rgba(8, 13, 26, 0.66);
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 42px rgba(0, 0, 0, 0.24);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.14);
      background: rgba(8, 13, 26, 0.5);
    }

    .footer-bottom-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      padding: 28px 0;
    }

    .footer-bottom-row p {
      margin: 0;
      color: rgba(255, 255, 255, 0.9);
      font-size: 16px;
      font-weight: 750;
    }

    .footer-links {
      display: flex;
      align-items: center;
      gap: 22px;
      flex-wrap: wrap;
      font-size: 16px;
      font-weight: 750;
    }

    .footer-links a {
      color: var(--white);
      transition: opacity 0.2s ease;
    }

    .footer-links a:hover {
      opacity: 0.76;
    }

    @media (max-width: 900px) {
      .navbar {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 16px 0;
      }

      .nav-actions {
        justify-content: center;
      }

      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 44px;
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(calc(100% - 28px), 1140px);
      }

      .nav-links {
        flex-wrap: wrap;
      }

      .preview-link {
        min-height: 44px;
      }

      .nav-actions .nav-preview-link {
        display: none;
      }

      .nav-links {
        position: absolute;
        top: 76px;
        left: 14px;
        right: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: 0 18px 36px rgba(17, 24, 39, 0.14);
      }

      .nav-links.active {
        display: flex;
      }

      .nav-links a {
        padding: 10px;
      }

      .nav-links .mobile-preview-link {
        display: inline-flex;
        width: 100%;
        min-height: 44px;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }

      .whatsapp-float {
        right: calc(18px + env(safe-area-inset-right));
        bottom: calc(18px + env(safe-area-inset-bottom));
        width: 60px;
        height: 60px;
      }

      .whatsapp-float svg {
        width: 30px;
        height: 30px;
      }

      .footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 58px 0 44px;
      }

      .footer-column {
        gap: 14px;
      }

      .footer-phone-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
      }

      .footer-bottom-row,
      .footer-links {
        flex-direction: column;
        justify-content: center;
        text-align: center;
      }
    }

    @media (max-width: 900px) {
      .navbar {
        grid-template-columns: 1fr auto;
        justify-items: stretch;
        padding: 0;
      }

      .mobile-menu-btn {
        display: grid;
        place-items: center;
      }

      .nav-actions {
        justify-content: flex-end;
      }

      .nav-actions .btn-primary,
      .nav-actions .nav-preview-link {
        display: none;
      }

      .nav-links {
        position: absolute;
        top: 76px;
        left: 14px;
        right: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: 0 18px 36px rgba(17, 24, 39, 0.14);
      }

      .nav-links.active {
        display: flex;
      }

      .nav-links a {
        padding: 10px;
      }

      .nav-links .mobile-preview-link {
        display: inline-flex;
        width: 100%;
        min-height: 44px;
      }
    }

    @media (max-width: 420px) {
      .container {
        width: min(calc(100% - 22px), 1140px);
      }

      .logo-img {
        width: 146px;
      }

      .services-section {
        padding: 44px 0 58px;
      }

      .service-card {
        min-height: 0;
        padding: 22px;
      }

      .cta-band .btn-primary,
      .footer-phone-row a {
        width: 100%;
      }
    }

    img,
    picture,
    svg,
    video {
      max-width: 100%;
      height: auto;
    }

    html,
    body {
      max-width: 100%;
      overflow-x: hidden;
    }

    .service-card,
    .footer-column {
      min-width: 0;
    }

    .footer-phone-row a,
    .footer-column a {
      max-width: 100%;
      overflow-wrap: anywhere;
    }
