/*
Theme Name: Optivise Solutions
Theme URI: https://optivisesolutions.com.au
Author: Optivise Solutions
Author URI: https://optivisesolutions.com.au
Description: Business consulting theme for Optivise Solutions – trade and automotive industry specialists.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: optivise
Tags: business, consulting, responsive, custom-menu, custom-logo
*/

/* =========================================================
   CSS CUSTOM PROPERTIES – BRAND COLOURS & TOKENS
   ========================================================= */
:root {
  --navy:          #193855;
  --turquoise:     #6CBCAF;
  --turquoise-lt:  #8FD4C8;
  --peach:         #FDCF8F;
  --charcoal:      #4A4A4A;
  --moon-grey:     #F8F8F8;
  --white:         #FFFFFF;

  --font-base:     'Oak Sans', system-ui, -apple-system, sans-serif;

  --radius-card:   12px;
  --shadow-card:   0 4px 20px rgba(25, 56, 85, 0.10);
  --shadow-hover:  0 8px 32px rgba(25, 56, 85, 0.18);
  --transition:    0.25s ease;
  --max-width:     1200px;
  --section-pad:   80px 24px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--turquoise);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--turquoise-lt);
}

ul {
  list-style: none;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }   /* 40–60px */
h2 { font-size: clamp(1.875rem, 3vw, 2.25rem); }  /* 30–36px */
h3 { font-size: 1.5rem; }                          /* 24px */
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem); /* 16–18px */
  line-height: 1.75;
  color: var(--charcoal);
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--charcoal);
  line-height: 1.7;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 0.75rem;
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad);
}

.section--navy {
  background: var(--navy);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy p,
.section--navy .section-eyebrow,
.section--navy li {
  color: var(--white);
}

.section--navy .section-eyebrow {
  color: var(--turquoise-lt);
}

.section--grey {
  background: var(--moon-grey);
}

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-navy   { color: var(--navy) !important; }
.text-peach  { color: var(--peach) !important; }
.text-turquoise { color: var(--turquoise) !important; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

/* Primary – Peach CTA */
.btn-primary {
  background: var(--peach);
  color: var(--navy);
  border-color: var(--peach);
}

.btn-primary:hover {
  background: #fbbf60;
  border-color: #fbbf60;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 207, 143, 0.45);
}

/* Outline on dark */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

/* Outline on light */
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* Turquoise secondary */
.btn-secondary {
  background: var(--turquoise);
  color: var(--white);
  border-color: var(--turquoise);
}

.btn-secondary:hover {
  background: var(--turquoise-lt);
  border-color: var(--turquoise-lt);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* =========================================================
   SITE HEADER
   ========================================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(25, 56, 85, 0.08);
  transition: box-shadow var(--transition), background var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 2px 16px rgba(25, 56, 85, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

/* Logo */
.site-logo img {
  height: 48px;
  width: auto;
}

.site-logo .logo-text {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.site-logo .logo-text span {
  color: var(--turquoise);
}

/* Primary nav */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--charcoal);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--navy);
  background: var(--moon-grey);
}

.primary-nav .menu-cta a {
  background: var(--peach);
  color: var(--navy);
  padding: 0.5rem 1.25rem;
}

.primary-nav .menu-cta a:hover {
  background: #fbbf60;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
@media (max-width: 1024px) {
  .hamburger { display: flex; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(25, 56, 85, 0.1);
    padding: 1rem 24px 1.5rem;
    box-shadow: 0 8px 24px rgba(25, 56, 85, 0.1);
  }

  .primary-nav.open { display: block; }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .primary-nav li { width: 100%; }

  .primary-nav a {
    padding: 0.75rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(25, 56, 85, 0.06);
  }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  background: var(--navy);
  padding: 140px 24px 100px;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1,
.hero h2,
.hero p {
  color: var(--white);
}

.hero .section-eyebrow {
  color: var(--turquoise-lt);
}

/* Blob decorative shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at 30% 40%, rgba(108, 188, 175, 0.20) 0%, transparent 70%);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  z-index: 1;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108, 188, 175, 0.12) 0%, transparent 70%);
  border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
  z-index: 1;
  animation: blobFloat 10s ease-in-out infinite reverse;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%       { transform: translate(20px, -20px) rotate(5deg); }
  66%       { transform: translate(-10px, 10px) rotate(-3deg); }
}

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

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-content .btn-group {
  margin-top: 2rem;
}

/* =========================================================
   WAVE DIVIDERS
   ========================================================= */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card ul {
  margin-top: 1rem;
}

.card ul li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--charcoal);
  font-size: 0.9375rem;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--turquoise);
  font-weight: 700;
}

/* Service cards */
.service-card {
  border-top: 4px solid var(--turquoise);
}

.service-card .card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--turquoise);
  background: rgba(108, 188, 175, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.service-card .card-cta {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9375rem;
}

.service-card .card-cta:hover {
  color: var(--turquoise);
}

/* Feature cards */
.feature-card {
  text-align: center;
  background: var(--moon-grey);
  box-shadow: none;
}

.feature-card .card-icon {
  margin: 0 auto 1.25rem;
}

/* =========================================================
   STATS / COUNTER BANNER
   ========================================================= */
.stats-banner {
  background: var(--navy);
  padding: 48px 24px;
  text-align: center;
}

.stats-banner .stats-label {
  font-size: 1.125rem;
  color: var(--turquoise-lt);
  font-weight: 700;
  margin-bottom: 0;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item .stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--peach);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item .stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--turquoise);
  opacity: 0.25;
  font-family: Georgia, serif;
}

