/* ===========================================================
   EstaVera — Real Estate Consultancy
   Beige theme · black text · copper accents
   =========================================================== */

/* ---------- Design tokens ---------- */
:root {
  --cream:        #F4ECDD;   /* page background          */
  --cream-2:      #EEE2CF;   /* alternating sections     */
  --cream-3:      #E7D8BF;   /* deep beige (footer/cta)  */
  --card:         #FBF6EC;   /* card surface             */
  --ink:          #13294B;   /* brand navy (all main text)*/
  --ink-soft:     #45506A;   /* secondary text (muted navy)*/
  --copper:       #B9824B;   /* accent                   */
  --copper-deep:  #9A6A38;   /* accent hover             */
  --line:         rgba(19, 41, 75, 0.12);
  --shadow-sm:    0 4px 14px rgba(94, 70, 38, 0.08);
  --shadow-md:    0 14px 34px rgba(94, 70, 38, 0.14);
  --shadow-lg:    0 28px 60px rgba(94, 70, 38, 0.18);
  --radius:       16px;
  --radius-sm:    10px;
  --container:    1180px;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif:   "Playfair Display", Georgia, serif;
  --font-sans:    "Inter", -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--cream-2); }
.text-center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.32rem; }
p  { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--primary { background: var(--copper); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--copper-deep); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }

/* ===========================================================
   Preloader
   =========================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
  background: var(--cream);
  transition: opacity .7s ease, visibility .7s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader__mark { width: 250px; max-width: 66vw; height: auto; animation: pulse 1.4s var(--ease) infinite; }
.preloader__bar {
  margin-top: 22px; width: 140px; height: 3px;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.preloader__bar::after {
  content: ""; display: block; height: 100%; width: 40%;
  background: var(--copper); border-radius: 2px;
  animation: load 1.1s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes load  { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }

/* ===========================================================
   Header / Navigation
   =========================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.header.scrolled {
  padding: 12px 0;
  background: rgba(244, 236, 221, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__icon { width: 46px; transition: transform .5s var(--ease); }
.brand:hover .brand__icon { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 700; }
.brand__name .v { color: var(--copper); }
.brand__sub {
  font-size: 0.55rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 4px;
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  position: relative; padding: 8px 16px; font-weight: 500; font-size: 0.96rem;
  border-radius: 999px; transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--copper); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--copper-deep); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--copper-deep); }
.nav__cta { margin-left: 10px; }

/* Hamburger */
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  position: relative; transition: background .3s var(--ease);
}
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .4s var(--ease), opacity .3s var(--ease), top .4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative; padding: 180px 0 110px;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(185, 130, 75, 0.16), transparent 60%),
    radial-gradient(900px 500px at -8% 18%, rgba(185, 130, 75, 0.10), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 22px;
}
.hero__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--copper); }
.hero__lead { font-size: 1.12rem; max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero__card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 26px; padding: 30px; box-shadow: var(--shadow-lg);
  position: relative; z-index: 2;
}
.hero__card-img {
  height: 260px; border-radius: 18px;
  background: linear-gradient(135deg, var(--cream-3), var(--cream-2));
  display: grid; place-items: center; color: var(--copper-deep);
  position: relative; overflow: hidden;
}
.hero__card-img .big-mark { width: 120px; opacity: 0.9; }
.hero__card-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
}
.hero__card-row .stat b { font-family: var(--font-serif); font-size: 1.5rem; display: block; }
.hero__card-row .stat span { font-size: 0.8rem; color: var(--ink-soft); }
.hero__float {
  position: absolute; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600;
  z-index: 3;
}
.hero__float .ic { width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--cream-2); border-radius: 8px; color: var(--copper-deep); }
.hero__float--1 { top: -18px; right: 18px;  animation: floaty 5s ease-in-out infinite; }
.hero__float--2 { bottom: -18px; left: -26px; animation: floaty 6s ease-in-out infinite .6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===========================================================
   Marquee strip
   =========================================================== */
.strip { background: var(--ink); color: var(--cream); padding: 16px 0; overflow: hidden; }
.strip__track { display: flex; gap: 60px; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.strip__track span { font-family: var(--font-serif); font-size: 1.05rem; letter-spacing: 0.04em; opacity: 0.92; }
.strip__track span::before { content: ""; display: inline-block; width: 7px; height: 7px;
  background: var(--copper); transform: rotate(45deg); margin-right: 60px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===========================================================
   Feature / Service cards
   =========================================================== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(185,130,75,.4); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream-2); color: var(--copper-deep); margin-bottom: 20px;
  transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease);
}
.card:hover .card__icon { background: var(--copper); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }

