:root {
    --cream: #F4EFE6;
    --cream-2: #ECE4D2;
    --sand: #E0D3B5;
    --ink: #1B2A3A;
    --ink-2: #2A3E54;
    --rust: #B84A2E;
    --rust-dark: #8E3621;
    --moss: #3A5A40;
    --moss-light: #588157;
    --paper: #FBF8F2;
    --line: rgba(27, 42, 58, 0.12);
    --line-strong: rgba(27, 42, 58, 0.25);
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* TOPOGRAPHIC PATTERN BACKGROUND */
  .topo-bg {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
  }

  /* TYPOGRAPHY */
  h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
  }

  .display {
    font-family: 'Fraunces', serif;
    font-variation-settings: "opsz" 144, "wght" 500;
    font-style: italic;
  }

  .mono {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
  }

  /* NAVIGATION */
  nav.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 248, 242, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }

  .nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--ink);
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--ink);
    border-radius: 4px;
    display: grid;
    place-items: center;
    background: var(--cream);
    position: relative;
  }

  .logo-mark::before {
    content: '';
    position: absolute;
    inset: 6px;
    background-image:
      linear-gradient(var(--ink), var(--ink)),
      linear-gradient(var(--ink), var(--ink));
    background-size: 100% 1px, 1px 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
  }

  .logo-mark::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--rust);
    border-radius: 50%;
  }

  .logo-text { display: flex; flex-direction: column; line-height: 1; }
  .logo-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; }
  .logo-sub { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--ink-2); margin-top: 2px; letter-spacing: 0.05em; }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
  }

  .nav-links a:hover { color: var(--rust); }

  .nav-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s;
  }

  .nav-cta:hover { background: var(--rust); transform: translateY(-1px); }

  .menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

  /* HERO */
  section.hero {
    position: relative;
    padding: 6rem 1.5rem 7rem;
    background: var(--cream);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--ink-2);
    border: 1px solid var(--line-strong);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    background: var(--paper);
  }

  .hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--moss-light);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(88, 129, 87, 0.2);
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(88, 129, 87, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(88, 129, 87, 0); }
  }

  h1.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--ink);
  }

  h1.hero-title .accent {
    font-style: italic;
    color: var(--rust);
    font-weight: 500;
  }

  .hero-desc {
    font-size: 1.15rem;
    color: var(--ink-2);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.55;
  }

  .hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }

  .btn-primary { background: var(--ink); color: var(--paper); }
  .btn-primary:hover { background: var(--rust); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(184, 74, 46, 0.3); }

  .btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
  }
  .btn-outline:hover { background: var(--ink); color: var(--paper); }

  /* HERO COORDINATES PANEL */
  .coords-panel {
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 20px 50px -20px rgba(27, 42, 58, 0.15);
    transform: rotate(-1.2deg);
  }

  .coords-panel::before {
    content: 'PUNCT GEODEZIC';
    position: absolute;
    top: -10px; left: 1.5rem;
    background: var(--paper);
    padding: 0 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--rust);
    letter-spacing: 0.2em;
  }

  .coord-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
  }
  .coord-row:last-child { border-bottom: none; }
  .coord-label { color: var(--ink-2); }
  .coord-value { color: var(--ink); font-weight: 600; }

  .coords-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--ink-2);
    line-height: 1.6;
  }

  /* SECTIONS GENERAL */
  section.block {
    padding: 5rem 1.5rem;
    position: relative;
  }

  .container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--rust);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .section-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--rust);
  }

  .section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    margin-bottom: 1rem;
    max-width: 800px;
  }
  .section-title em { color: var(--rust); font-style: italic; font-weight: 500; }

  .section-lead {
    font-size: 1.1rem;
    color: var(--ink-2);
    max-width: 700px;
    margin-bottom: 3rem;
  }

  /* STATS */
  section.stats {
    background: var(--ink);
    color: var(--paper);
    padding: 4rem 1.5rem;
    position: relative;
    overflow: hidden;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .stat-card {
    border-left: 2px solid rgba(244, 239, 230, 0.2);
    padding-left: 1.5rem;
  }

  .stat-num {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 400;
    line-height: 1;
    color: var(--cream);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
  }
  .stat-num .plus { color: var(--rust); font-size: 0.6em; }

  .stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: rgba(244, 239, 230, 0.7);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  /* SERVICES */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .service-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .service-card:hover {
    transform: translateY(-4px);
    border-color: var(--rust);
    box-shadow: 0 20px 40px -15px rgba(27, 42, 58, 0.12);
  }

  .service-card::before {
    content: attr(data-num);
    position: absolute;
    top: 1rem; right: 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--ink-2);
    opacity: 0.5;
  }

  .service-icon {
    width: 48px; height: 48px;
    margin-bottom: 1.2rem;
    color: var(--rust);
  }

  .service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
  }

  .service-card p {
    color: var(--ink-2);
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .service-link {
    color: var(--rust);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
  }
  .service-link:hover { gap: 0.6rem; }

  /* MAP SECTION */
  section.map-section { background: var(--cream); }

  .map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: stretch;
  }

  .map-info { padding-top: 0.5rem; }

  .coverage-list {
    list-style: none;
    margin-top: 1.5rem;
  }

  .coverage-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--line-strong);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
  }

  .coverage-list .county-name { font-weight: 600; color: var(--ink); }
  .coverage-list .county-meta { color: var(--ink-2); font-size: 0.78rem; }

  #map {
    height: 480px;
    border-radius: 6px;
    border: 1px solid var(--line-strong);
    box-shadow: 0 20px 40px -15px rgba(27, 42, 58, 0.15);
    background: var(--paper);
  }

  /* DOCUMENTS ACCORDION */
  .accordion {
    max-width: 900px;
    margin: 0 auto;
  }

  .acc-item {
    border: 1px solid var(--line);
    border-radius: 6px;
    margin-bottom: 0.8rem;
    background: var(--paper);
    overflow: hidden;
    transition: border-color 0.2s;
  }

  .acc-item.open { border-color: var(--rust); }

  .acc-header {
    padding: 1.3rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--paper);
    transition: background 0.2s;
  }
  .acc-header:hover { background: var(--cream); }

  .acc-title {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
  }

  .acc-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--ink-2);
    margin-right: 1rem;
  }

  .acc-icon {
    width: 28px; height: 28px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: transform 0.3s, background 0.2s;
    flex-shrink: 0;
  }

  .acc-item.open .acc-icon {
    transform: rotate(45deg);
    background: var(--rust);
    color: var(--paper);
    border-color: var(--rust);
  }

  .acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .acc-content-inner {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
  }

  .acc-content ol, .acc-content ul {
    padding-left: 1.2rem;
    color: var(--ink-2);
  }

  .acc-content li {
    padding: 0.35rem 0;
    font-size: 0.92rem;
  }

  .acc-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream-2);
    color: var(--ink);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.2s;
  }
  .acc-download:hover { background: var(--rust); color: var(--paper); }

  /* TARIFE TABLE */
  .tarife-toggle {
    display: inline-flex;
    background: var(--cream-2);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 2rem;
  }
  .tarife-toggle button {
    border: none;
    background: transparent;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink-2);
    transition: all 0.25s;
    font-family: inherit;
  }
  .tarife-toggle button.active {
    background: var(--ink);
    color: var(--paper);
  }

  .tarife-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
  }

  .tarife-table th {
    background: var(--ink);
    color: var(--paper);
    padding: 1rem 1.2rem;
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .tarife-table td {
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .tarife-table tr:last-child td { border-bottom: none; }
  .tarife-table tr:hover td { background: var(--cream); }

  .tarife-table .price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--ink);
  }
  .tarife-table .price-urgent { color: var(--rust); }

  .tarife-note {
    font-size: 0.85rem;
    color: var(--ink-2);
    margin-top: 1.2rem;
    padding: 1rem;
    background: var(--cream);
    border-left: 3px solid var(--rust);
    border-radius: 4px;
  }

  /* TOOLS GRID (Coordinate converter + Calculator) */
  section.tools { background: var(--cream); }

  .tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .tool-card {
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    padding: 2rem;
    position: relative;
  }

  .tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }

  .tool-card .tool-desc {
    font-size: 0.9rem;
    color: var(--ink-2);
    margin-bottom: 1.5rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .form-field {
    display: flex;
    flex-direction: column;
  }

  .form-field label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--ink-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
  }

  .form-field input, .form-field select, .form-field textarea {
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    background: var(--paper);
    color: var(--ink);
    transition: border-color 0.2s;
    font-family: inherit;
  }

  .form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--rust);
  }

  .form-field .mono-input { font-family: 'JetBrains Mono', monospace; }

  .tool-result {
    background: var(--ink);
    color: var(--cream);
    padding: 1rem 1.2rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    line-height: 1.7;
    min-height: 40px;
  }

  .tool-result .result-label { color: rgba(244, 239, 230, 0.6); font-size: 0.72rem; }

  /* EQUIPMENT */
  .equip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }

  .equip-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s;
  }

  .equip-card:hover { border-color: var(--ink); transform: translateY(-2px); }

  .equip-card .equip-icon {
    width: 40px; height: 40px;
    margin-bottom: 1rem;
    color: var(--moss);
  }

  .equip-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .equip-card .equip-spec {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--rust);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .equip-card p {
    color: var(--ink-2);
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  /* TESTIMONIALS */
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .testi-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2rem;
    position: relative;
  }

  .testi-card::before {
    content: '"';
    position: absolute;
    top: -10px; left: 1.5rem;
    font-family: 'Fraunces', serif;
    font-size: 5rem;
    color: var(--rust);
    line-height: 1;
    background: var(--paper);
    padding: 0 0.3rem;
  }

  .testi-text {
    font-style: italic;
    color: var(--ink-2);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .testi-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .testi-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--cream-2);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-weight: 600;
    font-family: 'Fraunces', serif;
  }

  .testi-name { font-weight: 600; font-size: 0.95rem; }
  .testi-role { font-size: 0.78rem; color: var(--ink-2); font-family: 'JetBrains Mono', monospace; }

  .testi-stars { color: #E8B339; margin-bottom: 0.6rem; }

  /* CONTACT */
  section.contact { background: var(--ink); color: var(--cream); }
  section.contact .section-title { color: var(--cream); }
  section.contact .section-tag { color: #E8B339; }
  section.contact .section-tag::before { background: #E8B339; }

  /* OFFICE MAP (in contact section, full-width) */
  .office-map-wrapper {
    margin-top: 3rem;
    border: 1px solid rgba(244, 239, 230, 0.15);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(244, 239, 230, 0.03);
    position: relative;
    transition: background 0.4s, border-color 0.4s;
  }

  .office-map-wrapper.theme-light {
    background: var(--paper);
    border-color: var(--line-strong);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4);
  }

  .office-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.4rem;
    border-bottom: 1px solid rgba(244, 239, 230, 0.1);
    background: rgba(244, 239, 230, 0.02);
    flex-wrap: wrap;
    gap: 1rem;
    transition: background 0.4s, border-color 0.4s;
  }

  .office-map-wrapper.theme-light .office-map-header {
    background: var(--cream);
    border-bottom-color: var(--line);
  }

  .office-map-header .om-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: rgba(244, 239, 230, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.4s;
  }

  .office-map-wrapper.theme-light .om-label {
    color: var(--ink-2);
  }

  .office-map-header .om-label::before {
    content: '';
    width: 6px; height: 6px;
    background: #E8B339;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(232, 179, 57, 0.2);
  }

  .office-map-wrapper.theme-light .om-label::before {
    background: var(--rust);
    box-shadow: 0 0 0 3px rgba(184, 74, 46, 0.2);
  }

  .office-map-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  /* Theme toggle (segmented) */
  .map-theme-toggle {
    display: inline-flex;
    background: rgba(244, 239, 230, 0.06);
    border: 1px solid rgba(244, 239, 230, 0.12);
    border-radius: 999px;
    padding: 3px;
    transition: background 0.4s, border-color 0.4s;
  }

  .office-map-wrapper.theme-light .map-theme-toggle {
    background: var(--paper);
    border-color: var(--line-strong);
  }

  .map-theme-toggle button {
    border: none;
    background: transparent;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(244, 239, 230, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .map-theme-toggle button:hover { color: var(--cream); }

  .map-theme-toggle button.active {
    background: var(--cream);
    color: var(--ink);
  }

  .office-map-wrapper.theme-light .map-theme-toggle button {
    color: var(--ink-2);
  }

  .office-map-wrapper.theme-light .map-theme-toggle button:hover {
    color: var(--ink);
  }

  .office-map-wrapper.theme-light .map-theme-toggle button.active {
    background: var(--ink);
    color: var(--paper);
  }

  .office-map-header .om-directions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #E8B339;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s;
  }

  .office-map-header .om-directions:hover { color: var(--cream); }

  .office-map-wrapper.theme-light .om-directions { color: var(--rust); }
  .office-map-wrapper.theme-light .om-directions:hover { color: var(--ink); }

  #office-map {
    height: 480px;
    width: 100%;
    background: #0F1822;
    z-index: 1;
    transition: background 0.4s;
  }

  .office-map-wrapper.theme-light #office-map { background: var(--cream); }

  /* Dark mode (default) — apply filter on OSM tiles to invert/desaturate them.
     We use the standard OSM basemap for both themes; dark mode is purely visual. */
  #office-map .leaflet-tile-pane {
    filter: invert(1) hue-rotate(180deg) brightness(0.92) contrast(0.88) saturate(0.75);
    transition: filter 0.45s ease;
  }

  /* Light mode — remove filter, show OSM in its original colors */
  .office-map-wrapper.theme-light #office-map .leaflet-tile-pane {
    filter: none;
  }

  /* Leaflet popup — DARK theme (default) */
  #office-map .leaflet-popup-content-wrapper {
    background: var(--ink);
    color: var(--cream);
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  }
  #office-map .leaflet-popup-content {
    margin: 0.8rem 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
  }
  #office-map .leaflet-popup-content strong { color: #E8B339; }
  #office-map .leaflet-popup-content a { color: var(--cream); }
  #office-map .leaflet-popup-tip { background: var(--ink); }
  #office-map .leaflet-popup-close-button { color: rgba(244, 239, 230, 0.6); }

  /* Leaflet popup — LIGHT theme */
  .office-map-wrapper.theme-light #office-map .leaflet-popup-content-wrapper {
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 8px 30px rgba(27, 42, 58, 0.2);
  }
  .office-map-wrapper.theme-light #office-map .leaflet-popup-content strong { color: var(--rust); }
  .office-map-wrapper.theme-light #office-map .leaflet-popup-content a { color: var(--ink); }
  .office-map-wrapper.theme-light #office-map .leaflet-popup-tip { background: var(--paper); }
  .office-map-wrapper.theme-light #office-map .leaflet-popup-close-button { color: var(--ink-2); }

  /* Leaflet attribution — DARK theme */
  #office-map .leaflet-control-attribution {
    background: rgba(15, 24, 34, 0.85);
    color: rgba(244, 239, 230, 0.55);
    font-size: 0.65rem;
  }
  #office-map .leaflet-control-attribution a { color: rgba(232, 179, 57, 0.8); }

  /* Leaflet attribution — LIGHT theme */
  .office-map-wrapper.theme-light #office-map .leaflet-control-attribution {
    background: rgba(251, 248, 242, 0.9);
    color: var(--ink-2);
  }
  .office-map-wrapper.theme-light #office-map .leaflet-control-attribution a { color: var(--rust); }

  /* Leaflet zoom buttons — both themes */
  #office-map .leaflet-control-zoom a {
    background: rgba(15, 24, 34, 0.9);
    color: var(--cream);
    border: 1px solid rgba(244, 239, 230, 0.15);
    transition: background 0.25s;
  }
  #office-map .leaflet-control-zoom a:hover { background: var(--rust); color: var(--paper); }

  .office-map-wrapper.theme-light #office-map .leaflet-control-zoom a {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--line-strong);
  }
  .office-map-wrapper.theme-light #office-map .leaflet-control-zoom a:hover { background: var(--rust); color: var(--paper); border-color: var(--rust); }

  @media (max-width: 640px) {
    #office-map { height: 360px; }
    .office-map-controls { width: 100%; justify-content: space-between; }
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }

  .contact-info-block {
    margin-bottom: 1.8rem;
  }

  .contact-info-block .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(244, 239, 230, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.4rem;
  }

  .contact-info-block .value {
    font-size: 1.1rem;
    color: var(--cream);
  }

  .contact-info-block .value a {
    color: var(--cream);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border 0.2s;
  }
  .contact-info-block .value a:hover { border-bottom-color: var(--rust); }

  /* CONTACT CTA PANEL (replaces form) */
  .contact-cta-panel {
    background: rgba(244, 239, 230, 0.04);
    border: 1px solid rgba(244, 239, 230, 0.15);
    padding: 2rem;
    border-radius: 6px;
    align-self: start;
  }

  .cta-panel-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #E8B339;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .cta-panel-label::before {
    content: '';
    width: 18px;
    height: 1px;
    background: #E8B339;
  }

  .cta-panel-title {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 0.6rem;
    line-height: 1.2;
  }

  .cta-panel-desc {
    color: rgba(244, 239, 230, 0.65);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .cta-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    background: rgba(244, 239, 230, 0.04);
    border: 1px solid rgba(244, 239, 230, 0.12);
    border-radius: 6px;
    text-decoration: none;
    color: var(--cream);
    margin-bottom: 0.7rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }

  .cta-action:hover {
    transform: translateX(4px);
    background: rgba(244, 239, 230, 0.08);
    border-color: rgba(244, 239, 230, 0.25);
  }

  .cta-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.25s;
  }

  .cta-action-primary .cta-action-icon { background: var(--rust); color: var(--paper); }
  .cta-action-whatsapp .cta-action-icon { background: #25D366; color: white; }
  .cta-action-email .cta-action-icon { background: rgba(232, 179, 57, 0.15); color: #E8B339; border: 1px solid rgba(232, 179, 57, 0.3); }

  .cta-action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
  }

  .cta-action-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.15rem;
  }

  .cta-action-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: rgba(244, 239, 230, 0.55);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cta-action-arrow {
    color: rgba(244, 239, 230, 0.4);
    transition: all 0.25s;
    flex-shrink: 0;
  }

  .cta-action:hover .cta-action-arrow {
    color: var(--cream);
    transform: translateX(3px);
  }

  .cta-panel-note {
    margin-top: 1.5rem;
    padding: 0.9rem 1rem;
    background: rgba(232, 179, 57, 0.08);
    border-left: 2px solid #E8B339;
    border-radius: 0 4px 4px 0;
    font-size: 0.82rem;
    color: rgba(244, 239, 230, 0.75);
    line-height: 1.5;
  }

  .cta-panel-note strong { color: #E8B339; }

  /* FOOTER */
  footer.site-footer {
    background: #0F1822;
    color: var(--cream);
    padding: 4rem 1.5rem 2rem;
  }

  .footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  }

  .footer-col h4 {
    color: var(--cream);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.2rem;
    font-weight: 500;
  }

  .footer-col ul { list-style: none; }
  .footer-col li { padding: 0.3rem 0; }
  .footer-col a {
    color: rgba(244, 239, 230, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--rust); }

  /* Legal badges (ANPC SAL + EU SOL) */
  .legal-badges {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
  }

  .legal-badge {
    display: inline-block;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.25s, opacity 0.25s, box-shadow 0.25s;
    line-height: 0;
    max-width: 180px;
    opacity: 0.92;
  }

  .legal-badge:hover {
    transform: translateY(-2px);
    opacity: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  }

  .legal-badge img {
    display: block;
    width: 100%;
    height: auto;
  }

  .footer-brand p {
    color: rgba(244, 239, 230, 0.6);
    font-size: 0.9rem;
    margin: 1rem 0;
    max-width: 360px;
  }

  .footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: rgba(244, 239, 230, 0.5);
  }

  .footer-bottom .legal-links { display: flex; gap: 1.5rem; }
  .footer-bottom a { color: rgba(244, 239, 230, 0.5); text-decoration: none; }
  .footer-bottom a:hover { color: var(--rust); }

  /* FLOATING WHATSAPP */
  .whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.2s;
  }

  .whatsapp-float:hover { transform: scale(1.1); }

  .whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.5;
    animation: ripple 2s infinite;
  }
  @keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 0; }
  }

  /* ROMPOS WIDGET */
  .rompos-widget {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(58, 90, 64, 0.1);
    border: 1px solid var(--moss-light);
    color: var(--moss);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
  }
  .rompos-widget:hover { background: var(--moss); color: var(--paper); }
  .rompos-dot {
    width: 6px; height: 6px;
    background: var(--moss-light);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
  }

  /* SCROLL REVEAL */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* RESPONSIVE */
  @media (max-width: 980px) {
    .hero-inner, .map-wrapper, .tools-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .services-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid, .equip-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 640px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav-cta { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
    .services-grid, .testimonials-grid, .stats-grid, .equip-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
    section.block, section.hero { padding: 3.5rem 1.2rem; }
    .coords-panel { transform: none; }
    .tarife-table { font-size: 0.85rem; }
    .tarife-table td, .tarife-table th { padding: 0.7rem 0.6rem; }
    .tarife-table .col-hide-mob { display: none; }
  }

  /* PRINT */
  @media print {
    nav, .whatsapp-float, .hero-ctas, .nav-cta { display: none; }
  }