:root {
  --navy: #1f2c4a;
  --navy-d: #18223a;
  --gold: #b8975f;
  --gold-hi: #c9aa6e;
  --pizarra: #454f5e;
  --marfil: #ece8df;
  --marfil-w: #f5f2eb;
  --carbon: #14171c;
  --line: #ddd6c6;
  --maxw: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--marfil-w); color: var(--navy);
  font-family: 'Raleway', system-ui, sans-serif; font-weight: 300;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 0.32em;
  color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 14px;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; color: var(--navy); line-height: 1.15; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ============ Entrance motion ============ */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(.16,.8,.24,1), transform 0.9s cubic-bezier(.16,.8,.24,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  header.site .brand-mark, nav.links a.nav-link, nav.links .btn--nav { animation: none !important; }
}

/* ============ Header / Nav ============ */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 235, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand-mark {
  display: flex; flex-direction: column; align-items: flex-start;
  text-decoration: none; white-space: nowrap;
  animation: fadeDown 0.7s cubic-bezier(.16,.8,.24,1) both;
}
.brand-mark .nav-logo-img { height: 46px; width: auto; display: block; }
.brand-mark .bm-mark {
  font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 21px;
  letter-spacing: 0.02em; color: var(--navy);
}
.brand-mark .amp { color: var(--gold); font-style: normal; }
.brand-mark .bm-rule {
  display: block; height: 1px; width: 100%; margin: 3px 0 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-hi) 50%, var(--gold) 100%);
  opacity: 0.85;
}
.brand-mark .tag {
  font-family: 'Raleway', sans-serif; font-size: 9px;
  letter-spacing: 0.42em; color: var(--gold); text-transform: uppercase;
  align-self: stretch; text-align: center;
}
nav.links { display: flex; align-items: center; gap: 26px; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
nav.links a.nav-link,
nav.links .btn--nav {
  animation: fadeDown 0.6s cubic-bezier(.16,.8,.24,1) both;
}
nav.links a.nav-link:nth-child(1) { animation-delay: 0.06s; }
nav.links a.nav-link:nth-child(2) { animation-delay: 0.12s; }
nav.links a.nav-link:nth-child(3) { animation-delay: 0.18s; }
nav.links a.nav-link:nth-child(4) { animation-delay: 0.24s; }
nav.links .btn--nav { animation-delay: 0.3s; }
nav.links a.nav-link {
  text-decoration: none; color: var(--pizarra); position: relative;
  padding: 6px 0; display: flex; align-items: center; gap: 7px;
  transition: color 0.2s ease;
}
nav.links a.nav-link:hover, nav.links a.nav-link.active { color: var(--navy); }
nav.links a.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.25s ease;
}
nav.links a.nav-link:hover::after, nav.links a.nav-link.active::after { width: 100%; }
.nav-icon { width: 15px; height: 15px; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Raleway', sans-serif; font-weight: 500;
  font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 26px; text-decoration: none; border-radius: 2px;
  transition: all 0.25s ease; cursor: pointer; border: 1px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--marfil-w); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--marfil-w); }
.btn--outline-light { border-color: rgba(245,242,235,0.55); color: var(--marfil-w); background: transparent; }
.btn--outline-light:hover { background: var(--marfil-w); color: var(--navy); }
.btn--nav {
  padding: 9px 18px; font-size: 11px;
}
.btn-icon { width: 14px; height: 14px; }

.menu-toggle { display: none; }