/* ===========================================================
   Stats counters
   =========================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats .stat b {
  font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.1rem);
  color: var(--copper-deep); display: block; line-height: 1;
}
.stats .stat span { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; display: block; }

/* ===========================================================
   Split / image-text blocks
   =========================================================== */
.media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--cream-3), var(--cream-2));
  min-height: 380px; display: grid; place-items: center; position: relative;
}
.media .placeholder { text-align: center; color: var(--copper-deep); padding: 28px; }
.media .placeholder svg { width: 70px; margin: 0 auto 14px; opacity: .8; }
.media .placeholder small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: .8rem; }

.list-check { margin-top: 22px; display: grid; gap: 14px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.list-check .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cream-2); color: var(--copper-deep); display: grid; place-items: center; margin-top: 2px;
}

/* ===========================================================
   Property cards (placeholder grid)
   =========================================================== */
.property { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.property:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.property__img {
  height: 210px; background: linear-gradient(135deg, var(--cream-3), var(--cream-2));
  position: relative; display: grid; place-items: center; color: var(--copper-deep); overflow: hidden;
}
.property__img svg { width: 64px; opacity: .8; transition: transform .6s var(--ease); }
.property:hover .property__img svg { transform: scale(1.12); }
.property__badge {
  position: absolute; top: 14px; left: 14px; background: var(--copper); color: #fff;
  font-size: 0.72rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em;
}
.property__body { padding: 22px 24px 26px; }
.property__body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.property__meta { display: flex; gap: 18px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--ink-soft); }
.property__meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ===========================================================
   Testimonials
   =========================================================== */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; height: 100%;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote__mark { font-family: var(--font-serif); font-size: 3.4rem; line-height: 0.6; color: var(--copper); }
.quote p { margin: 14px 0 22px; color: var(--ink); font-size: 1.02rem; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--cream-3); color: var(--copper-deep);
  display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; }
.quote__who b { display: block; font-size: 0.95rem; }
.quote__who small { color: var(--ink-soft); }

/* ===========================================================
   CTA band
   =========================================================== */
.cta {
  background:
    radial-gradient(700px 320px at 85% 20%, rgba(185,130,75,.22), transparent 60%),
    var(--cream-3);
  border-radius: 26px; padding: 64px 48px; text-align: center; box-shadow: var(--shadow-sm);
}
.cta h2 { margin-bottom: 14px; }
.cta p { max-width: 540px; margin: 0 auto 30px; }
.cta .hero__actions { justify-content: center; }

/* ===========================================================
   Contact
   =========================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; gap: 16px; align-items: flex-start; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.info-card .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--cream-2);
  color: var(--copper-deep); display: grid; place-items: center; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 0.95rem; color: var(--ink-soft); }
.info-stack { display: grid; gap: 18px; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
.input, .textarea, select.input {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
  font-family: inherit; font-size: 0.96rem; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.input:focus, .textarea:focus, select.input:focus {
  outline: none; border-color: var(--copper); background: #fff;
  box-shadow: 0 0 0 4px rgba(185,130,75,.14);
}
.textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.form__success {
  display: none; align-items: center; gap: 12px;
  background: rgba(185,130,75,.12); border: 1px solid rgba(185,130,75,.4);
  color: var(--copper-deep); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px;
  font-weight: 600; font-size: 0.92rem;
  animation: popIn .5s var(--ease);
}
.form__success.show { display: flex; }
@keyframes popIn { from { opacity: 0; transform: scale(.95) translateY(-6px); } to { opacity: 1; transform: none; } }
.input.invalid, .textarea.invalid { border-color: #c0563c; box-shadow: 0 0 0 4px rgba(192,86,60,.12); }

.map {
  margin-top: 26px; height: 300px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--cream-3), var(--cream-2));
  display: grid; place-items: center; color: var(--copper-deep); border: 1px solid var(--line);
}

/* ===========================================================
   Page banner (about / contact)
   =========================================================== */
.banner {
  padding: 170px 0 80px; text-align: center;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(185,130,75,.18), transparent 60%),
    var(--cream-2);
}
.banner p { max-width: 600px; margin: 16px auto 0; }
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-top: 18px; }
.crumbs a:hover { color: var(--copper-deep); }

