/* ==========================================================================
   Parrish Stone Works — shared styles
   Colors below are sampled directly from the logo (P.S.W logo.png).
   ========================================================================== */

:root {
  /* Brand colors (sampled from the logo) */
  --green: #0b3627;        /* logo background — deep forest green */
  --orange: #eb693b;       /* bright stones — burnt orange */
  --rust: #9f391b;         /* dark stones — rust */
  --cream: #f9ebe3;        /* light stone + company name — warm off-white */
  --mint: #b9ddcd;         /* tagline — soft mint */

  /* Supporting shades built from the brand colors */
  --green-deep: #072619;
  --green-raised: #114432;
  --green-line: rgba(185, 221, 205, 0.18);
  --orange-hover: #f27b50;
  --rust-hover: #b24521;
  --cream-muted: rgba(249, 235, 227, 0.82);

  /* Type */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 72px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);

  --focus: var(--orange);
  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cream);
  background: var(--green);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); font-variation-settings: "opsz" 36; }
ul, ol { margin: 0; padding: 0; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--orange);
  color: var(--green-deep);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

/* Small uppercase label — styled like the logo's tagline */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--orange);
}
.lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--cream-muted); max-width: 62ch; }
.text-accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--green-deep); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-rust { background: var(--rust); color: var(--cream); }
.btn-rust:hover { background: var(--rust-hover); }
.btn-outline { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-outline:hover { background: var(--cream); color: var(--green); }
.btn-sm { min-height: 42px; padding: 0.55rem 1.05rem; font-size: 0.92rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Free Estimates top banner ---------- */
.topbar {
  background: var(--rust);
  color: var(--cream);
  font-size: 0.88rem;
  text-align: center;
  padding: 0.5rem 1rem;
}
.topbar p { margin: 0; }
.topbar strong { letter-spacing: 0.08em; text-transform: uppercase; }
.topbar a { font-weight: 700; text-underline-offset: 3px; }
.topbar .dot { opacity: 0.6; margin-inline: 0.4rem; }
@media (max-width: 480px) { .topbar .hide-xs { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 38, 25, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--green-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand-mark { width: 46px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.05rem, 3.6vw, 1.35rem);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  white-space: nowrap;
}
@media (max-width: 480px) { .brand-tag { display: none; } .brand-mark { width: 38px; } }
.brand-name { overflow: hidden; text-overflow: ellipsis; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--green-line);
  border-radius: 10px;
  color: var(--cream);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.header-call { order: 1; }
.nav-toggle { order: 2; }
.header-call .label-long { display: none; }
@media (max-width: 480px) { .header-call { width: 46px; height: 46px; min-height: 46px; padding: 0; } .header-call .label-short { display: none; } }

.site-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--green-deep);
  border-bottom: 1px solid var(--green-line);
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; padding: 0.5rem clamp(1.1rem, 4vw, 2rem) 1.25rem; }
.site-nav a {
  display: block;
  padding: 0.9rem 0.25rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--green-line);
}
.site-nav a:hover { color: var(--orange); }
.site-nav a[aria-current="page"] { color: var(--orange); }

/* Without JavaScript the menu is always shown so nothing is unreachable */
html:not(.js) .header-inner { flex-wrap: wrap; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { display: block; position: static; width: 100%; background: none; box-shadow: none; border: 0; }

@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    order: 0;
  }
  .site-nav ul { display: flex; gap: 0.25rem; padding: 0; }
  .site-nav a {
    position: relative;
    padding: 0.5rem 0.8rem;
    border: 0;
    border-radius: 8px;
  }
  .site-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.8rem; right: 0.8rem; bottom: 0.1rem;
    height: 2px;
    background: var(--orange);
  }
  .header-call { order: 1; margin-left: 0.5rem; }
  .header-call .label-long { display: inline; }
  .header-call .label-short { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 6.5rem); position: relative; }
