/* Tenerife Property — "Volcanic Atlantic" */
:root {
  --basalt: #161412;
  --basalt-2: #23201c;
  --line-dark: #3a352f;
  --stone: #eeece7;
  --stone-2: #e3e0d9;
  --paper: #fbfaf8;
  --cream: #f4f1ec;
  --ink: #161412;
  --ink-2: #3a3631;
  --muted: #57524b;
  --muted-dark: #b9b2a7;
  --rule: #c9c3b8;
  --lava: #c2410c;
  --lava-dark: #9a330a;
  --ochre: #e8a33d;
  --atlantic: #1e4d6b;
  --atlantic-2: #245a7c;
  --atlantic-ink: #d3e4ef;
  --laurel: #3f5f3c;
  --radius: 22px;
  --radius-lg: 28px;
  --display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--lava-dark); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 24px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lava { background: var(--lava); color: #fff; }
.btn-lava:hover { background: var(--lava-dark); color: #fff; }
.btn-dark { background: var(--basalt); color: var(--cream); }
.btn-dark:hover { background: #2c2824; color: var(--cream); }
.btn-ghost { border-color: #5a544c; color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); color: #fff; }
.btn-line { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header { background: var(--basalt); color: var(--cream); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; flex-direction: column; color: var(--cream); text-decoration: none; }
.logo:hover { color: #fff; }
.logo b { font-family: var(--display); font-weight: 700; font-size: 23px; letter-spacing: -0.02em; line-height: 1.1; }
.logo small { font-size: 12px; color: var(--muted-dark); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--cream); text-decoration: none; padding: 10px 0; display: inline-block; white-space: nowrap; }
.site-header .btn, .logo b, .logo small { white-space: nowrap; }
.nw { white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ochre); }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; border: 1px solid var(--line-dark); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 700; }
.lang a { color: var(--cream); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.lang a[aria-current="true"] { background: var(--cream); color: var(--ink); }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-dark); color: var(--cream); border-radius: 999px; min-width: 44px; min-height: 44px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1340px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--basalt); flex-direction: column; align-items: stretch; gap: 18px; padding: 8px 24px 28px; border-top: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; font-size: 18px; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-tools { justify-content: space-between; flex-wrap: wrap; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--basalt); color: var(--cream); }
.hero .contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; pointer-events: none; }
.hero .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lava); margin-bottom: 18px; }
.hero .eyebrow, .dark .eyebrow { color: var(--ochre); }
.hero h1 { font-weight: 700; font-size: clamp(42px, 6vw, 82px); line-height: .98; letter-spacing: -.035em; }
.hero .lede { margin-top: 26px; max-width: 580px; font-size: 19px; color: #d6d0c6; }
.cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-small .wrap { padding-top: 72px; padding-bottom: 72px; }
.hero-small h1 { font-size: clamp(38px, 5vw, 64px); }

/* Quick valuation card */
.qv { flex: 1 1 380px; max-width: 460px; background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.qv h2 { font-size: 28px; line-height: 1.15; }
.qv p { font-size: 15px; color: var(--muted); }

/* Forms */
label, .label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
input, select, textarea {
  font: inherit; font-weight: 500; font-size: 16px; color: var(--ink);
  padding: 12px 14px; min-height: 48px; width: 100%;
  border: 1px solid var(--rule); border-radius: 12px; background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid rgba(232,163,61,.5); outline-offset: 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > * { flex: 1 1 180px; }
.row-4 > * { flex: 1 1 130px; }
.hint { font-size: 13px; font-weight: 500; color: var(--muted); }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 14px; }
.check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--lava); }
.hp { position: absolute; left: -5000px; }

/* Trust strip */
.strip { background: var(--basalt-2); color: var(--cream); }
.strip ul { list-style: none; margin: 0; padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: 15px; font-weight: 600; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); flex: none; }

/* Sections */
.section { padding: 104px 0; }
.section-tight { padding: 64px 0; }
.section.alt { background: var(--stone-2); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head h2, .h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.02; letter-spacing: -.03em; max-width: 720px; }
.section-head p { max-width: 420px; color: var(--muted); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 720px; }

