/* Laurence Goya — public site. Mobile first. */
:root {
  --sand: #faf8f3; --sand-2: #eef1e8; --ink: #2e3629; --muted: #677062; --line: #e2e6da;
  --sea: #56654b; --sea-2: #435039; --terra: #b47147; --gold: #c3925f; --sage: #c3ceb4; --white: #fff; --wa: #1f9d55;
  --r: 14px; --shadow: 0 10px 30px rgba(23, 36, 43, .08);
  --serif: 'Playfair Display', Georgia, serif; --script: 'Great Vibes', cursive; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 16px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(247, 242, 234, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 10px; line-height: 1.1; }
.brand img { height: 42px; width: auto; }
.brand-txt { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.brand-role { font-size: .68rem; color: var(--terra); letter-spacing: .04em; text-transform: uppercase; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav { position: fixed; inset: 64px 0 auto 0; background: var(--sand); border-bottom: 1px solid var(--line); display: none; flex-direction: column; padding: 8px 16px 20px; box-shadow: var(--shadow); }
.nav.open { display: flex; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav a[aria-current="page"] { color: var(--sea); }
.langs { display: flex; gap: 8px; padding-top: 14px; }
.langs a { border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: .85rem; }
.langs a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (min-width: 900px) {
  .burger { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; background: none; border: 0; box-shadow: none; padding: 0; gap: 4px; }
  .nav a { border: 0; padding: 8px 12px; font-size: .95rem; }
  .langs { padding: 0 0 0 10px; gap: 4px; }
  .langs a { padding: 4px 9px; font-size: .78rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 99px; border: 1px solid var(--sea); background: var(--sea); color: #fff; font: 600 .98rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn:hover { background: var(--sea-2); }
.btn:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--sea); }
.btn-ghost:hover { background: rgba(14, 90, 103, .08); }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #178046; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero { position: relative; color: var(--ink); background: radial-gradient(circle at 84% 22%, #b47147 0 58px, rgba(195, 146, 95, .18) 59px 92px, transparent 93px), linear-gradient(170deg, #f1f4ec 0%, #dfe6d5 55%, #c3ceb4 100%); overflow: hidden; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--sand); clip-path: ellipse(75% 100% at 50% 100%); }
.hero-img { color: #fff; background: linear-gradient(180deg, rgba(30, 36, 27, .2), rgba(30, 36, 27, .65)), var(--hero) center/cover; }
.hero-in { position: relative; z-index: 1; padding: 64px 16px 110px; max-width: 820px; margin: 0; }
@media (min-width: 900px) { .hero-in { padding: 110px 16px 150px; margin: 0 auto 0 max(16px, calc((100vw - 1180px) / 2)); } }
.hero .eyebrow { color: var(--terra); opacity: 1; }
.eyebrow { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: .8em; }
.lead-p { font-size: 1.1rem; max-width: 640px; }
.hero .lead-p { color: #4a5344; }
.hero .btn { background: var(--sea); color: #fff; border-color: var(--sea); }
.hero .btn:hover { background: var(--sea-2); }
.hero .btn-ghost { background: rgba(255,255,255,.55); color: var(--sea-2); border-color: var(--sea); }
.hero-areas { margin-top: 22px; font-size: .85rem; color: var(--muted); }

/* Sections */
.sec { padding: 48px 16px; }
.page-top { padding-top: 32px; }
.narrow { max-width: 780px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.whys { display: grid; gap: 14px; grid-template-columns: 1fr; }
.why { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.why p { color: var(--muted); margin: 0; }
@media (min-width: 700px) { .whys { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .whys { grid-template-columns: repeat(4, 1fr); } }
.two { display: grid; gap: 16px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
.panel { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 20px; }
.steps li { counter-increment: s; position: relative; padding: 8px 0 8px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 6px; width: 30px; height: 30px; border-radius: 50%; background: var(--sand-2); color: var(--terra); font-weight: 600; display: grid; place-items: center; font-size: .9rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { padding: 6px 0 6px 28px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--terra); border-bottom: 2px solid var(--terra); transform: rotate(-45deg); }
.ticks.cols { columns: 2; column-gap: 24px; }

/* Cards */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s; }
.card:hover { transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 3 / 2; background: var(--sand-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-b { padding: 16px 18px 20px; }
.card-price { font-weight: 600; color: var(--sea); font-size: 1.15rem; margin: 0 0 4px; }
.card-meta { color: var(--muted); font-size: .92rem; margin: 0 0 6px; }
.card-facts { font-size: .9rem; margin: 0; }
.card-facts.big { font-size: 1rem; margin-bottom: 18px; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--terra); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.badge-dark { background: var(--ink); }
.badge-light { background: #fff; color: var(--sea); }
.prop-price .badge { position: static; vertical-align: middle; margin-left: 8px; }
.ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--sand-2), #e6dac6); }
.ph-big { aspect-ratio: 16 / 9; border-radius: var(--r); }
.ph-post { aspect-ratio: 16 / 9; }
.empty { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); max-width: 640px; }
.tabs { display: flex; gap: 8px; margin: 8px 0 22px; overflow-x: auto; }
.tabs a { white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; text-decoration: none; color: var(--ink); background: #fff; }
.tabs a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Property */
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 22px; padding: 0 16px; -webkit-overflow-scrolling: touch; }
.gallery img, .gallery .ph { flex: 0 0 92%; scroll-snap-align: center; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
@media (min-width: 900px) { .gallery img { flex-basis: 70%; } }
.prop-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .prop-grid { grid-template-columns: 1fr 380px; align-items: start; } .prop-side { position: sticky; top: 84px; } }
.prop-price { font-size: 1.6rem; font-weight: 600; color: var(--sea); margin: 0 0 6px; }
.prop-side { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.prop-side .btn-wa { width: 100%; margin-bottom: 18px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 20px 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.note { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.4em; font-size: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }

/* Blog */
.posts { display: grid; gap: 16px; }
@media (min-width: 760px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post img { aspect-ratio: 16 / 9; object-fit: cover; }
.post > div { padding: 18px; }
.post p { color: var(--muted); font-size: .95rem; }
.more { color: var(--sea); font-weight: 600; font-size: .92rem; }
.article .cover { border-radius: var(--r); margin: 10px 0 24px; }
.byline { font-style: italic; color: var(--muted); margin-top: 2em; }

/* About */
.about, .about-t { display: grid; gap: 24px; align-items: start; }
@media (min-width: 800px) { .about, .about-t { grid-template-columns: 300px 1fr; } }
.portrait { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 320px; }

/* Contact band + forms */
.band { background: var(--sea-2); color: #fff; padding: 56px 0; margin-top: 24px; }
.band a:not(.btn) { color: #f3c69a; }
.band-in { display: grid; gap: 28px; }
@media (min-width: 900px) { .band-in { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.band .lead { background: #fff; color: var(--ink); }
.band .lead a { color: var(--sea); }
.lead { background: #fff; border-radius: var(--r); padding: 20px; display: grid; gap: 12px; }
.lead label { display: grid; gap: 4px; font-size: .9rem; font-weight: 500; }
.lead input, .lead select, .lead textarea { width: 100%; font: 16px var(--sans); padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.lead textarea { resize: vertical; }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 600px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .86rem !important; color: var(--muted); }
.check input { width: 20px !important; height: 20px; flex: 0 0 20px; margin-top: 2px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 500; }
.form-msg.ok { color: var(--wa); }
.form-msg.err { color: #b3261e; }

/* Footer */
.foot { background: #2b3226; color: #b9c4c8; padding: 40px 0 90px; font-size: .92rem; }
.foot a { color: #e3eaec; text-decoration: none; }
.foot-in { display: grid; gap: 22px; }
@media (min-width: 800px) { .foot-in { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-name { font-family: var(--serif); font-size: 1.3rem; color: #fff; margin: 0; }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-remax { font-size: .8rem; opacity: .8; }
.foot-copy { margin-top: 24px; font-size: .8rem; opacity: .7; }

/* Floating WhatsApp + chat */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 10px; align-items: center; }
.fab-btn { height: 56px; min-width: 56px; border-radius: 99px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); cursor: pointer; font: 600 .95rem var(--sans); padding: 0 16px; text-decoration: none; }
.fab-btn svg { width: 26px; height: 26px; }
.fab-wa { background: var(--wa); padding: 0; width: 56px; }
.fab-chat { background: var(--sea); }
@media (max-width: 420px) { .fab-chat span { display: none; } .fab-chat { width: 56px; padding: 0; } }
.chat { position: fixed; z-index: 50; inset: auto 0 0 0; height: min(80vh, 620px); background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); display: flex; flex-direction: column; }
.chat[hidden] { display: none; }
@media (min-width: 640px) { .chat { inset: auto 20px 90px auto; width: 380px; border-radius: 18px; } }
.chat-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-h button { border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; width: 44px; height: 44px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; margin: 0; font-size: .95rem; white-space: pre-wrap; }
.msg.bot { background: var(--sand); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--sea); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.typing { opacity: .6; }
.chat-f { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-f input { flex: 1; font: 16px var(--sans); padding: 12px; border: 1px solid var(--line); border-radius: 99px; }
.chat-f button { width: 48px; border-radius: 50%; border: 0; background: var(--sea); color: #fff; font-size: 1.1rem; cursor: pointer; }
.chat-note { font-size: .72rem; color: var(--muted); text-align: center; margin: 0 0 calc(8px + env(safe-area-inset-bottom)); }

.foot-logo { height: 54px; width: auto; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 8px; }
@media (max-width: 699px) {
  .hero:not(.hero-img) { background: radial-gradient(circle at 90% 7%, #b47147 0 26px, rgba(195, 146, 95, .18) 27px 42px, transparent 43px), linear-gradient(170deg, #f1f4ec 0%, #dfe6d5 55%, #c3ceb4 100%); }
  .hero-in { padding-top: 76px; }
}

/* Hero with Laurence's cut-out portrait */
.hero-person { position: relative; z-index: 0; display: block; width: min(78vw, 330px); height: auto; margin: -8px auto -70px; }
.hero-has-person .hero-in { padding-bottom: 24px; }
@media (min-width: 900px) {
  .hero-has-person { background: radial-gradient(circle at 88% 24%, #b47147 0 60px, rgba(195, 146, 95, .16) 61px 100px, transparent 101px), linear-gradient(170deg, #f1f4ec 0%, #dfe6d5 55%, #c3ceb4 100%); min-height: 600px; }
  .hero-person { position: absolute; right: max(0px, calc((100vw - 1180px) / 2)); bottom: 0; width: auto; height: 94%; max-height: 640px; margin: 0; }
  .hero-has-person .hero-in { padding-bottom: 150px; max-width: 640px; }
}
@media (max-width: 699px) {
  .hero-has-person { background: radial-gradient(circle at 50% 74%, #b47147 0 54px, rgba(195, 146, 95, .16) 55px 88px, transparent 89px), linear-gradient(170deg, #f1f4ec 0%, #dfe6d5 55%, #c3ceb4 100%) !important; display: flex; flex-direction: column-reverse; }
}
.portrait { object-position: 50% 20%; }

/* Instagram-style accents: script signature, spaced serif caps */
.signature { font-family: var(--script); font-size: clamp(2rem, 6vw, 2.8rem); color: var(--terra); line-height: 1; margin: 0 0 .15em; }
h1, h2 { letter-spacing: -.005em; }
.brand-name { font-family: var(--serif); letter-spacing: .14em; font-weight: 500; }
.eyebrow { letter-spacing: .22em; }
.why, .panel, .card, .post, .prop-side, .empty { box-shadow: 0 8px 26px rgba(67, 80, 57, .08); }
.why h3::before { content: ''; display: block; width: 28px; height: 3px; background: var(--sage); border-radius: 2px; margin-bottom: 12px; }
.badge-light { color: var(--sea-2); }
