/* ============================================================
   Risala Furniture & Interiors — Stylesheet
   Palette + type per research/brand-system.md
   ============================================================ */

:root {
  --bg:        #F7F1E8;
  --bg-deep:   #F1E8DA;
  --surface:   #FFFFFF;
  --text:      #2A211B;
  --muted:     #756B60;
  --primary:   #8A6A4A;   /* warm brown */
  --secondary: #2F4A3C;   /* forest green */
  --accent:    #C77E4F;   /* terracotta */
  --border:    #E2D5C4;
  --photo-dark:#3A2A1E;
  --focus:     #C77E4F;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Manrope", system-ui, -apple-system, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(58,42,30,.06), 0 2px 8px rgba(58,42,30,.05);
  --shadow-md: 0 6px 24px rgba(58,42,30,.10), 0 2px 6px rgba(58,42,30,.06);
  --shadow-lg: 0 24px 60px rgba(58,42,30,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.section-head { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(34px, 5vw, 56px);
}
.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--secondary); color: #F4EFE6; }
.btn--primary:hover { background: #253D31; box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #b96f41; box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--light { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--text); transform: translateY(-2px); }

.num { font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  background: var(--secondary);
  color: #DBE2DC;
  font-size: 13px;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px;
}
.topbar a { color: #DBE2DC; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; gap: 22px; align-items: center; }
.topbar__item { display: inline-flex; gap: 7px; align-items: center; }
.topbar__item svg { width: 14px; height: 14px; opacity: .8; }
.topbar__right { display: inline-flex; gap: 16px; align-items: center; }
.topbar__star { color: #E8C98B; font-weight: 700; display:inline-flex; gap:5px; align-items:center; }
@media (max-width: 760px) { .topbar__left .hide-sm { display: none; } }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,241,232,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s, background .3s;
}
.header.scrolled {
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  border-color: var(--border);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-weight: 600; font-size: 21px;
  letter-spacing: .04em; color: var(--secondary);
}
.brand__sub {
  font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--primary); margin-top: 4px; font-weight: 600;
}
.header.scrolled .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14.5px; font-weight: 600; color: var(--text);
  padding: 9px 15px; border-radius: 999px; position: relative;
  transition: color .2s;
}
.nav a::after {
  content:""; position:absolute; left:15px; right:15px; bottom:4px; height:1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); }
