:root {
  --ink: #071c24;
  --ink-soft: #0d2b34;
  --turquoise: #66cec5;
  --turquoise-deep: #2f8f89;
  --coral: #d6ad38;
  --cream: #f6efe5;
  --paper: #fffdf9;
  --white: #ffffff;
  --muted: #62747a;
  --line: rgba(7, 28, 36, .14);
  --shell: min(1180px, calc(100vw - 40px));
  --shadow: 0 28px 70px rgba(1, 20, 27, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.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; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 1000; background: var(--turquoise); color: var(--ink); padding: 10px 16px; font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 12px; }

.topline {
  min-height: 34px;
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  padding: 5px 20px;
  background: var(--coral);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.topline a { border-bottom: 1px solid currentColor; }
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: var(--white); }
.nav { height: 86px; display: flex; align-items: center; gap: 34px; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand { display: inline-flex; align-items: center; margin-right: auto; line-height: 1; }
.brand-logo { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,.12)); }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: .86rem; font-weight: 650; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--turquoise); transition: right .25s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.28); padding: 3px; border-radius: 999px; }
.lang-switch button { border: 0; background: transparent; color: inherit; border-radius: 999px; padding: 5px 9px; font-size: .7rem; font-weight: 850; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { color: var(--ink); background: var(--turquoise); }
.menu-toggle { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid rgba(255,255,255,.3); padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--white); }