/* ============ Hero slider (home only) ============ */
.hero-slider { position: relative; height: 84vh; min-height: 580px; max-height: 780px; overflow: hidden; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  background-size: cover; background-position: center;
  transition: opacity 1.1s ease;
}
.slide.active { opacity: 1; visibility: visible; }
.slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,34,58,0.58), rgba(20,23,28,0.8));
}
.slide-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--marfil-w); padding: 0 28px;
}
.slide-content .eyebrow { color: var(--gold-hi); }
.slide-content .num { font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 0.3em; color: var(--gold-hi); margin-bottom: 10px; display: block; }
.slide-content h1, .slide-content .slide-title { color: var(--marfil-w); font-size: clamp(32px, 5vw, 56px); max-width: 780px; margin-bottom: 18px; font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.15; }
.slide-content p { color: #d8d4c8; max-width: 560px; margin: 0 auto 30px; font-size: 15.5px; font-weight: 300; }
.slide-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.slider-nav-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 4;
}
.slider-nav-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(245,242,235,0.38); border: none; cursor: pointer; padding: 0;
}
.slider-nav-dots button.active { background: var(--gold-hi); width: 22px; border-radius: 4px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  background: rgba(20,23,28,0.32); border: 1px solid rgba(245,242,235,0.35);
  color: var(--marfil-w); width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
}
.slider-arrow:hover { background: rgba(184,151,95,0.55); }
.slider-arrow.prev { left: 22px; } .slider-arrow.next { right: 22px; }
.slider-arrow svg { width: 16px; height: 16px; }

/* ============ Interior page header (non-home) ============ */
.page-header {
  padding: 78px 0 56px; text-align: center;
  background: linear-gradient(180deg, var(--marfil) 0%, var(--marfil-w) 100%);
  border-bottom: 1px solid var(--line);
}
.page-header h1 { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 6px; }
.page-header p { color: var(--pizarra); max-width: 560px; margin: 14px auto 0; font-size: 15px; }

/* ============ Section shell ============ */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.section-head p { color: var(--pizarra); font-size: 15.5px; }
.divider { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.divider hr { border: none; height: 1px; background: var(--line); }

/* ============ Home: intro + highlights ============ */
.intro-lede { max-width: 700px; margin: 0 auto; text-align: center; color: var(--pizarra); font-size: 17px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.highlight-card { background: var(--marfil-w); padding: 34px 30px; }
.highlight-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.highlight-card.reveal:nth-child(3) { transition-delay: 0.24s; }
.highlight-card .num { font-family: 'Cinzel', serif; color: var(--gold); font-size: 12px; letter-spacing: 0.28em; display: block; margin-bottom: 12px; }
.highlight-card h3 { font-size: 20px; margin-bottom: 8px; }
.highlight-card p { color: var(--pizarra); font-size: 13.8px; margin-bottom: 14px; }
.highlight-card a.more { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

.cta-band { background: var(--navy); color: var(--marfil-w); text-align: center; padding: 70px 0; }
.cta-band .eyebrow { color: var(--gold-hi); }
.cta-band h2 { color: var(--marfil-w); margin-bottom: 22px; font-size: clamp(26px, 3.6vw, 36px); }
.cta-band .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ Service banner (image + left copy) ============ */
.service-banner {
  position: relative; height: 480px; overflow: hidden;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.service-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,23,28,0.9) 0%, rgba(31,44,74,0.78) 36%, rgba(31,44,74,0.3) 66%, rgba(31,44,74,0) 100%);
}
.service-banner-inner {
  position: relative; z-index: 2; width: 100%;
  padding-left: max(28px, calc((100vw - 1180px) / 2 + 64px));
  padding-right: 28px;
}
.service-banner-copy { max-width: 480px; }
.service-banner .eyebrow { color: var(--gold-hi); }
.service-banner h2 { color: var(--marfil-w); font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 16px; }
.service-banner p { color: #d8d4c8; font-size: 15px; margin-bottom: 30px; max-width: 420px; }
@media (max-width: 900px) {
  .service-banner { height: auto; padding: 80px 0; }
  .service-banner::before { background: linear-gradient(180deg, rgba(20,23,28,0.55), rgba(31,44,74,0.86)); }
  .service-banner-inner { padding-left: 28px; padding-right: 28px; text-align: center; }
  .service-banner-copy { max-width: 100%; margin: 0 auto; }
  .service-banner p { margin-left: auto; margin-right: auto; }
}

/* ============ Parallax band ============ */
.parallax-band {
  position: relative; height: 460px; overflow: hidden;
  background-size: cover; background-position: center; background-attachment: fixed;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.parallax-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,34,58,0.6), rgba(20,23,28,0.72));
}
.parallax-inner { position: relative; z-index: 2; max-width: 820px; padding: 0 28px; }
.parallax-band .eyebrow { color: var(--gold-hi); }
.parallax-band .phrase {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400;
  color: var(--marfil-w); font-size: clamp(24px, 3.3vw, 38px); line-height: 1.45;
}
@media (max-width: 900px) {
  .parallax-band { background-attachment: scroll; height: 360px; }
}

