:root {
  --navy: #081426;
  --navy-2: #0d2038;
  --navy-3: #17314f;
  --gold: #b78a16;
  --gold-bright: #d8ad3f;
  --gold-soft: #f5e8be;
  --ink: #111827;
  --muted: #5c6675;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --line: rgba(8, 20, 38, .12);
  --shadow: 0 22px 60px rgba(8, 20, 38, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font: Calibri, Candara, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--gold-soft); color: var(--navy); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 108px 0; }
.section-soft { background: linear-gradient(180deg, #f7f8fa 0%, #fff 100%); }
.section-dark { color: #fff; background: var(--navy); }

.skip-link {
  position: fixed; z-index: 9999; top: 12px; left: 12px;
  transform: translateY(-160%); background: #fff; color: var(--navy);
  padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: 82px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(8,20,38,.08);
  backdrop-filter: blur(16px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 132px; height: 68px; overflow: hidden; display: grid; place-items: center; flex: 0 0 auto; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; font-weight: 700; color: var(--navy); }
.main-nav a { position: relative; transition: color .25s ease; }
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px;
  background: var(--gold); transition: right .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.nav-cta { padding: 11px 18px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold)!important; }
.nav-cta:hover { background: var(--gold); color: #fff!important; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--navy); transition: .25s ease; }

.hero { position: relative; padding: 92px 0 0; overflow: hidden; background: radial-gradient(circle at 80% 20%, #183b62 0, var(--navy) 37%, #06101e 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: linear-gradient(to bottom, #000, transparent 80%); pointer-events: none;
}
.hero-shape { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .55; pointer-events: none; }
.hero-shape-one { width: 440px; height: 440px; right: -180px; top: -170px; border: 1px solid rgba(216,173,63,.3); }
.hero-shape-two { width: 250px; height: 250px; right: 20%; bottom: 80px; border: 1px solid rgba(255,255,255,.08); }
.hero-grid { min-height: 590px; position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 62px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .17em; font-size: .78rem; font-weight: 800; color: var(--gold); }
.eyebrow::before, .section-kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-kicker.light { color: var(--gold-bright); }
.hero h1 { margin: 0; font-size: clamp(3.2rem, 6.4vw, 6.3rem); line-height: .92; letter-spacing: -.055em; font-weight: 700; }
.hero h1 span { display: block; color: var(--gold-bright); }
.hero-slogan { margin: 22px 0 24px; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; font-size: .82rem; color: #dce4ee; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero-slogan i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-bright); }
.hero-lead { max-width: 710px; margin: 0 0 12px; font-size: 1.13rem; color: #f2f5f9; }
.hero-text { max-width: 710px; margin: 0; color: #b9c5d3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.btn { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: 12px 21px; border-radius: 999px; font-weight: 800; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: #10151c; background: linear-gradient(135deg, #dcb349, #ac7910); box-shadow: 0 12px 35px rgba(183,138,22,.24); }
.btn-outline { color: #fff; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.03); }
.btn-outline:hover { background: rgba(255,255,255,.09); }

.logo-stage { position: relative; min-height: 480px; display: grid; place-items: center; }
.logo-halo { position: absolute; width: 420px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(216,173,63,.19), transparent 65%); }
.hero-logo { position: relative; width: min(430px, 90%); border-radius: 32px; box-shadow: 0 34px 80px rgba(0,0,0,.34); transform: rotate(-1.4deg); }
.hero-mark { position: absolute; width: 150px; right: 0; bottom: 32px; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.28); border: 1px solid rgba(216,173,63,.35); background: #fff; }

.quick-contact { position: relative; z-index: 3; display: grid; grid-template-columns: .8fr 1.15fr 1.65fr; margin-top: 32px; transform: translateY(48px); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.26); }
.quick-card { min-height: 104px; display: flex; align-items: center; gap: 14px; padding: 21px; color: var(--navy); background: #fff; border-right: 1px solid var(--line); }
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: #fbf7eb; }
.quick-icon { width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: var(--navy); font-size: .68rem; font-weight: 900; letter-spacing: .06em; }
.quick-card small { display: block; margin-bottom: 3px; color: var(--muted); }
.quick-card strong { font-size: .98rem; line-height: 1.35; }
.quick-address strong { font-size: .91rem; }

.profile { padding-top: 146px; }
.profile-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.profile-card { padding: 42px; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.profile-card h2, .section-heading h2, .about h2, .cta-grid h2 { margin: 0 0 18px; color: var(--navy); line-height: 1.06; font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.035em; }
.profile-card p { font-size: 1.08rem; color: var(--muted); }
.fine-line { width: 90px; height: 2px; margin: 28px 0; background: linear-gradient(90deg, var(--gold), transparent); }
.profile-note { color: var(--navy)!important; font-weight: 700; }
.profile-emblem { display: grid; place-items: center; }
.emblem-card { position: relative; width: min(390px, 90%); aspect-ratio: 1; display: grid; place-items: center; padding: 46px; border-radius: 50%; border: 1px solid rgba(183,138,22,.3); background: radial-gradient(circle at 50% 45%, #fff 0 57%, #f7f0da 58% 60%, #fff 61%); box-shadow: 0 22px 55px rgba(8,20,38,.12); }
.emblem-card::after { content: ""; position: absolute; inset: 18px; border-radius: 50%; border: 1px dashed rgba(183,138,22,.28); }
.emblem-card img { width: 86%; position: relative; z-index: 2; }

.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .section-kicker { justify-content: center; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.experience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.experience-card { position: relative; overflow: hidden; padding: 36px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(8,20,38,.08); }
.experience-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -85px; top: -85px; background: rgba(183,138,22,.08); }
.experience-number { display: flex; align-items: baseline; gap: 7px; margin-bottom: 14px; color: var(--gold); }
.experience-number span { font-size: 3.5rem; line-height: 1; font-weight: 800; }
.experience-number small { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.experience-card h3 { margin: 0 0 8px; font-size: 1.4rem; line-height: 1.25; color: var(--navy); }
.experience-card > p { color: var(--muted); }
.check-list, .service-card ul { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li, .service-card li { position: relative; padding: 8px 0 8px 27px; border-bottom: 1px solid rgba(8,20,38,.07); }
.check-list li:last-child, .service-card li:last-child { border-bottom: 0; }
.check-list li::before, .service-card li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--gold); font-weight: 900; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { position: relative; padding: 34px; border-radius: 24px; border: 1px solid var(--line); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(183,138,22,.38); box-shadow: var(--shadow); }
.service-card.featured { background: linear-gradient(145deg, #fff 0 70%, #fbf6e7 100%); }
.service-index { position: absolute; right: 26px; top: 20px; font-size: 2.35rem; font-weight: 900; line-height: 1; color: rgba(183,138,22,.15); }
.service-card h3 { position: relative; z-index: 2; margin: 0; padding-right: 50px; font-size: 1.42rem; color: var(--navy); }
.service-intro { color: var(--muted); }
.service-card ul { margin-top: 19px; }
.service-card li { font-size: .98rem; }

.about { padding: 110px 0; background: radial-gradient(circle at 15% 30%, #163653 0, var(--navy) 48%, #050c15 100%); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.about h2, .cta-grid h2 { color: #fff; }
.about-copy p { color: #c5d0dc; font-size: 1.08rem; }
.about-logo { display: grid; place-items: center; }
.about-logo img { width: min(410px, 88%); border-radius: 28px; box-shadow: 0 30px 75px rgba(0,0,0,.35); }
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 72px; }
.mv-card { padding: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(255,255,255,.045); backdrop-filter: blur(10px); }
.mv-card > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: #10151c; background: var(--gold-bright); font-weight: 900; }
.mv-card h3 { margin: 18px 0 10px; font-size: 1.5rem; }
.mv-card p { margin: 0; color: #c5d0dc; }

.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.value-card { min-height: 230px; padding: 24px 21px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(8,20,38,.05); transition: .25s ease; }
.value-card:hover { transform: translateY(-4px); border-color: rgba(183,138,22,.3); box-shadow: 0 18px 44px rgba(8,20,38,.1); }
.value-card > span { color: var(--gold); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.value-card h3 { margin: 18px 0 8px; color: var(--navy); font-size: 1.1rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }

.cta-band { padding: 66px 0; background: linear-gradient(110deg, var(--navy), #122b47); }
.cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-grid h2 { margin-bottom: 7px; }
.cta-grid p { margin: 0; color: #c6d0dc; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.contact-grid { display: grid; grid-template-columns: .75fr 1fr 1.45fr; gap: 18px; }
.contact-card { min-height: 190px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 35px rgba(8,20,38,.06); transition: .25s ease; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(183,138,22,.35); }
.contact-label { color: var(--gold); font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 900; }
.contact-card strong { color: var(--navy); font-size: 1.08rem; line-height: 1.45; word-break: break-word; }
.contact-card small { color: var(--muted); }

.site-footer { color: #dbe3ec; background: #050b13; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { min-height: 240px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-brand img { width: 145px; border-radius: 14px; }
.footer-brand p { margin: 10px 0 0; color: #aab6c4; }
.footer-data { max-width: 530px; display: grid; gap: 7px; text-align: right; }
.footer-data p { margin: 0; color: #aab6c4; }
.footer-data a { color: #fff; }
.footer-data a:hover { color: var(--gold-bright); }
.footer-bottom { padding: 16px 20px; text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .2em; color: #8290a0; border-top: 1px solid rgba(255,255,255,.07); }

.floating-call { position: fixed; z-index: 900; right: 20px; bottom: 20px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #111; background: linear-gradient(135deg, #e2bd59, #aa7410); box-shadow: 0 14px 36px rgba(8,20,38,.3); border: 3px solid rgba(255,255,255,.84); transition: transform .22s ease; }
.floating-call:hover { transform: translateY(-4px) scale(1.03); }
.floating-call span { font-size: .72rem; font-weight: 900; letter-spacing: .03em; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: revealUp .62s cubic-bezier(.22,.61,.36,1) both; }
@keyframes revealUp {
  from { opacity: .2; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 35px; }
  .hero-logo { width: min(360px, 95%); }
  .hero-mark { width: 120px; }
}

@media (max-width: 860px) {
  .site-header { height: 74px; }
  .brand { width: 108px; height: 58px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 20px; right: 20px; top: 66px; padding: 18px;
    flex-direction: column; align-items: stretch; gap: 3px;
    border-radius: 18px; background: #fff; box-shadow: 0 24px 55px rgba(8,20,38,.18);
    transform: translateY(-12px) scale(.98); opacity: 0; pointer-events: none; transition: .24s ease;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 11px 10px; border-radius: 10px; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 70px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-slogan, .hero-actions { justify-content: center; }
  .hero-lead, .hero-text { margin-inline: auto; }
  .hero-visual { order: -1; }
  .logo-stage { min-height: 320px; }
  .hero-logo { width: min(330px, 82vw); }
  .hero-mark { width: 105px; right: max(0px, calc(50% - 205px)); bottom: 5px; }
  .quick-contact { grid-template-columns: 1fr; transform: translateY(36px); }
  .quick-card { min-height: 86px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-card:last-child { border-bottom: 0; }

  .profile { padding-top: 110px; }
  .profile-grid, .about-grid, .experience-grid, .services-grid, .mv-grid, .contact-grid { grid-template-columns: 1fr; }
  .profile-emblem { order: -1; }
  .emblem-card { width: min(300px, 80vw); }
  .about-logo { order: -1; }
  .about-logo img { width: min(340px, 82vw); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 14px; }
  .contact-card { min-height: 155px; }
  .cta-grid { flex-direction: column; align-items: flex-start; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { flex-direction: column; align-items: flex-start; padding: 46px 0; }
  .footer-data { text-align: left; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 78px 0; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .hero-slogan { font-size: .7rem; letter-spacing: .11em; }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions .btn { width: 100%; }
  .profile-card, .experience-card, .service-card, .mv-card { padding: 27px 23px; }
  .profile-card h2, .section-heading h2, .about h2, .cta-grid h2 { font-size: 2.3rem; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .floating-call { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; }
  .reveal { opacity: 1; transform: none; }
}

/* Ajustes de visibilidad del logotipo y acceso directo para agendar */
.site-header { height: 104px; }
.nav-wrap { gap: 34px; }
.brand {
  width: 176px;
  height: 92px;
  padding: 5px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(183,138,22,.18);
  box-shadow: 0 8px 26px rgba(8,20,38,.09);
}
.brand img { width: 100%; height: 100%; object-fit: contain; filter: contrast(1.04) saturate(1.03); }

.logo-stage { min-height: 520px; }
.hero-logo {
  width: min(500px, 96%);
  transform: none;
  border-radius: 28px;
  background: #fff;
  border: 2px solid rgba(216,173,63,.42);
  box-shadow: 0 34px 90px rgba(0,0,0,.38), 0 0 0 8px rgba(255,255,255,.035);
  filter: contrast(1.03) saturate(1.04);
}
.hero-mark { width: 128px; right: -8px; bottom: 24px; }
.footer-brand img {
  width: 190px;
  padding: 5px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(216,173,63,.32);
}

.wa-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.btn-whatsapp-hero { gap: 9px; }
.btn-whatsapp-hero .wa-icon { color: #fff; }
.btn-whatsapp-hero:hover { border-color: rgba(255,255,255,.65); }

.cta-actions { align-items: stretch; flex-direction: column; min-width: min(100%, 430px); }
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 82px;
  padding: 13px 18px;
  border-radius: 20px;
  background: #25d366;
  color: #071b10;
  box-shadow: 0 16px 38px rgba(37,211,102,.24);
  border: 1px solid rgba(255,255,255,.35);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.whatsapp-cta:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(37,211,102,.32); filter: brightness(1.03); }
.whatsapp-cta-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #128c4c;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.whatsapp-cta-icon .wa-icon { width: 31px; height: 31px; }
.whatsapp-cta-copy { display: grid; line-height: 1.1; }
.whatsapp-cta-copy small { margin-bottom: 4px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-style: normal; font-weight: 800; opacity: .72; }
.whatsapp-cta-copy strong { font-size: 1.12rem; }
.whatsapp-cta-copy em { margin-top: 4px; font-size: .87rem; font-style: normal; font-weight: 800; opacity: .78; }
.cta-secondary-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-secondary-actions .btn { flex: 1 1 190px; }

@media (max-width: 860px) {
  html { scroll-padding-top: 94px; }
  .site-header { height: 86px; }
  .brand { width: 132px; height: 76px; padding: 4px; }
  .main-nav { top: 78px; }
  .hero { padding-top: 52px; }
  .logo-stage { min-height: 365px; }
  .hero-logo { width: min(380px, 88vw); border-radius: 22px; }
  .hero-mark { width: 92px; right: max(0px, calc(50% - 220px)); bottom: 0; }
  .cta-actions { width: 100%; min-width: 0; }
}

@media (max-width: 560px) {
  .brand { width: 118px; height: 72px; }
  .logo-stage { min-height: 330px; }
  .hero-logo { width: min(350px, 92vw); }
  .hero-mark { width: 82px; right: 0; bottom: -2px; }
  .whatsapp-cta { min-height: 76px; padding: 12px 14px; border-radius: 18px; }
  .whatsapp-cta-icon { width: 48px; height: 48px; }
  .whatsapp-cta-icon .wa-icon { width: 28px; height: 28px; }
  .whatsapp-cta-copy strong { font-size: 1.02rem; }
  .cta-secondary-actions { flex-direction: column; }
  .cta-secondary-actions .btn { flex-basis: auto; width: 100%; }
}

/* Revisión final: logotipo visible y acceso directo a WhatsApp */
.site-header { min-height: 92px; height: auto; }
.nav-wrap { min-height: 92px; }
.brand {
  width: auto;
  min-width: 310px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 5px 13px 5px 5px;
  overflow: visible;
  text-decoration: none;
}
.brand img {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  object-fit: contain;
}
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong {
  color: var(--navy);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand-copy small {
  color: var(--gold-deep);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo-stage {
  min-height: 520px;
  padding: 20px;
}
.hero-logo {
  width: min(510px, 96%);
  max-height: 510px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transform: none;
  background: #fff;
  border: 2px solid rgba(216,173,63,.46);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0,0,0,.36), 0 0 0 8px rgba(255,255,255,.04);
}
.contact-grid-four { grid-template-columns: repeat(4, 1fr); }
.contact-whatsapp {
  border-color: rgba(37,211,102,.35);
  background: linear-gradient(180deg, #fff, #f4fff8);
}
.contact-whatsapp .contact-label { color: #128c4c; }
.contact-whatsapp:hover { border-color: rgba(37,211,102,.7); }

@media (max-width: 1100px) {
  .brand { min-width: 245px; }
  .brand-copy strong { font-size: 1.05rem; }
  .brand-copy small { font-size: .56rem; letter-spacing: .06em; }
  .contact-grid-four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .site-header, .nav-wrap { min-height: 82px; height: auto; }
  .brand { min-width: 0; width: auto; height: 72px; padding: 4px 9px 4px 4px; gap: 9px; }
  .brand img { width: 62px; height: 62px; flex-basis: 62px; }
  .brand-copy strong { font-size: .98rem; }
  .brand-copy small { display: none; }
  .main-nav { top: 76px; }
  .logo-stage { min-height: 390px; padding: 12px 0; }
  .hero-logo { width: min(390px, 90vw); max-height: 390px; border-radius: 22px; }
}

@media (max-width: 560px) {
  .site-header, .nav-wrap { min-height: 76px; }
  .brand { height: 66px; gap: 7px; padding: 3px 7px 3px 3px; }
  .brand img { width: 58px; height: 58px; flex-basis: 58px; }
  .brand-copy strong { font-size: .87rem; }
  .logo-stage { min-height: 340px; }
  .hero-logo { width: min(330px, 90vw); max-height: 330px; border-radius: 20px; }
  .contact-grid-four { grid-template-columns: 1fr; }
}

/* ===== Ajuste solicitado 2026-09-08: visibilidad de logotipo + WhatsApp en Agenda tu cita ===== */
/* El encabezado usa un recorte del mismo logotipo original únicamente para que el emblema sea legible. */
.site-header .brand {
  min-width: 300px;
  height: 86px;
  padding: 5px 14px 5px 6px;
  gap: 12px;
}
.site-header .brand img {
  width: 78px;
  height: 72px;
  flex: 0 0 78px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.site-header .brand-copy strong { font-size: 1.22rem; }
.site-header .brand-copy small { color: #9b7110; }

.hero .logo-stage {
  min-height: 540px;
  padding: 16px;
}
.hero .hero-logo {
  width: min(540px, 100%);
  max-height: 540px;
  object-fit: contain;
  border: 3px solid rgba(216,173,63,.55);
  box-shadow: 0 36px 94px rgba(0,0,0,.4), 0 0 0 9px rgba(255,255,255,.045);
}

.cta-band .cta-grid {
  align-items: center;
  gap: 44px;
}
.cta-band .cta-main {
  flex: 1 1 520px;
}
.cta-band .cta-main h2 { margin-bottom: 24px; }
.cta-band .whatsapp-cta-primary {
  width: min(100%, 520px);
  min-height: 94px;
  padding: 15px 20px;
  background: #25d366;
  color: #061b0f;
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: 0 18px 44px rgba(37,211,102,.3);
}
.cta-band .whatsapp-cta-primary .whatsapp-cta-icon {
  width: 62px;
  height: 62px;
}
.cta-band .whatsapp-cta-primary .whatsapp-cta-icon .wa-icon {
  width: 36px;
  height: 36px;
}
.cta-band .whatsapp-cta-primary .whatsapp-cta-copy strong {
  font-size: 1.22rem;
}
.cta-band .whatsapp-cta-primary .whatsapp-cta-copy em {
  font-size: .94rem;
}
.cta-band .cta-actions {
  min-width: min(100%, 350px);
}
.cta-band .cta-secondary-actions {
  flex-direction: column;
  width: 100%;
}
.cta-band .cta-secondary-actions .btn {
  width: 100%;
  flex-basis: auto;
}

@media (max-width: 1100px) {
  .site-header .brand { min-width: 245px; }
  .site-header .brand img { width: 70px; height: 66px; flex-basis: 70px; }
  .site-header .brand-copy strong { font-size: 1.06rem; }
}
@media (max-width: 860px) {
  .site-header .brand { min-width: 0; height: 72px; padding: 3px 8px 3px 3px; }
  .site-header .brand img { width: 66px; height: 62px; flex-basis: 66px; }
  .site-header .brand-copy strong { font-size: .98rem; }
  .hero .logo-stage { min-height: 410px; }
  .hero .hero-logo { width: min(405px, 92vw); max-height: 405px; }
  .cta-band .cta-grid { gap: 26px; }
  .cta-band .cta-main, .cta-band .cta-actions { width: 100%; min-width: 0; flex-basis: auto; }
  .cta-band .whatsapp-cta-primary { width: 100%; }
}
@media (max-width: 560px) {
  .site-header .brand { height: 66px; gap: 7px; }
  .site-header .brand img { width: 58px; height: 56px; flex-basis: 58px; }
  .site-header .brand-copy strong { font-size: .88rem; }
  .hero .logo-stage { min-height: 355px; }
  .hero .hero-logo { width: min(345px, 92vw); max-height: 345px; }
  .cta-band .whatsapp-cta-primary { min-height: 86px; padding: 12px 14px; }
  .cta-band .whatsapp-cta-primary .whatsapp-cta-icon { width: 54px; height: 54px; }
  .cta-band .whatsapp-cta-primary .whatsapp-cta-icon .wa-icon { width: 32px; height: 32px; }
  .cta-band .whatsapp-cta-primary .whatsapp-cta-copy strong { font-size: 1.06rem; }
}
