/* ==========================================================================
   GENOMICS LUXURY HOMES — Stylesheet
   Design language: "Cut Diamond" — a faceted corner-notch motif drawn from
   the diamond silhouette of the brand mark, paired with a warm stone
   palette, deep venetian red, and brass gold.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Manrope:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root{
  /* ---- Color tokens ---- */
  --color-paper:      #F3F0E9;   /* warm stone background */
  --color-paper-dim:  #ECE7DC;   /* slightly deeper stone for alt sections */
  --color-ink:        #17181B;   /* near-black charcoal — primary text/dark sections */
  --color-ink-soft:   #2B2D33;   /* secondary charcoal, dark cards */
  --color-red:        #B01F2E;   /* brand red, from logo roofline */
  --color-red-deep:   #86141F;   /* hover/active red */
  --color-gold:       #B08A3E;   /* brass/gold accent, luxury detail */
  --color-teal:       #1F6F76;   /* sparing accent, from logo mark */
  --color-line:       rgba(23,24,27,0.12);
  --color-line-light: rgba(250,248,244,0.18);

  /* ---- Type ---- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* ---- Layout ---- */
  --container: 1240px;
  --radius-sm: 2px;
  --notch: 22px; /* signature diamond-notch cut size */
}

/* ---- Reset ---- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-paper);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; }

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

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

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content:"";
  width: 9px; height: 9px;
  background: var(--color-gold);
  transform: rotate(45deg);
  display: inline-block;
}
.eyebrow.on-dark{ color: var(--color-gold); }

/* ---- Signature diamond-notch cut (used on frames, cards, buttons) ---- */
.notch-tl{ clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch)); }
.notch-br{ clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--color-red);
  color: #fff;
}
.btn-primary:hover{ background: var(--color-red-deep); }
.btn-outline{
  background: transparent;
  border-color: currentColor;
  color: var(--color-ink);
}
.btn-outline:hover{ background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.btn-gold{
  background: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.btn-gold:hover{ background: var(--color-gold); color: var(--color-ink); }
.btn-sm{ padding: 11px 20px; font-size: 13px; }
.btn-block{ width: 100%; justify-content: center; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(243,240,233,0.88);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--color-line);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand img{ height: 52px; width: auto; }
.brand-text{ display:flex; flex-direction: column; line-height: 1.1; }
.brand-text .name{ font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: .01em; }
.brand-text .tag{ font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-red); margin-top: 2px; }

.main-nav{ display: flex; align-items: center; gap: 40px; }
.main-nav ul{ display: flex; gap: 34px; }
.main-nav a{
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after{
  content:"";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-red);
  transition: right .22s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after{ right: 0; }
.main-nav a.active{ color: var(--color-red); }

.header-cta{ display: flex; align-items: center; gap: 18px; }

.menu-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.menu-toggle span{ width: 24px; height: 2px; background: var(--color-ink); display:block; transition: all .25s ease; }
.menu-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity: 0; }
.menu-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display: none;
  position: fixed;
  inset: 88px 0 0 0;
  background: var(--color-paper);
  z-index: 490;
  padding: 30px 32px;
  border-top: 1px solid var(--color-line);
  overflow-y: auto;
}
.mobile-nav.is-open{ display: block; }
.mobile-nav ul{ display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a{
  display: block;
  padding: 18px 4px;
  font-size: 21px;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--color-line);
}
.mobile-nav .header-cta{ margin-top: 26px; flex-direction: column; align-items: stretch; }

@media (max-width: 900px){
  .main-nav{ display: none; }
  .menu-toggle{ display: flex; }
  .site-header .header-cta.desktop-only{ display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--color-ink);
}
.hero-media{ position: absolute; inset: 0; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero-media::after{
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,15,17,.94) 0%, rgba(15,15,17,.55) 46%, rgba(15,15,17,.25) 100%);
}
.hero-diamond{
  position: absolute;
  top: 64px; right: 6%;
  width: 168px; height: 168px;
  border: 1.5px solid rgba(250,248,244,.35);
  transform: rotate(45deg);
  display: none;
}
.hero-diamond::before{
  content:"";
  position: absolute; inset: 20px;
  border: 1px solid rgba(184,138,62,.55);
}
@media (min-width: 700px){ .hero-diamond{ display:block; } }

