:root {
  --navy: #06182f;
  --navy-2: #0b2850;
  --blue: #0e66a8;
  --blue-2: #157fc4;
  --gold: #d9bb55;
  --ink: #13233a;
  --muted: #637088;
  --light: #f4f7fb;
  --white: #fff;
  --border: #dfe6ef;
  --shadow: 0 20px 50px rgba(7, 29, 56, .11);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 24, 47, .94);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 78px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:14px; min-width:0; }
.brand-logo { width:42px; height:42px; object-fit:contain; }
.brand-copy { display:flex; flex-direction:column; color:var(--white); line-height:1.05; }
.brand-copy strong { font-size:1.2rem; letter-spacing:.13em; }
.brand-copy small { margin-top:5px; color:#c4d2e3; font-size:.72rem; }
.main-nav { display:flex; align-items:center; gap:28px; color:#edf4fb; font-size:.93rem; }
.main-nav a { opacity:.88; transition:opacity .2s ease, transform .2s ease; }
.main-nav a:hover { opacity:1; transform:translateY(-1px); }
.nav-cta { padding:11px 17px; background:var(--gold); color:var(--navy)!important; border-radius:999px; font-weight:800; opacity:1!important; }
.mobile-contact { display:none; color:white; font-size:1.1rem; }

.hero { position:relative; min-height:720px; overflow:hidden; color:white; background:var(--navy); }
.hero-bg { position:absolute; inset:0; background: url('https://corsea.com.mx/wp-content/uploads/2017/08/banner-corsea.jpg') center/cover no-repeat; transform:scale(1.02); }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg, rgba(3,16,33,.93) 0%, rgba(3,17,34,.81) 43%, rgba(3,17,34,.28) 100%); }
.hero-content { position:relative; z-index:1; min-height:720px; display:flex; align-items:center; justify-content:space-between; gap:60px; padding:80px 0; }
.hero-copy { max-width:780px; }
.eyebrow, .section-kicker { display:inline-block; color:var(--blue-2); font-size:.78rem; font-weight:800; letter-spacing:.17em; }
.eyebrow { color:#d7ebff; }
.hero h1 { margin:17px 0 20px; font-size:clamp(2.7rem, 5.6vw, 5.4rem); line-height:1.02; letter-spacing:-.035em; max-width:840px; }
.hero p { margin:0; max-width:650px; font-size:1.15rem; color:#e4edf6; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:34px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:0 22px; border-radius:999px; font-weight:800; transition:.2s ease; }
.btn-primary { background:var(--gold); color:var(--navy); }
.btn-primary:hover { transform:translateY(-2px); filter:brightness(1.04); }
.btn-outline { border:1px solid rgba(255,255,255,.4); color:white; }
.btn-outline:hover { background:rgba(255,255,255,.1); }
.hero-note { width:245px; padding:20px 22px; border-left:2px solid var(--gold); color:#e5edf8; background:rgba(1,13,28,.32); backdrop-filter:blur(6px); }
.hero-note span, .hero-note strong { display:block; }
.hero-note span { font-size:.82rem; text-transform:uppercase; letter-spacing:.11em; color:#b7cadf; }
.hero-note strong { margin-top:4px; font-size:1.35rem; }

.strip { background:var(--light); }
.intro-grid { min-height:210px; display:grid; grid-template-columns:1.15fr .85fr; gap:70px; align-items:center; }
.section { padding:100px 0; }
.section-head { display:grid; grid-template-columns:1.05fr .95fr; gap:65px; align-items:end; margin-bottom:52px; }
.section-head h2, .center-head h2, .split-copy h2, .value-copy h2, .alliances-wrap h2, .contact-cta h2 { margin:10px 0 0; font-size:clamp(2rem, 4vw, 3.6rem); line-height:1.08; letter-spacing:-.03em; }
.section-head p, .center-head p { margin:0; color:var(--muted); }
.center-head { display:block; max-width:820px; margin-left:auto; margin-right:auto; text-align:center; }
.center-head h2 { margin-bottom:18px; }

.services-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.service-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.service-card-featured { border-color:#c6d8ea; }
.service-image { aspect-ratio: 1.64; overflow:hidden; }
.service-image img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.service-card:hover .service-image img { transform:scale(1.04); }
.service-body { padding:27px; }
.service-number { display:block; font-size:.78rem; font-weight:900; color:var(--blue); letter-spacing:.15em; }
.service-body h3 { margin:6px 0 10px; font-size:1.55rem; }
.service-body p { margin:0; color:var(--muted); }

.services-detail { margin-top:24px; display:grid; grid-template-columns:1.15fr .85fr; border-radius:var(--radius); overflow:hidden; background:var(--light); }
.detail-media { min-height:430px; }
.detail-media img { width:100%; height:100%; object-fit:cover; }
.detail-copy { padding:60px; display:flex; flex-direction:column; justify-content:center; }
.detail-copy h3 { margin:12px 0 17px; font-size:2.15rem; line-height:1.12; }
.detail-copy p { margin:0 0 16px; color:var(--muted); }

.section-dark { background:var(--navy); color:white; }
.section-kicker-light { color:#a5d8ff; }
.split-section { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.split-copy h2 { color:white; }
.split-copy p { color:#c1cede; }
.split-media { border-radius:var(--radius); overflow:hidden; box-shadow:0 18px 50px rgba(0,0,0,.22); }
.split-media img { width:100%; aspect-ratio:1.05; object-fit:cover; }

.section-soft { background:#f7f9fc; }
.value-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.value-image { border-radius:var(--radius); overflow:hidden; }
.value-image img { width:100%; aspect-ratio:1.15; object-fit:cover; }
.value-copy p { color:var(--muted); }
.mini-points { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; margin-top:28px; }
.mini-points div { border:1px solid var(--border); background:white; padding:16px; border-radius:16px; }
.mini-points strong { display:block; color:var(--blue); font-size:.74rem; letter-spacing:.15em; }
.mini-points span { display:block; margin-top:5px; font-weight:700; font-size:.88rem; }

.client-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; margin-top:46px; }
.client-grid div { min-height:80px; display:flex; align-items:center; justify-content:center; text-align:center; padding:15px; border:1px solid var(--border); background:white; border-radius:16px; font-weight:900; color:#28415e; letter-spacing:.04em; }
.clients-section { background:#fff; }

.offices-section { background:var(--light); }
.office-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:48px; }
.office-card { padding:30px; border:1px solid var(--border); background:white; border-radius:var(--radius); }
.office-card-main { background:var(--navy); color:white; border-color:var(--navy); transform:translateY(-10px); }
.office-tag { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:#e8f4fd; color:var(--blue); font-weight:900; font-size:.76rem; }
.office-card-main .office-tag { background:rgba(255,255,255,.1); color:#bce6ff; }
.office-card h3 { margin:18px 0 10px; font-size:1.55rem; }
.office-card p { min-height:98px; margin:0 0 18px; color:var(--muted); }
.office-card-main p { color:#c4d3e3; }
.office-card a { color:var(--blue); font-weight:900; }
.office-card-main a { color:#ffe28b; }

.alliances-section { padding:70px 0; }
.alliances-wrap { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.alliance-list { display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end; }
.alliance-list span { padding:12px 17px; border:1px solid var(--border); border-radius:999px; font-weight:800; background:white; }

.contact-cta { padding:84px 0; color:white; background:linear-gradient(135deg, #0b2850, #0d4e84 72%, #1271ad); }
.contact-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:50px; }
.contact-cta h2 { color:white; }
.contact-cta p { margin:15px 0 0; color:#d9e7f4; }
.contact-actions { display:flex; flex-wrap:wrap; gap:12px; }
.btn-light { background:white; color:var(--navy); }
.btn-ghost-light { color:white; border:1px solid rgba(255,255,255,.35); }

.site-footer { padding:36px 0 18px; background:#03101f; color:white; }
.footer-grid { display:flex; align-items:center; justify-content:space-between; gap:40px; }
.footer-brand { display:flex; align-items:center; gap:13px; }
.footer-logo { width:46px; height:46px; object-fit:contain; }
.footer-brand div { display:flex; flex-direction:column; }
.footer-brand strong { letter-spacing:.16em; }
.footer-brand span { color:#aabbd0; font-size:.78rem; }
.footer-contact { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px 22px; color:#ced8e5; font-size:.85rem; }
.footer-contact a:hover, .footer-bottom a:hover { color:white; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; border-top:1px solid rgba(255,255,255,.1); margin-top:30px; padding-top:18px; color:#71859d; font-size:.78rem; }

@media (max-width: 1020px) {
  .main-nav { gap:18px; }
  .hero-content { align-items:flex-end; }
  .hero-note { display:none; }
  .section-head, .intro-grid, .services-detail, .split-section, .value-grid, .alliances-wrap { grid-template-columns:1fr; }
  .services-grid, .office-grid { grid-template-columns:1fr 1fr; }
  .client-grid { grid-template-columns:repeat(3, 1fr); }
  .alliance-list { justify-content:flex-start; }
  .office-card-main { transform:none; }
}

@media (max-width: 760px) {
  .container { width:min(100% - 28px, 1180px); }
  .nav-wrap { min-height:70px; }
  .main-nav { display:none; }
  .mobile-contact { display:block; }
  .hero, .hero-content { min-height:630px; }
  .hero-content { padding:55px 0; }
  .hero h1 { font-size:clamp(2.35rem, 13vw, 4rem); }
  .hero p { font-size:1rem; }
  .section { padding:74px 0; }
  .services-grid, .office-grid, .client-grid, .mini-points { grid-template-columns:1fr; }
  .section-head { gap:20px; margin-bottom:34px; }
  .services-detail { margin-top:18px; }
  .detail-copy { padding:34px; }
  .split-section { gap:28px; }
  .value-grid { gap:30px; }
  .client-grid div { min-height:70px; }
  .contact-cta-inner, .footer-grid, .footer-bottom { flex-direction:column; align-items:flex-start; }
  .footer-contact { justify-content:flex-start; }
  .footer-bottom { gap:10px; }
}
