/* ============================================================
   SERRANO SOCIAL CO. — styles.css
   Brand palette: RED=#C8102E  CREAM=#F0EBE0  DARK=#1A1414
                  MID=#6B5B50  LIGHT=#B8A898  DIV=#D4C4B4
   Fonts: Playfair Display (headings) · Inter (body)
============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

/* ── Custom Properties ── */
:root {
  --red:    #C8102E;
  --cream:  #F0EBE0;
  --dark:   #1A1414;
  --mid:    #6B5B50;
  --light:  #B8A898;
  --div:    #D4C4B4;
  --card:   #FAFAF7;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius:  8px;
  --radius-lg: 16px;
  --shadow:  0 2px 20px rgba(26,20,20,.08);
  --shadow-lg: 0 8px 40px rgba(26,20,20,.14);

  --max-w: 1200px;
  --section-pad: 96px 0;
  --section-pad-sm: 64px 0;
}

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 48px; } }

/* ── Section helpers ── */
.section { padding: var(--section-pad); }
.section--dark { background-color: var(--dark); }
.section--red  { background-color: var(--red); }

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  background: transparent;
  border: 1.5px solid var(--red);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-tag--light { color: var(--cream); border-color: rgba(240,235,224,.5); }
.section-tag--cream { color: var(--cream); border-color: rgba(240,235,224,.5); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title--light { color: var(--cream); }
.section-title em { font-style: italic; color: var(--red); }

.section-sub {
  font-size: 1.0625rem;
  color: var(--mid);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.section-sub--light { color: rgba(240,235,224,.75); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .14s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn--primary:hover {
  background: #a50d24;
  border-color: #a50d24;
  box-shadow: 0 4px 20px rgba(200,16,46,.3);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--outline:hover {
  background: var(--dark);
  color: var(--cream);
}

.btn--cream {
  background: var(--cream);
  color: var(--dark);
  border-color: var(--cream);
  font-weight: 700;
}
.btn--cream:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.btn--full { width: 100%; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal--delay { transition-delay: .12s; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(26,20,20,.08);
  transition: box-shadow .25s ease, padding .25s ease;
}
.nav.is-scrolled {
  box-shadow: 0 2px 16px rgba(26,20,20,.1);
  padding: 12px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
}
.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.nav__logo-psc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav__logo-text {
  font-size: .9375rem;
  color: var(--dark);
  font-family: var(--font-head);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 8px;
}
.nav__links a {
  padding: 8px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 100px;
  transition: background .15s ease;
}
.nav__links a:hover { background: rgba(26,20,20,.06); }
.nav__cta-link {
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.nav__cta-link:hover { background: #a50d24 !important; }

/* Client Portal nav link */
.nav__portal-link {
  border: 1.5px solid var(--red) !important;
  color: var(--red) !important;
  font-weight: 600 !important;
  border-radius: 6px;
}
.nav__portal-link:hover {
  background: var(--red) !important;
  color: #fff !important;
}

/* Nav logo wordmark colour — always dark */
.nav__logo { color: var(--dark); }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__links.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--cream);
  border-top: 1px solid var(--div);
  padding: 16px 24px 24px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(26,20,20,.1);
}
.nav__links.is-open a {
  padding: 12px 16px;
  font-size: 1rem;
}
.nav__links.is-open .nav__cta-link {
  margin-top: 8px;
  text-align: center;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--cream);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Decorative concentric circles */
.hero__decor {
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: none;
}
@media (min-width: 900px) { .hero__decor { display: block; } }

.hero__circle {
  position: absolute;
  border: 1.5px solid var(--div);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  top: 50%; left: 50%;
}

.hero__circle--1 { width: 240px; height: 240px; }
.hero__circle--2 { width: 380px; height: 380px; opacity: .7; }
.hero__circle--3 { width: 520px; height: 520px; opacity: .45; }
.hero__circle--4 { width: 660px; height: 660px; opacity: .25; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr auto; }
}

/* ── Hero chilli pepper illustration ── */
.hero__chilli-wrap {
  display: none;
  flex-shrink: 0;
  width: 280px;
  align-self: center;
}

@media (min-width: 900px) {
  .hero__chilli-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.hero__chilli-svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  animation: chilli-sway 6s ease-in-out infinite;
  transform-origin: 50% 95%;
  filter: drop-shadow(0 24px 48px rgba(200,16,46,.18));
}

@keyframes chilli-sway {
  0%, 100% { transform: rotate(-2deg); }
  50%       { transform: rotate(2deg); }
}

.hero__eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 24px;
}
.hero__headline em {
  font-style: italic;
  color: var(--red);
}

.hero__sub {
  font-size: 1.0625rem;
  color: var(--mid);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* ============================================================
   TICKER
============================================================ */
.ticker {
  background: var(--dark);
  overflow: hidden;
  padding: 13px 0;
  border-top: none;
}
.ticker__track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: ticker-scroll 22s linear infinite;
  will-change: transform;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream);
}
.ticker__dot { color: var(--red); }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ============================================================
   STATS
============================================================ */
.stats {
  background: var(--dark);
  padding: 64px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }

.stat__number {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 10px;
}
.stat__suffix {
  font-size: .6em;
  color: var(--red);
}
.stat__label {
  font-size: .875rem;
  color: rgba(240,235,224,.6);
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ============================================================
   PROBLEM
============================================================ */
.problem { background: var(--cream); }

.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .problem__grid { grid-template-columns: repeat(3, 1fr); } }

.problem__card {
  background: var(--card);
  border: 1px solid var(--div);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}

.problem__icon {
  width: 40px; height: 40px;
  background: rgba(200,16,46,.1);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.problem__card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.problem__card p {
  font-size: .9375rem;
  color: var(--mid);
  line-height: 1.65;
}

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--cream); }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--card);
  border: 1.5px solid var(--div);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* LEVEL 1 — cream base */