.hero-inner{
  position: relative;
  z-index: 2;
  padding-bottom: 84px;
  max-width: 760px;
}
.hero .eyebrow{ color: var(--color-gold); margin-bottom: 22px; }
.hero h1{
  font-size: clamp(38px, 6vw, 68px);
  color: #fff;
  letter-spacing: -.01em;
}
.hero h1 em{ font-style: italic; color: var(--color-gold); font-weight: 400; }
.hero p.lede{
  margin-top: 24px;
  font-size: 18px;
  color: rgba(250,248,244,.82);
  max-width: 540px;
}
.hero-actions{ display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero-actions .btn-outline{ color: #fff; }
.hero-actions .btn-outline:hover{ background: #fff; color: var(--color-ink); border-color: #fff; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip{
  background: var(--color-ink);
  color: var(--color-paper);
  padding: 30px 0;
  border-bottom: 1px solid rgba(250,248,244,.08);
}
.trust-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 30px;
}
.trust-item{
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(250,248,244,.72);
  white-space: nowrap;
}
.trust-item strong{
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  font-weight: 500;
}
.trust-item + .trust-item{ position: relative; padding-left: 30px; }
.trust-item + .trust-item::before{
  content:"";
  position: absolute; left: 0; top: 50%;
  width: 8px; height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--color-gold);
}

/* ==========================================================================
   SECTION SCAFFOLDING
   ========================================================================== */
section{ padding: 110px 0; }
.section-tight{ padding: 80px 0; }
.section-dark{ background: var(--color-ink); color: var(--color-paper); }
.section-dim{ background: var(--color-paper-dim); }
.section-head{ max-width: 640px; margin-bottom: 60px; }
.section-head h2{ font-size: clamp(30px, 4vw, 44px); margin-top: 18px; }
.section-head p{ margin-top: 18px; font-size: 16.5px; opacity: .78; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   BENEFITS
   ========================================================================== */
.benefits-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}
.benefit-card{
  background: var(--color-paper);
  padding: 44px 38px;
  position: relative;
}
.benefit-mark{
  width: 40px; height: 40px;
  background: var(--color-red);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  margin-bottom: 26px;
}
.benefit-card h3{ font-size: 21px; margin-bottom: 12px; }
.benefit-card p{ font-size: 15px; opacity: .75; }
@media (max-width: 860px){ .benefits-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVICES PREVIEW / GRID
   ========================================================================== */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card{
  background: #fff;
  border: 1px solid var(--color-line);
  padding: 40px 32px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23,24,27,.08); }
.service-num{ font-family: var(--font-mono); font-size: 12.5px; color: var(--color-red); letter-spacing: .1em; }
.service-card h3{ font-size: 22px; margin: 16px 0 14px; }
.service-card p{ font-size: 15px; opacity: .76; margin-bottom: 20px; }
.service-card .service-link{ font-size: 13.5px; font-weight: 700; color: var(--color-ink); border-bottom: 1.5px solid var(--color-gold); padding-bottom: 3px; }
@media (max-width: 980px){ .services-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .services-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}
.step{ position: relative; padding-top: 30px; }
.step::before{
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-gold);
  display: block;
  margin-bottom: 14px;
}
.step::after{
  content:"";
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px;
  border: 1.5px solid var(--color-gold);
  transform: rotate(45deg);
}
.step h4{ font-size: 18px; margin-bottom: 10px; }
.step p{ font-size: 14.5px; opacity: .74; }
@media (max-width: 980px){ .steps{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .steps{ grid-template-columns: 1fr; } }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(250,248,244,.1);
}
.testimonial{
  background: var(--color-ink);
  padding: 40px 34px;
}
.testimonial .stars{ color: var(--color-gold); letter-spacing: 3px; font-size: 14px; margin-bottom: 20px; }
.testimonial p.quote{ font-family: var(--font-display); font-size: 18px; font-weight: 400; line-height: 1.5; margin-bottom: 26px; }
.testimonial .who{ font-family: var(--font-mono); font-size: 12.5px; color: rgba(250,248,244,.6); letter-spacing: .04em; }
.testimonial .who strong{ color: #fff; display: block; font-family: var(--font-body); font-size: 14.5px; margin-bottom: 3px; }
@media (max-width: 860px){ .testimonial-row{ grid-template-columns: 1fr; } }

/* ==========================================================================
   ABOUT PREVIEW / SPLIT LAYOUT
   ========================================================================== */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-media{ position: relative; }
.split-media img{ width: 100%; height: 480px; object-fit: cover; clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px); }
.split-media .frame{
  position: absolute; top: 24px; left: -24px;
  width: 100%; height: 100%;
  border: 1.5px solid var(--color-gold);
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px);
  z-index: -1;
}
.split-copy h2{ font-size: clamp(28px, 3.6vw, 40px); margin: 18px 0 20px; }
.split-copy p{ font-size: 16px; opacity: .78; margin-bottom: 16px; }
.split.reverse{ direction: rtl; }
.split.reverse > *{ direction: ltr; }
@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; gap: 50px; }
  .split.reverse{ direction: ltr; }
  .split-media{ order: -1; }
  .split-media .frame{ display: none; }
}

