/* ============================================================
   Sammy-Tech Plumbing — styles.css
   Gold-on-dark luxury aesthetic, matching the business flyer.
   ============================================================ */

:root {
  --wood-950: #140d07;
  --wood-900: #1b120a;
  --wood-850: #221709;
  --wood-800: #2a1c10;
  --wood-700: #3a2a18;
  --gold-300: #f0d98c;
  --gold-400: #e3c463;
  --gold-500: #c9a227;
  --gold-600: #a88414;
  --cream: #f7f0df;
  --cream-dim: #d8cdb4;
  --ink: #241a10;
  --ink-soft: #5b4a35;
  --paper: #fbf7ee;
  --paper-2: #f3ecdc;
  --whatsapp: #1fa855;
  --whatsapp-dark: #178a45;
  --shadow: 0 12px 32px rgba(20, 13, 7, 0.16);
  --radius: 14px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.section-dark .eyebrow { color: var(--gold-400); }

.section-sub {
  max-width: 46rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
}

.section-dark .section-sub { color: var(--cream-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex-shrink: 0; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(160deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  color: var(--wood-900);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { box-shadow: 0 12px 26px rgba(201, 162, 39, 0.5); }

.btn-outline {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 168, 85, 0.35);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--wood-950);
  color: var(--cream-dim);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(227, 196, 99, 0.15);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}

.topbar-item svg { width: 0.95rem; height: 0.95rem; fill: var(--gold-400); }

.topbar-phone { color: var(--gold-300); font-weight: 500; }

.status-dot {
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: #7c7c7c;
  display: inline-block;
}
.status-dot.open { background: #38c96f; box-shadow: 0 0 8px rgba(56, 201, 111, 0.8); }
.status-dot.closed { background: #e0a13c; box-shadow: 0 0 8px rgba(224, 161, 60, 0.7); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 18, 10, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(227, 196, 99, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold-400);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  background: radial-gradient(circle at 35% 30%, rgba(227, 196, 99, 0.22), transparent 65%);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.04em;
}
.brand-text small {
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.main-nav { display: flex; align-items: center; gap: 1.6rem; }

.main-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--gold-300); }

.nav-cta {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  color: var(--wood-900) !important;
  font-weight: 500 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--gold-300);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 18% 8%, rgba(227, 196, 99, 0.14), transparent 50%),
    radial-gradient(ellipse at 85% 90%, rgba(201, 162, 39, 0.10), transparent 45%),
    repeating-linear-gradient(93deg, transparent 0 90px, rgba(0, 0, 0, 0.16) 90px 92px),
    linear-gradient(160deg, var(--wood-850), var(--wood-950) 70%);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .eyebrow { color: var(--gold-400); }

.hero-sub {
  color: var(--cream-dim);
  max-width: 34rem;
  font-size: 1.06rem;
  margin-bottom: 1.8rem;
}

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-actions .btn-outline { color: var(--gold-300); }

.hero-badges {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  flex-wrap: wrap;
}
.hero-badges li { display: flex; flex-direction: column; }
.hero-badges strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-300);
}
.hero-badges span { font-size: 0.82rem; color: var(--cream-dim); letter-spacing: 0.05em; }

.hero-card {
  background: linear-gradient(165deg, rgba(58, 42, 24, 0.85), rgba(27, 18, 10, 0.95));
  border: 1px solid rgba(227, 196, 99, 0.35);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.monogram {
  width: 5.2rem; height: 5.2rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle at 35% 30%, rgba(227, 196, 99, 0.25), transparent 60%);
}
.monogram::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(227, 196, 99, 0.35);
}
.monogram span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-300);
}

.hero-card h2 {
  font-size: 1.6rem;
  color: var(--gold-300);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.hero-card-tag {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 1rem;
}

.hero-card-list {
  list-style: none;
  margin-bottom: 1.5rem;
  color: var(--cream);
  font-size: 0.97rem;
}
.hero-card-list li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(227, 196, 99, 0.25);
}
.hero-card-list li:last-child { border-bottom: 0; }
.hero-card-list li::before { content: "• "; color: var(--gold-400); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.section-dark {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(227, 196, 99, 0.08), transparent 50%),
    linear-gradient(165deg, var(--wood-850), var(--wood-950));
  color: var(--cream);
}
.section-dark h2 { color: var(--cream); }

.section-head { margin-bottom: clamp(2rem, 5vw, 3.2rem); max-width: 46rem; }

.grid { display: grid; gap: 1.5rem; }

/* ---------- Services ---------- */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid #eadfc8;
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(20, 13, 7, 0.2); }

.card-icon {
  width: 3.4rem; height: 3.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--wood-800), var(--wood-950));
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 1.7rem; height: 1.7rem; fill: var(--gold-400); }

.card h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }

.card-link {
  margin-top: 1.2rem;
  color: var(--gold-600);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
}
.card-link:hover { text-decoration: underline; }

