/* ==========================================================================
   Crest to Peak Contracting LLC — site styles
   Brand colors pulled from the logo: black, safety orange, gold, silver.
   ========================================================================== */

:root {
  --black: #0b0b0c;
  --charcoal: #16171a;
  --graphite: #23252a;
  --steel: #3a3d44;
  --silver: #c9ccd3;
  --white: #ffffff;
  --orange: #ff9900;        /* the orange from her Google Site title and band */
  --orange-dark: #d97a00;
  --gold: #ffc400;
  --text: #1c1d21;
  --muted: #5d616b;
  --bg: #f6f6f4;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --max: 1180px;
  --font-head: "Merriweather", Georgia, "Times New Roman", serif;   /* same font as her Google Site */
  --font-body: "Merriweather", Georgia, "Times New Roman", serif;
  --font-accent: "Oswald", "Arial Narrow", Impact, sans-serif;       /* her tagline font; used for buttons and labels */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--black);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--orange-dark);
  margin-bottom: 0.6rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Skip link for accessibility */
.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--gold); color: var(--black); padding: 8px 14px; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--gold); color: var(--black); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-outline-dark { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--orange);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 6px 12px;
}
.topbar a { color: var(--white); text-decoration: underline; }

.site-header {
  background: var(--black);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--gold);
}
.site-header .container { width: min(100% - 48px, 1480px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--font-head); font-weight: 900; color: var(--white); font-size: 1.15rem; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; margin-left: auto; }
.primary-nav a {
  color: rgba(255,255,255,0.87);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.95rem;
  padding: 10px 10px;
  border-radius: 6px;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--orange); }
