/* ═══════════════════════════════════════════════════════════════════
   ROTONDA PIZZA — HOMEPAGE STYLES
   Page-specific: hero, proof, how, testimonials, faq, magnet
   ═══════════════════════════════════════════════════════════════════ */

/* ─── HERO ──────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
#hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: 60%; height: 120%;
  background: radial-gradient(ellipse at 70% 40%,
    rgba(228, 31, 38, 0.18) 0%,
    rgba(228, 31, 38, 0.06) 40%,
    transparent 70%);
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 100px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 24px;
}
.hero-tag span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.hero-headline {
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-headline em { font-style: normal; color: var(--red); }
.hero-sub {
  font-size: 17px;
  line-height: 28px;
  color: var(--silver);
  max-width: 440px;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-link {
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s;
}
.hero-link:hover { color: var(--white); }
.hero-link::after { content: '→'; }

/* Hero right: pillars card */
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 48px 40px;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 36px;
}
.pillars { display: flex; flex-direction: column; gap: 28px; }
.pillar  { display: flex; gap: 20px; align-items: flex-start; }
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: rgba(228,31,38,0.12);
  border: 1px solid rgba(228,31,38,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.pillar-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.pillar-desc { font-size: 13px; line-height: 20px; color: var(--silver); }
.pillar-desc strong { color: var(--white); font-weight: 400; }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-hint .bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollbar 1.6s ease infinite;
}
@keyframes scrollbar {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ─── SOCIAL PROOF STRIP ────────────────────────────────────────── */
#proof {
  background: var(--white);
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding: 0;
}
.proof-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-item {
  padding: 36px 32px;
  text-align: center;
  border-right: 1px solid #e8e8e8;
  position: relative;
}
.proof-item:last-child { border-right: none; }
.proof-number {
  display: block;
  font-size: 48px;
  font-weight: var(--h-weight);
  line-height: 1;
  color: var(--black);
  margin-bottom: 6px;
}
.proof-number sup { font-size: 22px; vertical-align: super; color: var(--red); }
.proof-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
}
.proof-item.accent .proof-number { color: var(--red); }

/* ─── HOW IT WORKS ──────────────────────────────────────────────── */
#how {
  background: var(--black);
  padding: 120px 0;
}
.how-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 72px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 48px 36px 44px;
  position: relative;
  transition: background 0.2s;
}
.step:hover { background: rgba(255,255,255,0.06); }
.step-number {
  font-size: 80px;
  font-weight: var(--h-weight);
  line-height: 1;
  color: rgba(255,255,255,0.05);
  position: absolute;
  top: 28px; right: 32px;
  user-select: none;
}
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 2px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 28px;
}
.step-title {
  font-size: 22px;
  font-weight: var(--h-weight);
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.step-body { font-size: 15px; line-height: 25px; color: var(--silver); }
.step-body strong { color: var(--white); font-weight: 400; }

/* ─── TESTIMONIALS ──────────────────────────────────────────────── */
#testimonials {
  background: #f7f7f7;
  padding: 100px 0;
}
.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-header .section-eyebrow { justify-content: center; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tcard {
  background: var(--white);
  border: 1px solid #ebebeb;
  border-radius: 4px;
  padding: 36px 32px;
}
.tcard-stars { color: var(--red); font-size: 16px; margin-bottom: 18px; letter-spacing: 2px; }
.tcard-quote { font-size: 16px; line-height: 26px; color: var(--black); margin-bottom: 24px; }
.tcard-author { display: flex; align-items: center; gap: 14px; }
.tcard-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.tcard-name { font-size: 14px; font-weight: 800; color: var(--black); line-height: 1.2; }
.tcard-role { font-size: 13px; color: #888; }

/* ─── FAQ ───────────────────────────────────────────────────────── */
#faq {
  background: var(--white);
  padding: 112px 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.faq-sticky { position: sticky; top: 100px; }
.faq-intro { font-size: 16px; line-height: 28px; color: #555; margin-top: 16px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid #e8e8e8; }
.faq-item:first-child { border-top: 1px solid #e8e8e8; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  color: var(--black);
  transition: color 0.15s;
}
.faq-question:hover { color: var(--red); }
.faq-question.open  { color: var(--red); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--silver);
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s, transform 0.2s;
  line-height: 1;
}
.faq-question.open .faq-icon {
  border-color: var(--red);
  color: var(--red);
  transform: rotate(45deg);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-answer.open { max-height: 400px; }
.faq-answer p { padding: 0 0 24px; font-size: 15px; line-height: 26px; color: #555; }
.faq-answer p strong { color: var(--black); font-weight: 500; }

/* ─── LEAD MAGNET ───────────────────────────────────────────────── */
#magnet {
  background: var(--red);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
#magnet::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
#magnet::after {
  content: '';
  position: absolute;
  bottom: -40%; right: 5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,0,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.magnet-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.magnet-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.magnet-eyebrow span {
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.5);
  display: inline-block;
}
.magnet-headline {
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}
.magnet-sub { font-size: 16px; line-height: 26px; color: rgba(255,255,255,0.82); }
.magnet-what { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.magnet-item {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}
.magnet-item::before {
  content: '✓';
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0;
}

/* Form */
.form-block {
  background: var(--white);
  border-radius: 4px;
  padding: 44px 40px;
}
.form-title { font-size: 20px; font-weight: var(--h-weight); color: var(--black); margin-bottom: 8px; }
.form-note  { font-size: 14px; color: #888; margin-bottom: 28px; line-height: 22px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #555; margin-bottom: 8px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-weight: var(--b-weight);
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fafafa;
  color: var(--black);
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--red); }
.form-submit { width: 100%; margin-top: 8px; font-size: 14px; padding: 16px; letter-spacing: 0.1em; }
.form-trust { text-align: center; font-size: 12px; color: #aaa; margin-top: 14px; line-height: 18px; }

/* ─── RESPONSIVE: 768px ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 80px; }
  .hero-card  { display: none; }
  .proof-inner { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(3) { border-top: 1px solid #e8e8e8; }
  #how { padding: 80px 0; }
  .how-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .steps { grid-template-columns: 1fr; }
  #testimonials { padding: 80px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  #faq { padding: 80px 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-sticky { position: static; }
  #magnet { padding: 80px 0; }
  .magnet-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-block { padding: 32px 24px; }
}

/* ─── RESPONSIVE: 640px ─────────────────────────────────────────── */
@media (max-width: 640px) {
  #how          { padding: 64px 0; }
  #testimonials { padding: 64px 0; }
  #faq          { padding: 64px 0; }
  #magnet       { padding: 64px 0; }
  .step         { padding: 36px 24px 32px; }
  .hero-headline    { font-size: clamp(36px, 9vw, 60px); }
  .section-headline { font-size: clamp(28px, 7vw, 48px); }
}

/* ─── RESPONSIVE: 480px ─────────────────────────────────────────── */
@media (max-width: 480px) {
  #how          { padding: 52px 0; }
  #testimonials { padding: 52px 0; }
  #faq          { padding: 52px 0; }
  #magnet       { padding: 52px 0; }
  .hero-inner   { padding: 48px 0 64px; }
  .hero-tag     { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-link    { min-height: 44px; display: flex; align-items: center; }
  .proof-inner             { grid-template-columns: 1fr; }
  .proof-item              { border-right: none; border-bottom: 1px solid #e8e8e8; }
  .proof-item:last-child   { border-bottom: none; }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(3) { border-top: none; }
  .form-block { padding: 24px 16px; }
}
