
:root{
  --navy:#052842;
  --navy2:#041c2d;
  --ink:#0f172a;
  --muted:#475569;
  --bg:#f8f9fb;
  --card:#ffffff;
  --line:rgba(15,23,42,.10);
  --gray:#6a6a6a;
  --radius:18px;
  --shadow: 0 18px 50px rgba(2, 14, 23, .10);
  --header-offset: 84px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth; scroll-padding-top: var(--header-offset)}
body{
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
ul{margin:0;padding-left:1.1rem}
li{margin:.3rem 0}
b{font-weight:700}

.container{
  width:min(1120px, 92vw);
  margin:0 auto;
}

.header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(248,249,251,.82);
  backdrop-filter:saturate(1.5) blur(12px);
  border-bottom:1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.header.scrolled{
  background:rgba(255,255,255,.94);
  border-bottom-color: rgba(3,18,27,.10);
  box-shadow: 0 10px 30px rgba(2,14,23,.08);
}

.nav{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
  padding: 12px 0;
  min-height:82px;
}

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  color:var(--ink);
  padding:6px 0;
}

.brand-logo-full,
.brand-logo-icon{
  display:block;
  width:auto;
}
.brand-logo-full{height:62px}
.brand-logo-icon{height:44px; display:none}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.menu{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  flex:1;
  flex-wrap:wrap;
  list-style:none;
  margin:0;
  padding:0;
}
.menu a{
  position:relative;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.menu a::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:6px;
  height:2px;
  border-radius:2px;
  background: linear-gradient(90deg, var(--navy), rgba(11,58,95,0));
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .18s ease;
}
.menu a:hover{background:rgba(5,40,66,.06)}
.menu a:hover::after{transform:scaleX(1)}
.menu a.active{color:var(--navy)}
.menu a.active::after{transform:scaleX(1)}

.cta{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(5,40,66,.18);
  background:rgba(255,255,255,.9);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
}
.btn.primary{
  background:linear-gradient(135deg, var(--navy), #0b3a5f);
  color:white;
  border-color:rgba(255,255,255,.2);
  box-shadow:0 10px 30px rgba(5,40,66,.22);
}
.btn.primary:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}

.burger{
  display:none;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid var(--line);
  background:white;
  cursor:pointer;
  position:relative;
}
.burger span,
.burger span::before,
.burger span::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  height:2px;
  background:var(--navy);
  border-radius:2px;
}
.burger span{top:20px}
.burger span::before{top:-7px}
.burger span::after{top:7px}

.hero{
  position:relative;
  color:white;
  padding:90px 0 70px;
  overflow:hidden;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(20,94,139,.55), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(8,33,52,.82), rgba(8,33,52,.92)),
    url("../assets/photos/office_hero.jpg") center/cover no-repeat;
}
.wave-top, .wave-bottom{
  position:absolute;
  left:0;
  width:100%;
  height:220px;
}
.wave-top{top:-1px}
.wave-bottom{bottom:-1px}

.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap:26px;
  align-items:stretch;
}

.kicker{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-weight:700;
  letter-spacing:.2px;
  color:rgba(255,255,255,.92);
  opacity:.95;
  margin-bottom:12px;
}

.h1{
  font-family:"Cormorant Garamond", serif;
  font-weight:700;
  font-size:52px;
  line-height:1.05;
  margin:0 0 14px;
}

.sub{
  margin:0 0 22px;
  font-size:16px;
  color:rgba(255,255,255,.85);
}

.hero-actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.note{
  font-size:12px;
  color:rgba(255,255,255,.78);
}

.hero-card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius);
  padding:18px 18px 16px;
  box-shadow:0 18px 50px rgba(0,0,0,.14);
  backdrop-filter: blur(8px);
}
.hero-card h3{
  margin:0 0 12px;
  font-size:16px;
  letter-spacing:.2px;
  opacity:.95;
}
.hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.point{
  display:inline-flex;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  font-weight:700;
  font-size:13px;
}

section{
  padding:64px 0;
}

.section-title{
  font-family:"Cormorant Garamond", serif;
  font-size:44px;
  line-height:1.08;
  margin:0 0 8px;
  color:var(--ink);
  position:relative;
  padding-bottom:14px;
}

.section-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:140px;
  height:3px;
  border-radius:3px;
  background: linear-gradient(90deg, var(--navy), rgba(11,58,95,0));
}
.section-lead{
  color:var(--muted);
  margin:0 0 22px;
  max-width: 900px;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 18px 16px;
  box-shadow: 0 10px 35px rgba(2, 14, 23, .06);
}
.card h3{
  margin:8px 0 10px;
  font-size:18px;
}
.badge{
  display:inline-flex;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(5,40,66,.08);
  border:1px solid rgba(5,40,66,.12);
  color:var(--navy);
  font-weight:800;
  font-size:12px;
  letter-spacing:.2px;
}
.hint{
  color:var(--muted);
  margin:0;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}