/* Value rows for about */
.values { display: grid; gap: 18px; }
.value-row { display: flex; gap: 18px; padding: 22px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.value-row:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.value-row .num { font-family: var(--font-serif); font-size: 1.6rem; color: var(--copper); flex: none; width: 44px; }

/* Team placeholders */
.team-card { text-align: center; }
.team-card .avatar {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--cream-3), var(--cream-2));
  display: grid; place-items: center; color: var(--copper-deep); margin-bottom: 16px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.team-card:hover .avatar { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card h3 { font-size: 1.1rem; }
.team-card span { font-size: 0.85rem; color: var(--copper-deep); font-weight: 600; }

/* ===========================================================
   Footer
   =========================================================== */
.footer { background: var(--cream-3); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { font-size: 0.92rem; max-width: 300px; }
.footer h4 { font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 18px; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-size: 0.93rem; color: var(--ink-soft); transition: color .3s var(--ease), padding-left .3s var(--ease); }
.footer ul a:hover { color: var(--copper-deep); padding-left: 5px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--cream); color: var(--ink); transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease); }
.socials a:hover { background: var(--copper); color: #fff; transform: translateY(-4px); }
.socials a svg { width: 19px; height: 19px; }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: var(--ink-soft); }
.footer__legal { margin-top: 16px; font-size: .72rem; line-height: 1.75; color: var(--ink-soft);
  opacity: .78; text-align: center; }
.footer__legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer__legal a:hover { color: var(--copper-deep); }

/* ===========================================================
   Back to top
   =========================================================== */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%; background: var(--copper); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s var(--ease), visibility .4s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--copper-deep); transform: translateY(-4px); }

/* ===========================================================
   Scroll reveal animations
   =========================================================== */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal="left"]  { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="zoom"]  { transform: scale(.92); }
[data-reveal].in-view { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }

/* Hero entrance */
.fade-up-load { opacity: 0; transform: translateY(28px); animation: fadeUp .9s var(--ease) forwards; }
.d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .45s; } .d4 { animation-delay: .6s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1180px) and (min-width: 981px) {
  .nav__links a { padding: 8px 11px; font-size: .92rem; }
  .lang-switch__btn { padding: 8px 10px; }
}
@media (max-width: 980px) {
  .hero__grid, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats  { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__visual { order: -1; }
  .hero__float--2 { left: 6px; }
}
@media (max-width: 720px) {
  .section { padding: 70px 0; }
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    background: var(--cream); padding: 90px 30px 30px;
    box-shadow: var(--shadow-lg);
    transform: translateX(110%); transition: transform .5s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { width: 100%; font-size: 1.1rem; padding: 12px 8px; }
  .nav__cta { margin: 14px 0 0; }
  .brand__sub { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .cta { padding: 48px 24px; }
  /* On phones the card is too narrow for overlapping badges — drop them into
     normal flow as centred pills under the card so they can never collide. */
  .hero__visual { display: flex; flex-direction: column; align-items: center; }
  .hero__float { position: static; animation: none; margin-top: 12px; }
  .hero__brandcard { width: 100%; }
}
@media (max-width: 460px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats  { grid-template-columns: 1fr 1fr; }
  .field.two { grid-template-columns: 1fr; }
}

/* ===========================================================
   Real logo + SVG icon sizing  (overrides)
   =========================================================== */
.brand__logo { height: 74px; width: auto; display: block; transition: height .4s var(--ease); }
.header.scrolled .brand__logo { height: 58px; }
.footer__brand .brand__logo { height: 62px; }

.card__icon svg   { width: 27px; height: 27px; }
.info-card .ic svg{ width: 22px; height: 22px; }
.hero__float .ic svg { width: 16px; height: 16px; }
.list-check .tick svg { width: 13px; height: 13px; }

/* Hero brand card (no fabricated numbers) */
.hero__brandcard {
  background: var(--card); border: 1px solid var(--line); border-radius: 26px;
  padding: 50px 38px; box-shadow: var(--shadow-lg); text-align: center;
}
.hero__brandcard img { width: min(300px, 82%); margin: 0 auto; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 28px; }
.hero__chips .chip {
  font-size: .8rem; font-weight: 600; color: var(--ink-soft);
  background: var(--cream-2); border: 1px solid var(--line); padding: 7px 15px; border-radius: 999px;
}

@media (max-width: 720px) {
  .brand__logo { height: 58px; }
  .header.scrolled .brand__logo { height: 48px; }
  .footer__brand .brand__logo { height: 54px; }
}

/* ===========================================================
   Presentation-driven sections + promo
   =========================================================== */
.card .num  { font-family: var(--font-serif); font-size: 2rem; color: var(--copper); line-height: 1; display: block; }
.card .role { display: block; color: var(--copper-deep); font-weight: 600; font-size: .82rem; margin: 6px 0 14px; }

/* How we work — process steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: grid; place-items: center; font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 16px; }
.step h3 { font-size: 1.04rem; margin-bottom: 8px; }
.step p { font-size: .88rem; }
.step .free { position: absolute; top: 16px; right: 16px; background: var(--copper); color: #fff;
  font-size: .6rem; font-weight: 700; letter-spacing: .1em; padding: 4px 9px; border-radius: 999px; }

/* Services with pricing */
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 34px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); height: 100%; }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.svc .tag { color: var(--copper-deep); font-weight: 600; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; }
.svc h3 { font-size: 1.55rem; margin: 8px 0 14px; }
.svc .price { font-family: var(--font-serif); font-size: 2.1rem; color: var(--ink); line-height: 1; }
.svc .price small { font-size: .8rem; color: var(--ink-soft); font-family: var(--font-sans); font-weight: 500; }
.svc .meta { color: var(--ink-soft); font-size: .84rem; margin: 10px 0 4px; }

