/* ==========================================================
   Chicfashionhouse — warm editorial style
   ========================================================== */

:root {
  --ivory: #FBF6EF;
  --cream: #F4EADF;
  --sand: #EBDAC6;
  --blush: #E8CDB8;
  --clay: #B45A30;
  --clay-deep: #8F4220;
  --gold: #C29454;
  --ink: #33261D;
  --ink-soft: #6E5B4D;
  --line: #E6D6C4;
  --white: #FFFFFF;
  --footer: #2A1F17;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-lg: 28px;
  --arch: 200px 200px 20px 20px;
  --shadow: 0 24px 60px -28px rgba(51, 38, 29, .35);
  --shadow-soft: 0 14px 40px -22px rgba(51, 38, 29, .25);
  --container: 1180px;
  --transition: .35s cubic-bezier(.25, .8, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--clay); text-decoration: none; transition: color .25s; }
a:hover { color: var(--clay-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.01em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--footer); color: #EFE4D6; }
.section--dark h2, .section--dark h3 { color: #FBF3E8; }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--clay);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--clay-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(143, 66, 32, .55);
}

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

.btn--light {
  background: var(--ivory);
  color: var(--ink);
}
.btn--light:hover { background: var(--white); color: var(--clay-deep); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 246, 239, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(51, 38, 29, .25);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
}
.logo:hover { color: var(--ink); }
.logo__img {
  height: 56px;
  width: auto;
  display: block;
}
.logo__name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
}

.main-nav { margin-left: auto; }
.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-nav a, .nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  background: none;
  border: 0;
  font-family: var(--font-body);
  cursor: pointer;
  transition: color .25s, background .25s;
}
.main-nav a:hover, .nav__dropdown-toggle:hover {
  color: var(--clay);
  background: rgba(180, 90, 48, .08);
}
.main-nav a.is-active { color: var(--clay); font-weight: 600; }

.nav__dropdown-toggle svg { width: 12px; height: 12px; transition: transform .3s; }

.has-dropdown { position: relative; }
@media (min-width: 861px) {
  .has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -12px;
    right: -12px;
    height: 12px;
  }
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
}
.has-dropdown.is-open .dropdown { display: flex; }
.has-dropdown.is-open .nav__dropdown-toggle svg { transform: rotate(180deg); }
.dropdown a {
  display: block;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: .92rem;
  white-space: nowrap;
}
.dropdown a small {
  display: block;
  font-size: .75rem;
  color: var(--ink-soft);
}
.dropdown a:hover { background: var(--cream); }

.header__cta { padding: 12px 26px; font-size: .88rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  padding: 72px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blush) 0%, rgba(232, 205, 184, 0) 70%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 148, 84, .22) 0%, rgba(194, 148, 84, 0) 70%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  font-style: normal;
}
.hero__title em {
  font-style: italic;
  color: var(--clay);
}
.hero__text { max-width: 480px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__meta {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
}
.hero__meta span { font-size: .85rem; color: var(--ink-soft); }

.hero__media { position: relative; }
.hero__img-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--arch);
  box-shadow: var(--shadow);
}
.hero__card {
  position: absolute;
  bottom: 34px;
  left: -64px;
  width: 210px;
  background: var(--white);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.hero__card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.hero__card strong { display: block; font-size: .9rem; line-height: 1.3; }
.hero__card span { font-size: .8rem; color: var(--clay); font-weight: 600; }
.hero__stamp {
  position: absolute;
  top: -22px;
  right: 12%;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.4;
  padding: 14px;
  transform: rotate(8deg);
  box-shadow: var(--shadow-soft);
}

/* ---------- page hero (subpages) ---------- */

.page-hero {
  padding: 80px 0 72px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blush) 0%, rgba(232, 205, 184, 0) 70%);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-hero__img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.page-hero--center { text-align: center; padding: 72px 0; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.page-hero--center p { max-width: 640px; margin: 0 auto; color: var(--ink-soft); }

.breadcrumbs {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: .82rem;
  color: var(--ink-soft);
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--clay); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--gold); }

/* ---------- about preview ---------- */

.about-preview__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-preview__media { position: relative; }
.about-preview__media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-preview__tag {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-head);
}
.about-preview__tag strong { display: block; font-size: 1.5rem; color: var(--clay); }
.about-preview__tag span { font-size: .8rem; color: var(--ink-soft); font-family: var(--font-body); }
.check-list { list-style: none; padding: 0; margin: 24px 0 34px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F4220' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.check-list strong { color: var(--ink); }

/* ---------- service cards ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blush);
}
.service-card__img {
  width: 100%;
  aspect-ratio: 4 / 2.9;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-card__img { transform: scale(1.04); }
.service-card__media { overflow: hidden; }
.service-card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card__num {
  font-family: var(--font-head);
  font-size: .85rem;
  color: var(--gold);
  letter-spacing: .16em;
  margin-bottom: 8px;
}
.service-card__body p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.service-card__price {
  font-size: .9rem;
  font-weight: 600;
  color: var(--clay);
  margin: 6px 0 14px;
}

/* ---------- why us ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--cream);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--clay);
}
.why-card__icon svg { width: 24px; height: 24px; }
.why-card p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- product cards ---------- */

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card__media { overflow: hidden; position: relative; }
.product-card__img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--ivory);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clay);
}
.product-card__body { padding: 22px 24px 24px; }
.product-card__body h3 { font-size: 1.15rem; margin-bottom: 4px; }
.product-card__body p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 12px; }
.product-card__price {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--clay);
}
.product-card__price small {
  font-family: var(--font-body);
  font-size: .75rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 34px 26px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.process__step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--blush);
  display: block;
  margin-bottom: 14px;
  font-weight: 600;
}
.process__step h3 { font-size: 1.15rem; }
.process__step p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
}
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery a:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery img { aspect-ratio: 3 / 4; }
.gallery .gallery__item--tall img { aspect-ratio: auto; height: 100%; }

