/* =============================================================
   Quiet Rebel Child Theme — homepage.css
   Styles for front-page.php
   Navigation and footer are handled by Astra Pro.
============================================================= */

/* ─────────────────────────────────────────────
   ASTRA OVERRIDES — front page only
   Kills Astra's flex/grid on all content
   containers so our sections stack vertically
   and bleed full-width edge to edge.
───────────────────────────────────────────── */

/* 1. Force block layout on every Astra wrapper */
.home .site-content,
.home #content,
.home #primary,
.home #primary.content-area,
.home #main,
.home .site-main,
.home .ast-container,
.home .ast-article-single,
.home .entry-content,
.home .post-content,
.home .ast-separate-container,
.home .ast-plain-container {
  display:        block !important;
  flex-direction: unset !important;
  grid-template-columns: unset !important;
  max-width:      100% !important;
  width:          100% !important;
  padding:        0 !important;
  margin:         0 !important;
  float:          none !important;
}

/* 2. Force each of our sections to be full-width block elements */
.home .values-strip,
.home .hero,
.home .intro,
.home .pillars,
.home .pull-quote-section,
.home .offers,
.home .blog,
.home .email-capture,
.home .testimonials {
  display:    block !important;
  width:      100% !important;
  max-width:  100% !important;
  clear:      both !important;
  float:      none !important;
  box-sizing: border-box !important;
}

/* 3. Hide Astra's auto-generated page title/header on front page */
.home .entry-header,
.home .ast-hero-section,
.home .page-header,
.home .ast-page-title-bar {
  display: none !important;
}

/* 4. Remove any Astra sidebar even if layout setting is overridden */
.home #secondary,
.home .widget-area,
.home .ast-sidebar-wrap {
  display: none !important;
}

/* ─────────────────────────────────────────────
   BRAND VARIABLES
───────────────────────────────────────────── */
:root {
  --teal:       #13919b;
  --teal-light: #2cb1bc;
  --navy:       #0F2a43;
  --navy-deep:  #133453;
  --ice:        #E0FCFF;
  --cream:      #F9EDDD;
  --orange:     #f76502;
  --body:       #111111;
  --white:      #ffffff;
  --mid-grey:   #666666;
  --border:     rgba(19, 145, 155, 0.18);
}

/* ─────────────────────────────────────────────
   BASE RESETS (front page only)
───────────────────────────────────────────── */
.home body {
  font-family: 'Open Sans', sans-serif;
  font-size:   18px;
  line-height: 1.7;
  color:       var(--body);
}

.home h1,
.home h2,
.home h3,
.home h4,
.home h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color:       var(--navy);
}

.home h1 { font-size: clamp(32px, 5vw,   52px); }
.home h2 { font-size: clamp(26px, 4vw,   40px); }
.home h3 { font-size: clamp(22px, 3vw,   30px); }
.home h4 { font-size: clamp(19px, 2.5vw, 24px); }

.home p { margin-bottom: 1.1em; }
.home p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin:    0 auto;
  padding:   0 28px;
}

.container--narrow {
  max-width: 760px;
  margin:    0 auto;
  padding:   0 28px;
}

section { padding: 100px 0; }

@media (max-width: 768px) {
  section { padding: 68px 0; }
}

/* ─────────────────────────────────────────────
   TYPE UTILITIES
───────────────────────────────────────────── */
.eyebrow {
  display:        block;
  font-family:    'Montserrat', sans-serif;
  font-size:      11.5px;
  font-weight:    600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color:          var(--orange);
  margin-bottom:  .65rem;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display:         inline-block;
  font-family:     'Montserrat', sans-serif;
  font-size:       14px;
  font-weight:     600;
  letter-spacing:  .05em;
  padding:         14px 34px;
  border-radius:   3px;
  cursor:          pointer;
  transition:      background .2s, border-color .2s, color .2s;
  text-decoration: none;
  border:          2px solid transparent;
}

.btn--primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn--primary:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.btn--outline { background: transparent; border-color: var(--teal-light); color: var(--teal-light); }
.btn--outline:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.btn--ghost-light { background: transparent; border-color: rgba(224,252,255,.4); color: var(--ice); }
.btn--ghost-light:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

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

/* ─────────────────────────────────────────────
   TEXT LINK
───────────────────────────────────────────── */
.text-link {
  font-family:    'Montserrat', sans-serif;
  font-size:      13.5px;
  font-weight:    600;
  letter-spacing: .04em;
  color:          var(--teal);
  text-decoration: none;
  border-bottom:  1.5px solid var(--teal);
  padding-bottom: 1px;
  transition:     color .2s, border-color .2s;
}
.text-link:hover { color: var(--orange); border-color: var(--orange); }

/* ─────────────────────────────────────────────
   VALUES STRIP
───────────────────────────────────────────── */
.values-strip {
  background: var(--teal);
  padding:    17px 0;
  overflow:   hidden;
}