.primary-nav .btn-call { background: var(--orange); color: var(--black); margin-left: 8px; padding: 10px 16px; font-family: var(--font-accent); }
.primary-nav .btn-call:hover { background: var(--gold); color: var(--black); }
.nav-toggle {
  display: none;
  background: transparent; color: var(--orange);
  border: 2px solid var(--orange); border-radius: 6px;
  font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 8px 14px; cursor: pointer;
}
@media (max-width: 1280px) { .brand span { display: none; } }
@media (max-width: 600px) { .brand span { display: none !important; } .brand img { height: 46px; } }
@media (max-width: 1100px) { .primary-nav a { font-size: 0.88rem; padding: 10px 7px; } .primary-nav .btn-call { padding: 9px 12px; font-size: 0.9rem; } }
@media (max-width: 900px) {
  .brand span { display: inline; font-size: 1rem; }
  .nav-toggle { display: inline-block; flex-shrink: 0; }
  .nav-wrap { gap: 12px; }
  .brand { min-width: 0; }
  .brand span { overflow: hidden; text-overflow: ellipsis; }
  .primary-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--charcoal);
    flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px;
    border-bottom: 3px solid var(--gold);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 10px; border-bottom: 1px solid var(--steel); }
  .primary-nav .btn-call { margin: 12px 0 0; text-align: center; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 106, 0, 0.28), transparent 60%),
    radial-gradient(900px 400px at -10% 110%, rgba(255, 196, 0, 0.18), transparent 60%),
    linear-gradient(180deg, var(--charcoal), var(--black));
  color: var(--white);
  overflow: hidden;
}
.hero::after { /* subtle shingle pattern */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 120px 40px, 120px 40px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 64px 0 72px;
}
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--gold); }
.hero .lead { color: var(--silver); }
.hero-logo { filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.hero-badges li {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px; border-radius: 999px; font-size: 0.9rem; color: var(--silver);
}
.hero-badges li::before { content: "✓ "; color: var(--gold); font-weight: 700; }
.page-hero { padding: 56px 0; }
.page-hero h1 { margin-bottom: 0.3em; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding: 40px 0 48px; }
  .hero-logo { max-width: 420px; margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   Sections & cards
   -------------------------------------------------------------------------- */
.section { padding: 72px 0; }
.section-dark { background: var(--black); color: var(--silver); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold); }
.section-alt { background: var(--white); }
.section-head { margin-bottom: 36px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }
/* Grid children must be allowed to shrink below their content width, or large images push the page wider than the screen */
.grid-2 > *, .grid-3 > *, .hero-grid > *, .stats > *, .steps > *, .footer-grid > * { min-width: 0; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border-top: 5px solid var(--orange);
  display: flex; flex-direction: column;
}
.card h3 { margin-top: 0.4rem; }
.card p { color: var(--muted); flex: 1; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  display: grid; place-items: center;
}
.card .icon svg { width: 30px; height: 30px; fill: none; stroke: var(--black); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card a.more { font-weight: 600; text-decoration: none; }
.card a.more::after { content: " →"; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.section-dark .checklist li::before { background: var(--gold); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.stat { background: var(--charcoal); border: 1px solid var(--steel); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat strong { display: block; font-family: var(--font-accent); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.stat span { color: var(--silver); font-size: 0.95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-accent); font-size: 2rem; color: var(--orange);
  display: block; margin-bottom: 6px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Areas We Service page: plain list grouped by county */
.area-group { margin-bottom: 36px; }
.area-group h2 { font-size: 1.25rem; border-bottom: 2px solid var(--orange); padding-bottom: 8px; margin-bottom: 14px; }
.area-list { list-style: none; padding: 0; margin: 0; columns: 4; column-gap: 32px; }
.area-list li { padding: 4px 0; break-inside: avoid; }
.area-list a { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--orange-dark); }
.area-list a:hover { color: var(--orange-dark); }
@media (max-width: 900px) { .area-list { columns: 2; } }
@media (max-width: 480px) { .area-list { columns: 1; } }

/* Area chips */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li { background: var(--white); border: 1px solid #e3e4e8; padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.areas li a { color: var(--orange-dark); text-decoration: none; }
.areas li a:hover { text-decoration: underline; }
.card .areas li { font-size: 0.9rem; padding: 6px 12px; }

/* FAQ */
.faq details {
  background: var(--white); border-radius: 10px; box-shadow: var(--shadow);
  padding: 4px 22px; margin-bottom: 12px; border-left: 4px solid var(--gold);
}
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; font-size: 1.05rem; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.5rem; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding-bottom: 12px; }

/* Atlas feature band */
.atlas-band {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--black) 60%);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--silver);
}
.atlas-band h2, .atlas-band h3 { color: var(--white); }
.atlas-band .pill { display: inline-block; background: var(--gold); color: var(--black); font-weight: 700; border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; margin-bottom: 12px; }

/* CTA band */
.cta {
  background: linear-gradient(90deg, var(--orange), #ff8a2a);
  color: var(--white);
  padding: 56px 0;
}
.cta h2 { color: var(--white); }
.cta .lead { color: rgba(255,255,255,0.92); }
.cta .btn-light { background: var(--white); color: var(--orange-dark); }
.cta .btn-dark { background: var(--black); color: var(--white); }

/* Contact */
.contact-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.contact-box dl { margin: 0; }
.contact-box dt { font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-size: 0.85rem; margin-top: 16px; }
.contact-box dd { margin: 2px 0 0; font-size: 1.1rem; }
.form-embed { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.form-embed iframe { width: 100%; min-height: 900px; border: 0; display: block; }

/* Prose pages */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.note { background: #fff8e6; border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 8px; font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--black); color: var(--silver); padding: 56px 0 24px; border-top: 4px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { color: var(--gold); font-size: 1.05rem; margin-bottom: 0.8rem; }
.site-footer a { color: var(--silver); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer img { height: 70px; width: auto; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--steel); margin-top: 36px; padding-top: 18px; font-size: 0.85rem; color: #8d919b; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sticky mobile call button: round phone button, bottom-left, clear of hosting badges */
.mobile-call {
  display: none;
  position: fixed; left: 14px; bottom: 14px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--orange); color: var(--black);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  text-decoration: none; font-size: 0; line-height: 0;
  align-items: center; justify-content: center;
}
.mobile-call::before {
  content: ""; width: 28px; height: 28px; display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b0b0c'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.6.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 700px) { .mobile-call { display: flex; } }

/* --------------------------------------------------------------------------
   Home page: matches the look of the original Google Site
   (black stone hero, centered logo, orange title, orange text band,
   light "Our Roofing Services" section with italic headings)
   -------------------------------------------------------------------------- */
.hero-home {
  background-color: #0a0a0a;
  /* One large, non-repeating stone texture (no visible tiles) plus a fine grain layer */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1920' height='1080'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.005' numOctaves='5' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.13  0 0 0 0 0.13  0 0 0 0 0.14  0 0 0 0.7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%230a0a0a'/%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.3  0 0 0 0 0.3  0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: cover, 200px 200px;
  background-position: center, 0 0;
  background-repeat: no-repeat, repeat;
  color: var(--white);
  text-align: center;
  padding: 56px 0 64px;
}
.hero-home::after { display: none; }
/* Photo hero: dark architectural shingle roof (Pexels, free for commercial use) */
.hero-home {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.7) 100%),
    url("images/hero-roof.jpg") center 35% / cover no-repeat;
  color: var(--white);
}
.hero-home .hero-logo { max-width: 620px; width: 100%; margin: 0 auto 20px; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.6)); }
.hero-home .hero-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4.5vw, 2.6rem); color: var(--orange); margin: 0 0 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.hero-home .hero-tagline { font-family: var(--font-accent); font-weight: 700; font-size: clamp(1.25rem, 2.5vw, 1.5rem); color: var(--orange); margin: 0 0 14px; letter-spacing: 0.01em; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.hero-home .hero-sub { color: rgba(255,255,255,0.92); font-size: 0.95rem; margin: 0 auto 26px; max-width: 60ch; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.hero-home .btn-group { justify-content: center; }
.hero-home .hero-badge { font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--white); margin: 22px 0 0; font-size: 0.95rem; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.hero-home .hero-badge::before, .hero-home .hero-badge::after { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold); vertical-align: middle; margin: 0 12px; }
.hero-home .btn-primary { background: var(--orange); color: var(--black); }
.hero-home .btn-primary:hover { background: var(--gold); color: var(--black); }
.hero-home .btn-outline { border-color: var(--gold); color: var(--gold); }
.hero-home .btn-outline:hover { background: var(--gold); color: var(--black); }

.band-orange { background: var(--orange); color: var(--black); padding: 44px 0; }
.band-orange .narrow { max-width: 760px; }
.band-orange p { font-size: 1.08rem; line-height: 1.7; margin-bottom: 1.1em; }
.band-orange p:last-child { margin-bottom: 0; }

.services-classic { background: #f2f2f2; text-align: center; }
.services-classic h2 { font-weight: 400; font-size: 1.5rem; margin-bottom: 44px; color: #212121; }
.service-col h3 { font-style: italic; font-weight: 700; font-size: 1.45rem; margin-bottom: 18px; }
.service-col p { color: #212121; max-width: 34ch; margin-inline: auto; }
.service-col a { display: inline-block; margin-top: 6px; font-weight: 700; text-decoration: none; color: var(--orange-dark); }
.service-col a:hover { text-decoration: underline; }

.ready { background: var(--white); }
.ready .narrow { max-width: 760px; }
.ready p { font-size: 1.05rem; margin-bottom: 0.9em; }
.ready h2 { font-weight: 400; font-size: 1.35rem; margin-bottom: 1rem; }

.atlas-home { background: var(--black); color: var(--silver); }
.atlas-home h2 { color: var(--orange); }
.atlas-home h2 em { font-style: italic; }

/* Atlas photo gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.gallery figure { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 300px; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-size: 0.95rem; }
.gallery figcaption strong { display: block; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }
.atlas-disclaimer { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

/* --------------------------------------------------------------------------
   Reviews page
   -------------------------------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.review-layout > * { min-width: 0; }
@media (max-width: 900px) { .review-layout { grid-template-columns: minmax(0, 1fr); } }

.review-summary { font-family: var(--font-accent); letter-spacing: 0.04em; color: var(--orange-dark); font-size: 1.1rem; margin-top: -0.2em; }
.review-list { display: grid; gap: 18px; }
.review-empty { color: var(--muted); background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin: 0; }
.review-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; border-left: 5px solid var(--gold); }
.review-stars { color: var(--orange); font-size: 1.3rem; letter-spacing: 0.08em; margin-bottom: 8px; }
.review-body { white-space: pre-line; overflow-wrap: anywhere; }
.review-meta { margin: 0; font-size: 0.92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.review-meta strong { color: var(--text); }

.google-review { margin-bottom: 24px; }
.google-review[hidden] { display: none; }

.review-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 5px solid var(--orange); }
.review-form .lead { font-size: 1rem; }
.review-form label, .review-form legend { display: block; font-family: var(--font-accent); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; margin: 16px 0 6px; color: var(--text); }
.review-form label small { text-transform: none; letter-spacing: 0; color: var(--muted); font-family: var(--font-body); }
.review-form input[type="text"], .review-form select, .review-form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px;
  border: 1px solid #cfd1d6; border-radius: 8px; background: var(--white); color: var(--text);
}
.review-form input:focus, .review-form select:focus, .review-form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.review-form textarea { resize: vertical; }
.review-form button { margin-top: 20px; cursor: pointer; }
.review-form button:disabled { opacity: 0.6; cursor: wait; transform: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.star-input { border: 0; padding: 0; margin: 0; }
.star-input legend { padding: 0; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 2.2rem; line-height: 1; color: #d6d7db; cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0; transition: color 0.1s; }
.stars label:hover, .stars label:hover ~ label,
.stars input:checked ~ label { color: var(--orange); }
.stars input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.review-status { margin: 14px 0 0; font-size: 0.95rem; min-height: 1.4em; }
.review-status.ok { color: #1d7a3a; }
.review-status.err { color: #b42318; }