.timeline{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.step{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px 16px 14px;
  box-shadow: 0 10px 35px rgba(2, 14, 23, .06);
  position:relative;
}
.step .n{
  width:34px;
  height:34px;
  border-radius:12px;
  background:rgba(5,40,66,.10);
  color:var(--navy);
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:10px;
}
.step h4{
  margin:0 0 6px;
  font-size:16px;
}
.step p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.contact{
  background:linear-gradient(180deg, rgba(5,40,66,.04), rgba(5,40,66,.00));
}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:12px;
}
label{
  font-weight:700;
  font-size:13px;
  color:rgba(15,23,42,.88);
}
input, textarea{
  border:1px solid rgba(15,23,42,.14);
  border-radius:14px;
  padding:12px 12px;
  font-family:inherit;
  font-size:14px;
  outline:none;
  background:white;
}
textarea{min-height:120px; resize:vertical}
input:focus, textarea:focus{
  border-color:rgba(5,40,66,.42);
  box-shadow:0 0 0 4px rgba(5,40,66,.12);
}

.mt-8{margin-top:12px}

.footer{
  background:linear-gradient(135deg, var(--navy2), var(--navy));
  color:white;
  padding:34px 0 24px;
  border-top:1px solid rgba(255,255,255,.14);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.6fr .9fr;
  gap:18px;
  align-items:start;
}
.footer h4{
  margin:0 0 10px;
  font-size:16px;
}
.footer ul{padding-left:1rem}
.footer a{color:rgba(255,255,255,.90)}
.footer a:hover{color:white}
.footer-logo{
  display:flex;
  gap:14px;
  align-items:center;
}
.footer-logo img{
  width:46px;
  height:46px;
  object-fit:contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}
.copyright{
  margin-top:18px;
  font-size:12px;
  color:rgba(255,255,255,.78);
}

/* Responsive */
@media (max-width: 980px){
  .nav{display:flex; justify-content:space-between; gap:14px; min-height:64px; padding:10px 0;}
  .brand-logo-full{display:none;}
  .brand-logo-icon{display:block;}
  .grid-3{grid-template-columns: repeat(2, 1fr);}
  .timeline{grid-template-columns: repeat(2, 1fr);}
  .hero-grid{grid-template-columns:1fr; }
  .hero-card{max-width: 560px;}
  .cta{display:none}
  .menu{display:none}
  .burger{display:block}
  .menu.open{
    display:flex;
    position:absolute;
    top:64px;
    left:4vw;
    right:4vw;
    padding:10px;
    gap:8px;
    background:rgba(248,249,251,.98);
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:var(--shadow);
    flex-direction:column;
  }
  .menu.open a{padding:10px 12px}
}

@media (max-width: 620px){
  .grid-3{grid-template-columns: 1fr;}
  .split{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .timeline{grid-template-columns:1fr;}
  .h1{font-size:42px;}
  section{padding:54px 0;}
}


/* --- Enhancements --- */
section[id]{
  scroll-margin-top: var(--header-offset); /* evita que el header tape los títulos */
}

.section-alt{
  background:
    radial-gradient(circle at 1px 1px, rgba(3,18,27,.03) 1px, transparent 0) 0 0/24px 24px,
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
}

section:not(.hero){
  position: relative;
}

section:not(.hero)::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(3,18,27,.14), transparent);
}

section:not(.hero)::after{
  content:"";
  position:absolute;
  top:-7px;
  left:50%;
  width:78px;
  height:14px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(13,59,81,.22) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent, rgba(13,59,81,.18), transparent);
  background-repeat: no-repeat;
  background-size: 10px 10px, 78px 2px;
  background-position: center, center;
  opacity: .95;
  pointer-events:none;
}

.btn.small{
  padding: 10px 14px;
  font-size: 13px;
}

.btn.secondary{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.40);
  color: #fff;
}

.btn.secondary:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.60);
  transform: translateY(-1px);
}

.hero-card--photo{
  gap: 12px;
}

.hero-card-photo{
  height: 160px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: url("../assets/photos/office_laptop.jpg") center/cover no-repeat;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.muted{
  color: var(--muted);
}

.hero-card .muted{
  color: rgba(255,255,255,.78);
}

.checklist{
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.9);
}

.checklist li{
  position: relative;
  padding-left: 20px;
}

.checklist li::before{
  content: "✓";
  position:absolute;
  left:0;
  top:0;
  color: rgba(255,255,255,.95);
}

.photo-card{
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 240px;
}

.photo-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.photo-card--sm{
  min-height: 200px;
}

.photo-banner{
  margin-top: 18px;
  border-radius: 24px;
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.photo-banner img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display:block;
}

.stack{
  display:grid;
  gap: 14px;
}