.section--deep { background: var(--green-deep); }
.section--cream {
  background: var(--cream);
  color: var(--green);
  --focus: var(--rust);
}
.section--cream .eyebrow { color: var(--rust); }
.section--cream .lead { color: #2c4a3d; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }
.section-foot { margin-top: 2.5rem; display: flex; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(4.5rem, 12vw, 8.5rem) clamp(4rem, 10vw, 7rem);
  background:
    radial-gradient(1200px 600px at 85% 30%, rgba(235, 105, 59, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(185, 221, 205, 0.07), transparent 60%),
    var(--green);
}
.hero-stones {
  position: absolute;
  z-index: -1;
  right: -18%;
  top: 50%;
  width: min(1050px, 125vw);
  transform: translateY(-50%) rotate(-4deg);
  opacity: 0.14;
  pointer-events: none;
}
.hero-stones-outline {
  position: absolute;
  z-index: -1;
  left: -10%;
  bottom: -18%;
  width: min(560px, 90vw);
  opacity: 0.18;
  transform: rotate(12deg);
  pointer-events: none;
}
@media (min-width: 900px) {
  .hero-stones { right: -10%; width: min(700px, 60vw); opacity: 0.32; }
  .hero-stones-outline { opacity: 0.25; }
}
@media (min-width: 1200px) {
  .hero-stones { right: max(-4%, calc((100vw - var(--container)) / 2 - 140px)); width: min(660px, 46vw); opacity: 0.92; }
}
.hero-content { max-width: 600px; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .text-accent { font-style: italic; font-weight: 600; }
.hero .lead { margin-bottom: 2rem; color: var(--cream); }
.hero-note { margin-top: 1.25rem; font-size: 0.9rem; color: var(--mint); }

/* Interior page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 9vw, 6rem) clamp(3rem, 7vw, 4.5rem);
  background: var(--green);
  border-bottom: 1px solid var(--green-line);
}
.page-hero .hero-stones { width: min(620px, 90vw); right: -12%; opacity: 0.16; }
@media (min-width: 1100px) { .page-hero .hero-stones { width: 440px; right: max(-4%, calc((100vw - var(--container)) / 2 - 120px)); opacity: 0.9; } }
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); max-width: 16ch; }
.page-hero .lead { margin: 0; max-width: 54ch; }

/* ---------- Trust row ---------- */
.trust {
  background: var(--green-deep);
  border-block: 1px solid var(--green-line);
  padding-block: 1.6rem;
}
.trust ul {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 720px) { .trust ul { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.trust li { display: flex; align-items: center; gap: 0.9rem; }
.trust-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(235, 105, 59, 0.14);
  color: var(--orange);
}
.trust-icon svg { width: 24px; height: 24px; }
.trust strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; }
.trust span.small { display: block; font-size: 0.86rem; color: var(--mint); }

/* ---------- Cards (How we work, values) ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.card {
  position: relative;
  padding: 2rem 1.6rem 1.75rem;
  background: var(--green-raised);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
}
.card p { color: var(--cream-muted); margin: 0; }
.card-num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}
.card-stone { width: 52px; margin-bottom: 1.1rem; }

.section--cream .card { background: #fff; border-color: rgba(11, 54, 39, 0.12); box-shadow: 0 10px 30px -20px rgba(11, 54, 39, 0.5); }
.section--cream .card p { color: #2c4a3d; }
.section--cream .card-num { color: var(--rust); }

/* ---------- Services ---------- */
.services { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(11, 54, 39, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px -22px rgba(11, 54, 39, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(11, 54, 39, 0.7); }
.service-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--green);
  color: var(--orange);
}
.service-icon svg { width: 28px; height: 28px; }
.service p { color: #2c4a3d; margin: 0; }
.service--cta {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
  justify-content: center;
}
.service--cta p { color: var(--cream-muted); margin-bottom: 1.25rem; }

/* ---------- Free estimate banner ---------- */
.estimate-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--rust);
  color: var(--cream);
  padding-block: clamp(3rem, 7vw, 4.5rem);
  --focus: var(--cream);
}
.estimate-banner .hero-stones { width: 520px; right: -140px; opacity: 0.18; transform: translateY(-50%) rotate(8deg); }
.estimate-inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .estimate-inner { grid-template-columns: 1.4fr auto; } }
.estimate-banner h2 { margin-bottom: 0.5rem; }
.estimate-banner p { margin: 0; max-width: 56ch; }
.estimate-banner .btn-primary { background: var(--cream); color: var(--green); }
.estimate-banner .btn-primary:hover { background: #fff; }

/* ---------- Process steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.5rem 1.3rem;
  border-top: 3px solid var(--orange);
  background: rgba(17, 68, 50, 0.6);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.steps li:nth-child(even) { border-top-color: var(--rust); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--mint);
}
.steps h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.steps p { margin: 0; font-size: 0.95rem; color: var(--cream-muted); }

/* ---------- Photo placeholder slots ---------- */
.slot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  padding: 1.25rem;
  text-align: center;
  color: var(--mint);
  background:
    repeating-linear-gradient(135deg, rgba(185, 221, 205, 0.05) 0 14px, transparent 14px 28px),
    var(--green-raised);
  border: 2px dashed rgba(185, 221, 205, 0.35);
  border-radius: inherit;
}
.slot svg { width: 34px; height: 34px; opacity: 0.8; }
.slot strong { font-family: var(--font-serif); font-size: 1.1rem; color: var(--cream); }
.slot small { font-size: 0.78rem; letter-spacing: 0.02em; word-break: break-all; }
.slot--after {
  background:
    repeating-linear-gradient(45deg, rgba(235, 105, 59, 0.09) 0 14px, transparent 14px 28px),
    #1a4a37;
  border-color: rgba(235, 105, 59, 0.5);
}

/* ---------- Before / after slider ---------- */
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-raised);
  user-select: none;
  touch-action: pan-y;
}
.ba-layer { position: absolute; inset: 0; border-radius: inherit; }
.ba-layer > img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-before .slot { align-items: flex-start; text-align: left; padding-right: 55%; }
.ba-after .slot { align-items: flex-end; text-align: right; padding-left: 55%; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--cream);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3627' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
.ba-tag {
  position: absolute;
  top: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag--before { left: 0.8rem; background: rgba(7, 38, 25, 0.85); color: var(--cream); }
.ba-tag--after { right: 0.8rem; background: var(--orange); color: var(--green-deep); }

/* Without JavaScript: show before and after side by side instead */
html:not(.js) .ba { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
html:not(.js) .ba-layer { position: relative; aspect-ratio: 3 / 4; clip-path: none; }
html:not(.js) .ba-before .slot, html:not(.js) .ba-after .slot { padding: 1rem; align-items: center; text-align: center; }
html:not(.js) .ba-handle, html:not(.js) .ba-range { display: none; }

/* Project grid */
.projects { display: grid; gap: 2rem 1.5rem; }
@media (min-width: 720px) { .projects { grid-template-columns: repeat(2, 1fr); } }
.projects--three { gap: 1.5rem; }
@media (min-width: 1000px) { .projects--three { grid-template-columns: repeat(3, 1fr); } }
.project { margin: 0; }
.project figcaption { margin-top: 0.9rem; }
.project h2, .project h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.project p { margin: 0; color: var(--cream-muted); font-size: 0.96rem; }
.project .meta { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: 0.25rem; }
.hint { font-size: 0.9rem; color: var(--mint); display: flex; align-items: center; gap: 0.5rem; }
.hint svg { width: 18px; height: 18px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 2rem 1.6rem 1.6rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 54, 39, 0.12);
  box-shadow: 0 10px 30px -22px rgba(11, 54, 39, 0.6);
}
.quote-stars { display: flex; gap: 3px; color: var(--rust); margin-bottom: 1rem; }
.quote-stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0 0 1.5rem; flex: 1; }
.quote blockquote p { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.5; color: var(--green); margin: 0; font-variation-settings: "opsz" 24; }
.quote figcaption { display: flex; align-items: center; gap: 0.8rem; padding-top: 1rem; border-top: 1px solid rgba(11, 54, 39, 0.12); }
.quote-avatar {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green); color: var(--cream);
  font-family: var(--font-serif); font-weight: 700;
}
.quote cite { font-style: normal; font-weight: 700; display: block; color: var(--green); }
.quote .small { display: block; font-size: 0.85rem; color: #2c4a3d; }

/* ---------- Forms ---------- */
.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--green-raised);
  border: 1px solid var(--green-line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  color: var(--cream);
  --focus: var(--orange);
}
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; }
.field .opt { font-weight: 400; color: var(--mint); font-size: 0.85rem; }
.req { color: var(--orange); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  font: inherit;
  color: var(--cream);
  background: var(--green-deep);
  border: 1.5px solid rgba(185, 221, 205, 0.35);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: rgba(185, 221, 205, 0.6); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(235, 105, 59, 0.35); }
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9ddcd' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
}
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 0.4rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.6rem 1.15rem;
  border: 1.5px solid rgba(185, 221, 205, 0.35);
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.choice span::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.choice input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--green-deep); }
.choice input:checked + span::before { background: var(--green-deep); box-shadow: inset 0 0 0 2px var(--orange); }
.choice input:focus-visible + span { outline: 3px solid var(--cream); outline-offset: 3px; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.4rem; }
.form-fine { font-size: 0.85rem; color: var(--mint); margin: 0; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success, .form-status.is-error {
  padding: 1rem 1.1rem;
  border-radius: 10px;
  width: 100%;
}
.form-status.is-success { background: rgba(185, 221, 205, 0.14); border: 1px solid var(--mint); color: var(--cream); }
.form-status.is-error { background: rgba(235, 105, 59, 0.14); border: 1px solid var(--orange); color: var(--cream); }
.form-status a { color: var(--orange); }

/* Home: compact contact */
.quick-contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .quick-contact { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.quick-contact .section-head { margin-bottom: 1.5rem; }
.check-list { list-style: none; display: grid; gap: 0.8rem; margin-bottom: 1.75rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; margin-top: 0.15rem; color: var(--rust); }

/* ---------- Contact strip (above footer) ---------- */
.contact-strip {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--orange);
  color: var(--green-deep);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  --focus: var(--green-deep);
}
.contact-strip-inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .contact-strip-inner { grid-template-columns: 1fr auto; } }
.contact-strip h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 0.3rem; }
.contact-strip p { margin: 0; font-weight: 500; }
.contact-strip .strip-email { margin-top: 0.35rem; font-size: 0.95rem; word-break: break-word; }
.contact-strip .btn { background: var(--green); color: var(--cream); }
.contact-strip .btn:hover { background: var(--green-deep); }
.contact-strip .btn-row { gap: 0.7rem; }
@media (max-width: 520px) { .contact-strip .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  padding-block: clamp(3rem, 7vw, 4.5rem) 2rem;
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-logo { width: 250px; border-radius: 12px; margin-bottom: 1rem; }
.footer-brand p { color: var(--cream-muted); max-width: 36ch; }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: grid; gap: 0.2rem; }
.footer-links a { display: inline-block; padding: 0.3rem 0; text-decoration: none; color: var(--cream-muted); }
.footer-links a:hover { color: var(--orange); }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--green-line);
  color: var(--cream);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--green-deep); }