.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
@media (max-width: 420px) { .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 24px; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; font-size: 15px; padding: 8px 0; }
.step-num { font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; color: var(--lava); }
ol.steps { list-style: none; margin: 0; padding: 0; }

.panel { border-radius: var(--radius-lg); padding: 56px 48px; }
.panel.blue { background: var(--atlantic); color: var(--cream); }
.panel.dark { background: var(--basalt); color: var(--cream); }
@media (max-width: 640px) { .panel { padding: 40px 24px; } .card { padding: 26px; } .qv { padding: 24px; } }
.reach { display: flex; flex-wrap: wrap; gap: 48px; }
.reach > div:first-child { flex: 1 1 360px; min-width: 0; }
.reach .grid { flex: 1 1 480px; min-width: 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.reach .eyebrow { color: #a9cde3; }
.reach h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; }
.tile { background: var(--atlantic-2); border-radius: 18px; padding: 24px; }
.tile h3 { font-family: var(--body); font-size: 18px; letter-spacing: 0; margin-bottom: 6px; }
.tile p { font-size: 15px; color: var(--atlantic-ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 600; margin-top: 18px; }
.chips a { text-decoration: none; border: 1px solid var(--rule); border-radius: 999px; padding: 10px 14px; }
.chips a:hover { border-color: var(--ink); color: var(--ink); background: var(--cream); }

.answer { font-size: 15px; color: var(--ink-2); }
.answer strong { color: var(--ink); }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 56px; }
.faq > div:first-child { flex: 1 1 320px; min-width: 0; }
.faq-list { flex: 2 1 560px; min-width: 0; }
details { border-top: 1px solid var(--rule); padding: 22px 0; }
details:last-child { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--body); font-weight: 500; font-size: 26px; line-height: 1; color: var(--lava); }
details[open] summary::after { content: '–'; }
details p { margin-top: 12px; color: var(--ink-2); }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band > div:first-child { flex: 1 1 480px; min-width: 0; }
.cta-band h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -.03em; }
.cta-band p { margin-top: 14px; color: #d6d0c6; }

/* Breadcrumbs */
.crumbs { font-size: 14px; color: var(--muted-dark); margin-bottom: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #5a544c; }
.crumbs a { color: var(--muted-dark); }
.crumbs a:hover { color: #fff; }

/* Article / prose */
.article { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.prose { flex: 1 1 620px; min-width: 0; max-width: 760px; }
.aside { flex: 0 1 340px; min-width: 0; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 1000px) { .aside { position: static; flex-basis: 100%; } }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 48px 0 14px; }
.prose h3 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--lava); }
.quick { background: var(--paper); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 32px; border: 1px solid var(--rule); }
.quick .eyebrow { margin-bottom: 8px; font-size: 13px; }
.quick p { margin: 0; color: var(--ink); font-size: 18px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted-dark); margin-top: 22px; }
.byline strong { color: var(--cream); }
.note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 40px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); padding-bottom: 10px; font-size: 15px; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { font-weight: 600; text-align: right; }

