  :root {
    --blue: #0e5af2;
    --blue-dark: #0a46c9;
    --blue-glow: rgba(14,90,242,0.18);
    --navy: #060d1e;
    --navy-mid: #0d1830;
    --navy-card: #111e35;
    --white: #f4f7ff;
    --white-dim: rgba(244,247,255,0.72);
    --white-faint: rgba(244,247,255,0.12);
    --gray-light: #f0f3fb;
    --text-dark: #0b1120;
    --accent: #d97706;
    --font-head: 'Exo 2', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --radius: 10px;
    --transition: 0.28s ease;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { cursor: pointer; font-family: inherit; border: none; background: none; }
  ul { list-style: none; }

  .container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
  .section { padding: 96px 0; }
  .section--mid { background: var(--navy-mid); }
  .section--light { background: var(--gray-light); color: var(--text-dark); }

  /* Default .tag is tuned for the site's dark sections (most of the page) —
     the old var(--blue) text on blue-glow was too dark to read clearly there.
     .tag--on-light keeps the original darker-blue treatment for the one
     section with a white/light background (Industrias), where that
     combination already has good contrast. */
  .tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #5b9dff;
    background: rgba(91,157,255,0.14);
    padding: 5px 14px;
    border-radius: 40px;
    border: 1px solid rgba(91,157,255,0.35);
    margin-bottom: 16px;
  }
  .tag--on-light {
    color: var(--blue);
    background: var(--blue-glow);
    border-color: rgba(14,90,242,0.3);
  }

  .section-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 16px;
  }
  .section-title--dark { color: var(--text-dark); }
  .section-sub {
    font-size: 16px;
    color: var(--white-dim);
    max-width: 560px;
    line-height: 1.7;
  }
  .section-sub--dark { color: #4a5568; }
  .section-head { margin-bottom: 56px; }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
  }
  .btn--primary { background: var(--blue); color: #fff; }
  .btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
  .btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
  .btn--outline:hover { border-color: var(--blue); color: var(--blue); }
  .btn--amber { background: var(--accent); color: #fff; }
  .btn--amber:hover { filter: brightness(1.1); }

  /* TOP BAR */
  .topbar {
    background: var(--navy-mid);
    border-bottom: 1px solid var(--white-faint);
    padding: 8px 0;
    font-size: 12.5px;
    color: var(--white-dim);
  }
  .topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .topbar__items { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
  .topbar__item { display: flex; align-items: center; gap: 6px; }
  .topbar__item svg { width: 13px; height: 13px; opacity: 0.6; }
  .topbar__iso { display: flex; align-items: center; gap: 14px; }
  .topbar__iso img { height: 26px; width: auto; }
  .topbar__social { display: flex; color: var(--white-dim); transition: var(--transition); }
  .topbar__social:hover { color: var(--white); }
  .topbar__social svg { width: 16px; height: 16px; }

  /* HEADER */
  .header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6,13,30,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--white-faint);
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 32px;
  }
  .nav__logo img { height: 42px; width: auto; }
  .nav__cta { white-space: nowrap; }
  .nav__cta-short { display: none; }
  .nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav__links > li { position: relative; }
  .nav__links a {
    display: block;
    padding: 8px 14px;
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--white-dim);
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
  }
  .nav__links a:hover, .nav__links a.active { color: var(--white); background: var(--white-faint); }
  .nav__links .has-dropdown > a::after { content: " ▾"; font-size: 10px; }

  .dropdown {
    position: absolute;
    /* Flush against the trigger link — no gap in between. A gap here used
       to be a "dead zone": moving the mouse straight down through it broke
       :hover on .has-dropdown before the cursor ever reached the menu,
       so the dropdown vanished mid-move. The slide-down entrance animation
       (transform below) still gives it the same visual breathing room. */
    top: 100%;
    left: 0;
    background: var(--navy-card);
    border: 1px solid rgba(14,90,242,0.2);
    border-radius: var(--radius);
    min-width: 280px;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 200;
    box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  }
  .has-dropdown:hover .dropdown { opacity: 1; pointer-events: auto; transform: none; }
  .dropdown a {
    display: block;
    padding: 9px 14px;
    font-size: 13px;
    color: var(--white-dim);
    border-radius: 6px;
  }
  .dropdown a:hover { color: var(--white); background: var(--white-faint); }

  .nav__burger {
    display: none;
    color: var(--white);
    padding: 6px;
  }

  /* HERO */
  .hero {
    position: relative;
    /* Fills exactly what's left below the topbar+nav and above the stats
       bar, on any viewport — --header-h and --stats-h are measured live in
       JS since the topbar wraps to extra lines on narrow screens instead of
       staying a fixed height. Without subtracting --stats-h, hero+stats ran
       past 100dvh and the services section peeked in at the bottom of the
       first screen on desktop. */
    height: calc(100dvh - var(--header-h, 104px) - var(--stats-h, 144px));
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero__bg {
    position: absolute;
    inset: 0;
  }
  /* FADE SLIDER (reusable — hero, cursos, etc.) */
  .fade-slider { position: relative; overflow: hidden; }
  .fade-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.8s ease;
  }
  .fade-slide.is-active { opacity: 1; }
  .hero__bg.fade-slider { position: absolute; }
  .hero__bg-slide {
    /* Darkening used to come from filter:brightness() on this same element —
       animating transform + filter together forces the browser to repaint
       this full-viewport layer every frame instead of just compositing it,
       which is what made the slow zoom look choppy. The darkening now comes
       from .hero__overlay's background-color instead, so this layer only
       ever animates a plain transform (cheap, GPU-composited, smooth). */
    transform: scale(1.04);
    animation: heroZoom 16s ease-in-out infinite alternate;
    will-change: transform;
  }
  @keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.10); } }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero__bg-slide { animation: none !important; }
    .hero__scroll-cue svg { animation: none !important; }
    .fade-slide { transition: opacity 0.01ms !important; }
  }
  .hero__overlay {
    position: absolute;
    inset: 0;
    /* Flat scrim replaces the brightness(0.38) that used to sit on the
       animated slide (see .hero__bg-slide) — this layer is static, so it
       costs nothing per frame. The angled gradient rides on top of it. */
    background-color: rgba(6,13,30,0.64);
    background-image: linear-gradient(135deg, rgba(6,13,30,0.78) 0%, rgba(14,90,242,0.08) 100%);
  }
  .hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
  }
  .hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero__eyebrow-line {
    width: 40px;
    height: 2px;
    background: var(--white);
  }
  .hero__eyebrow span {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
  }
  .hero__title {
    font-family: var(--font-head);
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.06;
    margin-bottom: 24px;
  }
  .hero__title em {
    font-style: normal;
    color: var(--blue);
    display: inline-block;
    transition: opacity 0.4s ease;
    text-shadow: 0 2px 18px rgba(0,0,0,0.45);
  }
  .hero__title em.is-fading { opacity: 0; }
  .hero__desc {
    font-size: 17px;
    color: var(--white-dim);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 40px;
  }
  .hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
  .hero__scroll-cue {
    position: absolute;
    z-index: 2;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--white-dim);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color var(--transition);
  }
  .hero__scroll-cue:hover { color: var(--white); }
  .hero__scroll-cue svg { width: 20px; height: 20px; animation: scrollBounce 1.8s ease-in-out infinite; }
  @keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
  }

  /* STATS */
  .stats {
    background: var(--blue);
    padding: 22px 0;
  }
  .stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.15);
  }
  .stats__item {
    background: var(--blue);
    padding: 16px 32px;
    text-align: center;
  }
  .stats__number {
    font-family: var(--font-head);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
  }
  .stats__label {
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    opacity: 0.82;
    text-transform: uppercase;
  }

  /* SERVICES GRID */
  .section-head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .service-slide {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform var(--transition);
  }
  .service-slide:hover { transform: translateY(-6px); }
  .service-slide__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
  }
  .service-slide:hover .service-slide__bg { transform: scale(1.08); }
  .service-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6,13,30,0.95) 0%, rgba(6,13,30,0.6) 42%, rgba(6,13,30,0.18) 100%);
  }
  .service-slide__icon {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    margin: 22px 22px 0;
    background: rgba(14,90,242,0.2);
    border: 1px solid rgba(14,90,242,0.4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(2px);
  }
  .service-slide__icon svg { width: 22px; height: 22px; }
  .service-slide__body { position: relative; z-index: 1; padding: 16px 22px 24px; }
  .service-slide__title {
    font-family: var(--font-head);
    font-size: 16.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .service-slide__desc {
    font-size: 13px;
    color: rgba(244,247,255,0.8);
    line-height: 1.6;
  }
  .service-slide__link {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--font-head);
    font-size: 12.5px;
    font-weight: 700;
    color: #5b9dff;
    position: relative;
    z-index: 3;
  }
  .service-slide__link:hover { color: #fff; }

  /* SERVICE DETAIL LINKS */
  .service-detail { max-width: 960px; margin: 48px auto 0; }
  .service-detail__intro { font-size: 14px; color: var(--white-dim); margin-bottom: 20px; }
  .service-detail__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .service-detail__link-card {
    display: block;
    background: var(--navy-card);
    border: 1px solid var(--white-faint);
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition);
  }
  .service-detail__link-card:hover { border-color: rgba(14,90,242,0.4); transform: translateY(-3px); }
  .service-detail__link-title { display: block; font-family: var(--font-head); font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
  .service-detail__link-desc { display: block; font-size: 13px; color: var(--white-dim); line-height: 1.6; }
  @media (max-width: 860px) { .service-detail__links { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .service-detail__links { grid-template-columns: 1fr; } }

  /* WHY US */
  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
  .why-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy-card);
    border: 1px solid var(--white-faint);
  }
  .why-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  .why-valores {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
  }
  .valor-item { display: flex; align-items: flex-start; gap: 16px; }
  .valor-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--blue-glow);
    border: 1px solid rgba(14,90,242,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
  }
  .valor-icon svg { width: 22px; height: 22px; }
  .valor-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 3px; }
  .valor-desc { font-size: 13.5px; color: var(--white-dim); line-height: 1.6; }
  .cert-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
  .cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--navy-card);
    border: 1px solid var(--white-faint);
    border-radius: 8px;
    padding: 10px 14px;
  }
  .cert-badge img { height: 32px; width: auto; }
  .cert-badge span { font-family: var(--font-head); font-size: 12px; font-weight: 600; line-height: 1.3; }

  /* INDUSTRIES */
  .industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .industry-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    background: var(--navy-card);
  }
  .industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  .industry-card:hover img { transform: scale(1.06); }
  .industry-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6,13,30,0.92) 0%, rgba(6,13,30,0.55) 42%, rgba(6,13,30,0.1) 72%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 18px;
  }
  .industry-card__desc {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(244,247,255,0.75);
    margin-top: 6px;
  }
  .industry-card__title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
  }
  .industry-card__num {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: 6px;
  }

  /* PROJECTS MOSAIC */
  .projects-mosaic {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 16px;
  }
  .mosaic-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: var(--navy-card);
  }
  .mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
  .mosaic-item:hover img { transform: scale(1.05); }
  .mosaic-item--tall { grid-row: 1 / span 2; }
  .mosaic-item__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(0deg, rgba(6,13,30,0.9) 0%, transparent 100%);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
  }

  /* EQUIPMENT */
  .equip-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 56px;
  }
  .equip-card {
    background: var(--navy-card);
    border: 1px solid var(--white-faint);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
  }
  .equip-card:hover { border-color: rgba(14,90,242,0.4); transform: translateY(-3px); }
  .equip-card__img { height: 110px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
  .equip-card__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
  /* Temporary stand-in until a real product photo replaces it — same slot/size
     as a photo, so swapping one in later doesn't require any layout changes. */
  .equip-card__img--placeholder { color: var(--white-dim); opacity: 0.5; }
  .equip-card__img--placeholder svg { width: 48px; height: 48px; }
  .equip-card__name { font-family: var(--font-head); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
  .equip-card__brand { font-size: 12px; color: var(--white-dim); }

  /* RESOURCES */
  .resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
  }
  .resource-card {
    display: block;
    background: var(--navy-card);
    border: 1px solid var(--white-faint);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
  }
  .resource-card:hover { border-color: rgba(14,90,242,0.4); transform: translateY(-3px); }
  .resource-card__icon { width: 40px; height: 40px; border-radius: 8px; background: var(--blue-glow); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
  .resource-card__icon svg { width: 20px; height: 20px; }
  .resource-card__title { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
  .resource-card__desc { font-size: 13.5px; color: var(--white-dim); line-height: 1.6; margin-bottom: 16px; }
  .resource-card__cta { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--blue); }
  @media (max-width: 860px) { .resources-grid { grid-template-columns: 1fr; } }

  /* TESTIMONIALS */
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .testimonial-card {
    background: var(--navy-card);
    border: 1px solid var(--white-faint);
    border-radius: var(--radius);
    padding: 32px 28px;
  }
  .testimonial-card__quote-icon { width: 28px; height: 28px; color: rgba(14,90,242,0.5); margin-bottom: 16px; }
  .testimonial-card__quote { font-size: 15px; line-height: 1.7; color: var(--white-dim); font-style: italic; margin-bottom: 24px; }
  .testimonial-card__author { display: flex; align-items: center; gap: 12px; }
  .testimonial-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue-glow);
    border: 1px solid rgba(14,90,242,0.3);
    color: var(--blue);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .testimonial-card__name { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--white); }
  .testimonial-card__role { font-size: 12.5px; color: var(--white-dim); margin-top: 2px; }
  @media (max-width: 860px) { .testimonials-grid { grid-template-columns: 1fr; } }

  /* BRANDS */
  .brands-section { background: #f8f9fc; padding: 72px 0; }
  .brands-heading {
    text-align: center;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8a96b0;
    margin-bottom: 48px;
  }
  .brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
  }
  .brand-card {
    background: #fff;
    border: 1px solid #e8edf5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 32px;
    transition: var(--transition);
  }
  .brand-card:hover { background: #f0f5ff; border-color: rgba(14,90,242,0.2); }
  .brand-logo {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.85;
    transition: var(--transition);
  }
  .brand-card:hover .brand-logo { opacity: 1; }
  /* Text stand-in for brands where we don't have a logo file yet — same
     card footprint as a real logo, swap in an <img class="brand-logo"> later. */
  .brand-card__text {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: #4a5568;
    opacity: 0.85;
    letter-spacing: 0.01em;
  }
  .brand-card:hover .brand-card__text { opacity: 1; color: var(--text-dark); }

  /* COVERAGE */
  .coverage {
    background: var(--blue);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
  }
  .coverage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../uploads/hero/hero-1.jpg') center/cover;
    opacity: 0.08;
  }
  .coverage__inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  .coverage__title {
    font-family: var(--font-head);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    max-width: 520px;
  }
  .coverage__locations { display: flex; flex-direction: column; gap: 8px; font-size: 14px; opacity: 0.9; }
  .coverage__loc { display: flex; align-items: center; gap: 8px; }
  .coverage__loc::before { content: '◆'; font-size: 8px; }

  /* CONTACT */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
  .contact-form { display: flex; flex-direction: column; gap: 16px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white-dim); }
  .form-input, .form-select, .form-textarea {
    background: var(--navy-card);
    border: 1px solid var(--white-faint);
    border-radius: 6px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--white);
    outline: none;
    transition: var(--transition);
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--blue);
    background: rgba(14,90,242,0.05);
  }
  .form-select option { background: var(--navy-card); }
  .form-textarea { resize: vertical; min-height: 120px; }
  .form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--white-dim); line-height: 1.5; cursor: pointer; }
  .form-consent input { margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
  .form-consent a { color: var(--blue); }
  .contact-info { display: flex; flex-direction: column; gap: 28px; }
  .contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
  .contact-map { border-radius: 8px; overflow: hidden; border: 1px solid var(--white-faint); }
  .contact-map iframe { display: block; filter: grayscale(0.15) contrast(1.05); }
  .contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--blue-glow);
    border: 1px solid rgba(14,90,242,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
  }
  .contact-info-icon svg { width: 22px; height: 22px; }
  .contact-info-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #5b9dff; margin-bottom: 4px; }
  .contact-info-value { font-size: 15px; font-weight: 500; }

  /* FOOTER */
  .footer {
    background: #040810;
    padding: 64px 0 32px;
    border-top: 1px solid var(--white-faint);
  }
  .footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
  }
  .footer__logo img { height: 36px; width: auto; margin-bottom: 16px; }
  .footer__desc { font-size: 13.5px; color: var(--white-dim); line-height: 1.7; margin-bottom: 20px; }
  .footer__col-title {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .footer__links { display: flex; flex-direction: column; gap: 10px; }
  .footer__links a { font-size: 13.5px; color: var(--white-dim); transition: var(--transition); }
  .footer__links a:hover { color: var(--blue); }
  .footer__contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13.5px; color: var(--white-dim); align-items: flex-start; }
  .footer__contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--blue); }
  .footer__bottom {
    border-top: 1px solid var(--white-faint);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: var(--white-dim);
    flex-wrap: wrap;
    gap: 12px;
  }

  /* WHATSAPP */
  .whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37,211,102,0.45);
    transition: var(--transition);
  }
  .whatsapp-btn:hover { transform: scale(1.12); }
  .back-to-top {
    position: fixed;
    bottom: 28px;
    right: 96px;
    z-index: 999;
    width: 44px;
    height: 44px;
    background: var(--navy-card);
    border: 1px solid var(--white-faint);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: var(--transition);
  }
  .back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .back-to-top:hover { background: var(--blue); border-color: var(--blue); }
  .back-to-top svg { width: 20px; height: 20px; }
  .whatsapp-btn svg { width: 30px; height: 30px; fill: #fff; }

  /* FADE-IN */
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in.visible { opacity: 1; transform: none; }

  /* MOBILE */
  .mobile-nav { display: none; background: var(--navy-card); border-top: 1px solid var(--white-faint); padding: 16px 0; }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 10px 28px; font-family: var(--font-head); font-size: 14px; color: var(--white-dim); }
  .mobile-nav a:hover { color: var(--white); background: var(--white-faint); }

  @media (max-width: 1100px) {
    .industries-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
    .equip-grid { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .brands-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { gap: 20px; }
  }
  @media (max-width: 860px) {
    .nav__links { display: none; }
    .nav__burger { display: flex; }
    .why-grid, .contact-grid { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .projects-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .mosaic-item--tall { grid-row: auto; }
    .form-row { grid-template-columns: 1fr; }
    .section-head--split { flex-direction: column; align-items: flex-start; }
    .section { padding: 72px 0; }
    .hero__scroll-cue { display: none; }
  }
  @media (max-width: 580px) {
    .industries-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .equip-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    /* Two narrow columns leave little width, so the description + link wrap
       onto more lines than the 3/4 ratio has room for — it was clipping the
       top of the text. Let the card grow with its content instead. */
    .service-slide { aspect-ratio: unset; min-height: 340px; }
    .section { padding: 56px 0; }
  }
  @media (max-width: 400px) {
    .container { padding: 0 20px; }
    .hero__title { font-size: clamp(30px, 8vw, 38px); }
    .stats__item { padding: 20px 16px; }
    .brand-card { padding: 20px 16px; }
  }
  /* Small phones: the "Cotizar proyecto" pill and the topbar's three items
     no longer fit their desktop sizes on one line — swap in compact
     versions instead of letting them wrap and crowd the logo/burger. */
  @media (max-width: 480px) {
    .topbar { padding: 6px 0; font-size: 11px; }
    .topbar__items { gap: 14px; }
    .topbar__item--hours, .topbar__item--location { display: none; }
    .topbar__iso img { height: 20px; }
    .topbar__social { display: none; }
    .nav__logo img { height: 32px; }
    .nav .btn--primary.nav__cta { padding: 9px 16px; font-size: 13px; }
    .nav__cta-full { display: none; }
    .nav__cta-short { display: inline; }
    .whatsapp-btn { width: 46px; height: 46px; bottom: 18px; right: 18px; }
    .whatsapp-btn svg { width: 22px; height: 22px; }
    .back-to-top { width: 38px; height: 38px; bottom: 20px; right: 72px; }
    .back-to-top svg { width: 17px; height: 17px; }
  }
  /* Landscape phones: even the trimmed padding below was still taller than
     the viewport, hiding the CTA buttons below the fold. Shrink the whole
     hero content block so it fits alongside the topbar+nav without scroll. */
  @media (max-height: 480px) and (orientation: landscape) {
    .hero { height: auto; min-height: unset; max-height: none; padding: 20px 0; overflow: visible; }
    .hero__eyebrow { margin-bottom: 10px; }
    .hero__title { font-size: clamp(20px, 4.5vw, 30px); margin-bottom: 10px; }
    .hero__desc { font-size: 13px; line-height: 1.4; margin-bottom: 16px; }
    .hero__scroll-cue { display: none; }
  }

  /* SERVICE DETAIL PAGES (servicios/*.html) */
  .page-hero {
    background: var(--navy-mid);
    border-bottom: 1px solid var(--white-faint);
    padding: 44px 0 36px;
  }
  /* Image variant: same visual language as the homepage hero (photo + dark
     gradient behind the text) instead of a plain color band, so the service
     pages feel like part of the same site rather than a bolted-on section. */
  .page-hero--image {
    position: relative;
    padding: 64px 0 56px;
    background: var(--navy);
    overflow: hidden;
    border-bottom: none;
  }
  .page-hero__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(0.5);
  }
  .page-hero--image .page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6,13,30,0.92) 22%, rgba(6,13,30,0.55) 62%, rgba(14,90,242,0.12) 100%);
  }
  .page-hero--image .page-hero__inner { position: relative; z-index: 1; }
  .page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 12px;
    color: var(--white-dim);
    margin-bottom: 18px;
  }
  .page-hero__breadcrumb a { color: var(--white-dim); }
  .page-hero__breadcrumb a:hover { color: var(--white); }
  .page-hero__title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    max-width: 760px;
    margin-bottom: 14px;
  }
  .page-hero__desc { font-size: 16px; color: var(--white-dim); max-width: 640px; line-height: 1.7; }

  .service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
    align-items: start;
  }
  @media (max-width: 960px) { .service-layout { grid-template-columns: 1fr; } }

  .prose h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin: 40px 0 14px; }
  .prose h2:first-child { margin-top: 0; }
  .prose h3 { font-family: var(--font-head); font-size: 15.5px; font-weight: 700; color: var(--white); margin: 24px 0 10px; }
  .prose p { font-size: 15.5px; color: var(--white-dim); line-height: 1.8; margin-bottom: 14px; }
  .prose strong { color: var(--white); }
  .prose ul, .prose ol { margin: 0 0 16px; padding-left: 20px; }
  .prose li { font-size: 15px; color: var(--white-dim); line-height: 1.75; margin-bottom: 8px; }
  .prose ol li::marker { color: var(--blue); font-weight: 700; }
  .prose code { background: rgba(255,255,255,0.08); padding: 1px 7px; border-radius: 3px; font-size: 13px; color: var(--white); }

  /* PROSE IMAGE PLACEHOLDER — dashed slot reserved for a real project photo.
     Swap the whole <div class="prose-image-placeholder">…</div> block for
     <figure class="prose-image"><img src="../uploads/tu-foto.jpg" alt="..."></figure>
     once the photo is available; .prose-image below handles the real image. */
  .prose-image-placeholder {
    margin: 28px 0;
    aspect-ratio: 16/9;
    border: 2px dashed rgba(255,255,255,0.22);
    border-radius: var(--radius);
    background: var(--navy-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 24px;
  }
  .prose-image-placeholder svg { width: 30px; height: 30px; color: var(--white-dim); opacity: 0.6; }
  .prose-image-placeholder strong { font-family: var(--font-head); font-size: 13.5px; color: var(--white); letter-spacing: 0.02em; }
  .prose-image-placeholder span { font-size: 12.5px; color: var(--white-dim); max-width: 380px; line-height: 1.6; }
  .prose-image { margin: 28px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--white-faint); }
  .prose-image img { width: 100%; height: auto; display: block; }
  .prose-image figcaption { font-size: 12.5px; color: var(--white-dim); padding: 10px 14px; background: var(--navy-card); }
  .spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14px; }
  .spec-table th, .spec-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--white-faint); }
  .spec-table th { font-family: var(--font-head); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white-dim); font-weight: 700; }
  .spec-table td { color: var(--white-dim); }
  .spec-table td:first-child { color: var(--white); font-weight: 600; white-space: nowrap; }

  .service-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h, 104px) + 20px); }
  .sidebar-card { background: var(--navy-card); border: 1px solid var(--white-faint); border-radius: 10px; padding: 24px; }
  .sidebar-card__title { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 10px; }
  .sidebar-card__desc { font-size: 13.5px; color: var(--white-dim); line-height: 1.6; margin-bottom: 16px; }
  .sidebar-card .btn { width: 100%; justify-content: center; }
  .sidebar-related { display: flex; flex-direction: column; gap: 4px; }
  .sidebar-related a { font-size: 13.5px; padding: 8px 0; color: var(--white-dim); border-bottom: 1px solid var(--white-faint); }
  .sidebar-related a:last-child { border-bottom: none; }
  .sidebar-related a:hover { color: var(--blue); }