.service-card--seedling {
  background: var(--cream);
  border-color: var(--div);
}
.service-card--seedling .service-card__tag { color: var(--mid); }
.service-card--seedling .service-card__price { color: var(--dark); }
.service-card--seedling .service-card__desc { color: var(--mid); }
.service-card--seedling .service-card__list li { color: var(--dark); }
.service-card--seedling .service-card__list li::before { color: var(--red); }

/* LEVEL 2 — dark brand */
.service-card--growing {
  background: var(--dark);
  border-color: transparent;
}
.service-card--growing .service-card__tag { color: var(--div); }
.service-card--growing .service-card__price { color: var(--cream); }
.service-card--growing .service-card__price span { color: rgba(240,235,224,.5); }
.service-card--growing .service-card__desc { color: rgba(240,235,224,.65); }
.service-card--growing .service-card__list li { color: rgba(240,235,224,.85); }
.service-card--growing .service-card__list li::before { color: var(--red); }

/* LEVEL 3 — brand red (most prominent) */
.service-card--thriving {
  background: var(--red);
  border-color: transparent;
  transform: scale(1.04);
  box-shadow: 0 24px 60px rgba(200,16,46,.28);
  z-index: 2;
}
.service-card--thriving:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 36px 80px rgba(200,16,46,.38);
}
.service-card--thriving .service-card__badge {
  background: #fff;
  color: var(--red);
}
.service-card--thriving .service-card__tag { color: rgba(255,255,255,.7); }
.service-card--thriving .service-card__price { color: #fff; }
.service-card--thriving .service-card__price span { color: rgba(255,255,255,.6); }
.service-card--thriving .service-card__desc { color: rgba(255,255,255,.82); }
.service-card--thriving .service-card__list li { color: rgba(255,255,255,.92); }
.service-card--thriving .service-card__list li::before { color: rgba(255,255,255,.9); }

/* Keep .service-card--featured as alias for backwards compat */
.service-card--featured {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--cream);
}
.service-card--featured .service-card__price { color: var(--cream); }
.service-card--featured .service-card__price span { color: rgba(240,235,224,.5); }
.service-card--featured .service-card__desc { color: rgba(240,235,224,.7); }
.service-card--featured .service-card__list li { color: rgba(240,235,224,.85); }
.service-card--featured .service-card__list li::before { color: var(--red); }

.service-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.service-card__tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.service-card--featured .service-card__tag { color: var(--light); }

.service-card__price {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 12px;
}
.service-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--mid);
}

.service-card__desc {
  font-size: .9rem;
  color: var(--mid);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-card__list {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card__list li {
  font-size: .9rem;
  color: var(--mid);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.service-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: .85rem;
}

/* Add-ons */
.addons {
  border-top: 1px solid var(--div);
  padding-top: 40px;
}
.addons h3 {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.addons__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 640px) { .addons__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .addons__grid { grid-template-columns: repeat(3, 1fr); } }

.addon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--div);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .875rem;
}
.addon__name { color: var(--dark); font-weight: 500; }
.addon__price { color: var(--red); font-weight: 600; white-space: nowrap; }

