:root {
  --navy: #061629;
  --navy-2: #0a213b;
  --navy-3: #102c4a;
  --gold: #c6964b;
  --gold-light: #dfb66d;
  --cream: #f5f1e9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #101c2a;
  --muted: #64707d;
  --line: #dfe2e5;
  --shadow: 0 24px 70px rgba(6, 22, 41, .12);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.kicker { margin: 0 0 13px; color: var(--gold); text-transform: uppercase; letter-spacing: .17em; font-size: .72rem; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h2 { font-size: clamp(2.55rem, 4.8vw, 4.3rem); letter-spacing: -.035em; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-150%); background: #fff; color: #000; padding: 10px 14px; }
.skip-link:focus { transform: none; }

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  background: rgba(4, 17, 31, .88);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(4, 17, 31, .97);
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}
.nav-shell { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 208px; height: 72px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 26px; color: #fff; font-size: .78rem; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 12px 0; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 1px; background: var(--gold); transition: .25s; }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 13px 18px; background: var(--gold); color: var(--navy); border: 1px solid var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: #fff; }

/* Buttons */
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; font-size: .8rem; font-weight: 700; letter-spacing: .01em; transition: .25s ease; }
.button-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.button-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.button-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* Hero */
.hero { position: relative; min-height: 820px; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, #071b31 60%, #081525 100%); padding-top: 92px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 82px 82px; mask-image: linear-gradient(to right, #000, transparent 80%); }
.hero-glow { position: absolute; width: 560px; height: 560px; right: 4%; top: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(198,150,75,.2), transparent 68%); filter: blur(5px); }
.hero-grid { min-height: 728px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; position: relative; z-index: 2; }
.hero-copy { padding: 70px 0 54px; }
.hero h1 { max-width: 720px; margin-bottom: 25px; font-size: clamp(3.35rem, 6.2vw, 6.1rem); letter-spacing: -.045em; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero-lead { max-width: 620px; margin-bottom: 32px; color: #c9d4df; font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 54px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-trust > div { display: flex; gap: 12px; padding-right: 16px; }
.hero-trust > div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
.trust-icon { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-size: .62rem; }
.hero-trust p { margin: 0; line-height: 1.25; }
.hero-trust strong, .hero-trust small { display: block; }
.hero-trust strong { font-size: .75rem; color: #fff; }
.hero-trust small { margin-top: 4px; color: #94a5b8; font-size: .67rem; }
.portrait-wrap { position: relative; align-self: end; height: 680px; }
.portrait-frame { position: absolute; inset: 10px 0 0; overflow: hidden; }
.portrait-frame::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(to top, var(--navy) 0%, transparent 38%), linear-gradient(to right, var(--navy) 0%, transparent 18%); pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; filter: saturate(.84) contrast(1.03); }
.portrait-card { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 24px; padding: 22px 24px; background: rgba(4, 17, 31, .86); border: 1px solid rgba(198,150,75,.6); backdrop-filter: blur(10px); }
.portrait-card span, .portrait-card strong, .portrait-card small { display: block; }
.portrait-card span { color: var(--gold-light); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.portrait-card strong { margin: 3px 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.portrait-card small { color: #b9c5d1; }

/* Headings */
.section-heading { max-width: 720px; margin-bottom: 50px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading > p:last-child { color: var(--muted); }

/* Services */
.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 390px; padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: .3s ease; }
.service-card:hover { z-index: 2; background: var(--navy); color: #fff; transform: translateY(-8px); box-shadow: var(--shadow); }
.service-symbol { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 40px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: var(--serif); font-size: 1.35rem; }
.service-card:hover .service-symbol { background: var(--gold); color: var(--navy); }
.service-label { margin-bottom: 9px; color: var(--gold); text-transform: uppercase; letter-spacing: .09em; font-size: .66rem; font-weight: 700; }
.service-card h3 { min-height: 72px; margin-bottom: 15px; font-size: 2rem; }
.service-card > p:not(.service-label) { color: var(--muted); font-size: .88rem; }
.service-card:hover > p:not(.service-label) { color: #c6d0da; }
.service-card a { position: absolute; left: 28px; bottom: 27px; color: var(--gold); font-size: .76rem; font-weight: 700; }
.service-card a span { margin-left: 8px; }

/* Ordinance */
.ordinance-section { padding: 0 0 112px; background: #fff; }
.ordinance-card { display: grid; grid-template-columns: .75fr 1.75fr; gap: 54px; padding: 52px 56px; background: var(--navy); color: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.ordinance-title { padding-right: 40px; border-right: 1px solid rgba(255,255,255,.15); }
.ordinance-title h2 { margin-bottom: 18px; font-size: 3rem; }
.ordinance-title > p:last-child { margin: 0; color: #b9c6d2; font-size: .9rem; }
.ordinance-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.ordinance-topics article { min-height: 160px; }
.ordinance-topics span { color: var(--gold); font-size: .7rem; font-weight: 700; }
.ordinance-topics h3 { margin: 18px 0 10px; font-size: 1.45rem; }
.ordinance-topics p { margin: 0; color: #b9c6d2; font-size: .82rem; }

/* Profile */
.profile { background: var(--cream); }
.profile-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 10%; align-items: center; }
.profile-image { position: relative; height: 610px; }
.profile-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; filter: saturate(.82); }
.image-outline { position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); pointer-events: none; }
.profile-copy h2 { margin-bottom: 13px; }
.professional-line { margin-bottom: 28px; color: var(--gold); text-transform: uppercase; letter-spacing: .11em; font-size: .77rem; font-weight: 700; }
.profile-copy > p:not(.kicker):not(.professional-line) { max-width: 650px; color: var(--muted); }
.profile-points { margin-top: 35px; border-top: 1px solid #d7d2c9; }
.profile-points > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid #d7d2c9; }
.profile-points span { color: var(--gold); font-size: .7rem; font-weight: 700; }
.profile-points p, .profile-points strong, .profile-points small { margin: 0; display: block; }
.profile-points strong { color: var(--ink); font-size: .88rem; }
.profile-points small { margin-top: 3px; color: var(--muted); }

/* Cases */
.cases { background: #fff; }
.cases-layout { display: grid; grid-template-columns: .7fr 1.7fr; gap: 70px; }
.cases-intro { position: sticky; top: 130px; align-self: start; }
.cases-intro h2 { font-size: clamp(2.6rem, 4vw, 4rem); }
.cases-intro > p:last-child { color: var(--muted); }
.case-list { display: grid; gap: 18px; }
.case-item { padding: 34px 36px; border: 1px solid var(--line); background: var(--paper); }
.case-item > span { color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; font-weight: 700; }
.case-item h3 { margin: 10px 0 18px; font-size: 2rem; }
.case-item p { margin: 7px 0; color: var(--muted); font-size: .86rem; }
.case-item strong { color: var(--ink); }

/* Testimonials */
.testimonials { overflow: hidden; background: var(--navy); color: #fff; }
.testimonial-heading { display: flex; align-items: end; justify-content: space-between; gap: 80px; margin-bottom: 50px; }
.testimonial-heading h2 { margin: 0; }
.testimonial-heading > p { max-width: 390px; color: #aebdca; }
.testimonial-slider { display: grid; grid-template-columns: 54px 1fr 54px; gap: 25px; align-items: center; }
.testimonial-track { position: relative; min-height: 290px; }
.testimonial { position: absolute; inset: 0; opacity: 0; transform: translateX(35px); pointer-events: none; padding: 45px 50px; border: 1px solid rgba(255,255,255,.15); background: var(--navy-2); transition: .4s ease; }
.testimonial.active { opacity: 1; transform: none; pointer-events: auto; }
.stars { color: var(--gold-light); letter-spacing: .28em; }
.testimonial blockquote { max-width: 820px; margin: 30px 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.15; }
.testimonial footer strong, .testimonial footer span { display: block; }
.testimonial footer span { color: var(--gold); font-size: .75rem; }
.slider-button { width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: #fff; }
.slider-button:hover { border-color: var(--gold); color: var(--gold); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #425267; }
.slider-dots button.active { background: var(--gold); }

/* Method + FAQ */
.method-faq { background: var(--cream); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.method h2, .faq h2 { margin-bottom: 35px; font-size: clamp(2.6rem, 4vw, 4rem); }
.method-list { margin: 0; padding: 0; list-style: none; position: relative; }
.method-list::before { content: ""; position: absolute; left: 22px; top: 22px; bottom: 22px; width: 1px; background: #cfc7b9; }
.method-list li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding-bottom: 27px; }
.method-list li > span { z-index: 1; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: .65rem; }
.method-list strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.method-list p { margin: 4px 0 0; color: var(--muted); font-size: .85rem; }
.accordion { border-top: 1px solid #cbc5bb; }
.accordion-item { border-bottom: 1px solid #cbc5bb; }
.accordion-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 600; }
.accordion-item button i { font-style: normal; color: var(--gold); font-size: 1.3rem; transition: .25s; }
.accordion-item button[aria-expanded="true"] i { transform: rotate(45deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.accordion-panel > p { overflow: hidden; margin: 0; color: var(--muted); font-size: .87rem; }
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; }
.accordion-item.open .accordion-panel > p { padding: 0 0 20px; }

/* Contact */
.contact-section { padding: 95px 0; background: #fff; }
.contact-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; padding: 60px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.contact-intro h2 { margin-bottom: 18px; font-size: clamp(2.7rem, 4vw, 4rem); }
.contact-intro > p:not(.kicker) { color: #b6c2cf; }
.contact-data { display: grid; gap: 16px; margin-top: 38px; }
.contact-data a, .contact-data p { margin: 0; color: #fff; font-size: .86rem; }
.contact-data span { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .11em; font-size: .62rem; }
.contact-form { display: grid; gap: 17px; padding: 34px; background: #fff; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: #485461; font-size: .72rem; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #d8dde2; background: #fbfbfa; padding: 13px 14px; color: var(--ink); outline: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,150,75,.12); }
.contact-form textarea { resize: vertical; }
.form-note { margin: 0; color: var(--muted); font-size: .7rem; }

/* Footer */
.site-footer { padding: 60px 0 24px; background: #041222; color: #acbac7; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr 1fr .6fr; gap: 60px; }
.footer-brand img { width: 205px; height: 76px; object-fit: contain; object-position: left; }
.footer-brand p { max-width: 270px; font-size: .8rem; }
.site-footer h3 { margin-bottom: 17px; color: #fff; font-family: var(--sans); font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; }
.site-footer a, .site-footer div > p { display: block; margin: 8px 0; font-size: .76rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .7rem; }
.whatsapp-float { position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #1e9e63; color: #fff; box-shadow: 0 15px 30px rgba(0,0,0,.23); font-size: .72rem; font-weight: 700; }

/* Reveals */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .main-nav { gap: 17px; }
  .main-nav a { font-size: .72rem; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 25px; }
  .hero-trust { grid-template-columns: 1fr; gap: 14px; }
  .hero-trust > div + div { padding-left: 0; border-left: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .ordinance-card { grid-template-columns: 1fr; }
  .ordinance-title { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding: 0 0 30px; }
}

@media (max-width: 800px) {
  .shell { width: min(100% - 32px, 1180px); }
  .section { padding: 82px 0; }
  .nav-shell { height: 78px; }
  .brand img { width: 178px; height: 62px; }
  .menu-toggle { display: block; z-index: 60; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 19px; padding: 80px 32px; background: var(--navy); transform: translateX(100%); transition: .3s ease; font-size: 1rem; }
  .main-nav.open { transform: none; }
  .main-nav > a { font-size: 1rem; }
  .nav-cta { margin-top: 15px; }
  .hero { min-height: 0; padding-top: 78px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 0 10px; }
  .portrait-wrap { height: 610px; }
  .portrait-frame::before { background: linear-gradient(to top, var(--navy) 0%, transparent 38%); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid, .cases-layout, .split-grid, .contact-card { grid-template-columns: 1fr; }
  .profile-image { height: 570px; max-width: 520px; }
  .cases-intro { position: static; }
  .testimonial-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .testimonial-slider { grid-template-columns: 1fr; }
  .slider-button { display: none; }
  .contact-card { padding: 38px 28px; gap: 35px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  h2 { font-size: 2.65rem; }
  .hero h1 { font-size: 3.35rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-trust { margin-top: 35px; }
  .portrait-wrap { height: 520px; }
  .portrait-frame img { object-position: center 13%; }
  .portrait-card { left: 0; right: 0; bottom: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 350px; }
  .ordinance-card { padding: 38px 26px; border-radius: 14px; }
  .ordinance-topics { grid-template-columns: 1fr; }
  .ordinance-topics article { min-height: 0; }
  .profile-image { height: 500px; }
  .image-outline { display: none; }
  .testimonial { padding: 34px 26px; }
  .testimonial-track { min-height: 350px; }
  .testimonial blockquote { font-size: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* Ajustes editoriales: menos aspecto de plantilla */
.hero::before { opacity: .055; background-size: 118px 118px; }
.hero h1 { max-width: 760px; }
.hero-copy::after { content: "Atención presencial y online"; display: inline-block; margin-top: 26px; color: #8296aa; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.service-grid { align-items: start; }
.service-card:nth-child(2), .service-card:nth-child(4) { margin-top: 22px; }
.service-card:nth-child(3) { background: #f8f4ec; }
.service-card h3 { min-height: 0; }
.service-symbol { border-radius: 4px; transform: rotate(-2deg); }
.service-card:nth-child(even) .service-symbol { transform: rotate(2deg); }
.ordinance-card { border-radius: 8px 26px 8px 8px; }
.profile-image img { filter: saturate(.9) contrast(1.02); }
.case-item { border-left: 3px solid transparent; transition: .22s ease; }
.case-item:hover { border-left-color: var(--gold); transform: translateX(5px); }
.case-item:nth-child(2) { margin-left: 34px; }
.case-item:nth-child(3) { margin-left: 68px; }
.case-focus { padding-top: 12px; border-top: 1px solid #ded8cd; }
.testimonial-placeholder { display: block; }
.review-note { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; min-height: 230px; padding: 44px 48px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.035); }
.review-mark { align-self: start; color: var(--gold); font-family: var(--serif); font-size: 5rem; line-height: .8; }
.review-note h3 { margin-bottom: 10px; font-size: 2rem; }
.review-note p { margin: 0; max-width: 620px; color: #aebdca; }
.button-outline { border-color: rgba(255,255,255,.42); color: #fff; white-space: nowrap; }
.button-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.method-list li:nth-child(even) { margin-left: 12px; }
.contact-card { border-radius: 0 26px 0 0; }
.contact-form { box-shadow: 14px 14px 0 rgba(198,150,75,.12); }
.whatsapp-float { border-radius: 16px; }

@media (max-width: 800px) {
  .service-card:nth-child(2), .service-card:nth-child(4) { margin-top: 0; }
  .case-item:nth-child(2), .case-item:nth-child(3) { margin-left: 0; }
  .review-note { grid-template-columns: 1fr; padding: 34px 28px; }
  .review-mark { display: none; }
  .method-list li:nth-child(even) { margin-left: 0; }
}

/* Refinamiento visual: iconografía sobria y contacto flotante */
.service-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  transform: none !important;
}
.service-symbol svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:hover .service-symbol {
  background: transparent;
  color: var(--gold-light);
  transform: translateX(2px) !important;
}

.whatsapp-float { display: none; }
.whatsapp-contact {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 38px auto 18px;
  align-items: center;
  gap: 11px;
  min-width: 236px;
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(8, 28, 49, .12);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  color: var(--navy);
  box-shadow: 0 12px 32px rgba(5, 20, 36, .16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.whatsapp-contact:hover {
  transform: translateY(-3px);
  border-color: rgba(183,138,66,.45);
  box-shadow: 0 16px 38px rgba(5, 20, 36, .20);
}
.whatsapp-contact__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #1f8f5f;
  color: #fff;
}
.whatsapp-contact__icon i {
  font-size: 1.3rem;
  line-height: 1;
}
.whatsapp-contact__copy { display: grid; line-height: 1.12; }
.whatsapp-contact__copy small {
  margin-bottom: 3px;
  color: #71808e;
  font-size: .58rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.whatsapp-contact__copy strong { font-size: .78rem; font-weight: 700; }
.whatsapp-contact__arrow { color: var(--gold); font-size: 1rem; transition: transform .22s ease; }
.whatsapp-contact:hover .whatsapp-contact__arrow { transform: translateX(3px); }

@media (max-width: 540px) {
  .whatsapp-contact {
    right: 14px;
    bottom: 14px;
    min-width: 0;
    grid-template-columns: 38px auto;
    padding-right: 13px;
  }
  .whatsapp-contact__copy small { display: none; }
  .whatsapp-contact__copy strong { font-size: .72rem; }
  .whatsapp-contact__arrow { display: none; }
}

/* =========================================================
   HERO VALPARAÍSO — portada territorial sin retrato repetido
========================================================= */
.hero-valparaiso {
  min-height: 790px;
  padding-top: 92px;
  isolation: isolate;
  background: #04111f;
}
.hero-valparaiso::before,
.hero-valparaiso .hero-glow,
.hero-valparaiso .hero-copy::after { display: none; }
.hero-city-image {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url('../assets/valparaiso-puerto.png');
  background-size: cover;
  background-position: center 56%;
  transform: scale(1.015);
}
.hero-city-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,15,28,.97) 0%, rgba(3,15,28,.90) 34%, rgba(3,15,28,.55) 61%, rgba(3,15,28,.18) 100%),
    linear-gradient(0deg, rgba(3,15,28,.92) 0%, rgba(3,15,28,.10) 45%, rgba(3,15,28,.30) 100%);
}
.hero-city-layout {
  min-height: 698px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  align-items: center;
}
.hero-valparaiso .hero-copy {
  padding: 92px 0 72px;
  text-shadow: 0 2px 24px rgba(0,0,0,.18);
}
.hero-valparaiso h1 {
  max-width: 700px;
  font-size: clamp(3.4rem, 6.2vw, 6.3rem);
}
.hero-valparaiso .hero-lead {
  max-width: 610px;
  color: rgba(239,244,248,.82);
}
.hero-valparaiso .hero-trust {
  max-width: 700px;
  border-top-color: rgba(255,255,255,.20);
}
.trust-mark {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin-top: 5px;
  border: 1px solid var(--gold-light);
  transform: rotate(45deg);
}
.hero-location {
  position: absolute;
  right: 0;
  bottom: 45px;
  max-width: 270px;
  padding: 18px 0 18px 22px;
  border-left: 1px solid rgba(220,176,105,.75);
  color: #fff;
  text-align: left;
}
.hero-location span,
.hero-location strong { display: block; }
.hero-location span {
  margin-bottom: 5px;
  color: var(--gold-light);
  font-size: .67rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-location strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.18;
}

@media (max-width: 1040px) {
  .hero-city-layout { grid-template-columns: minmax(0, 650px) 1fr; }
  .hero-city-image { background-position: 61% 55%; }
}

@media (max-width: 800px) {
  .hero-valparaiso { min-height: 760px; padding-top: 78px; }
  .hero-city-layout { min-height: 682px; display: block; }
  .hero-valparaiso .hero-copy { padding: 72px 0 150px; }
  .hero-city-image { background-position: 66% center; }
  .hero-city-overlay {
    background:
      linear-gradient(90deg, rgba(3,15,28,.95) 0%, rgba(3,15,28,.76) 65%, rgba(3,15,28,.43) 100%),
      linear-gradient(0deg, rgba(3,15,28,.96) 0%, rgba(3,15,28,.25) 55%, rgba(3,15,28,.42) 100%);
  }
  .hero-location { right: auto; left: 0; bottom: 34px; }
}

@media (max-width: 540px) {
  .hero-valparaiso { min-height: 720px; }
  .hero-valparaiso h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero-valparaiso .hero-copy { padding-top: 60px; }
  .hero-city-image { background-position: 70% center; }
  .hero-valparaiso .hero-trust { grid-template-columns: 1fr; gap: 14px; }
  .hero-valparaiso .hero-trust > div + div { border-left: 0; padding-left: 0; }
}
