/* ============================================================
   ARVION · Public Site
   Premium natural-stone aesthetic
   Palette: Ivory base · Deep Emerald · Antique Gold · Maroon
   ============================================================ */

:root {
  --ivory:        #F8F5EE;
  --ivory-2:      #F1ECDF;
  --stone:        #ECE6D6;
  --paper:        #FFFFFF;
  --ink:          #1B2421;
  --ink-soft:     #4A554F;
  --muted:        #8C9189;
  --line:         #E3DDC9;
  --emerald:      #0F4C3A;
  --emerald-2:    #0B3B2D;
  --emerald-soft: #E6EFE9;
  --gold:         #B08A3E;
  --gold-soft:    #EFE3C7;
  --maroon:       #7A2A2A;

  --radius:       10px;
  --radius-lg:    18px;
  --shadow-1:     0 1px 2px rgba(20,28,25,.04), 0 4px 14px rgba(20,28,25,.05);
  --shadow-2:     0 12px 40px rgba(20,28,25,.10);

  --font-serif:   "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container:    1240px;
  --gutter:       28px;
  --ease:         cubic-bezier(.2,.7,.2,1);
}

/* ===================== RESET & BASE ===================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

a { color: var(--emerald); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--emerald-2); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.005em;
  margin: 0 0 .4em;
  color: var(--ink);
}
h1 { font-size: clamp(36px, 5.4vw, 72px); }
h2 { font-size: clamp(28px, 3.6vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 26px); }

p { margin: 0 0 1em; }

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

/* ===================== UTILITIES ===================== */

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

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
}

.divider {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 22px auto;
}
.divider--left { margin-left: 0; }

.section { padding: clamp(60px, 9vw, 130px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--stone { background: var(--ivory-2); }
.section--ink { background: var(--ink); color: #DDD8C8; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow { color: var(--gold); }

.text-center { text-align: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"].is-visible { transition-delay: .08s; }
.reveal[data-delay="2"].is-visible { transition-delay: .16s; }
.reveal[data-delay="3"].is-visible { transition-delay: .24s; }
.reveal[data-delay="4"].is-visible { transition-delay: .32s; }

/* ===================== BUTTONS ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--emerald);
  color: #fff;
}
.btn--primary:hover { background: var(--emerald-2); color: #fff; }

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

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

.btn--gold {
  background: var(--gold);
  color: #fff;
}
.btn--gold:hover { background: #927131; color: #fff; }

.btn--lg { padding: 16px 36px; font-size: 13px; }
.btn--sm { padding: 10px 18px; font-size: 11px; }

.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ===================== HEADER / NAV ===================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,245,238,.92);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(248,245,238,.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__mark {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: .22em;
  color: var(--emerald);
}
.brand__sub {
  font-size: 9px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  position: relative;
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--emerald);
  transition: right .35s var(--ease);
}
.nav__menu a:hover, .nav__menu a.is-active {
  color: var(--ink);
}
.nav__menu a:hover::after, .nav__menu a.is-active::after { right: 0; }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 12px; right: 12px; height: 1px;
  background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease), opacity .15s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 26px; }
.nav__toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav__menu, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav__cta .nav__phone { display: none; }
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ivory);
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.mobile-drawer.is-open { transform: none; }
.mobile-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-drawer__close {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 20px;
}
.mobile-drawer__menu { list-style: none; padding: 0; margin: 0; }
.mobile-drawer__menu li { border-bottom: 1px solid var(--line); }
.mobile-drawer__menu a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--ink);
}
.mobile-drawer__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===================== HERO / SLIDESHOW ===================== */

.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 880px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease), transform 7s linear;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.65) 100%),
    radial-gradient(800px 600px at 20% 80%, rgba(15,76,58,.35), transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0;
}
.hero__eyebrow {
  font-size: 11px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 {
  color: #fff;
  margin: 18px 0 22px;
  max-width: 820px;
  letter-spacing: -.01em;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--gold);
}
.hero__lead {
  max-width: 580px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__dots {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 10px;
}
.hero__dot {
  width: 32px; height: 2px;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s var(--ease);
}
.hero__dot.is-active { background: var(--gold); }

/* ===================== PAGE HEADER (sub-pages) ===================== */

.page-head {
  background:
    linear-gradient(180deg, rgba(27,36,33,.55), rgba(27,36,33,.75)),
    var(--ink);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(80px, 14vw, 180px) 0 clamp(60px, 10vw, 120px);
  text-align: center;
}
.page-head h1 { color: #fff; margin: 0; }
.page-head .crumbs {
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 16px;
}
.page-head .crumbs a { color: var(--gold); }

/* ===================== FEATURED PRODUCTS ===================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--gold-soft);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ivory-2);
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }

.product-card__media .placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: .15em;
  color: var(--muted);
  background:
    repeating-linear-gradient(45deg, var(--ivory-2) 0 8px, var(--ivory) 8px 16px);
}

.product-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(248,245,238,.92);
  color: var(--emerald);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.product-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
  margin: 0;
}
.product-card__origin {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--emerald);
}
.product-card__foot .arrow { transition: transform .25s var(--ease); }
.product-card:hover .product-card__foot .arrow { transform: translateX(4px); }

/* ===================== BRAND STORY ===================== */

.brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.brand-story__media {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(15,76,58,.05), rgba(176,138,62,.08)),
    repeating-linear-gradient(135deg, var(--ivory-2) 0 16px, var(--stone) 16px 32px);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.brand-story__media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(176,138,62,.4);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}
.brand-story__media .stamp {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--emerald);
}
.brand-story__media .stamp .mark {
  font-family: var(--font-serif);
  font-size: 56px;
  letter-spacing: .22em;
}
.brand-story__media .stamp .since {
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}

.brand-story__body p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}
.brand-story__body .lead {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.6vw, 24px);
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 18px;
}

