:root {
  --ink: #17202b;
  --muted: #66717f;
  --navy: #102f4f;
  --blue: #174f7e;
  --accent: #f04b2f;
  --cream: #f5f7f9;
  --white: #fff;
  --line: #dce3ea;
  --shadow: 0 18px 45px rgba(16, 47, 79, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: #fff; padding: 10px; }
.skip-link:focus { left: 10px; }

.topbar { background: #0a223a; color: #d9e4ee; font-size: .89rem; }
.topbar .container { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 18px; }
.topbar a { text-decoration: none; }
.motto { margin: 0; font-weight: 700; color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.98); box-shadow: 0 1px 0 rgba(16,47,79,.12); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 116px; height: auto; }
.nav-toggle { display: none; border: 0; border-radius: 8px; background: var(--navy); color: #fff; padding: 10px 13px; font-size: 1rem; cursor: pointer; }
.site-nav ul { display: flex; align-items: center; gap: 5px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 11px 12px; border-radius: 6px; text-decoration: none; font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: #fff; background: var(--accent); }

.hero { min-height: 590px; display: grid; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(6,25,43,.86), rgba(10,34,58,.38)), url('../images/BANNER1.webp') center/cover; }
.hero-inner { max-width: 760px; padding-block: 90px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: .82rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero h1, .page-hero h1 { margin: 0 0 18px; font-size: clamp(2.3rem, 6vw, 4.7rem); line-height: 1.04; letter-spacing: -.035em; }
.hero p { max-width: 690px; margin: 0 0 30px; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 2px solid var(--accent); border-radius: 4px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; }
.btn:hover, .btn:focus-visible { background: #d93920; border-color: #d93920; }
.btn-outline { background: transparent; border-color: #fff; }
.btn-outline:hover, .btn-outline:focus-visible { background: #fff; color: var(--navy); border-color: #fff; }

.section { padding: 82px 0; }
.section-soft { background: var(--cream); }
.section-dark { background: var(--navy); color: #fff; }
.section-title { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-title h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; }
.section-dark .section-title h2 { color: #fff; }
.section-title p { margin: 0; color: var(--muted); }
.section-dark .section-title p { color: #dbe6ef; }
.lead { font-size: 1.15rem; color: #44515f; }

.intro-grid, .split { display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center; }
.image-frame { position: relative; }
.image-frame img { width: 100%; min-height: 380px; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow); }
.image-frame::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 48%; height: 48%; z-index: -1; background: var(--accent); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { position: relative; padding: 9px 0 9px 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 10px 30px rgba(16,47,79,.07); }
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.15rem; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); }
.card-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; background: #ffe6e0; color: var(--accent); font-weight: 900; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { padding: 28px 20px; text-align: center; border: 1px solid rgba(255,255,255,.18); }
.stat strong { display: block; color: #fff; font-size: 2rem; }
.stat span { color: #ccd8e2; }

.page-hero { min-height: 330px; display: grid; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(8,30,50,.9), rgba(8,30,50,.4)), url('../images/BANNER3.webp') center/cover; }
.page-hero.services { background-image: linear-gradient(90deg, rgba(8,30,50,.9), rgba(8,30,50,.4)), url('../images/BANNER2.webp'); }
.page-hero.news { background-image: linear-gradient(90deg, rgba(8,30,50,.9), rgba(8,30,50,.4)), url('../images/noticias.webp'); }
.page-hero.directors { background-image: linear-gradient(90deg, rgba(8,30,50,.9), rgba(8,30,50,.4)), url('../images/BANNER4.webp'); }
.page-hero.contact { background-image: linear-gradient(90deg, rgba(8,30,50,.9), rgba(8,30,50,.4)), url('../images/BANNER1.webp'); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; font-size: .9rem; }
.breadcrumbs a { color: #fff; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-item { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 26px; background: #fff; border-left: 4px solid var(--accent); box-shadow: 0 8px 24px rgba(16,47,79,.08); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; }
.service-item h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.08rem; }
.service-item p { margin: 0; color: var(--muted); }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.photo-strip img { width: 100%; height: 260px; object-fit: cover; border-radius: 4px; }

.director-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.director-card { overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 28px rgba(16,47,79,.08); }
.director-card img { width: 100%; height: 310px; object-fit: cover; object-position: top; background: #eef2f5; }
.director-card-content { padding: 20px; }
.director-card h2 { margin: 0 0 5px; color: var(--navy); font-size: 1.1rem; line-height: 1.35; }
.director-card .role { margin: 0 0 10px; color: var(--accent); font-size: .8rem; font-weight: 900; text-transform: uppercase; }
.director-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card { overflow: hidden; border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.video-wrap { aspect-ratio: 16 / 9; background: #0b1620; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
.video-card h2 { margin: 0; padding: 18px 20px; color: var(--navy); font-size: 1.04rem; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; }
.contact-panel { padding: 32px; background: var(--navy); color: #fff; }
.contact-panel h2 { margin-top: 0; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.18); }
.contact-list a { color: #fff; }
.contact-form { padding: 32px; border: 1px solid var(--line); background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
label { color: var(--navy); font-weight: 800; }
input, textarea { width: 100%; padding: 12px 13px; border: 1px solid #c6d0da; border-radius: 4px; font: inherit; }
input:focus, textarea:focus { outline: 3px solid rgba(240,75,47,.17); border-color: var(--accent); }
textarea { min-height: 150px; resize: vertical; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .88rem; }

.cta { padding: 48px 0; background: var(--accent); color: #fff; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta p { margin: 0; }

.site-footer { padding: 58px 0 20px; background: #081d31; color: #bdcad5; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .8fr 1.05fr; gap: 46px; }
.site-footer h2 { margin-top: 0; color: #fff; font-size: 1.05rem; }
.footer-brand img { width: 120px; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 8px 0; }
.site-footer a { color: #e7eef4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.copyright { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; text-align: center; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 84px; padding: 12px 18px 20px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { display: grid; gap: 3px; }
  .site-nav a { padding: 13px 14px; }
  .intro-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .cards, .director-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .topbar .container { padding-block: 9px; align-items: flex-start; flex-direction: column; gap: 3px; }
  .topbar-links { gap: 5px 14px; }
  .nav-wrap { min-height: 72px; }
  .site-nav { top: 72px; }
  .hero { min-height: 540px; }
  .hero-inner { padding-block: 72px; }
  .section { padding: 62px 0; }
  .cards, .stats, .service-grid, .director-grid, .videos, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-brand, .field-full { grid-column: auto; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 230px; }
  .director-card img { height: 360px; }
  .cta .container { align-items: flex-start; flex-direction: column; }
}