.values-strip-inner {
  display:         flex;
  gap:             32px;
  align-items:     center;
  justify-content: center;
  flex-wrap:       wrap;
  white-space:     nowrap;
}

.values-strip-item {
  font-family:    'Montserrat', sans-serif;
  font-size:      11px;
  font-weight:    600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color:          rgba(255,255,255,.88);
}

.values-strip-dot {
  width:         3px;
  height:        3px;
  border-radius: 50%;
  background:    rgba(255,255,255,.45);
  display:       inline-block;
  flex-shrink:   0;
}

@media (max-width: 600px) {
  .values-strip { padding: 14px 0; }
  .values-strip-inner { gap: 10px 20px; row-gap: 10px; }
  .values-strip-dot { display: none; }
  .values-strip-item { font-size: 10px; }
}

/* ─────────────────────────────────────────────
   HERO
   Note: padding-top accounts for Astra's sticky
   header. Adjust the 100px value if your header
   is taller or shorter after you configure it.
───────────────────────────────────────────── */
.hero {
  padding:   100px 0 108px;
  background: var(--navy-deep);
  position:  relative;
  overflow:  hidden;
}

.hero::before {
  content:        '';
  position:       absolute;
  inset:          0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(44,177,188,.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 5%  90%, rgba(19,145,155,.09) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content:        'Q';
  position:       absolute;
  right:          4%;
  bottom:         -12%;
  font-family:    'Cormorant Garamond', serif;
  font-weight:    400;
  font-style:     italic;
  font-size:      clamp(220px, 28vw, 420px);
  color:          rgba(44,177,188,.06);
  line-height:    1;
  pointer-events: none;
  user-select:    none;
}

.hero-inner {
  position:  relative;
  z-index:   1;
  max-width: 820px;
}

.hero h1 {
  color:         var(--white);
  margin-bottom: 26px;
  font-weight:   700;
  letter-spacing: -.01em;
}

.hero h1 .accent { color: var(--teal-light); }

.hero-lead {
  font-size:     clamp(17px, 2vw, 20px);
  color:         rgba(224,252,255,.8);
  max-width:     580px;
  margin-bottom: 44px;
  line-height:   1.65;
}

.hero-actions {
  display:   flex;
  gap:       14px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { padding: 80px 0 72px; }
}

/* ─────────────────────────────────────────────
   INTRO / ABOUT
───────────────────────────────────────────── */
.intro { background: var(--white); }

.intro-grid {
  display:               grid;
  grid-template-columns: 5fr 7fr;
  gap:                   88px;
  align-items:           center;
}

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

.intro-image {
  aspect-ratio: 1/1;
  background:   var(--ice);
  border-radius: 3px;
  overflow:     hidden;
  position:     relative;
}

.intro-image::after {
  content:  '';
  position: absolute;
  bottom: 0; left: 0;
  width:    40%;
  height:   5px;
  background: var(--teal);
}

.intro-image-placeholder {
  width:       100%;
  height:      100%;
  display:     flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size:   12px;
  color:       var(--teal);
  opacity:     .45;
  text-align:  center;
  padding:     24px;
  letter-spacing: .05em;
}

.intro-content h2 { margin-bottom: 20px; }

/* ─────────────────────────────────────────────
   THREE PILLARS
───────────────────────────────────────────── */
.pillars { background: var(--ice); }

.pillars-header {
  text-align: center;
  max-width:  580px;
  margin:     0 auto 64px;
}
.pillars-header h2 { margin-bottom: 16px; }
.pillars-header p  { color: var(--mid-grey); font-size: 17px; }

.pillars-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   28px;
}

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

.pillar-card {
  background:    var(--white);
  border-radius: 3px;
  padding:       44px 36px;
}

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size:   64px;
  font-weight: 400;
  color:       var(--teal);
  opacity:     .55;
  line-height: 1;
  margin-bottom: 4px;
}

.pillar-card h3 { font-size: 22px; margin-bottom: 14px; }
.pillar-card p  { font-size: 16px; color: var(--mid-grey); line-height: 1.7; }

/* ─────────────────────────────────────────────
   PULL QUOTE
───────────────────────────────────────────── */
.pull-quote-section {
  background: var(--cream);
  padding:    84px 0;
  text-align: center;
}

.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style:  italic;
  font-size:   clamp(26px, 3.5vw, 38px);
  color:       var(--navy);
  line-height: 1.45;
  max-width:   720px;
  margin:      0 auto;
  font-weight: 400;
}

.pull-quote-attr {
  margin-top:     20px;
  font-family:    'Montserrat', sans-serif;
  font-size:      12px;
  font-weight:    600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color:          var(--teal);
}

/* ─────────────────────────────────────────────
   OFFERS
───────────────────────────────────────────── */
.offers { background: var(--white); }