/* Fee tiers */
.tiers { margin-top: 18px; }
.tiers div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.tiers div:first-child { border-top: 1px solid var(--line); }
.tiers span { color: var(--ink-soft); }
.tiers b { color: var(--ink); }

/* Partner network */
.partner { display: flex; gap: 16px; padding: 22px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.partner:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.partner .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2);
  color: var(--copper-deep); display: grid; place-items: center; }
.partner .ic svg { width: 22px; height: 22px; }
.partner h3 { font-size: 1.02rem; margin-bottom: 5px; }
.partner p { font-size: .88rem; }

/* Tagline callout */
.callout { text-align: center; max-width: 780px; margin: 0 auto; }
.callout p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.05rem);
  color: var(--ink); line-height: 1.4; }
.callout p span { color: var(--copper); }

/* Consultant meta */
.role-pill { display: inline-block; background: var(--cream-2); border: 1px solid var(--line); color: var(--copper-deep);
  font-weight: 600; font-size: .8rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 8px; }
.consultant-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 18px; color: var(--ink-soft); font-size: .93rem; }
.consultant-meta span { display: inline-flex; align-items: center; gap: 8px; }
.consultant-meta svg { width: 17px; height: 17px; color: var(--copper-deep); flex: none; }

/* Promo */
.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px;
  background: radial-gradient(600px 220px at 18% 0%, rgba(185,130,75,.22), transparent 62%), var(--cream-3);
  border: 1px solid rgba(185,130,75,.4); border-radius: var(--radius); padding: 24px 30px; }