/* ==========================================================================
   FINAL CTA BAND
   ========================================================================== */
.cta-band{
  background: var(--color-red);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before{
  content:"";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px;
  border: 1.5px solid rgba(255,255,255,.25);
  transform: rotate(45deg);
}
.cta-band-inner{ display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2{ color: #fff; font-size: clamp(28px, 3.6vw, 42px); max-width: 560px; }
.cta-band .btn-outline{ color: #fff; }
.cta-band .btn-outline:hover{ background: #fff; color: var(--color-red); border-color: #fff; }
.cta-band-actions{ display: flex; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-hero{
  background: var(--color-ink);
  color: #fff;
  padding: 150px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::after{
  content:"";
  position: absolute; right: 8%; top: 30%;
  width: 120px; height: 120px;
  border: 1.5px solid rgba(184,138,62,.4);
  transform: rotate(45deg);
}
.page-hero h1{ font-size: clamp(34px, 5vw, 56px); color: #fff; max-width: 700px; }
.page-hero p.lede{ margin-top: 20px; max-width: 560px; opacity: .78; font-size: 16.5px; }
.breadcrumb{ font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(250,248,244,.55); margin-bottom: 22px; }
.breadcrumb a:hover{ color: var(--color-gold); }

/* ==========================================================================
   ABOUT PAGE SPECIFIC
   ========================================================================== */
.value-list{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; margin-top: 10px; }
.value-item{ display: flex; gap: 18px; }
.value-item .mark{ flex: none; width: 30px; height: 30px; border: 1.5px solid var(--color-red); transform: rotate(45deg); margin-top: 4px; }
.value-item h4{ font-size: 17px; margin-bottom: 6px; }
.value-item p{ font-size: 14.5px; opacity: .74; }
@media (max-width: 700px){ .value-list{ grid-template-columns: 1fr; } }

.timeline{ margin-top: 20px; }
.timeline-row{ display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 26px 0; border-top: 1px solid var(--color-line); }
.timeline-row:last-child{ border-bottom: 1px solid var(--color-line); }
.timeline-row .yr{ font-family: var(--font-mono); font-size: 14px; color: var(--color-red); }
.timeline-row h4{ font-size: 17px; margin-bottom: 8px; }
.timeline-row p{ font-size: 14.5px; opacity: .74; }
@media (max-width: 620px){ .timeline-row{ grid-template-columns: 1fr; gap: 10px; } }

.stat-band{ display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--color-line); border: 1px solid var(--color-line); margin-top: 60px; }
.stat-cell{ background: var(--color-paper); padding: 34px 26px; text-align: center; }
.stat-cell strong{ display: block; font-family: var(--font-display); font-size: 38px; color: var(--color-red); }
.stat-cell span{ font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
@media (max-width: 860px){ .stat-band{ grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.faq-list{ border-top: 1px solid var(--color-line); }
.faq-item{ border-bottom: 1px solid var(--color-line); }
.faq-q{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18.5px;
  color: var(--color-ink);
}
.faq-q .plus{
  flex: none;
  width: 22px; height: 22px;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:"";
  position: absolute; background: var(--color-red);
  transition: transform .25s ease;
}
.faq-q .plus::before{ top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .plus::after{ left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.is-open .faq-q .plus::after{ transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a-inner{ padding: 0 4px 26px; font-size: 15px; opacity: .76; max-width: 720px; }
.faq-item.is-open .faq-a{ max-height: 320px; }

/* ==========================================================================
   LISTINGS PAGE
   ========================================================================== */
.filter-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 88px;
  background: var(--color-paper);
  z-index: 40;
}
.filter-btn{
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid var(--color-line);
  background: transparent;
  color: var(--color-ink);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.filter-btn.active, .filter-btn:hover{ background: var(--color-ink); color: #fff; border-color: var(--color-ink); }

.listing-count{ font-family: var(--font-mono); font-size: 13px; opacity: .6; margin: 26px 0 30px; }

.listing-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.listing-card{
  background: #fff;
  border: 1px solid var(--color-line);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: transform .2s ease, box-shadow .2s ease;
}
.listing-card:hover{ transform: translateY(-5px); box-shadow: 0 20px 44px rgba(23,24,27,.1); }
.listing-media{ position: relative; height: 230px; overflow: hidden; }
.listing-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.listing-card:hover .listing-media img{ transform: scale(1.06); }
.listing-tag{
  position: absolute; top: 16px; left: 16px;
  background: var(--color-red); color: #fff;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px;
}
.listing-price{
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(23,24,27,.85); color: #fff;
  font-family: var(--font-mono); font-size: 13.5px;
  padding: 7px 14px;
}
.listing-body{ padding: 26px 24px 28px; }
.listing-body h3{ font-size: 19px; margin-bottom: 6px; }
.listing-loc{ font-size: 13.5px; opacity: .65; margin-bottom: 16px; }
.listing-specs{ display: flex; gap: 16px; font-family: var(--font-mono); font-size: 12.5px; opacity: .7; margin-bottom: 20px; }
.listing-body .btn{ width: 100%; justify-content: center; }
@media (max-width: 980px){ .listing-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .listing-grid{ grid-template-columns: 1fr; } .filter-bar{ top: 0; } }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}
.contact-form{ background: #fff; border: 1px solid var(--color-line); padding: 44px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 30px); }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group{ margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-group label{ font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.form-group input, .form-group textarea{
  padding: 14px 16px;
  border: 1.5px solid var(--color-line);
  background: var(--color-paper);
  font-size: 15px;
  color: var(--color-ink);
  transition: border-color .2s ease;
}
.form-group input:focus, .form-group textarea:focus{ border-color: var(--color-red); outline: none; }
.form-group textarea{ resize: vertical; min-height: 130px; }
.form-note{ font-size: 12.5px; opacity: .58; margin-top: 16px; }
.form-success{
  display: none;
  background: #EEF4EC; border: 1px solid #8FBF8B; color: #2B5E28;
  padding: 16px 18px; font-size: 14px; margin-bottom: 20px;
}
.form-success.is-visible{ display: block; }

.contact-info-list{ display: flex; flex-direction: column; gap: 26px; margin-bottom: 40px; }
.contact-info-item{ display: flex; gap: 18px; }
.contact-info-item .mark{ flex: none; width: 34px; height: 34px; border: 1.5px solid var(--color-gold); transform: rotate(45deg); }
.contact-info-item h4{ font-size: 15px; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a{ font-size: 14.5px; opacity: .76; }

.map-frame{ border: 1px solid var(--color-line); overflow: hidden; height: 260px; clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 0); }
.map-frame iframe{ width: 100%; height: 100%; border: 0; filter: grayscale(35%) contrast(1.05); }

.social-row{ display: flex; gap: 12px; margin-top: 24px; }
.social-row a{
  width: 42px; height: 42px;
  border: 1.5px solid var(--color-line);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.social-row a:hover{ background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.social-row svg{ width: 17px; height: 17px; }

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--color-ink); color: rgba(250,248,244,.72); padding: 80px 0 0; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,248,244,.1);
}
.footer-brand .brand img{ height: 46px; }
.footer-brand .brand-text .name{ color: #fff; }
.footer-brand p{ font-size: 14px; margin-top: 20px; max-width: 320px; opacity: .7; }
.footer-col h5{ font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 20px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: 14.5px; }
.footer-col a:hover{ color: #fff; }
.footer-social{ display: flex; gap: 10px; margin-top: 20px; }
.footer-social a{
  width: 38px; height: 38px;
  border: 1px solid rgba(250,248,244,.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover{ background: var(--color-red); border-color: var(--color-red); }
.footer-social svg{ width: 15px; height: 15px; }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; font-size: 13px; opacity: .5; flex-wrap: wrap; gap: 10px;
}
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

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

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.mt-0{ margin-top: 0 !important; }
.text-center{ text-align: center; }
.visually-hidden{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