.offers-header {
  text-align: center;
  max-width:  580px;
  margin:     0 auto 60px;
}
.offers-header h2 { margin-bottom: 16px; }
.offers-header p  { color: var(--mid-grey); font-size: 17px; }

.offers-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   28px;
}

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

.offer-card {
  border:        1.5px solid var(--border);
  border-radius: 3px;
  padding:       44px 40px;
  transition:    border-color .2s, box-shadow .2s;
}
.offer-card:hover {
  border-color: var(--teal);
  box-shadow:   0 8px 36px rgba(19,145,155,.09);
}

.offer-card--dark { background: var(--navy-deep); border-color: var(--navy-deep); }
.offer-card--dark:hover { border-color: var(--teal-light); }
.offer-card--dark h3      { color: var(--white); }
.offer-card--dark > p     { color: rgba(224,252,255,.75); }
.offer-card--dark .eyebrow { color: var(--teal-light); }

.offer-tag {
  display:        inline-block;
  font-family:    'Montserrat', sans-serif;
  font-size:      10.5px;
  font-weight:    600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding:        4px 12px;
  border-radius:  2px;
  background:     var(--teal);
  color:          var(--white);
  margin-bottom:  22px;
}
.offer-tag--orange { background: var(--orange); }

.offer-card h3    { margin-bottom: 16px; font-size: 24px; }
.offer-card > p   { font-size: 16px; margin-bottom: 28px; }

.offer-features {
  list-style:    none;
  margin-bottom: 36px;
}
.offer-features li {
  font-size:    15px;
  color:        var(--mid-grey);
  padding:      7px 0 7px 22px;
  border-bottom: 1px solid var(--border);
  position:     relative;
}
.offer-card--dark .offer-features li {
  color:        rgba(224,252,255,.65);
  border-color: rgba(255,255,255,.09);
}
.offer-features li::before {
  content:  '→';
  position: absolute;
  left:     0;
  color:    var(--teal);
}
.offer-card--dark .offer-features li::before { color: var(--teal-light); }

.offers-footer { text-align: center; margin-top: 44px; }

/* ─────────────────────────────────────────────
   BLOG
───────────────────────────────────────────── */
.blog { background: var(--white); padding-top: 0; }

.blog-header {
  display:         flex;
  align-items:     flex-end;
  justify-content: space-between;
  margin-bottom:   52px;
  gap:             20px;
  border-top:      1px solid var(--border);
  padding-top:     96px;
}

@media (max-width: 620px) {
  .blog-header { flex-direction: column; align-items: flex-start; }
}

.blog-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   36px;
}

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

.blog-card { border-top: 2.5px solid var(--teal); padding-top: 26px; }

.blog-cat {
  font-family:    'Montserrat', sans-serif;
  font-size:      10.5px;
  font-weight:    600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color:          var(--orange);
  display:        block;
  margin-bottom:  11px;
}

.blog-card h4 { font-size: 20px; margin-bottom: 13px; }
.blog-card h4 a { color: var(--navy); transition: color .2s; text-decoration: none; }
.blog-card h4 a:hover { color: var(--teal); }
.blog-card p { font-size: 15.5px; color: var(--mid-grey); line-height: 1.65; }

/* ─────────────────────────────────────────────
   EMAIL CAPTURE
───────────────────────────────────────────── */
.email-capture {
  background: var(--navy);
  padding:    96px 0;
}

.email-capture-inner {
  text-align: center;
  max-width:  620px;
  margin:     0 auto;
}
.email-capture h2 { color: var(--white); margin-bottom: 16px; }
.email-capture p  { color: rgba(224,252,255,.75); margin-bottom: 40px; }

.capture-form {
  display:   flex;
  gap:       12px;
  max-width: 480px;
  margin:    0 auto;
}

@media (max-width: 560px) {
  .capture-form { flex-direction: column; }
}

.capture-form input[type="email"] {
  flex:        1;
  padding:     14px 20px;
  border-radius: 3px;
  border:      1.5px solid rgba(44,177,188,.3);
  background:  rgba(255,255,255,.05);
  color:       var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size:   16px;
  outline:     none;
  transition:  border-color .2s;
}
.capture-form input[type="email"]::placeholder { color: rgba(224,252,255,.38); }
.capture-form input[type="email"]:focus        { border-color: var(--teal-light); }

.capture-form button {
  padding:        14px 28px;
  border:         none;
  border-radius:  3px;
  background:     var(--teal);
  color:          var(--white);
  font-family:    'Montserrat', sans-serif;
  font-size:      13.5px;
  font-weight:    600;
  letter-spacing: .05em;
  cursor:         pointer;
  transition:     background .2s;
  white-space:    nowrap;
}
.capture-form button:hover { background: var(--orange); }

.capture-note {
  margin-top: 16px;
  font-size:  13px;
  color:      rgba(224,252,255,.33);
}

/* ─────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────── */
.testimonials { background: var(--ice); }

.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-header h2 { mar