  :root {
    --navy: #003A52;
    --navy-deep: #012838;
    --orange: #F2A007;
    --orange-deep: #C97F00;
    --black: #1E1E1E;
    --paper: #EDEBE4;
    --paper-raised: #FFFFFF;
    --ink: #1E1E1E;
    --ink-soft: #55605F;
    --line: #D6D2C6;
    --max-w: 1120px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }
  body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: 'Barlow', sans-serif; font-size: 17px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
  a { color: var(--navy); }
  h1, h2, h3 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0;
    line-height: 1;
  }
  section { padding: 88px 0; }
  .section-dark { background: var(--navy); color: #fff; }
  .section-dark .ink-soft-dark { color: #A9C2CF; }

  /* Franja diagonal de senalizacion - un unico motivo, reutilizado */

  /* NAV */
  nav {
    position: sticky; top: 0; z-index: 60;
    background: var(--navy); border-bottom: 3px solid var(--orange);
  }
  nav .wrap { display: flex; justify-content: space-between; align-items: center; height: 74px; }
  .nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .nav-badge {
    width: 44px; height: 44px;
    object-fit: contain;
  }
  .nav-brand-text { font-family: 'Anton', sans-serif; font-size: 22px; color: #fff; letter-spacing: 0.03em; }
  .nav-links { display: flex; gap: 30px; }
  .menu-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
  }
  .menu-toggle span {
    display: block; width: 100%; height: 3px; background: #fff; border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-links a { color: #C9DCE4; text-decoration: none; font-size: 15px; font-weight: 500; }
  .nav-links a:hover { color: #fff; }
  .nav-cta {
    font-family: 'Anton', sans-serif; font-size: 17px; letter-spacing: 0.03em;
    text-decoration: none; padding: 10px 20px; background: var(--orange); color: var(--navy);
    border-radius: 8px;
  }

  /* HERO */
  .hero { background: var(--navy); color: #fff; padding: 76px 0 60px 0; position: relative; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
  .hero h1 {
    font-size: clamp(46px, 7vw, 78px);
    color: #fff;
    margin-bottom: 20px;
  }
  .hero h1 span { color: var(--orange); }
  .hero p { color: #C9DCE4; font-size: 19px; max-width: 46ch; margin-bottom: 32px; }
  .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
  .btn {
    font-family: 'Anton', sans-serif; letter-spacing: 0.03em; font-size: 18px;
    text-decoration: none; padding: 14px 26px; border-radius: 10px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: transform 0.15s ease, filter 0.15s ease;
    border: none; cursor: pointer;
  }
  .btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
  .btn-primary { background: var(--orange); color: var(--navy); }
  .btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }

  .stats-row { display: flex; gap: 48px; }
  .stat-num {
    font-family: 'Anton', sans-serif; font-size: 52px; color: var(--orange); line-height: 1;
  }
  .stat-label { color: #C9DCE4; font-size: 14px; margin-top: 4px; }

  .hero-badge-visual {
    width: 100%; max-width: 320px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
  }
  .hero-badge-visual img {
    width: 100%; height: auto; object-fit: contain;
  }

  /* SECTION HEAD */
  .section-head { max-width: 62ch; margin-bottom: 48px; }
  .section-head h2 { font-size: 40px; }
  .section-dark .section-head h2 { color: #fff; }
  .section-head p { color: var(--ink-soft); font-size: 17px; margin-top: 10px; }
  .section-dark .section-head p { color: #C9DCE4; }

  /* SERVICIOS - acordeon */
  .accordion-item {
    border-bottom: 1px solid var(--line);
  }
  .accordion-item:first-child { border-top: 1px solid var(--line); }
  .accordion-trigger {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 26px 0; display: flex; justify-content: space-between; align-items: center;
    font-family: 'Anton', sans-serif; font-size: 26px; color: var(--navy);
    gap: 20px;
  }
  .accordion-trigger .tag { font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600; color: var(--orange-deep); display: block; margin-bottom: 2px; }
  .accordion-icon {
    width: 32px; height: 32px; border-radius: 50%; background: var(--navy);
    flex-shrink: 0; position: relative;
    transition: transform 0.25s ease, background 0.25s ease;
  }
  .accordion-icon::before,
  .accordion-icon::after {
    content: "";
    position: absolute;
    background: #fff;
    top: 50%; left: 50%;
  }
  .accordion-icon::before {
    width: 14px; height: 2px;
    transform: translate(-50%, -50%);
  }
  .accordion-icon::after {
    width: 2px; height: 14px;
    transform: translate(-50%, -50%);
  }
  .accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
    background: var(--orange);
  }
  .accordion-trigger[aria-expanded="true"] .accordion-icon::before,
  .accordion-trigger[aria-expanded="true"] .accordion-icon::after {
    background: var(--navy);
  }
  .accordion-panel {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .accordion-panel-inner { padding: 0 0 28px 0; color: var(--ink-soft); max-width: 68ch; font-size: 16px; }

  /* GALERIA ANTES/DESPUES */
  .ba-slider {
    position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden;
    border: 3px solid var(--navy); border-radius: 14px; cursor: ew-resize; user-select: none; touch-action: pan-y;
  }
  .ba-after, .ba-before {
    position: absolute; inset: 0; overflow: hidden;
  }
  .ba-after img, .ba-before img {
    width: 100%; height: 100%; object-fit: cover; display: block;
  }
  .ba-after { clip-path: inset(0 0 0 50%); }
  .ba-handle {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: var(--orange);
    transform: translateX(-50%); pointer-events: none;
  }
  .ba-handle::after {
    content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--navy);
    display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
  }
  .ba-label {
    position: absolute; top: 12px; font-family: 'Anton', sans-serif; font-size: 13px;
    background: var(--black); color: #fff; padding: 4px 10px; letter-spacing: 0.05em;
    border-radius: 6px;
  }
  .ba-label.before-label { left: 12px; }
  .ba-label.after-label { right: 12px; }
  .ba-note { color: #C9DCE4; font-size: 14px; margin-top: 14px; }

  /* TARJETAS QUE GIRAN (por que elegirnos) */
  .flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .flip-card { aspect-ratio: 1 / 0.85; perspective: 1200px; cursor: pointer; }
  .flip-card-inner {
    position: relative; width: 100%; height: 100%;
    transition: transform 0.5s; transform-style: preserve-3d;
  }
  .flip-card:hover .flip-card-inner, .flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }
  .flip-face {
    position: absolute; inset: 0; backface-visibility: hidden;
    border-radius: 14px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; padding: 20px;
  }
  .flip-front {
    background-size: cover;
    background-position: center;
    color: #fff;
    position: absolute; inset: 0;
  }
  .flip-front::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,58,82,0.85), rgba(0,58,82,0.25));
    border-radius: 14px;
  }
  .flip-front h3 {
    position: relative; z-index: 1;
    font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 17px;
  }
  .flip-back {
    background: var(--orange); color: var(--navy);
    transform: rotateY(180deg); font-size: 14.5px; line-height: 1.5;
  }

  /* COMO TRABAJAMOS - pasos */
  .steps-list { display: flex; flex-direction: column; gap: 0; }
  .step-item {
    display: grid; grid-template-columns: 60px 1fr; gap: 24px;
    padding: 28px 0; border-top: 1px solid var(--line);
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .step-item.in-view { opacity: 1; transform: none; }
  .step-item:last-child { border-bottom: 1px solid var(--line); }
  .step-num {
    width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--orange);
    font-family: 'Anton', sans-serif; font-size: 22px;
    display: flex; align-items: center; justify-content: center;
  }
  .step-item h3 { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 19px; margin-bottom: 6px; }
  .step-item p { color: var(--ink-soft); margin: 0; max-width: 60ch; }

  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .contact-block h2 { font-size: 38px; color: var(--navy); margin-bottom: 16px; }
  .contact-block > p { color: var(--ink-soft); margin-bottom: 26px; max-width: 46ch; }
  .contact-line { display: flex; gap: 12px; margin-bottom: 14px; font-size: 16px; }
  .contact-line strong { min-width: 90px; display: inline-block; font-family: 'Anton', sans-serif; font-size: 15px; letter-spacing: 0.03em; color: var(--navy); }
  .map-frame { width: 100%; height: 280px; border: 3px solid var(--navy); border-radius: 14px; overflow: hidden; }
  .map-frame iframe { width: 100%; height: 100%; border: 0; }

  footer {
    padding: 30px 0 90px 0; font-size: 14px; background: var(--black); color: #B8B8B8;
  }
  footer .wrap {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
  }
  .footer-social { display: flex; gap: 10px; }
  .social-btn {
    font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 13px;
    color: #fff; text-decoration: none; padding: 8px 14px;
    border: 1px solid #555; border-radius: 20px;
    transition: border-color 0.2s ease, color 0.2s ease;
  }
  .social-btn:hover { border-color: var(--orange); color: var(--orange); }

  /* BARRA FLOTANTE DE CONTACTO */
  .float-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--black); border-top: 3px solid var(--orange);
    display: flex; justify-content: center; gap: 10px; padding: 10px 16px;
    transform: translateY(100%); transition: transform 0.3s ease;
  }
  .float-bar.visible { transform: translateY(0); }
  .float-bar .btn { font-size: 16px; padding: 10px 18px; flex: 1; max-width: 220px; justify-content: center; }

  @media (max-width: 780px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-badge-visual { max-width: 220px; }
    .stats-row { gap: 28px; }
    .contact-grid { grid-template-columns: 1fr; }
    .flip-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .menu-toggle { display: flex; }
    .nav-links {
      display: none; position: absolute; top: 74px; left: 0; right: 0;
      background: var(--navy); flex-direction: column; gap: 0;
      border-top: 1px solid rgba(255,255,255,0.15);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 16px 28px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    section { padding: 60px 0; }
  }

  @media (max-width: 480px) {
    .flip-grid { grid-template-columns: 1fr; }
  }

  a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