/* ============ Servicios ============ */
.services-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.service-col .col-title {
  font-family: 'Cinzel', serif; font-size: 14px; color: var(--navy);
  letter-spacing: 0.12em; text-transform: uppercase;
  padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--gold);
}
.service-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-item:last-child { border-bottom: none; }
.service-item .mark { color: var(--gold); font-family: 'Cinzel', serif; font-size: 16px; line-height: 1.4; }
.service-item h4 { font-family: 'Raleway', sans-serif; font-weight: 500; color: var(--navy); font-size: 15.5px; margin-bottom: 4px; }
.service-item p { color: var(--pizarra); font-size: 13.8px; }

/* ============ Quienes somos ============ */
.about-intro { display: flex; align-items: flex-start; gap: 56px; }
.about-photo {
  flex: 0 0 220px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #253358 0%, var(--navy) 65%, var(--navy-d) 100%);
  display: grid; place-items: center; box-shadow: 0 22px 48px rgba(31,44,74,0.28);
  border: 4px solid var(--marfil-w); outline: 1px solid var(--line);
  position: sticky; top: 110px;
}
.about-photo span { font-family: 'Cinzel', serif; color: var(--gold-hi); font-size: 32px; letter-spacing: 0.08em; }
.about-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center top; display: block; }
.about-copy .eyebrow { display: block; margin-bottom: 10px; }
.about-copy .about-lede { font-family: 'Cormorant Garamond', serif; font-size: 21px; color: var(--navy); font-style: italic; margin-bottom: 20px; }
.about-copy p { color: var(--pizarra); font-size: 15.5px; margin-bottom: 16px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--navy); font-weight: 600; }