.nav a.active::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border);
  background: var(--surface); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: flex; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 70; visibility: hidden;
}
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(42,33,27,.45);
  opacity: 0; transition: opacity .3s var(--ease);
}
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--bg); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; padding: 22px;
}
.drawer.open { visibility: visible; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer__close { width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; font-size: 22px; cursor: pointer; color: var(--text); }
.drawer__nav { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.drawer__nav a {
  font-family: var(--serif); font-size: 27px; font-weight: 600; color: var(--secondary);
  padding: 12px 6px; border-bottom: 1px solid var(--border);
}
.drawer__nav a:hover { color: var(--accent); }
.drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
.drawer__foot .btn { width: 100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(28,20,14,.38) 0%, rgba(28,20,14,0) 30%),
    linear-gradient(96deg, rgba(20,14,9,.82) 0%, rgba(22,15,10,.55) 34%, rgba(24,17,11,.12) 62%, rgba(24,17,11,0) 80%),
    linear-gradient(7deg, rgba(18,12,8,.92) 4%, rgba(24,17,11,.5) 40%, rgba(31,22,14,.12) 70%);
}
.hero__scrim {
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(96deg, rgba(20,14,9,.82) 0%, rgba(22,15,10,.55) 34%, rgba(24,17,11,.12) 62%, rgba(24,17,11,0) 80%),
    linear-gradient(7deg, rgba(18,12,8,.92) 4%, rgba(24,17,11,.5) 40%, rgba(31,22,14,.12) 70%),
    linear-gradient(180deg, rgba(28,20,14,.38) 0%, rgba(28,20,14,0) 30%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 96px); padding-top: 120px; }
.hero__inner { max-width: 760px; color: #F6EFE3; }
.hero .eyebrow { color: #E9C996; }
.hero .eyebrow::before { background: #E9C996; }
.hero h1 {
  font-size: clamp(44px, 7.2vw, 92px);
  color: #FCF7EE; margin-top: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 22px rgba(12,8,5,.55), 0 1px 3px rgba(12,8,5,.4);
}
.hero h1 em { font-style: italic; color: #E9C996; }
.hero__sub {
  margin-top: 22px; font-size: clamp(17px, 2vw, 20px); max-width: 560px;
  color: #F0E7D8; line-height: 1.55;
  text-shadow: 0 1px 14px rgba(12,8,5,.55);
}
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18);
}
.hero__trust .t {
  display: flex; flex-direction: column; gap: 2px;
}
.hero__trust .t b { font-family: var(--serif); font-size: 26px; color: #FCF7EE; line-height: 1; }
.hero__trust .t span { font-size: 12.5px; letter-spacing: .04em; color: #D8CBB8; text-transform: uppercase; }
.hero__stars { color: #E9C996; letter-spacing: 2px; font-size: 15px; }

/* scroll cue */
.hero__cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; color: #EADFCF; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity:.85;}
.hero__cue::after { content:""; width:1px; height:34px; background: linear-gradient(#E9C996, transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }
@media (max-width:700px){ .hero__cue{ display:none; } }

/* ============================================================
   Marquee / clients strip
   ============================================================ */
.strip {
  background: var(--secondary); color: #C9D3CB;
  padding-block: 16px; overflow: hidden;
}
.strip__track { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.strip__track span { font-family: var(--serif); font-size: 19px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 56px; }
.strip__track span::after { content: "✦"; color: var(--accent); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .strip__track{ animation: none; } }

/* ============================================================
   Intro / about-teaser
   ============================================================ */
.intro .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.intro__copy h2 { font-size: clamp(30px, 4.2vw, 50px); margin-top: 16px; }
.intro__copy p { color: var(--muted); margin-top: 20px; font-size: 18px; }
.intro__copy p + p { margin-top: 14px; }
.intro__sign { margin-top: 26px; display:flex; gap: 14px; align-items:center; }
.intro__sign .mono { font-family: var(--serif); font-size: 30px; color: var(--primary); }
.intro__media { position: relative; }
.intro__media .a {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.intro__media .a img { width: 100%; height: 100%; object-fit: cover; }
.intro__badge {
  position: absolute; left: -22px; bottom: -22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 22px;
  box-shadow: var(--shadow-md); display: flex; gap: 16px; align-items: center;
}
.intro__badge b { font-family: var(--serif); font-size: 38px; color: var(--secondary); line-height: 1; }
.intro__badge span { font-size: 13px; color: var(--muted); max-width: 120px; line-height: 1.3; }
@media (max-width: 860px){
  .intro .wrap { grid-template-columns: 1fr; }
  .intro__media { order: -1; }
  .intro__badge { left: 12px; bottom: -18px; }
}

/* ============================================================
   Services
   ============================================================ */
.services { background: var(--bg-deep); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 46px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.scard__img { aspect-ratio: 16/11; overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.06); }
.scard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.scard__num { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.scard h3 { font-size: 25px; margin-top: 8px; }
.scard p { color: var(--muted); font-size: 15px; margin-top: 10px; flex: 1; }
.scard__link { margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--secondary); display: inline-flex; gap: 7px; align-items: center; letter-spacing: .02em; }
.scard__link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.scard:hover .scard__link svg { transform: translateX(4px); }
@media (max-width: 920px){ .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .services__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Gallery
   ============================================================ */
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--muted);
  background: transparent; border: 1px solid var(--border); padding: 9px 17px;
  border-radius: 999px; cursor: pointer; transition: .25s var(--ease);
}
.filters button:hover { color: var(--text); border-color: var(--primary); }
.filters button.active { background: var(--secondary); color: #F4EFE6; border-color: var(--secondary); }

.grid {
  columns: 3; column-gap: 16px;
}
.grid__item {
  break-inside: avoid; margin-bottom: 16px; border-radius: var(--r-md); overflow: hidden;
  position: relative; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  background: var(--bg-deep);
}
.grid__item img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.grid__item:hover img { transform: scale(1.05); }
.grid__item::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(31,22,14,.62));
  opacity: 0; transition: opacity .35s var(--ease);
}
.grid__item:hover::after { opacity: 1; }
.grid__cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .03em;
  opacity: 0; transform: translateY(8px); transition: .35s var(--ease);
  display: flex; align-items: center; gap: 8px;
}
.grid__cap span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: #E9C996; }
.grid__item:hover .grid__cap { opacity: 1; transform: translateY(0); }
.grid__item.hide { display: none; }
@media (max-width: 860px){ .grid { columns: 2; } }
@media (max-width: 520px){ .grid { columns: 1; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; background: rgba(20,14,9,.92); padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 84vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #EADFCF; font-size: 14px; letter-spacing: .03em; }
.lightbox__cap b { color: #E9C996; font-weight: 600; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 22px; display: flex; align-items: center; justify-content: center; transition: .2s; backdrop-filter: blur(4px); }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 18px; right: 18px; width: 46px; height: 46px; }
@media (max-width: 640px){ .lb-prev{left:8px} .lb-next{right:8px} .lb-btn{width:44px;height:44px} }

/* ============================================================
   Why / standards
   ============================================================ */
.why { background: var(--secondary); color: #E7EBE6; }
.why .eyebrow { color: #E9C996; } .why .eyebrow::before{ background:#E9C996; }
.why .section-head h2 { color: #FBF7EF; }
.why .section-head p { color: #B9C4BC; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.wcard { padding: 28px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); background: rgba(255,255,255,.03); transition: .35s var(--ease); }
.wcard:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.wcard__n { font-family: var(--serif); font-size: 40px; color: #E9C996; line-height: 1; }
.wcard h3 { font-size: 21px; margin-top: 16px; color: #FBF7EF; }
.wcard p { color: #B4BFB6; font-size: 14.5px; margin-top: 9px; }
@media (max-width: 860px){ .why__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .why__grid { grid-template-columns: 1fr; } }

/* ============================================================
   About
   ============================================================ */
.about .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__imgs figure { margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.about__imgs img { width: 100%; height: 100%; object-fit: cover; }
.about__imgs figure:first-child { grid-row: span 2; aspect-ratio: 3/5; }
.about__imgs figure:nth-child(2){ aspect-ratio: 4/3; }
.about__imgs figure:nth-child(3){ aspect-ratio: 4/3; }
.about__copy h2 { font-size: clamp(30px, 4.2vw, 50px); margin-top: 16px; }
.about__copy p { color: var(--muted); margin-top: 18px; font-size: 17.5px; }
.about__facts { margin-top: 28px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; border-top: 1px solid var(--border); padding-top: 24px; }
.about__facts .f b { font-family: var(--serif); font-size: 34px; color: var(--primary); display:block; line-height: 1; }
.about__facts .f span { font-size: 13px; color: var(--muted); margin-top: 6px; display: block; }
@media (max-width: 860px){ .about .wrap { grid-template-columns: 1fr; } .about__imgs{ order:-1; } }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--bg-deep); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__info .eyebrow { margin-bottom: 16px; }
.contact__info h2 { font-size: clamp(30px, 4.2vw, 50px); }
.contact__info > p { color: var(--muted); margin-top: 16px; font-size: 17.5px; max-width: 440px; }
.cinfo { margin-top: 30px; display: flex; flex-direction: column; gap: 4px; }
.cinfo a, .cinfo div {
  display: flex; gap: 16px; align-items: flex-start; padding: 16px 0;
  border-bottom: 1px solid var(--border); transition: .2s;
}
.cinfo a:hover { color: var(--primary); }
.cinfo .ic { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.cinfo .ic svg { width: 19px; height: 19px; }
.cinfo .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.cinfo .val { font-size: 17px; font-weight: 600; margin-top: 2px; }
.contact__socials { display: flex; gap: 10px; margin-top: 24px; }
.contact__socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--secondary); transition: .25s var(--ease); }
.contact__socials a:hover { background: var(--secondary); color: #fff; transform: translateY(-3px); }
.contact__socials svg { width: 18px; height: 18px; }

.map { margin-top: 26px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); height: 220px; position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.92) contrast(.98); }

/* form */
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-md); }
.form h3 { font-size: 27px; }
.form > p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.field { margin-top: 18px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .02em; display: block; margin-bottom: 7px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15.5px; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--bg); transition: .2s; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(138,106,74,.13); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0492f; background: #fdf2ef; }
.field .err { color: #c0492f; font-size: 12.5px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label {
  display: inline-block; font-size: 13.5px; font-weight: 600; padding: 9px 15px;
  border: 1.5px solid var(--border); border-radius: 999px; cursor: pointer; margin: 0; transition: .2s var(--ease);
  color: var(--muted);
}
.chip input:checked + label { background: var(--primary); color: #fff; border-color: var(--primary); }
.form__submit { width: 100%; margin-top: 22px; }
.form__note { font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; }
.form__success {
  display: none; text-align: center; padding: 30px 10px;
}
.form__success.show { display: block; }
.form.sent .form__body { display: none; }
.form__success .ok { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--secondary); color: #fff; display: flex; align-items: center; justify-content: center; }
.form__success .ok svg { width: 30px; height: 30px; }
.form__success h3 { color: var(--secondary); }
.form__success p { color: var(--muted); margin-top: 10px; font-size: 15px; }
@media (max-width: 860px){ .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 440px){ .field-row { grid-template-columns: 1fr; } }

/* ============================================================
   CTA band
   ============================================================ */
.cta {
  position: relative; overflow: hidden; color: #F6EFE3; text-align: center;
  background: var(--photo-dark);
}
.cta__bg { position:absolute; inset:0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(34px, 5.5vw, 64px); color: #FCF7EE; }
.cta h2 em { font-style: italic; color: #E9C996; }
.cta p { color: #E4D9C8; margin-top: 18px; font-size: 18px; max-width: 540px; margin-inline: auto; }
.cta__actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #221A13; color: #C7BBAB; padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { height: 54px; width: auto; margin-bottom: 16px; }
.footer__brand p { font-size: 14.5px; color: #A99C8B; max-width: 280px; }
.footer h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #E9C996; margin-bottom: 16px; }
.footer__col a, .footer__col div { display: block; font-size: 14.5px; color: #C7BBAB; padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__socials { display: flex; gap: 10px; margin-top: 14px; }
.footer__socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: #C7BBAB; }
.footer__socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer__socials svg { width: 16px; height: 16px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #8C8071; }
.footer__bottom .disc { max-width: 620px; }
@media (max-width: 860px){ .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px){ .footer__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Mobile bottom action bar
   ============================================================ */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; background: rgba(247,241,232,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(3, 1fr); gap: 8px;
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mbar.show { transform: translateY(0); }
.mbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--text); }
.mbar a svg { width: 20px; height: 20px; }
.mbar a.primary { background: var(--secondary); color: #F4EFE6; }
.mbar a.accent { background: var(--accent); color: #fff; }
@media (max-width: 980px){ .mbar { display: grid; } body { padding-bottom: 72px; } }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
.reveal[data-d="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } }
