/* Acabado corporativo y navegación que se adapta al espacio disponible. */
.header-inner { display: flex; position: relative; height: 88px; gap: 28px; padding-block: 0; }
.site-header .brand { display: flex; align-items: center; min-height: 44px; }
.site-header .brand img { width: 212px; }
.navigation-switch { margin-left: auto; flex-shrink: 0; }
.navigation-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.navigation-toggle::-webkit-details-marker { display: none; }
.navigation-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .18s, opacity .18s; }
.navigation-switch[open]:not(.is-inline) .navigation-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
.navigation-switch[open]:not(.is-inline) .navigation-toggle span:nth-child(2) { opacity: 0; }
.navigation-switch[open]:not(.is-inline) .navigation-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
.main-nav { position: absolute; top: calc(100% - 1px); right: 0; width: 240px; max-width: 100%; margin: 0; padding: 14px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 5px 5px; box-shadow: 0 14px 30px #183a3012; }
.nav-link { display: flex; align-items: center; justify-content: flex-start; min-width: 44px; min-height: 44px; padding: 8px 0; font-size: 14px; white-space: nowrap; }
.nav-link::after { content: none; }
.nav-link:hover, .nav-link.is-active { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.navigation-switch.is-inline > summary { display: none; }
.navigation-switch.is-inline .main-nav { position: static; width: auto; max-width: none; flex-direction: row; align-items: center; gap: 24px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.language-switch { padding-left: 20px; flex-shrink: 0; }
.language-switch summary { justify-content: center; min-width: 44px; min-height: 44px; }
.language-menu { top: 52px; right: 0; }

.hero h1 { font-family: Inter, Arial, sans-serif; font-weight: 400; font-size: clamp(44px, 4.9vw, 70px); letter-spacing: -.035em; line-height: 1.13; max-width: 940px; margin-bottom: 27px; text-wrap: balance; }
.hero-description { font-size: clamp(17px, 1.5vw, 20px); font-weight: 400; line-height: 1.65; letter-spacing: .005em; max-width: 560px; color: #eef1ea; margin-bottom: 34px; }
.hero-eyebrow { letter-spacing: .15em; }
.hero-bottom { gap: 24px; }
.hero-principles { flex: 1; min-width: 0; }
.hero-bottom .video-toggle { position: static; order: 0; flex-shrink: 0; width: 44px; height: 44px; margin: 0; }
.site-header { box-shadow: 0 3px 18px #183a3005; }
.button { border-radius: 6px; }
.button:hover { transform: translateY(-1px); }
.button--light { box-shadow: 0 2px 8px #0819120a; }
.split-copy h2, .page-hero h1, .section-heading h2, .contact-band h2 { text-wrap: balance; letter-spacing: -.03em; }
.split-copy p:not(.eyebrow), .page-intro { font-size: 16px; }
.intro-photo img, .detail-photo img, .page-hero__photo img, .tech-visual > img { border-radius: 8px; }
.image-caption { background: #183a3033; backdrop-filter: blur(4px); border-color: #ffffff7a; border-radius: 0; font-size: 12px; text-shadow: 0 1px 3px #08191299; }
.stats-row > div { padding-left: 18px; border-left: 1px solid #cbd6cd; }
.stats-row span { font-size: 11px; }
.tag-list li { background: #fff; border-radius: 4px; font-size: 12px; padding: 8px 12px; }
.contact-band { border-top: 1px solid #3a6352; }
.footer-links a { transition: color .18s; }
.footer-links a:hover { color: #fff; }

.services-section { background: #f2f5f0; }
.services-section .section-heading { align-items: flex-start; }
.services-section .section-heading > p { max-width: 540px; }
.service-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.service-grid--two .service-card { display: flex; padding: 0; border: 1px solid #183a30; border-radius: 12px; overflow: hidden; background: #102e23; box-shadow: 0 8px 24px #183a300c; transition: box-shadow .25s, transform .25s; }
.service-card__link { position: relative; isolation: isolate; display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 490px; padding: 34px; color: #fff; }
.service-card__visual { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #102e23; }
.service-card__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,31,23,.12) 0, rgba(9,31,23,.38) 85px, rgba(9,31,23,.83) 150px, rgba(9,31,23,.98) 100%); }
.service-card__image { display: block; width: 100%; height: 100%; min-height: 0; margin: 0; border-radius: 0; object-fit: cover; transition: transform .45s var(--ease); }
.service-card__body { min-width: 0; flex: 1; display: flex; flex-direction: column; margin-top: 150px; padding: 0; }
.service-grid--two .service-card h3 { max-width: none; color: #fff; font-size: clamp(27px, 2.45vw, 35px); font-weight: 500; line-height: 1.18; letter-spacing: -.025em; margin-bottom: 18px; text-wrap: balance; }
.service-grid--two .service-card p { color: #e1eae2; font-size: 16px; line-height: 1.75; margin-bottom: 25px; max-width: none; }
.service-card__action { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 66px; padding-top: 20px; margin-top: auto; border-top: 1px solid #ffffff40; color: #fff; font-size: 14px; font-weight: 500; }
.service-card__arrow { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #ffffff70; background: #ffffff0d; border-radius: 50%; transition: background .2s, color .2s; }
.service-card__arrow svg { width: 20px; height: 20px; }
.service-grid--two .service-card:hover { transform: translateY(-3px); border-color: #183a30; box-shadow: 0 16px 32px #183a301c; }
.service-card:hover .service-card__image { transform: scale(1.035); }
.service-card:hover .service-card__arrow, .service-card:focus-within .service-card__arrow { background: #fff; color: var(--ink); border-color: #fff; }
.service-card:focus-within { outline: 3px solid #b1853d; outline-offset: 4px; }
.service-card__link:focus-visible { outline: none; }

@media (max-width: 760px) {
    .service-grid--two { grid-template-columns: 1fr; }
    .service-card__link { min-height: 470px; }
    .service-grid--two .service-card h3 { font-size: 32px; }
}
@media (max-width: 800px) {
    .header-inner { gap: 20px; }
    .site-header .brand img { width: 180px; }
    .language-switch { padding-left: 16px; }
    .hero h1 { font-size: clamp(43px, 6.8vw, 58px); }
}
@media (max-width: 600px) {
    html { scroll-padding-top: 92px; }
    .header-inner { height: 76px; gap: 8px; }
    .site-header .brand img { width: 140px; }
    .language-switch { padding-left: 8px; }
    .language-switch summary { font-size: 12px; gap: 5px; }
    .language-menu { top: 48px; }
    .navigation-switch.is-inline .main-nav { gap: 14px; }
    .nav-link { font-size: 13px; }
    .hero h1 { font-size: clamp(38px, 8.5vw, 49px); line-height: 1.14; letter-spacing: -.03em; margin-bottom: 24px; }
    .hero-description { font-size: 17px; line-height: 1.65; max-width: 36ch; }
    .hero .hero-actions { flex-direction: row; align-items: center; gap: 12px 24px; }
    .hero .hero-actions .text-link { align-self: center; margin: 0; min-height: 50px; padding-block: 13px; line-height: 1.45; }
    .hero-inner { padding-block: 54px 166px; }
    .hero-bottom { align-items: center; gap: 20px; }
    .services-section .section-heading > p { max-width: none; }
    .service-grid--two { gap: 24px; }
    .service-card__link { min-height: 460px; padding: 26px; }
    .service-card__body { margin-top: 140px; }
    .service-grid--two .service-card h3 { font-size: 29px; margin-bottom: 16px; }
}
@media (max-width: 420px) {
    .site-header .brand img { width: 132px; }
}
@media (max-width: 380px) {
    .hero h1 { font-size: 37px; }
    .service-card__link { padding: 24px; }
    .service-grid--two .service-card h3 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
    .navigation-toggle span, .service-card, .service-card__image, .service-card__arrow { transition: none; }
    .service-grid--two .service-card:hover, .service-card:hover .service-card__image { transform: none; }
}