.principles-section { background: var(--marfil); }
.principles-head { max-width: 680px; margin: 0 0 48px; }
.principles-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.principles-head p { color: var(--pizarra); font-size: 15px; }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.principle-card {
  border: 1px solid var(--line); border-radius: 6px; padding: 34px 24px; text-align: center;
  background: var(--marfil-w); box-shadow: 0 10px 26px rgba(31,44,74,0.05);
}
.principle-icon {
  width: 62px; height: 62px; border-radius: 50%; background: var(--marfil);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.principle-icon svg { width: 25px; height: 25px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.principle-card h4 {
  font-family: 'Raleway', sans-serif; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 12.5px; color: var(--navy); margin-bottom: 10px;
}
.principle-card p { color: var(--pizarra); font-size: 13.3px; }

/* ============ Equipo ============ */
.team-grid { display: flex; justify-content: center; }
.team-card { max-width: 380px; text-align: center; background: var(--marfil-w); border: 1px solid var(--line); padding: 44px 40px; }
.team-avatar {
  width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #253358 0%, var(--navy) 65%, var(--navy-d) 100%);
  display: grid; place-items: center; box-shadow: 0 14px 30px rgba(31,44,74,0.25);
}
.team-avatar span { font-family: 'Cinzel', serif; color: var(--gold-hi); font-size: 20px; letter-spacing: 0.08em; }
.team-card h3 { font-size: 24px; margin-bottom: 4px; }
.team-card .role { font-family: 'Raleway', sans-serif; letter-spacing: 0.16em; text-transform: uppercase; font-size: 11.5px; color: var(--gold); margin-bottom: 18px; }
.team-card p { color: var(--pizarra); font-size: 14px; }

/* ============ Contacto ============ */
.contact-section { background: var(--carbon); color: var(--marfil); }
.contact-section .eyebrow { color: var(--gold-hi); }
.contact-section h2 { color: var(--marfil); }
.contact-section .section-head p { color: #a9aeb8; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); }
.contact-item { background: var(--carbon); padding: 34px 30px; text-align: center; }
.contact-item .eyebrow { margin-bottom: 12px; }
.contact-item a, .contact-item p { color: var(--marfil); font-size: 14.5px; text-decoration: none; }
.contact-item a:hover { color: var(--gold-hi); }
.contact-cta { text-align: center; margin-top: 48px; }

/* ============ Contact form ============ */
.contact-form-section { background: var(--marfil-w); }
.contact-form { max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-field label {
  font-family: 'Raleway', sans-serif; font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--pizarra); margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px;
  font-family: 'Raleway', sans-serif; font-size: 14.5px; color: var(--navy);
  background: #fff; transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 120px; font-family: 'Raleway', sans-serif; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { margin-top: 4px; border: none; cursor: pointer; }
.form-status { margin-top: 16px; font-size: 13.5px; min-height: 18px; }
.form-status.success { color: #2f7d4f; }
.form-status.error { color: #b3413a; }
.form-status.loading { color: var(--pizarra); }
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
footer.site-footer { background: var(--carbon); border-top: 1px solid rgba(255,255,255,0.08); padding: 44px 0 32px; }
footer.site-footer .foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; margin-bottom: 28px; }
.footer-logo { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.footer-logo .fl-mark {
  font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 27px;
  letter-spacing: 0.02em; color: var(--marfil-w); white-space: nowrap;
}
.footer-logo .fl-mark .amp { color: var(--gold-hi); font-style: normal; }
.footer-logo .fl-rule {
  display: block; height: 1px; width: 100%; margin: 9px 0 7px;
  background: linear-gradient(90deg, transparent, var(--gold) 14%, var(--gold-hi) 50%, var(--gold) 86%, transparent);
}
.footer-logo .fl-tag {
  font-family: 'Raleway', sans-serif; font-size: 10px; letter-spacing: 0.5em;
  color: #d9d4c8; text-transform: uppercase;
  align-self: stretch; text-align: center;
}
footer.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site-footer nav a { color: #b7bcc4; font-size: 12.5px; text-decoration: none; letter-spacing: 0.04em; }
footer.site-footer nav a:hover { color: var(--gold-hi); }
footer.site-footer p.copy { color: #7d828d; font-size: 12px; letter-spacing: 0.04em; margin: 0; }
footer.site-footer .foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px;
}
.credit-link {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: #b7bcc4; font-size: 12px; letter-spacing: 0.03em;
}
.credit-link span { font-weight: 500; color: #c9ccd2; }
.credit-link img { height: 34px; width: auto; display: block; opacity: 0.95; transition: opacity 0.2s ease; }
.credit-link:hover img { opacity: 1; }
.credit-link:hover span { color: var(--gold-hi); }
@media (max-width: 560px) {
  footer.site-footer .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--navy);
  display: grid; place-items: center; box-shadow: 0 12px 28px rgba(20,23,28,0.35);
  text-decoration: none; transition: transform 0.2s ease, background 0.2s ease;
}
.wa-float:hover { transform: translateY(-3px); background: var(--gold); }
.wa-float svg { width: 26px; height: 26px; fill: var(--marfil-w); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  nav.links { display: none; }
  .menu-toggle {
    display: inline-flex; background: none; border: 1px solid var(--navy);
    color: var(--navy); padding: 9px 14px; font-size: 11px; letter-spacing: 0.1em;
    text-transform: uppercase; cursor: pointer; border-radius: 2px;
  }
  .highlight-grid { grid-template-columns: 1fr; }
  .services-wrap { grid-template-columns: 1fr; gap: 12px; }
  .about-intro { flex-direction: column; text-align: center; gap: 30px; }
  .about-photo { flex: 0 0 auto; position: static; }
  .principles-head { text-align: center; margin-left: auto; margin-right: auto; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero-slider { height: 78vh; min-height: 480px; }
  .slider-arrow { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