/* Upload form page */
.form-shell { background: var(--paper); border-radius: var(--radius-lg); padding: 44px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 640px) { .form-shell { padding: 26px 20px; } }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
legend { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; display: flex; align-items: center; gap: 12px; padding: 0; }
legend span { font-size: 15px; font-family: var(--body); color: #fff; background: var(--lava); width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.divider { border: 0; border-top: 1px solid var(--rule); margin: 6px 0; }
.drop { border: 2px dashed var(--rule); border-radius: 16px; padding: 26px; text-align: center; background: #fff; cursor: pointer; display: block; font-weight: 600; }
.drop:hover, .drop.drag { border-color: var(--lava); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.thumbs figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--stone-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(22,20,18,.8); color: #fff; cursor: pointer; font-size: 18px; line-height: 1; }
.form-status { font-weight: 600; min-height: 1.6em; }
.form-status.error { color: #b42318; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { flex-direction: row; align-items: center; gap: 8px; border: 1px solid var(--rule); background: #fff; border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; font-weight: 600; }
.seg input { width: 18px; min-height: 18px; height: 18px; accent-color: var(--lava); }
.seg label:has(input:checked) { border-color: var(--ink); background: var(--cream); }


/* Footer */
.site-footer { background: var(--basalt); color: var(--muted-dark); font-size: 14px; }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; padding-bottom: 40px; }
.site-footer .top > div { flex: 1 1 220px; min-width: 0; }
.site-footer .brand { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--cream); margin-bottom: 10px; }
.site-footer h2 { font-family: var(--body); font-size: 14px; letter-spacing: 0; color: var(--cream); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer a { color: var(--muted-dark); display: inline-block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .soon { margin-top: 14px; line-height: 1.9; }
.site-footer .bottom { border-top: 1px solid #2e2a25; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 20px; padding-bottom: 32px; }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #1f7a4d; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float:hover { background: #17633e; color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

.center { text-align: center; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.muted { color: var(--muted); }
.dark .muted, .hero .muted { color: var(--muted-dark); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* About: since 1998 */
.since { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; }
.since-year { font-family: var(--display); font-weight: 700; font-size: clamp(96px, 16vw, 220px); line-height: .85; letter-spacing: -.05em; color: var(--lava); margin: 0; flex: 0 1 auto; }
.since .prose { flex: 1 1 480px; }
.team { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.team > div:first-child { flex: 1 1 300px; min-width: 0; }
.team h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.03em; }
.team-role { margin-top: 10px; color: var(--muted-dark); font-weight: 600; }
.team-bio { flex: 2 1 460px; min-width: 0; color: #d6d0c6; font-size: 18px; }
.team-bio p + p { margin-top: 14px; }

/* Language dropdown */
.langs { position: relative; }
.langs summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--cream); font-family: var(--body); font-size: 14px; font-weight: 700; cursor: pointer; letter-spacing: 0; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after, details.langs[open] summary::after { content: none; }
.langs summary svg { width: 18px; height: 18px; }
.langs summary:hover { border-color: var(--cream); }
.langs[open] summary { background: var(--cream); color: var(--ink); }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 40; list-style: none; margin: 0; padding: 8px; width: 260px; max-height: min(70vh, 560px); overflow-y: auto; background: var(--cream); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.35); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.langs li a { display: flex; justify-content: space-between; gap: 6px; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.langs li a small { color: var(--muted); font-weight: 700; font-size: 11px; }
.langs li a:hover { background: var(--stone-2); color: var(--ink); }
.langs li a[aria-current="true"] { background: var(--basalt); color: var(--cream); }
.langs li a[aria-current="true"] small { color: var(--muted-dark); }
details.langs { border: 0; padding: 0; }
@media (max-width: 1340px) { .langs ul { position: static; width: 100%; margin-top: 10px; box-shadow: none; } }
.site-footer .lang-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }

/* Scripts the brand fonts do not cover */
html[lang="uk"], html[lang="ru"] { --display: 'Manrope', 'Segoe UI', system-ui, sans-serif; }
html[lang="uk"] h1, html[lang="ru"] h1, html[lang="uk"] .h2, html[lang="ru"] .h2 { font-weight: 800; letter-spacing: -.03em; }
html[lang="ar"] { --display: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif; --body: 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .eyebrow { letter-spacing: 0; line-height: 1.35; }
html[lang="ar"] .eyebrow { text-transform: none; }
html[lang="zh-Hans"] { --display: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; --body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3 { letter-spacing: 0; line-height: 1.3; }

/* Right-to-left */
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .wa-float { right: auto; left: 18px; }
[dir="rtl"] .facts li span:last-child { text-align: left; }
[dir="rtl"] .hp { left: auto; right: -5000px; }
[dir="rtl"] .skip { left: auto; right: -999px; }
[dir="rtl"] .skip:focus { right: 8px; }