.testimonial-card .quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-top: 1.5rem;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(25, 56, 85, 0.08);
}

.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--turquoise), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card .author-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9375rem;
  display: block;
}

.testimonial-card .author-title {
  color: var(--turquoise);
  font-size: 0.8125rem;
}

/* Featured testimonial */
.testimonial-featured {
  background: var(--navy);
  padding: 3rem;
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
}

.testimonial-featured::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 8rem;
  line-height: 1;
  color: rgba(108, 188, 175, 0.2);
  font-family: Georgia, serif;
}

.testimonial-featured .quote {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  line-height: 1.7;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-featured .author-name {
  color: var(--peach);
}

.testimonial-featured .author-title {
  color: var(--turquoise-lt);
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius-card);
  border: 1px solid rgba(25, 56, 85, 0.1);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--moon-grey);
}

.faq-question.open {
  background: var(--moon-grey);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--turquoise);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: transform var(--transition);
}

.faq-question.open .faq-icon {
  background: var(--navy);
}

.faq-question.open .faq-icon svg {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--charcoal);
  line-height: 1.75;
}

.faq-answer.open {
  display: block;
}

/* =========================================================
   HOW IT WORKS – NUMBERED STEPS
   ========================================================= */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 760px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

/* =========================================================
   INVESTMENT / PRICING
   ========================================================= */
.pricing-box {
  background: var(--moon-grey);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  border: 2px solid rgba(108, 188, 175, 0.3);
}

.pricing-box .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.pricing-box .price-note {
  font-size: 0.9375rem;
  color: var(--turquoise);
  font-weight: 600;
  margin-top: 0.25rem;
}

.pricing-box ul {
  margin-top: 1.5rem;
}

.pricing-box ul li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  border-bottom: 1px solid rgba(25, 56, 85, 0.07);
}

.pricing-box ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--turquoise);
  font-weight: 700;
}