.hero { position: relative; padding: 142px 0 0; color: var(--white); background: radial-gradient(circle at 70% 18%, rgba(32,214,199,.18), transparent 26%), linear-gradient(130deg, #06171e 0%, #08232d 64%, #0f3740 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 120px 0 78px 42%; background: linear-gradient(90deg, #071c24 0%, rgba(7,28,36,.62) 22%, rgba(7,28,36,.14) 62%, rgba(7,28,36,.04) 100%), url("./assets/puerto-morelos-beach-walk-960.webp") 54% center / cover no-repeat; opacity: .88; }
.hero::after { content: ""; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -180px; top: 120px; }
.hero-grain { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 88%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 720px); }
.hero-copy { padding-bottom: 118px; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 12px; color: var(--turquoise); font-size: .74rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--turquoise-deep); }
.signal { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 7px rgba(255,111,89,.14); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.045em; line-height: .98; font-weight: 500; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(3.25rem, 6.3vw, 6.5rem); }
h1 em { color: var(--turquoise); font-weight: 400; }
h2 { max-width: 760px; margin-bottom: 0; font-size: clamp(2.45rem, 4.4vw, 4.7rem); }
h3 { line-height: 1.2; }
.hero-lede { max-width: 650px; margin-bottom: 33px; color: #d6e2e4; font-size: 1.08rem; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 20px; border: 1px solid transparent; font-size: .87rem; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--turquoise); box-shadow: 8px 8px 0 var(--coral); }
.button-primary:hover { box-shadow: 4px 4px 0 var(--coral); }
.button-ghost { border-color: rgba(255,255,255,.34); color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.trust-row { display: flex; gap: 0; padding: 0; margin: 0; list-style: none; }
.trust-row li { min-width: 145px; padding: 0 20px; border-left: 1px solid rgba(255,255,255,.18); }
.trust-row li:first-child { padding-left: 0; border-left: 0; }
.trust-row strong, .trust-row span { display: block; }
.trust-row strong { font-size: .9rem; }
.trust-row span { color: #91a9af; font-size: .69rem; }

.intent-bar { position: relative; z-index: 3; display: flex; align-items: stretch; min-height: 78px; margin-top: -78px; background: var(--white); color: var(--ink); box-shadow: 0 14px 45px rgba(0,0,0,.14); }
.intent-bar > * { display: flex; align-items: center; justify-content: center; padding: 18px 20px; text-align: center; border-left: 1px solid var(--line); font-size: .82rem; font-weight: 800; }
.intent-bar > span { flex: 1.25; border-left: 0; color: var(--muted); }
.intent-bar > a { flex: 1; transition: color .2s, background .2s; }
.intent-bar > a:hover { color: var(--ink); background: var(--turquoise); }

.section { padding: 118px 0; }
.section.light { background: var(--paper); }
.section.ink { color: var(--white); background: var(--ink); }
.section-heading { margin-bottom: 55px; }
.section-heading.split { display: grid; grid-template-columns: 1.35fr .65fr; gap: 72px; align-items: end; }
.section-heading.split > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.section-heading.centered { max-width: 780px; margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.expertise-card { min-height: 260px; padding: 30px 26px; border-left: 1px solid var(--line); }
.expertise-card:first-child { border-left: 0; }
.card-index { display: block; margin-bottom: 55px; color: var(--turquoise-deep); font-size: .7rem; font-weight: 900; }
.expertise-card h3 { font-family: Georgia, serif; font-size: 1.38rem; font-weight: 500; }
.expertise-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; line-height: 1.67; }

.properties-section { position: relative; overflow: hidden; }
.properties-section::before { content: "PUERTO MORELOS"; position: absolute; top: 36px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.028); font-family: Georgia, serif; font-size: clamp(4rem, 12vw, 11rem); white-space: nowrap; letter-spacing: -.05em; }
.properties-section .section-heading.split > p { color: #9bb0b5; }
.property-grid { display: grid; grid-template-columns: 1.15fr .925fr .925fr; gap: 20px; align-items: stretch; }
.property-card { display: flex; flex-direction: column; background: #0d2a33; border: 1px solid rgba(255,255,255,.1); }
.property-card.featured { background: #11343c; }
.property-top { display: flex; align-items: center; justify-content: space-between; min-height: 53px; padding: 12px 17px; border-bottom: 1px solid rgba(255,255,255,.1); }
.property-tag { color: var(--turquoise); font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.property-number { color: rgba(255,255,255,.38); font-family: Georgia, serif; }
.property-art { position: relative; height: 180px; display: flex; align-items: flex-end; padding: 20px; overflow: hidden; }
.property-art::before, .property-art::after { content: ""; position: absolute; }
.property-art span { position: relative; z-index: 2; font-family: Georgia, serif; font-size: 2.6rem; line-height: .82; letter-spacing: -.06em; }
.art-selva { padding: 0; background: #063a3f; }
.art-selva::before, .art-selva::after { content: none; }
.art-selva img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; transition: transform .3s ease; }
.art-selva:hover img { transform: scale(1.035); }
.art-selva:focus-visible { outline: 3px solid var(--turquoise); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .art-selva img { transition: none; } .art-selva:hover img { transform: none; } }
.art-coast { padding: 0; background: #0d2a33; align-items: center; }
.art-coast::before, .art-coast::after { content: none; }
.art-coast img { width: 100%; height: 100%; object-fit: contain; }
.art-coast:hover, .art-coast:focus-visible { outline: 3px solid var(--turquoise); outline-offset: -3px; }
.art-riviera { padding: 0; background: var(--ink); }
.art-riviera::before, .art-riviera::after { content: none; }
.art-riviera img { width: 100%; height: 100%; object-fit: cover; object-position: center 66%; }
.art-riviera:hover, .art-riviera:focus-visible { outline: 3px solid var(--turquoise); outline-offset: -3px; }
.property-body { display: flex; flex-direction: column; flex: 1; padding: 25px 22px 26px; }
.property-type { margin-bottom: 7px; color: #95adb2; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.property-body h3 { margin-bottom: 13px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.property-body > p:not(.property-type) { color: #b9c9cc; font-size: .86rem; line-height: 1.65; }
.property-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: auto 0 20px; padding-top: 18px; }
.property-meta.single { grid-template-columns: 1fr; }
.property-meta span { padding: 12px; background: rgba(255,255,255,.055); }
.property-meta strong, .property-meta small { display: block; }
.property-meta strong { color: var(--turquoise); font-size: .92rem; }
.property-meta small { color: #829ba0; font-size: .68rem; }
.text-link { width: fit-content; border-bottom: 1px solid currentColor; color: var(--turquoise); font-size: .8rem; font-weight: 850; }
.light-link { color: var(--white); }
.price-note { margin: 16px 0 0; color: #789097; font-size: .68rem; }

.destination { background: #d9f1ed; }
.destination .eyebrow { color: #075b58; }
.destination-heading > p { color: #365e62 !important; }
.life-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: stretch; }
.life-photo { position: relative; margin: 0; overflow: hidden; background: #b7d8d4; box-shadow: 0 20px 55px rgba(7,28,36,.12); }
.life-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.life-photo:hover img { transform: scale(1.025); }
.life-photo figcaption { position: absolute; z-index: 3; left: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: 12px 14px; color: var(--ink); background: rgba(255,255,255,.92); box-shadow: 7px 7px 0 var(--coral); }
.life-photo figcaption strong, .life-photo figcaption span { display: block; }
.life-photo figcaption strong { font-family: Georgia, serif; font-size: 1rem; font-weight: 600; }
.life-photo figcaption span { margin-top: 2px; color: #49656a; font-size: .66rem; }
.life-market { grid-column: 1 / span 4; grid-row: 1 / span 2; min-height: 720px; }
.life-market img { object-position: 50% center; }
.life-reasons { grid-column: 5 / span 8; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(7,28,36,.22); }
.life-reason { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 24px 24px 24px 0; border-bottom: 1px solid rgba(7,28,36,.22); }
.life-reason:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(7,28,36,.22); }
.life-reason > span { padding-top: 3px; color: #207a76; font-size: .68rem; font-weight: 900; }
.life-reason h3 { margin-bottom: 9px; font-family: Georgia, serif; font-size: 1.28rem; font-weight: 600; }
.life-reason p { margin: 0; color: #3e6266; font-size: .82rem; line-height: 1.66; }
.life-boats { grid-column: 5 / span 8; min-height: 285px; }
.life-boats img { object-position: center 51%; }
.destination-summary { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 60px; align-items: center; margin-top: 20px; padding-top: 34px; border-top: 1px solid rgba(7,28,36,.22); }
.destination-summary p { max-width: 790px; margin: 0; color: #31575c; font-size: 1rem; line-height: 1.78; }
.destination-summary .button { flex: 0 0 auto; }
.video-feature { display: grid; grid-template-columns: minmax(260px, .7fr) 1.3fr; gap: 52px; align-items: center; margin-top: 72px; padding: 44px; color: var(--white); background: var(--ink); box-shadow: 14px 14px 0 rgba(47,143,137,.36); }
.video-frame { position: relative; width: min(100%, 370px); margin-inline: auto; background: #020b0e; box-shadow: 0 24px 60px rgba(0,0,0,.38); }
.video-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #020b0e; }
.video-duration { position: absolute; right: 10px; top: 10px; padding: 5px 8px; color: var(--white); background: rgba(3,17,22,.72); font-size: .68rem; font-weight: 850; letter-spacing: .08em; pointer-events: none; }
.video-copy .eyebrow { margin-bottom: 16px; }
.video-copy h3 { max-width: 650px; margin-bottom: 18px; font-family: Georgia, serif; font-size: clamp(2.3rem, 4vw, 4.25rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.video-copy > p:not(.eyebrow) { max-width: 620px; margin-bottom: 24px; color: #b6c9cd; font-size: 1rem; line-height: 1.72; }
.video-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 650px; padding: 0; margin: 0 0 28px; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.video-reasons li { display: flex; gap: 12px; align-items: center; min-height: 49px; padding: 9px 14px 9px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.video-reasons li:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.16); }
.video-reasons li span { color: var(--coral); font-size: .66rem; font-weight: 900; }
.video-reasons li strong { font-size: .86rem; }

.team-section { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.agent-card { min-height: 560px; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--white); overflow: hidden; box-shadow: 0 18px 50px rgba(7,28,36,.08); }
.agent-image { min-height: 100%; background: #d9e7e4; overflow: hidden; }
.agent-image img { width: 100%; height: 100%; object-fit: cover; }
.agent-card.rob .agent-image img { object-position: 48% center; }
.agent-card.karla .agent-image img { object-position: 48% center; }
.agent-copy { align-self: center; padding: 34px 28px; }
.agent-role { color: var(--turquoise-deep); font-size: .64rem; font-weight: 900; letter-spacing: .12em; }
.agent-copy h3 { margin-bottom: 18px; font-family: Georgia, serif; font-size: 2.1rem; font-weight: 500; }
.agent-copy > p:not(.agent-role) { color: var(--muted); font-size: .86rem; line-height: 1.7; }
.contact-line { display: block; margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--line); }
.contact-line span, .contact-line strong { display: block; }
.contact-line span { color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-line strong { font-size: .84rem; }

.reviews-section { color: var(--white); background: #0c343d; }
.reviews-grid { display: grid; grid-template-columns: .92fr 1.04fr 1.04fr; gap: 22px; align-items: stretch; }
.reviews-heading { padding-right: 30px; }
.reviews-heading h2 { margin-bottom: 30px; font-size: clamp(2.3rem, 3.4vw, 3.8rem); }
.google-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 22px; color: #d5e5e7; font-size: .875rem; }
.google-summary strong { color: var(--white); font-size: 1.75rem; line-height: 1; }
.summary-stars { color: #dbaf32; font-size: 1.1rem; letter-spacing: .08em; }
.review-card { margin: 0; padding: 30px 32px; background: var(--white); color: var(--ink); box-shadow: 10px 10px 0 var(--turquoise); }
.review-card:nth-child(3) { box-shadow: 10px 10px 0 var(--coral); }
.review-card p { font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.48; }
.review-card footer { margin-top: 22px; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.stars { margin-bottom: 36px; color: var(--coral); letter-spacing: .13em; font-size: .8rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; counter-reset: process; }
.process-grid li { min-height: 245px; padding: 28px 24px; border: 1px solid var(--line); border-right: 0; }
.process-grid li:last-child { border-right: 1px solid var(--line); }
.process-grid li > span { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 46px; color: var(--ink); background: var(--turquoise); font-size: .67rem; font-weight: 900; }
.process-grid h3 { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 500; }
.process-grid p { margin: 0; color: var(--muted); font-size: .84rem; }

.faq-section { background: #eaf0ef; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 92px; }
.faq-heading { position: sticky; top: 30px; align-self: start; }
.faq-heading h2 { margin-bottom: 26px; }
.faq-heading > p:not(.eyebrow) { color: var(--muted); }
.faq-list details { border-top: 1px solid rgba(7,28,36,.2); }
.faq-list details:last-child { border-bottom: 1px solid rgba(7,28,36,.2); }
.faq-list summary { position: relative; padding: 24px 46px 24px 0; cursor: pointer; font-family: Georgia, serif; font-size: 1.18rem; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--turquoise-deep); font-family: ui-sans-serif, sans-serif; font-size: 1.6rem; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; padding: 0 48px 24px 0; color: var(--muted); font-size: .9rem; }

.closing { padding: 95px 0; color: var(--white); background: linear-gradient(125deg, #071c24, #0b3a43); }
.closing-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: center; }
.closing h2 { font-size: clamp(2.45rem, 4vw, 4.3rem); }
.lead-form-card { max-width: 760px; margin-top: 38px; padding: 25px; color: var(--ink); background: var(--white); box-shadow: 10px 10px 0 var(--coral); }
.form-kicker { margin-bottom: 6px; color: var(--turquoise-deep); font-size: .74rem; font-weight: 850; letter-spacing: .13em; }
.lead-form-card h3 { max-width: 540px; margin-bottom: 20px; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.form-helper { max-width: 620px; margin: -8px 0 20px; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-fields label { display: grid; gap: 6px; color: #43565c; font-size: .875rem; font-weight: 750; }
.form-fields .field-name { grid-column: 1 / -1; }
.form-fields input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid rgba(7,28,36,.28); border-radius: 0; color: var(--ink); background: var(--paper); font: inherit; }
.form-fields input:focus { border-color: var(--turquoise-deep); outline: 3px solid rgba(102,206,197,.28); outline-offset: 1px; }
.form-submit { width: 100%; margin-top: 16px; cursor: pointer; }
.form-privacy { margin: 11px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.form-success { margin: 14px 0 0; padding: 11px 13px; color: #063c38; background: #d9f1ed; border-left: 4px solid var(--turquoise-deep); font-size: .875rem; font-weight: 750; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.closing-actions { display: grid; gap: 13px; }
.email-link { margin-top: 8px; color: #adc1c5; font-size: .78rem; text-align: center; text-decoration: underline; }
.location-link { display: flex; align-items: center; gap: 12px; margin-top: 5px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.16); color: var(--white); background: rgba(255,255,255,.04); transition: background .2s, border-color .2s; }
.location-link:hover, .location-link:focus-visible { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.34); }
.location-pin { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; color: var(--ink); background: var(--coral); border-radius: 50%; font-size: .65rem; font-weight: 900; letter-spacing: .05em; }
.location-link small, .location-link strong { display: block; }
.location-link small { margin-bottom: 3px; color: #adc1c5; font-size: .58rem; font-weight: 800; letter-spacing: .15em; }
.location-link strong { font-size: .82rem; line-height: 1.3; }
.closing-social { margin-top: 13px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
.closing-social p { margin: 0 0 12px; color: #adc1c5; font-size: .84rem; line-height: 1.5; text-align: center; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.social-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.24); color: var(--white); font-size: .84rem; font-weight: 750; transition: color .2s, background .2s, border-color .2s; }
.social-links a:hover, .social-links a:focus-visible { color: var(--ink); background: var(--turquoise); border-color: var(--turquoise); }
.social-links a span { color: var(--coral); }
.social-links a:hover span, .social-links a:focus-visible span { color: var(--ink); }

.footer { padding: 40px 0; color: #a6b5b8; background: #031116; font-size: .75rem; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer-brand { color: var(--white); }
.footer-brand .brand-logo { width: 96px; height: 96px; }
.footer-grid p { margin: 0; text-align: center; }
.footer-links { display: grid; justify-items: end; gap: 11px; }
.footer-links a { color: var(--turquoise); }
.footer-social, .footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.footer-social a { color: var(--white); font-size: .76rem; font-weight: 750; }
.footer-social a:hover, .footer-social a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--coral); }
.floating-chat { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 9px 9px; color: var(--ink); background: var(--turquoise); border: 1px solid rgba(7,28,36,.2); box-shadow: 0 12px 35px rgba(0,0,0,.22); border-radius: 999px; font-size: .75rem; }
.floating-chat span { display: grid; place-items: center; width: 30px; height: 30px; color: var(--white); background: var(--ink); border-radius: 50%; font-size: .62rem; font-weight: 900; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

@media (max-width: 1020px) {
  .hero { min-height: auto; padding-top: 148px; }
  .hero::before { left: 34%; }
  .hero-grid { grid-template-columns: minmax(0, 660px); }
  .hero-copy { padding-bottom: 112px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .expertise-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .expertise-card:nth-child(4) { border-top: 1px solid var(--line); }
  .property-grid { grid-template-columns: 1fr 1fr; }
  .property-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .property-card.featured .property-top { grid-column: 1 / -1; }
  .property-card.featured .property-art { height: auto; }
  .life-market { grid-column: 1 / span 5; }
  .life-reasons, .life-boats { grid-column: 6 / span 7; }
  .life-reasons { grid-template-columns: 1fr; }
  .life-reason:nth-child(even) { padding-left: 0; border-left: 0; }
  .agent-card { grid-template-columns: 1fr; }
  .agent-image { min-height: 360px; max-height: 420px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-heading { grid-column: 1 / -1; }
  .reviews-heading h2 { max-width: 720px; }
}

@media (max-width: 790px) {
  :root { --shell: min(100% - 28px, 680px); }
  .topline { justify-content: space-between; gap: 12px; font-size: .58rem; letter-spacing: .06em; }
  .topline a { display: none; }
  .nav { height: 72px; }
  .brand-logo { width: 58px; height: 58px; }
  .menu-toggle { display: block; order: 2; }
  .lang-switch { order: 1; margin-left: auto; }
  .nav-links { position: fixed; inset: 106px 0 0; z-index: 49; display: none; flex-direction: column; align-items: flex-start; padding: 42px 28px; color: var(--white); background: var(--ink); font-family: Georgia, serif; font-size: 1.8rem; }
  .nav-links.open { display: flex; }
  .hero { padding-top: 132px; }
  .hero::before { inset: 106px 0 150px; background-image: linear-gradient(180deg, rgba(7,28,36,.78) 0%, rgba(7,28,36,.58) 45%, rgba(7,28,36,.88) 100%), url("./assets/puerto-morelos-beach-walk-960.webp"); background-position: 54% center; opacity: .62; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 124px; }
  h1 { font-size: clamp(3.05rem, 15vw, 5.2rem); }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .trust-row li { min-width: 0; }
  .trust-row li:nth-child(3) { padding-left: 0; border-left: 0; }
  .intent-bar { display: grid; grid-template-columns: 1fr 1fr; margin-top: -90px; }
  .intent-bar > * { min-height: 62px; border-top: 1px solid var(--line); }
  .intent-bar > span { grid-column: 1 / -1; min-height: 48px; border-top: 0; }
  .section { padding: 82px 0; }
  .section-heading.split, .faq-grid, .closing-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading.split { align-items: start; }
  .property-grid { grid-template-columns: 1fr; }
  .property-card.featured { grid-column: auto; display: flex; }
  .property-card.featured .property-top { grid-column: auto; }
  .property-card.featured .property-art { height: 180px; }
  .life-grid { grid-template-columns: 1fr; gap: 18px; }
  .life-market, .life-reasons, .life-boats, .destination-summary { grid-column: 1; grid-row: auto; }
  .life-market { min-height: 520px; }
  .life-reasons { grid-template-columns: 1fr 1fr; }
  .life-reason:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(7,28,36,.22); }
  .life-boats { min-height: 260px; }
  .destination-summary { flex-direction: column; align-items: flex-start; gap: 24px; }
  .video-feature { grid-template-columns: minmax(240px, .7fr) 1.3fr; gap: 30px; padding: 30px; }
  .team-grid, .reviews-grid { grid-template-columns: 1fr; }
  .reviews-heading { grid-column: auto; margin-bottom: 20px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2) { border-right: 1px solid var(--line); }
  .process-grid li:nth-child(n+3) { border-top: 0; }
  .faq-heading { position: static; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { justify-items: center; gap: 10px; }
  .footer-social, .footer-legal { justify-content: center; }
}

@media (max-width: 500px) {
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-actions .button { text-align: center; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row li { padding-left: 0; border-left: 0; }
  .intent-bar { grid-template-columns: 1fr; }
  .intent-bar > span { grid-column: auto; }
  .expertise-grid, .process-grid { grid-template-columns: 1fr; }
  .life-reasons { grid-template-columns: 1fr; }
  .life-reason, .life-reason:nth-child(even) { padding: 21px 0; border-left: 0; }
  .life-market { min-height: 460px; }
  .life-boats { min-height: 220px; }
  .destination-summary { display: grid; gap: 24px; }
  .video-feature { grid-template-columns: 1fr; padding: 22px 18px 28px; }
  .video-frame { width: min(100%, 340px); }
  .video-reasons { grid-template-columns: 1fr; }
  .video-reasons li:nth-child(even) { padding-left: 0; border-left: 0; }
  .expertise-card { min-height: 220px; border-left: 0; border-top: 1px solid var(--line); }
  .expertise-card:first-child { border-top: 0; }
  .process-grid li { border-right: 1px solid var(--line); border-top: 0; min-height: 210px; }
  .process-grid li:first-child { border-top: 1px solid var(--line); }
  .agent-card { min-height: 0; }
  .agent-image { min-height: 320px; }
  .closing-actions .button { width: 100%; text-align: center; }
  .lead-form-card { padding: 22px 18px; }
  .form-fields { grid-template-columns: 1fr; }
  .form-fields .field-name { grid-column: auto; }
}

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

/* Destination photographs and touch-friendly layouts. */
.life-image-link { position: absolute; inset: 0; display: block; }
.life-photo figcaption { pointer-events: none; }
.life-photo:focus-within { outline: 3px solid var(--turquoise-deep); outline-offset: 4px; }
.life-boats img { object-position: center 72%; }
.local-flavours { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.food-photo { height: 310px; }
.food-photo img { object-position: center 55%; }
.food-photo figcaption strong { font-size: 1.125rem; }
.life-photo figcaption span { font-size: .875rem; line-height: 1.45; }
.life-reason p, .property-body > p:not(.property-type) { font-size: 1rem; }
.property-type, .property-tag, .text-link { font-size: .875rem; }
.property-tag { letter-spacing: .06em; }
.property-art { flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.lang-switch button { min-width: 44px; min-height: 44px; font-size: .875rem; }
.menu-toggle { min-width: 44px; min-height: 44px; flex-shrink: 0; }
.property-card, .life-reason > div, .video-copy { min-width: 0; }
@media (max-width: 790px) {
  .nav { gap: 14px; }
  .nav-links { overflow-y: auto; padding-bottom: 90px; }
  .hero::before { background-image: linear-gradient(180deg, rgba(7,28,36,.78), rgba(7,28,36,.65) 45%, rgba(7,28,36,.88)), url("./assets/puerto-morelos-beach-walk-480.webp"); background-position: center 65%; }
  .life-market { min-height: 0; height: 390px; }
  .life-boats { min-height: 0; height: 320px; }
  .local-flavours { gap: 14px; }
  .food-photo { height: 290px; }
  .food-photo figcaption { left: 10px; bottom: 12px; max-width: calc(100% - 26px); padding: 10px; box-shadow: 4px 4px 0 var(--coral); }
  .food-photo figcaption strong { font-size: 1rem; }
  .property-art, .property-card.featured .property-art { height: clamp(200px, 56vw, 340px); }
  .video-feature { grid-template-columns: 1fr; }
  .destination-summary .button { white-space: normal; text-align: center; width: 100%; }
  .floating-chat { bottom: max(14px, env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: 90px; }
}
@media (max-width: 500px) {
  .hero-copy { padding-bottom: 112px; }
  .hero-actions { margin-bottom: 28px; }
  .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .trust-row strong { font-size: .875rem; }
  .trust-row span { font-size: .75rem; }
  .intent-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intent-bar > span { grid-column: 1 / -1; }
  .intent-bar > a { padding: 12px 8px; font-size: .875rem; }
  .food-photo { height: 250px; }
  .property-top { gap: 10px; }
  .property-tag { line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) { .life-photo:hover img { transform: none; } }