.emergency-strip {
  margin-top: 2.8rem;
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--cream);
  background:
    radial-gradient(ellipse at 10% 20%, rgba(227, 196, 99, 0.16), transparent 55%),
    linear-gradient(160deg, var(--wood-800), var(--wood-950));
  border: 1px solid rgba(227, 196, 99, 0.3);
}
.emergency-strip h3 { font-size: 1.5rem; color: var(--gold-300); margin-bottom: 0.2rem; }
.emergency-strip p { color: var(--cream-dim); }

/* ---------- Why us ---------- */
.why-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }

.why-item {
  border-top: 1px solid rgba(227, 196, 99, 0.3);
  padding-top: 1.3rem;
}
.why-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-400);
  letter-spacing: 0.1em;
}
.why-item h3 { font-size: 1.3rem; margin: 0.5rem 0 0.5rem; color: var(--gold-300); }
.why-item p { color: var(--cream-dim); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.steps li {
  background: #fff;
  border: 1px solid #eadfc8;
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--wood-900);
  background: linear-gradient(160deg, var(--gold-300), var(--gold-500));
  margin-bottom: 1rem;
}

.steps h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.steps p { color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Areas ---------- */
.areas-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.areas-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.55rem 1.2rem;
  margin-top: 1.6rem;
  color: var(--cream);
}
.areas-list li::before { content: "✓ "; color: var(--gold-400); font-weight: 600; }

.areas-note { margin-top: 1.6rem; color: var(--cream-dim); font-size: 0.95rem; }
.areas-note a { color: var(--gold-300); }

.flyer-frame {
  border: 1px solid rgba(227, 196, 99, 0.4);
  border-radius: var(--radius);
  padding: 0.7rem;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  max-width: 380px;
  justify-self: center;
}
.flyer-frame img { border-radius: calc(var(--radius) - 6px); }
.flyer-frame figcaption {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 0.7rem 0 0.2rem;
}

/* ---------- Reviews ---------- */
.reviews-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.review {
  background: #fff;
  border: 1px solid #eadfc8;
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.stars { color: var(--gold-500); letter-spacing: 0.2em; margin-bottom: 0.9rem; }

.review p {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-style: italic;
  flex: 1;
}

.review footer {
  margin-top: 1.2rem;
  font-weight: 500;
  font-size: 0.92rem;
}
.review footer span { color: var(--ink-soft); font-weight: 300; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 820px; }

.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }

.faq-item {
  border: 1px solid rgba(227, 196, 99, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--cream);
  position: relative;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold-400);
  transition: transform 0.25s ease;
}
.faq-item[open] summary { color: var(--gold-300); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-item p {
  padding: 0 1.4rem 1.3rem;
  color: var(--cream-dim);
  font-size: 0.96rem;
}
.faq-item a { color: var(--gold-300); }

/* ---------- Quote / contact ---------- */
.quote-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.contact-list { list-style: none; margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }

.contact-list a, .contact-static {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ink);
}
.contact-list a:hover strong { color: var(--gold-600); }

.contact-icon {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--wood-800), var(--wood-950));
}
.contact-icon svg { width: 1.4rem; height: 1.4rem; fill: var(--gold-400); }

.contact-list strong { font-weight: 500; transition: color 0.2s ease; }
.contact-list small { color: var(--ink-soft); }

.quote-form {
  background: #fff;
  border: 1px solid #eadfc8;
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
}

.quote-form h3 {
  font-size: 1.55rem;
  margin-bottom: 1.4rem;
}

.form-row { margin-bottom: 1.1rem; }

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.form-row label span { color: #b0212e; }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #ddd0b4;
  border-radius: 10px;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row textarea { resize: vertical; }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.form-error {
  color: #b0212e;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.quote-form .btn { margin-bottom: 0.7rem; }
.quote-form .btn-outline { color: var(--ink-soft); border-color: #ccbe9e; }

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 0.4rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--wood-950);
  color: var(--cream-dim);
  padding-top: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand p { margin-top: 1rem; font-size: 0.92rem; max-width: 22rem; }

.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--gold-300);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.footer-col a, .footer-col span {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--gold-300); }

.footer-bottom {
  border-top: 1px solid rgba(227, 196, 99, 0.15);
  padding: 1.1rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 60;
  width: 3.6rem; height: 3.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--whatsapp);
  box-shadow: 0 10px 26px rgba(31, 168, 85, 0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 1.9rem; height: 1.9rem; fill: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .areas-inner, .quote-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 26rem; margin-inline: auto; }
  .flyer-frame { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar-inner { justify-content: center; }
  .topbar-item:first-child { display: none; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--wood-900);
    border-bottom: 1px solid rgba(227, 196, 99, 0.25);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a {
    padding: 0.95rem 1.4rem;
    border-top: 1px solid rgba(227, 196, 99, 0.12);
  }
  .nav-cta { border-radius: 0; text-align: center; }

  .hero-badges { gap: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
}