.socials svg { width: 20px; height: 20px; }
.footer-meta { margin-top: 1.25rem; color: var(--mint); font-size: 0.88rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--green-line);
  color: var(--mint);
  font-size: 0.86rem;
}
.footer-bottom p { margin: 0; }

/* ---------- About ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .split--reverse > :first-child { order: 2; } }
.photo-frame { position: relative; }
.photo-frame .slot, .photo-frame img { aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; }
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  z-index: -1;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
}
.photo-frame { isolation: isolate; margin-right: 1.25rem; }
.prose p { color: var(--cream-muted); }
.prose p:first-of-type { color: var(--cream); font-size: 1.1rem; }
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--orange); margin-top: 1.5rem; }

.stand-list { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 720px) { .stand-list { grid-template-columns: 1fr 1fr; } }
.stand-list li {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 54, 39, 0.12);
}
.stand-list svg { flex: none; width: 28px; height: 28px; color: var(--rust); }
.stand-list h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.stand-list p { margin: 0; color: #2c4a3d; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq details {
  background: var(--green-raised);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: rgba(235, 105, 59, 0.6); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(235, 105, 59, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eb693b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.4rem 1.3rem; color: var(--cream-muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group-title { max-width: 820px; margin: 2.5rem auto 1rem; font-size: 0.8rem; font-family: var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mint); }
.faq-group-title:first-child { margin-top: 0; }

/* ---------- Contact page ---------- */
.contact-buttons { display: grid; gap: 1rem; }
@media (min-width: 720px) { .contact-buttons { grid-template-columns: repeat(3, 1fr); } }
.contact-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.contact-btn:hover { transform: translateY(-2px); }
.contact-btn svg { width: 34px; height: 34px; flex: none; }
.contact-btn .big { display: block; font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.15; }
.contact-btn .small { display: block; font-size: 0.9rem; font-weight: 500; opacity: 0.9; word-break: break-word; }
.contact-btn--call { background: var(--orange); color: var(--green-deep); }
.contact-btn--call:hover { background: var(--orange-hover); }
.contact-btn--text { background: var(--rust); color: var(--cream); }
.contact-btn--text:hover { background: var(--rust-hover); }
.contact-btn--email { background: var(--cream); color: var(--green); }
.contact-btn--email:hover { background: #fff; }

.contact-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.6fr 1fr; gap: 3rem; } }
.info-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--green-raised);
  border: 1px solid var(--green-line);
}
.info-card + .info-card { margin-top: 1.25rem; }
.info-card h2 { font-size: 1.4rem; display: flex; align-items: center; gap: 0.6rem; }
.info-card h2 svg { width: 24px; height: 24px; color: var(--orange); }
.info-card p { color: var(--cream-muted); }
.info-card p:last-child { margin-bottom: 0; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.area-list li { padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(185, 221, 205, 0.12); color: var(--mint); font-size: 0.9rem; font-weight: 600; }

/* ---------- Simple pages (thank you / 404) ---------- */
.simple-page { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.simple-page .lead { margin-inline: auto; margin-bottom: 2rem; }
.simple-page .btn-row { justify-content: center; }
.simple-page .card-stone { width: 120px; margin: 0 auto 1.5rem; }

/* ---------- Scroll reveal (only when motion is OK and JS is running) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--delay, 0s);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .hero-stones polygon { transform-box: fill-box; transform-origin: center; animation: stone-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-stones polygon:nth-child(2) { animation-delay: 0.08s; }
  .hero-stones polygon:nth-child(3) { animation-delay: 0.16s; }
  .hero-stones polygon:nth-child(4) { animation-delay: 0.24s; }
  .hero-stones polygon:nth-child(5) { animation-delay: 0.32s; }
}
@keyframes stone-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Stone shape fills (used by the inline SVG stone graphics) */
.st-o { fill: var(--orange); }
.st-r { fill: var(--rust); }
.st-c { fill: var(--cream); }
.stones-outline polygon { fill: none; stroke: var(--mint); stroke-width: 3; }


/* ===== Guarantee section ===== */
.guarantee-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
.guarantee-cards { display: grid; gap: 1.1rem; }
.guarantee-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(185, 221, 205, 0.25);
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  padding: 1.4rem 1.5rem;
}
.guarantee-card h3 { margin-bottom: 0.5rem; }
.guarantee-card p { margin: 0; }
@media (min-width: 860px) {
  .guarantee-grid { grid-template-columns: 1.05fr 1fr; }
}