.addons__note {
  font-size: .8125rem;
  color: var(--mid);
  font-style: italic;
}

/* ============================================================
   PROCESS
============================================================ */
.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 48px;
}
@media (min-width: 640px) { .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .process__grid { grid-template-columns: repeat(3, 1fr); } }

.process__step {
  border-left: 2px solid rgba(200,16,46,.4);
  padding: 4px 0 4px 24px;
}

.process__num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.process__step h3 {
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.process__step p {
  font-size: .9rem;
  color: rgba(240,235,224,.65);
  line-height: 1.65;
}

/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--cream); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 768px) {
  .about__inner { grid-template-columns: 340px 1fr; }
}

.about__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about__photo-wrap {
  width: 240px; height: 240px;
  position: relative;
}

.about__photo-placeholder {
  width: 100%; height: 100%;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 900;
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}

.about__tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.about__tag {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--mid);
  background: var(--card);
  border: 1px solid var(--div);
  padding: 5px 12px;
  border-radius: 100px;
}

.about__content p {
  font-size: .9375rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about__content p em { color: var(--dark); font-style: italic; }
.about__content .btn { margin-top: 8px; }

/* ============================================================
   FOUNDERS RATE
============================================================ */
.founders__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
@media (min-width: 640px) { .founders__grid { grid-template-columns: repeat(3, 1fr); } }

.founders__card {
  background: rgba(26,20,20,.35);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.founders__card h3 {
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.founders__card p {
  font-size: .875rem;
  color: rgba(240,235,224,.75);
  line-height: 1.65;
}

.founders__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.founders__caveat {
  font-size: .8rem;
  color: rgba(240,235,224,.55);
}

/* ============================================================
   CONTACT
============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 768px) {
  .contact__inner { grid-template-columns: 1fr 440px; }
}

.contact__sub {
  font-size: 1rem;
  color: rgba(240,235,224,.7);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact__step-num {
  width: 32px; height: 32px;
  min-width: 32px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
  font-family: var(--font-body);
}
.contact__step p {
  font-size: .9375rem;
  color: rgba(240,235,224,.75);
  line-height: 1.6;
  padding-top: 4px;
}

/* Form */
.contact-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 12px 48px rgba(0,0,0,.25);
}
.contact-form h3 {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group label span { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--div);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--dark);
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B5B50' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 80px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--light); }

.form__note {
  font-size: .8rem;
  color: var(--mid);
  text-align: center;
  margin-top: 10px;
}
.form__success {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(200,16,46,.08);
  border: 1px solid rgba(200,16,46,.25);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--dark);
  text-align: center;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 48px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
@media (min-width: 640px) {
  .footer__inner { grid-template-columns: 1fr auto auto; align-items: start; }
}

.footer__monogram {
  width: 44px; height: 44px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.footer__tagline {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--cream);
  font-weight: 700;
  margin-bottom: 4px;
}
.footer__loc {
  font-size: .8125rem;
  color: rgba(240,235,224,.45);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: .875rem;
  color: rgba(240,235,224,.6);
  transition: color .15s ease;
}
.footer__links a:hover { color: var(--cream); }

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: rgba(240,235,224,.6);
  transition: color .15s ease;
}
.footer__social a:hover { color: var(--cream); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 16px 0;
}
.footer__bottom p {
  font-size: .8rem;
  color: rgba(240,235,224,.35);
  text-align: center;
}
.footer__bottom a {
  color: rgba(240,235,224,.5);
  transition: color .15s ease;
}
.footer__bottom a:hover { color: var(--cream); }

.footer__admin {
  margin-top: 8px;
}
.footer__admin-link {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(240,235,224,0.22) !important;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}
.footer__admin-link:hover {
  color: rgba(240,235,224,0.55) !important;
}

/* ============================================================
   PORTFOLIO
============================================================ */
.portfolio { background: var(--cream); }

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
@media (min-width: 560px) { .portfolio__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .portfolio__grid { grid-template-columns: repeat(3, 1fr); } }

.portfolio__card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--div);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: default;
}
.portfolio__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio__img--1 { background: linear-gradient(135deg, var(--dark) 0%, #2d1f1f 100%); }
.portfolio__img--2 { background: linear-gradient(135deg, var(--red) 0%, #8b0c1f 100%); }
.portfolio__img--3 { background: linear-gradient(135deg, var(--mid) 0%, #3d3028 100%); }
.portfolio__img--4 { background: linear-gradient(135deg, #2d1f1f 0%, var(--red) 100%); }
.portfolio__img--5 { background: linear-gradient(135deg, #1a1414 0%, var(--mid) 100%); }
.portfolio__img--6 { background: linear-gradient(135deg, var(--light) 0%, var(--mid) 100%); }

.portfolio__img-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: .35;
}
.portfolio__img-inner span {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  border: 1px dashed rgba(255,255,255,.5);
  padding: 6px 14px;
  border-radius: 100px;
}

/* PSC watermark on each card */
.portfolio__img::after {
  content: 'PSC';
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(255,255,255,.12);
  letter-spacing: .08em;
  pointer-events: none;
}

.portfolio__platform {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(26,20,20,.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.portfolio__info {
  padding: 18px 20px 20px;
}
.portfolio__category {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.portfolio__desc {
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.55;
}

.portfolio__note {
  text-align: center;
  font-size: .9rem;
  color: var(--mid);
}
.portfolio__note a {
  color: var(--red);
  font-weight: 600;
  border-bottom: 1px solid rgba(200,16,46,.3);
  transition: border-color .15s;
}
.portfolio__note a:hover { border-color: var(--red); }

/* ============================================================
   FAQ
============================================================ */
.faq { background: var(--dark); }

.faq__list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq__item {
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.faq__item:last-child { border-bottom: none; }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: rgba(255,255,255,.03);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  text-align: left;
  transition: background .15s ease;
}
.faq__q:hover { background: rgba(255,255,255,.06); }
.faq__q:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

.faq__item.is-open .faq__q {
  background: rgba(200,16,46,.1);
  color: #fff;
}

.faq__icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(240,235,224,.25);
  position: relative;
  transition: transform .25s ease, border-color .2s ease, background .2s ease;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--cream);
  border-radius: 2px;
  top: 50%; left: 50%;
  transition: transform .25s ease, opacity .2s ease;
}
.faq__icon::before { width: 10px; height: 1.5px; transform: translate(-50%,-50%); }
.faq__icon::after  { width: 1.5px; height: 10px; transform: translate(-50%,-50%); }

.faq__item.is-open .faq__icon {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
}
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after { background: #fff; }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq__item.is-open .faq__a {
  max-height: 200px;
}

.faq__a p {
  padding: 0 28px 22px;
  font-size: .9375rem;
  color: rgba(240,235,224,.7);
  line-height: 1.75;
}

/* ============================================================
   METHOD — Social media is the new search engine
============================================================ */
.method__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .method__inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

.method__lead p {
  font-size: 1.0625rem;
  color: rgba(240,235,224,.78);
  line-height: 1.8;
  margin-bottom: 20px;
}
.method__lead p strong {
  color: var(--cream);
  font-weight: 600;
}
.method__btn { margin-top: 8px; }

.method__points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.method__point {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.method__point:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.method__point-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  min-width: 80px;
  flex-shrink: 0;
}
.method__point-num span {
  font-size: 1rem;
  font-weight: 600;
}
.method__point p {
  font-size: .9rem;
  color: rgba(240,235,224,.65);
  line-height: 1.65;
  padding-top: 6px;
}

/* Compare table */
.method__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 640px) {
  .method__compare {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .method__compare-divider { display: none; }
}

.method__compare-col {
  padding: 28px 32px;
}
.method__compare-col--old {
  background: rgba(255,255,255,.03);
}
.method__compare-col--new {
  background: rgba(200,16,46,.12);
}
.method__compare-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.method__compare-col--old .method__compare-label { color: rgba(240,235,224,.4); }
.method__compare-col--new .method__compare-label { color: var(--red); }
.method__compare-col--new .method__compare-label em { font-style: italic; text-transform: none; }

.method__compare-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.method__compare-col--old ul li {
  font-size: .9375rem;
  color: rgba(240,235,224,.4);
  padding-left: 20px;
  position: relative;
  text-decoration: line-through;
  text-decoration-color: rgba(240,235,224,.25);
}
.method__compare-col--old ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(240,235,224,.25);
  font-size: .8rem;
}
.method__compare-col--new ul li {
  font-size: .9375rem;
  color: var(--cream);
  font-weight: 500;
  padding-left: 20px;
  position: relative;
}
.method__compare-col--new ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: .85rem;
}

.method__compare-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 700;
  background: rgba(255,255,255,.02);
}

/* ============================================================
   UTILITY: hide scrollbar on ticker, smooth nav transitions
============================================================ */
/* ── Shake animation for invalid form fields ── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}
.shake { animation: shake .45s ease; }

/* ── Stat number pop ── */
@keyframes stat-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.stat--pop { animation: stat-pop .55s ease forwards; }

/* ── Process step left-border grow ── */
.process__step {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .5s ease, transform .5s ease;
}
.process__step.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Portfolio card 3D tilt ── */
.portfolio__card {
  transform-style: preserve-3d;
  perspective: 800px;
}

/* ── Hero circles slow rotation ── */
@keyframes circle-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.hero__circle--2 { animation: circle-spin 60s linear infinite; }
.hero__circle--3 { animation: circle-spin 90s linear infinite reverse; }

/* ── Button ripple effect ── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.25) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: transform .4s ease, opacity .4s ease;
}
.btn:active::after {
  transform: scale(2.5);
  opacity: 1;
  transition: none;
}

/* ── Ticker pause on hover ── */
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ── Service card thriving glow pulse ── */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 24px 60px rgba(200,16,46,.32); }
  50%       { box-shadow: 0 24px 80px rgba(200,16,46,.52); }
}
.service-card--thriving {
  animation: glow-pulse 3.5s ease-in-out infinite;
}
.service-card--thriving:hover { animation: none; }
.service-card--featured {
  animation: glow-pulse 3.5s ease-in-out infinite;
}
.service-card--featured:hover { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .process__step {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn { transition: none; }
  .nav { transition: none; }
  .hero__circle--2,
  .hero__circle--3 { animation: none; }
  .service-card--featured { animation: none; }
  .service-card--thriving { animation: none; }
  .ticker__track { animation: none; }
}

/* ============================================================
   MOBILE OPTIMISATION  (max 639px)
============================================================ */
@media (max-width: 639px) {

  /* ── Section spacing ── */
  .section { padding: 64px 0; }

  /* ── Hero ── */
  .hero {
    padding: 100px 0 60px;
    min-height: 100svh;
  }
  .hero__eyebrow { margin-bottom: 12px; }
  .hero__headline {
    font-size: clamp(2.2rem, 9vw, 3rem);
    margin-bottom: 18px;
  }
  .hero__sub {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Stats ── */
  .stats { padding: 48px 0; }
  .stats__grid { gap: 32px; }

  /* ── Services ── */
  /* Remove the outward scale on mobile — it causes horizontal overflow */
  .service-card--thriving {
    transform: none;
    animation: none;
    box-shadow: 0 12px 40px rgba(200,16,46,.28);
  }
  .service-card--thriving:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(200,16,46,.38);
  }
  .service-card--featured {
    animation: none;
  }
  .service-card { padding: 28px 22px 24px; }

  /* ── Addons ── */
  .addons { padding-top: 28px; }

  /* ── Process ── */
  .process__grid { gap: 24px; }

  /* ── About ── */
  .about__photo-wrap { width: 200px; height: 200px; }
  .about__photo-placeholder { font-size: 4rem; }

  /* ── Founders ── */
  .founders__card { padding: 22px 20px; }
  .founders__cta { gap: 10px; }

  /* ── Contact form ── */
  .contact-form { padding: 28px 20px; }
  .contact__inner { gap: 40px; }

  /* ── FAQ ── */
  .faq__q { padding: 18px 20px; font-size: .9375rem; }
  .faq__a p { padding: 0 20px 18px; }

  /* ── Method compare table ── */
  .method__compare-col { padding: 22px 20px; }
  .method__inner { gap: 36px; }

  /* ── Footer ── */
  .footer { padding: 40px 0 0; }
  .footer__inner { gap: 24px; padding-bottom: 32px; }

  /* ── Section sub keeps max-width readable ── */
  .section-sub { margin-bottom: 36px; }

  /* ── Prevent any element causing horizontal scroll ── */
  .hero__decor { display: none !important; }
}

/* ============================================================
   SMALL-MEDIUM TABLETS  (640px – 767px)
============================================================ */
@media (min-width: 640px) and (max-width: 767px) {

  .section { padding: 80px 0; }

  .hero { padding: 110px 0 72px; }
  .hero__headline { font-size: clamp(2.5rem, 7vw, 3.5rem); }

  /* Services still single-col at this width — prevent scale overflow */
  .service-card--thriving {
    transform: none;
    animation: none;
    box-shadow: 0 12px 40px rgba(200,16,46,.28);
  }
  .service-card--thriving:hover {
    transform: translateY(-4px);
  }

  /* Contact form comfortable on tablet */
  .contact-form { padding: 32px 28px; }
}
