/* ============================================================
   SEAVIEW ACCOUNTING — HOMEPAGE STYLES
   ------------------------------------------------------------
   Layout for the homepage sections only. The shared design
   system (colours, buttons, nav, footer, titles) lives in
   css/theme.css, which must be linked BEFORE this file.
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px 60px 120px;
  position: relative; overflow: hidden;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 60px;
}

.hero-content { max-width: 560px; }

/* Dark gradient background with subtle green glow */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 55% 65% at 65% 35%, rgba(101,255,145,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 35% 45% at 15% 85%, rgba(255,107,43,0.05) 0%, transparent 60%),
    linear-gradient(160deg, #03152c 0%, #082140 55%, #0a1e38 100%);
}

/* Optional hero background photo — kept very faint so text stays readable.
   Swap the image by editing --hero-img in the HTML or this rule. */
.hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
  background: var(--hero-img, none) center/cover no-repeat;
  opacity: 0.07;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.6s 0.2s ease forwards;
}

.hero h1 {
  font-size: clamp(44px, 5.5vw, 74px);
  font-weight: 800; line-height: 1.05; margin-bottom: 24px;
  color: var(--white);
  opacity: 0; animation: fadeUp 0.7s 0.35s ease forwards;
}
.hero h1 .accent { color: var(--green); }

.hero-sub {
  font-size: 17px; line-height: 1.75;
  color: rgba(255,255,255,0.62);
  max-width: 440px; margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.7s 0.5s ease forwards;
}

.hero-buttons {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s 0.65s ease forwards;
}

.hero-social-proof {
  margin-top: 52px; display: flex; align-items: center; gap: 16px;
  opacity: 0; animation: fadeUp 0.7s 0.8s ease forwards;
}
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--navy-deep);
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--green);
  margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.social-proof-text { font-size: 13px; color: rgba(255,255,255,0.5); }
.social-proof-text strong { color: var(--white); }

/* Floating stat card — top-right of hero */
.hero-stat-card {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 32px 36px;
  min-width: 240px; max-width: 260px;
  opacity: 0; animation: fadeLeft 0.8s 0.9s ease forwards;
  align-self: center;
}
.stat-badge {
  background: rgba(101,255,145,0.15); color: var(--green);
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px;
  display: inline-block; margin-bottom: 20px;
}
.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 46px; font-weight: 800; color: var(--green); line-height: 1;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 8px; line-height: 1.5; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   SECTION FLOW SYSTEM
   ------------------------------------------------------------
   ONE consistent rhythm for every section below the hero:
     • identical vertical padding everywhere
     • alternating sections share the SAME subtle panel tint, so
       definition comes from a gentle, repeating beat — not from
       clashing colour bands or one-off diagonal cuts.
   This is what keeps the whole page reading as a single surface.
   ============================================================ */
.services, .video-section, .thomas-section, .savings-section,
.accreditations, .testimonials, .stop-section, .final-cta {
  position: relative;
  padding: 112px 60px;
  background: transparent;          /* default: the page gradient shows through */
}

/* The panel tint — identical everywhere it is used (every other section) */
.services, .thomas-section, .accreditations, .stop-section {
  background: rgba(255,255,255,0.025);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* A single intentional emphasis: the bold "STOP" moment gets a touch
   more breathing room (consistent colour, just more space). */
.stop-section { padding-top: 132px; padding-bottom: 132px; }

/* ============================================================
   SERVICES CAROUSEL — shows 4 cards at a time
   ============================================================ */
.services-inner { max-width: var(--maxw); margin: 0 auto; }
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; flex-wrap: wrap; gap: 20px;
}
.services-header-text .section-title { margin-bottom: 8px; }
.services-nav { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }

.services-track-outer { overflow: hidden; border-radius: 12px; }
.services-track {
  display: flex; gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card {
  flex: 0 0 calc(25% - 15px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.service-card:hover {
  border-color: rgba(101,255,145,0.3);
  background: rgba(101,255,145,0.04);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(101,255,145,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

/* Line icons (replace the old emoji) — one consistent style everywhere */
.service-icon svg,
.stop-card-icon svg,
.accred-badge .badge-icon svg {
  fill: none; stroke: var(--green);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.service-icon svg { width: 26px; height: 26px; }
.stop-card-icon svg { width: 24px; height: 24px; }
.accred-badge .badge-icon { display: inline-flex; align-items: center; }
.accred-badge .badge-icon svg { width: 18px; height: 18px; }
.service-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.service-card p  { font-size: 14px; color: rgba(255,255,255,0.52); line-height: 1.65; }

.services-dots { display: flex; gap: 8px; margin-top: 28px; justify-content: center; }
.services-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); cursor: pointer; border: none; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.services-dot.active { background: var(--green); transform: scale(1.3); }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-inner { max-width: 900px; margin: 0 auto; }
.video-section .section-header { margin-bottom: 40px; }
.video-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 16/9; background: var(--navy);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.video-wrap iframe, .video-wrap video { width: 100%; height: 100%; border: 0; }
.video-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; background: linear-gradient(135deg, var(--navy-mid), var(--navy));
}
.play-btn {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--orange); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  color: white; font-size: 28px; padding-left: 5px;
}
.play-btn:hover { transform: scale(1.1); box-shadow: 0 0 50px rgba(255,107,43,0.5); }
.video-caption {
  font-size: 14px; color: rgba(255,255,255,0.4);
  font-family: 'Sora', sans-serif; letter-spacing: 0.05em;
}

/* ============================================================
   MEET THE FOUNDER
   ============================================================ */
.thomas-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.thomas-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 20px; display: block;
}
.thomas-quote {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.2;
  margin-bottom: 24px; color: var(--white);
}
.thomas-quote .green { color: var(--green); }
.thomas-body {
  font-size: 16px; color: rgba(255,255,255,0.58); line-height: 1.8;
  margin-bottom: 26px;
}
.thomas-body p + p { margin-top: 16px; }
.thomas-points { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.thomas-points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.55;
}
.thomas-points li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.thomas-sig { display: flex; align-items: center; gap: 16px; }
.sig-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-light), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; color: var(--navy-deep);
}
.sig-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sig-name  { font-weight: 600; font-size: 15px; }
.sig-role  { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 3px; }
.thomas-image {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/3;
  background: var(--navy-light); position: relative;
}
.thomas-image img { width: 100%; height: 100%; object-fit: cover; }
.overlay-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(3,21,44,0.92); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(101,255,145,0.2);
  border-radius: 12px; padding: 16px 22px;
}
.overlay-badge .big   { font-size: 30px; font-weight: 800; color: var(--green); font-family: 'Sora', sans-serif; }
.overlay-badge .small { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 3px; }

/* ============================================================
   SAVINGS CALCULATOR
   ============================================================ */
.savings-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start;
}
.savings-left .section-title  { margin-bottom: 12px; }
.savings-left .section-subtitle { margin-bottom: 44px; }
.slider-group { margin-bottom: 36px; }
.slider-label {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px;
}
.slider-label .lbl { font-size: 14px; color: rgba(255,255,255,0.55); }
.slider-label .val { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; color: var(--white); }
.slider-label .val .unit { color: var(--green); }

input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  background: rgba(255,255,255,0.12); border-radius: 2px; outline: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--navy-deep);
  cursor: pointer; transition: transform 0.15s;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.25); }
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--navy-deep); cursor: pointer;
}
.savings-right {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 40px;
  position: sticky; top: 90px;
}
.savings-right h3    { font-size: 18px; margin-bottom: 8px; }
.savings-right .sub  { font-size: 14px; color: rgba(255,255,255,0.45); margin-bottom: 32px; line-height: 1.5; }
.savings-result { background: var(--navy); border-radius: 14px; padding: 28px 24px; margin-bottom: 20px; }
.result-label {
  font-size: 11px; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
}
.result-big { font-family: 'Sora', sans-serif; font-size: 44px; font-weight: 800; color: var(--green); line-height: 1; }
.result-sub { font-size: 13px; color: rgba(255,255,255,0.35); margin-top: 6px; }
.savings-bullets { list-style: none; margin-bottom: 32px; }
.savings-bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,0.62);
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06); line-height: 1.5;
}
.savings-bullets li:last-child { border-bottom: none; }
.savings-bullets li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   PROFESSIONAL EXCELLENCE / ACCREDITATIONS
   ============================================================ */