@media (max-width: 820px) {
  .brand-story { grid-template-columns: 1fr; }
}

/* ===================== TRUST POINTS ===================== */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item__num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 6px;
}
.trust-item__label {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}
.trust-item__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 820px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .trust-item:nth-child(even) { border-right: 0; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0 !important; }
}

/* ===================== PROCESS ===================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: .5;
}
.process__step { position: relative; text-align: center; }
.process__step .num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold);
  color: var(--emerald);
  font-family: var(--font-serif);
  font-size: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.process__step h3 { font-size: 20px; }
.process__step p { color: var(--ink-soft); font-size: 14px; margin: 0; }

@media (max-width: 820px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
}

/* ===================== CTA BAND ===================== */

.cta-band {
  background:
    linear-gradient(180deg, rgba(15,76,58,.92), rgba(11,59,45,.96)),
    repeating-linear-gradient(45deg, #0F4C3A 0 16px, #0E4836 16px 32px);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 8vw, 100px) 0;
}
.cta-band h2 { color: #fff; max-width: 820px; margin: 0 auto 16px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 620px; margin: 0 auto 28px; font-size: 17px; }
.cta-band .actions { display: inline-flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-band .actions .btn--primary { background: var(--gold); color: #fff; }
.cta-band .actions .btn--primary:hover { background: #927131; }

/* ===================== ABOUT — DIRECTORS ===================== */

.directors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.director {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
}
.director::before {
  content: "";
  position: absolute;
  top: -1px; left: 36px;
  width: 56px; height: 2px;
  background: var(--gold);
}
.director h3 {
  font-size: 28px;
  margin-bottom: 4px;
}
.director .role {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.director p {
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 820px) {
  .directors { grid-template-columns: 1fr; }
}

/* ===================== COLLECTION FILTERS ===================== */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.filters__group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-pill:hover { border-color: var(--ink); color: var(--ink); }
.filter-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filters__search {
  flex: 0 0 280px;
}
.filters__search input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font: inherit;
  font-size: 14px;
}
.filters__search input:focus {
  outline: none;
  border-color: var(--emerald);
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty-state h3 { color: var(--ink); }

/* ===================== PRODUCT DETAIL ===================== */

.product-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.product-detail__media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-detail__hero {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivory-2);
}
.product-detail__hero img,
.product-detail__hero .placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-detail__hero .placeholder {
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, var(--ivory-2) 0 10px, var(--ivory) 10px 20px);
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: .15em;
}
.product-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.product-detail__thumbs button {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ivory-2);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  transition: border-color .2s var(--ease);
}
.product-detail__thumbs button.is-active { border-color: var(--gold); }
.product-detail__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-detail__info h1 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 8px;
}
.product-detail__origin {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.product-detail__desc {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.spec-table {
  width: 100%;
  border-top: 1px solid var(--line);
  margin-bottom: 28px;
}
.spec-table dt, .spec-table dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.spec-table { display: grid; grid-template-columns: 140px 1fr; }
.spec-table dt {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.spec-table dd { color: var(--ink); }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 820px) {
  .product-detail { grid-template-columns: 1fr; }
}

/* ===================== FORMS ===================== */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-1);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}
.form-grid .full { grid-column: 1 / -1; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field > label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(15,76,58,.08);
}
.field .hint { font-size: 12px; color: var(--muted); }
.field .err { font-size: 12px; color: var(--maroon); }

/* honeypot */
.hp-trap { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ===================== FLASH ===================== */

.flash {
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 14px;
  border: 1px solid transparent;
}
.flash--success { background: var(--emerald-soft); color: var(--emerald-2); border-color: #C8DDD0; }
.flash--error   { background: #FBE9E9;             color: #5C1F1F;          border-color: #F0CACA; }
.flash--warning { background: #FAF3DE;             color: #6B520F;          border-color: #ECDDA4; }
.flash--info    { background: #EEF2F4;             color: #2A3A40;          border-color: #D9E2E6; }

/* ===================== CONTACT INFO ===================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info__row {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.contact-info__row:last-child { border: 0; }
.contact-info__label {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  flex: 0 0 110px;
  padding-top: 4px;
}
.contact-info__value {
  flex: 1;
  font-size: 17px;
  color: var(--ink);
}
.contact-info__value a { color: var(--ink); }
.contact-info__value a:hover { color: var(--emerald); }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===================== FOOTER ===================== */

.site-footer {
  background: #131A18;
  color: #B8BFB8;
  padding: 80px 0 30px;
  margin-top: 0;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .mark {
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: .22em;
  color: #fff;
}
.footer-brand .sub {
  font-size: 10px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-links a:hover { color: #fff; }

.footer-contact p { font-size: 14px; color: rgba(255,255,255,.7); margin: 6px 0; }
.footer-contact a { color: #fff; }

.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .15em;
  color: rgba(255,255,255,.5);
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===================== WHATSAPP FLOATING ===================== */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 480px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 24px; height: 24px; }
}

/* ===================== LOADER (non-blocking) ===================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ivory);
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity .6s var(--ease);
}
.loader.is-hidden { opacity: 0; }
.loader__mark {
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: .3em;
  color: var(--emerald);
  position: relative;
}
.loader__mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -10px;
  height: 1px;
  background: var(--gold);
  transform-origin: left;
  animation: loader-line 1.4s var(--ease) infinite;
}
@keyframes loader-line {
  0%   { transform: scaleX(0); transform-origin: left; }
  50%  { transform: scaleX(1); transform-origin: left; }
  50.1%{ transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ===================== 404 ===================== */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
}
.notfound .code {
  font-family: var(--font-serif);
  font-size: clamp(80px, 14vw, 180px);
  color: var(--emerald);
  line-height: 1;
}
.notfound p { color: var(--ink-soft); max-width: 480px; margin: 8px auto 28px; }

/* ===================== UTIL: section header pattern ===================== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 70px);
}
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ===================== PRINT (basic) ===================== */
@media print {
  .site-header, .site-footer, .wa-float, .loader { display: none !important; }
  body { background: #fff; }
}