/* =========================================================
   BADGE / TAG
   ========================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.badge-warning {
  background: rgba(253, 207, 143, 0.25);
  color: #b37a00;
  border: 1px solid rgba(253, 207, 143, 0.5);
}

.badge-navy {
  background: rgba(25, 56, 85, 0.1);
  color: var(--navy);
}

/* =========================================================
   FORM STYLES
   ========================================================= */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 2px solid rgba(25, 56, 85, 0.15);
  border-radius: 10px;
  font-family: var(--font-base);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(108, 188, 175, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-message {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.form-message.success {
  background: rgba(108, 188, 175, 0.15);
  color: #1a6a5e;
  border: 1px solid rgba(108, 188, 175, 0.4);
}

.form-message.error {
  background: rgba(220, 53, 69, 0.1);
  color: #c0392b;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Newsletter form inline */
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
}

/* =========================================================
   BLOG / RESOURCES
   ========================================================= */
.post-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.post-card-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy), var(--turquoise));
}

.post-card-body {
  padding: 1.5rem;
}

.post-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 0.5rem;
}

.post-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.post-card h3 a {
  color: var(--navy);
}

.post-card h3 a:hover {
  color: var(--turquoise);
}

.post-card .post-meta {
  font-size: 0.8125rem;
  color: rgba(74, 74, 74, 0.65);
  margin-top: 0.75rem;
}

/* Category filter tabs */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.cat-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--moon-grey);
  color: var(--charcoal);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.cat-tab:hover,
.cat-tab.active {
  background: var(--navy);
  color: var(--white);
}

/* =========================================================
   RECOMMENDED TOOLS
   ========================================================= */
.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.tool-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--moon-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* =========================================================
   ACUITY / EMBED
   ========================================================= */
.acuity-embed-wrap {
  width: 100%;
  min-height: 700px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(25, 56, 85, 0.1);
}

.acuity-embed-wrap iframe {
  width: 100%;
  min-height: 700px;
  border: none;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-details p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .founder-section {
    grid-template-columns: 1fr;
  }
}

.founder-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--turquoise));
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.founder-photo img {
  border-radius: var(--radius-card);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--moon-grey);
  border-radius: 10px;
}

.value-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--turquoise), var(--turquoise-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

/* =========================================================
   PRIVACY / CONTENT PAGE
   ========================================================= */
.content-page {
  max-width: 820px;
  margin: 0 auto;
}

.content-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.content-page h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-page p,
.content-page li {
  margin-bottom: 1rem;
}

.content-page ul,
.content-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-page ul li {
  list-style: disc;
}

.content-page ol li {
  list-style: decimal;
}

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 24px 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .footer-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand .footer-logo-text span {
  color: var(--turquoise);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--turquoise-lt);
}

.footer-newsletter label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
}

.footer-newsletter input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-base);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--turquoise);
}

.footer-newsletter button {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  background: var(--peach);
  color: var(--navy);
  font-family: var(--font-base);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

.footer-newsletter button:hover {
  background: #fbbf60;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--turquoise);
  color: var(--white);
}

/* =========================================================
   404 PAGE
   ========================================================= */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 24px;
}

.error-404 .error-number {
  font-size: 8rem;
  font-weight: 800;
  color: var(--turquoise);
  line-height: 1;
  opacity: 0.3;
}

/* =========================================================
   SCROLL ANIMATION
   ========================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   UTILITIES
   ========================================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.divider {
  border: none;
  border-top: 1px solid rgba(25, 56, 85, 0.08);
  margin: 2rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.main-content {
  padding-top: 72px; /* header height offset */
}

/* =========================================================
   RESPONSIVE HELPERS
   ========================================================= */
@media (max-width: 768px) {
  :root {
    --section-pad: 56px 20px;
  }

  .hero {
    padding: 120px 20px 72px;
  }

  .btn {
    padding: 0.75rem 1.5rem;
  }

  .steps-list {
    gap: 1.5rem;
  }

  .testimonial-featured {
    padding: 2rem 1.5rem;
  }

  .pricing-box {
    padding: 2rem 1.5rem;
  }

  .stats-grid {
    gap: 2rem;
  }

  .founder-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.125rem; }
  h2 { font-size: 1.625rem; }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  #site-header,
  #site-footer,
  .btn,
  .hamburger {
    display: none !important;
  }

  .main-content {
    padding-top: 0;
  }
}