.accred-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.accred-left .section-title    { margin-bottom: 16px; }
.accred-left .section-subtitle { margin-bottom: 36px; }
.accred-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.accred-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 12px 18px;
  font-size: 14px; font-weight: 500;
  transition: border-color 0.2s;
}
.accred-badge:hover { border-color: rgba(101,255,145,0.3); }
.accred-badge .badge-icon { font-size: 18px; }
.accred-photo {
  border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: var(--navy-light);
}
.accred-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   TESTIMONIALS CAROUSEL — shows 3 cards at a time
   ============================================================ */
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; flex-wrap: wrap; gap: 20px;
}
.testimonials-nav { display: flex; gap: 12px; flex-shrink: 0; }
.testimonials-track-outer { overflow: hidden; border-radius: 12px; }
.testimonials-track {
  display: flex; gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 28px;
  transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: rgba(101,255,145,0.2); }
.stars { color: var(--orange); font-size: 13px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 14px; color: rgba(255,255,255,0.68); line-height: 1.75;
  margin-bottom: 24px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-mid), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--navy-deep);
}
.author-name { font-size: 14px; font-weight: 600; }
.author-role { font-size: 12px; color: rgba(255,255,255,0.42); margin-top: 2px; }
.testimonials-dots { display: flex; gap: 8px; margin-top: 28px; justify-content: center; }
.testimonials-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.2); cursor: pointer; border: none; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.testimonials-dot.active { background: var(--green); transform: scale(1.3); }

/* ============================================================
   "SOUND FAMILIAR?" / STOP SECTION
   ============================================================ */
.stop-section { text-align: center; }
.stop-title {
  font-size: clamp(42px, 6vw, 80px); font-weight: 900; line-height: 1.0;
  margin-bottom: 20px; letter-spacing: -0.01em; color: var(--white);
}
.stop-title .orange { color: var(--orange); }
.stop-sub { font-size: 17px; color: rgba(255,255,255,0.52); max-width: 540px; margin: 0 auto 60px; line-height: 1.7; }
.stop-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1100px; margin: 0 auto 56px; text-align: left;
}
.stop-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color 0.3s;
}
.stop-card:hover { border-color: rgba(101,255,145,0.2); }
.stop-card-icon {
  font-size: 28px; width: 52px; height: 52px;
  background: rgba(101,255,145,0.08); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stop-card h4 { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--white); }
.stop-contrast { display: flex; flex-direction: column; gap: 0; flex: 1; }
.stop-row { padding: 16px 0; }
.stop-row:first-child { padding-top: 0; }
.stop-divider {
  height: 1px; margin: 4px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.stop-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-bottom: 8px;
}
.them-badge { background: rgba(255,107,107,0.12); color: rgba(255,130,130,0.8); border: 1px solid rgba(255,107,107,0.2); }
.us-badge   { background: rgba(101,255,145,0.1); color: var(--green); border: 1px solid rgba(101,255,145,0.2); }
.them-text { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.65; }
.us-text   { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.65; }
.stop-cta { font-size: 16px; color: rgba(255,255,255,0.55); margin-bottom: 28px; line-height: 1.6; }
.stop-cta strong { color: var(--white); display: block; margin-bottom: 6px; font-size: 18px; }

/* ============================================================
   FINAL CTA BANNER
   ============================================================ */
.final-cta { text-align: center; }
.final-cta .section-label    { display: block; text-align: center; margin-bottom: 12px; }
.final-cta .section-title    { margin-bottom: 16px; }
.final-cta .section-subtitle { margin: 0 auto 40px; }
.final-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE — homepage sections
   ============================================================ */
@media (max-width: 1000px) {
  .hero { padding: 120px 32px 80px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stat-card { display: none; }
}
@media (max-width: 900px) {
  .thomas-inner, .accred-inner, .savings-inner { grid-template-columns: 1fr; gap: 40px; }
  .stop-cards { grid-template-columns: 1fr; max-width: 100%; }

  /* Tighter, still-consistent vertical rhythm on small screens */
  .services, .video-section, .thomas-section, .savings-section,
  .accreditations, .testimonials, .stop-section, .final-cta {
    padding: 80px 24px;
  }

  /* On mobile show ~1 card with a peek of the next */
  .service-card     { flex: 0 0 80vw; }
  .testimonial-card { flex: 0 0 80vw; }

  .savings-right { position: static; }
}