/* ---------- price tables ---------- */

.price-table {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.price-table__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 30px;
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.price-table__row:last-child { border-bottom: 0; }
.price-table__row:hover { background: var(--cream); }
.price-table__name { font-weight: 600; font-size: 1rem; }
.price-table__desc { font-size: .88rem; color: var(--ink-soft); margin-top: 2px; }
.price-table__price {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clay);
  white-space: nowrap;
}
.price-table__price small {
  font-family: var(--font-body);
  font-size: .78rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.price-note {
  margin-top: 18px;
  font-size: .88rem;
  color: var(--ink-soft);
  font-style: italic;
}

.price-cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 56px 0 22px;
}
.price-cat h2 { margin: 0; }
.price-cat span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--blush);
  padding: 5px 14px;
  border-radius: 999px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--footer);
  border-radius: var(--radius-lg);
  padding: 72px 60px;
  color: #EFE4D6;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(194, 148, 84, .18);
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(180, 90, 48, .22);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #FBF3E8; margin-bottom: 10px; }
.cta-band p { color: #CBB9A6; max-width: 520px; margin: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- split section ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--reverse > .split__media { order: 2; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.split__media--arch img { border-radius: var(--arch); aspect-ratio: 4 / 4.8; }

/* ---------- feature list blocks ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.feature-item {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature-item h3 { font-size: 1.1rem; }
.feature-item p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.feature-item .price-tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--clay);
  font-size: 1.1rem;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info__item:last-child { border-bottom: 0; }
.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--clay);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__item h4 { margin: 0 0 4px; }
.contact-info__item p, .contact-info__item a { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.contact-info__item a:hover { color: var(--clay); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.form-field label span { color: var(--clay); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(180, 90, 48, .12);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #C0392B; }
.form-field__error {
  display: none;
  font-size: .78rem;
  color: #C0392B;
  margin-top: 6px;
}
.form-field.has-error .form-field__error { display: block; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 16px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  margin-top: 56px;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 23, .55);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  animation: modalIn .35s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--clay);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}
.modal__icon svg { width: 30px; height: 30px; }
.modal__dialog h3 { font-size: 1.5rem; }
.modal__dialog p { color: var(--ink-soft); font-size: .95rem; }
.modal__close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}
.modal__close-x:hover { background: var(--blush); }

/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 300;
  max-width: 430px;
  width: calc(100% - 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: none;
}
.cookie-banner.is-visible { display: block; animation: modalIn .4s ease; }
.cookie-banner h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cookie-banner p { font-size: .86rem; color: var(--ink-soft); margin-bottom: 18px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 11px 20px; font-size: .85rem; }
.cookie-settings { margin: 14px 0 18px; display: none; }
.cookie-settings.is-open { display: block; }
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: .86rem;
}
.cookie-option input { margin-top: 4px; accent-color: var(--clay); width: 18px; height: 18px; }
.cookie-option strong { display: block; font-size: .9rem; }
.cookie-option span { color: var(--ink-soft); font-size: .8rem; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--footer);
  color: #CBB9A6;
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__brand .logo { color: #FBF3E8; margin-bottom: 18px; }
.footer__brand .logo__img { height: 72px; }
.footer__brand p { font-size: .92rem; max-width: 300px; }
.footer__col h4 {
  color: #FBF3E8;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 11px; }
.footer__col a { color: #CBB9A6; font-size: .93rem; }
.footer__col a:hover { color: #FBF3E8; }
.footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .92rem;
}
.footer__contact svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid rgba(251, 246, 239, .12);
  padding: 24px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .82rem;
}
.footer__bottom a { color: #CBB9A6; margin-left: 22px; }
.footer__bottom a:hover { color: #FBF3E8; }

/* ---------- legal pages ---------- */

.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 1.5rem; margin-top: 44px; }
.legal-content h3 { font-size: 1.1rem; margin-top: 28px; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: .97rem; }
.legal-content ul { padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-updated {
  display: inline-block;
  background: var(--cream);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: .8rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero__grid { gap: 40px; }
  .hero__card { left: -20px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__cta { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 70px 0; }
  .hero { padding: 48px 0 80px; }
  .hero__grid, .about-preview__grid, .page-hero__grid,
  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse > .split__media { order: 0; }
  .hero__media { max-width: 480px; }
  .hero__card { left: 12px; bottom: -30px; }
  .hero__stamp { right: 4%; }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    height: calc(100vh - 82px);
    height: calc(100dvh - 82px);
    background: var(--ivory);
    padding: 24px;
    transform: translateX(100%);
    transition: transform .4s ease;
    overflow-y: auto;
    z-index: 190;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a, .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 15px 18px;
    font-size: 1.05rem;
    border-radius: 12px;
  }
  .dropdown {
    position: static;
    border: 0;
    box-shadow: none;
    background: var(--cream);
    border-radius: 14px;
    margin: 4px 0 8px;
    padding: 8px;
  }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav { margin-left: 0; }

  .cta-band { padding: 52px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 24px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo__img { height: 46px; }
  .logo__name { font-size: 1.15rem; }
  .cards-grid, .why-grid, .process, .feature-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero__meta { flex-wrap: wrap; gap: 20px; }
  .hero__card { width: 170px; }
  .price-table__row { padding: 18px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .footer__bottom a { margin: 0 10px; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); }
}