.promo .txt { display: flex; flex-direction: column; gap: 3px; }
.promo b { font-family: var(--font-serif); font-size: 1.22rem; color: var(--ink); }
.promo p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.promo .star { color: var(--copper); flex: none; }
.hero__tag.promo-pill { background: var(--copper); color: #fff; border-color: transparent; }
.hero__tag.promo-pill .dot { background: #fff; }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Square portrait photo (About) — crop to square without distorting */
.media--photo { aspect-ratio: 1 / 1; min-height: 0; padding: 0; }
.media--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.media--portrait { aspect-ratio: 4 / 5; min-height: 0; padding: 0; }
.media--portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Reviews page */
.reviews-summary { text-align: center; margin: 0 auto 46px; }
.reviews-summary__stars { display: inline-flex; gap: 5px; color: var(--copper); }
.reviews-summary__stars svg { width: 26px; height: 26px; }
.reviews-summary p { margin: 12px 0 0; color: var(--ink-soft); font-size: .95rem; }
.reviews-summary b { color: var(--ink); font-family: var(--font-serif); font-size: 1.2rem; }

.reviews-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.review-card { flex: 1 1 340px; max-width: 460px; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.review-card__avatar { width: 54px; height: 54px; border-radius: 50%; flex: none; overflow: hidden;
  background: var(--cream-2); color: var(--copper-deep); display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1rem; }
.review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card__who b { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.25; }
.review-card__who span { font-size: .84rem; color: var(--ink-soft); }
.review-card__stars { display: inline-flex; gap: 4px; color: var(--copper); margin-bottom: 14px; }
.review-card__stars svg { width: 18px; height: 18px; }
.review-card__text { color: var(--ink-soft); font-size: .97rem; line-height: 1.8; margin: 0; }
.review-card__photo { margin: 20px 0 0; }
.review-card__photo img { width: 100%; height: 160px; object-fit: cover; display: block;
  border-radius: var(--radius-sm); transition: transform .6s var(--ease); }
.review-card__photo figcaption { font-size: .78rem; color: var(--ink-soft); margin-top: 9px;
  display: flex; align-items: center; gap: 7px; }
.review-card__photo figcaption svg { width: 13px; height: 13px; color: var(--copper-deep); flex: none; }

/* FAQ accordion (native details/summary) */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 2px 24px; margin-bottom: 14px; transition: box-shadow .35s var(--ease), border-color .35s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(185,130,75,.4); }
.faq summary { list-style: none; cursor: pointer; font-family: var(--font-serif); font-size: 1.12rem;
  color: var(--ink); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-weight: 400; font-size: 1.6rem;
  line-height: 1; color: var(--copper); transition: transform .35s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin: 0; padding: 0 0 20px; font-size: .98rem; line-height: 1.6; }

/* ===========================================================
   Language switcher
   =========================================================== */
.lang-switch { position: relative; display: inline-flex; align-items: center; margin-left: 4px; }
.lang-switch__btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px;
  border-radius: 999px; font-weight: 600; font-size: 0.85rem; color: var(--ink);
  border: 1px solid var(--line); background: transparent; transition: background .3s var(--ease), border-color .3s var(--ease); }
.lang-switch__btn:hover, .lang-switch:hover .lang-switch__btn { background: var(--card); border-color: rgba(185,130,75,.4); }
.lang-switch__btn svg { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.lang-switch:hover .lang-switch__btn svg { transform: rotate(180deg); }
.lang-switch__menu { position: absolute; top: 100%; left: 0; margin-top: 8px; min-width: 148px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 40; }
.lang-switch:hover .lang-switch__menu, .lang-switch:focus-within .lang-switch__menu {
  opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; color: var(--ink-soft);
  transition: background .25s var(--ease), color .25s var(--ease); }
.lang-switch__menu a:hover { background: var(--cream-2); color: var(--ink); }
.lang-switch__menu a.active { color: var(--copper-deep); font-weight: 700; }
.lang-switch .flag { width: 19px; height: 13px; border-radius: 2px; flex: none;
  box-shadow: 0 0 0 1px rgba(19,41,75,.16); }
.lang-switch__btn .flag { margin-right: 1px; }
.lang-switch__menu { min-width: 186px; }
.lang-switch__menu a { justify-content: flex-start; gap: 10px; }
.lang-switch__note { border-top: 1px solid var(--line); margin-top: 6px; padding: 10px 12px 5px;
  display: flex; flex-direction: column; gap: 7px; }
.lang-switch__note-title { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--copper-deep); }
.lang-switch__extra { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 720px) {
  .lang-switch { margin: 6px 0 0; width: 100%; }
  .lang-switch__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; background: transparent; padding: 4px 0 0; display: none; }
  .lang-switch.open .lang-switch__menu { display: block; }
  .lang-switch__btn { width: 100%; justify-content: space-between; }
}

/* ===========================================================
   Service area block (local SEO)
   =========================================================== */
.areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 780px; margin: 0 auto; }
.areas span { background: var(--card); border: 1px solid var(--line); color: var(--ink-soft);
  font-size: .88rem; font-weight: 500; padding: 9px 16px; border-radius: 999px; }

/* ===========================================================
   Insights / blog
   =========================================================== */
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; height: 100%; display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .tag { color: var(--copper-deep); font-weight: 600; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; }
.post-card h3 { margin: 12px 0 10px; font-size: 1.28rem; line-height: 1.3; }
.post-card p { font-size: .95rem; flex: 1; }
.post-card .read-more { margin-top: 18px; font-weight: 600; font-size: .92rem; color: var(--copper-deep);
  display: inline-flex; align-items: center; gap: 7px; }
.post-card .read-more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.post-card:hover .read-more svg { transform: translateX(4px); }

.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin: 40px 0 16px; font-size: 1.7rem; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 26px 0 12px; font-size: 1.25rem; }
.article p { margin-bottom: 18px; font-size: 1.02rem; line-height: 1.85; }
.article ul, .article ol { margin: 0 0 20px 22px; }
.article li { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.8; margin-bottom: 8px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article strong { color: var(--ink); }
.article__meta { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); font-size: .88rem;
  margin-bottom: 10px; }
.article__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-soft); }
.article__cta { background: var(--cream-3); border-radius: var(--radius); padding: 30px 32px; margin-top: 42px;
  text-align: center; }
.article__cta h3 { margin-top: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
