/*
Theme Name: SOP by Prakash
Theme URI: https://sop-writer.in/
Author: Prakash
Author URI: https://sop-writer.in/
Description: Custom WordPress theme for SOP by Prakash homepage rebuild.
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: sop-by-prakash
*/

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --paper: #F6F4EE;
  --ink: #1B2A22;
  --forest: #2E5440;
  --brass: #B8862B;
  --marginalia: #B23E2A;
  --mist: #DCE3DA;
  
  --font-display: 'Newsreader', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for sticky nav */
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY SCALE --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--forest);
}

h1 {
  font-size: 64px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 40px;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 20px;
}

/* Monospace structure accents / eyebrows */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  opacity: 0.8;
}

/* --- LAYOUT UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section--border-bottom {
  border-bottom: 1px solid var(--mist);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.grid-2--reversed {
  grid-template-columns: 0.8fr 1.2fr;
}

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

@media (max-width: 992px) {
  .grid-2, .grid-2--reversed, .grid-3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Reading Column & Margin Rail Layout */
.manuscript-layout {
  display: grid;
  grid-template-columns: 1fr 1px 260px;
  gap: 50px;
  margin-top: 40px;
}

.manuscript-layout__content {
  max-width: 720px;
}

.manuscript-layout__divider {
  background-color: var(--mist);
  width: 1px;
  height: 100%;
}

.manuscript-layout__rail {
  padding-top: 10px;
}

@media (max-width: 992px) {
  .manuscript-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .manuscript-layout__divider {
    display: none;
  }
  .manuscript-layout__rail {
    padding-top: 0;
    border-top: 1px solid var(--mist);
    padding-top: 20px;
  }
}

/* --- BUTTONS & INTERACTIVES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--forest {
  background-color: var(--forest);
  color: var(--paper);
  border: 1px solid var(--forest);
}

.btn--forest:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 4px 12px rgba(27, 42, 34, 0.15);
}

.btn--outline {
  background-color: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}

.btn--outline:hover {
  background-color: var(--forest);
  color: var(--paper);
}

.btn--brass-outline {
  background-color: transparent;
  color: var(--paper);
  border: 1px solid var(--brass);
}

.btn--brass-outline:hover {
  background-color: var(--brass);
  color: var(--ink);
}

/* Text link with arrow */
.text-link {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--brass);
}

/* --- STICKY NAV HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--paper);
  border-bottom: 1px solid var(--mist);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--forest);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--paper);
    flex-direction: column;
    padding: 30px 40px;
    border-bottom: 1px solid var(--mist);
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-hamburger {
    display: block;
  }
  
  .nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --- SIGNATURE COMPONENT: TRACK-CHANGES --- */
.edit-mark {
  margin: 24px 0;
  padding: 16px 20px;
  background-color: rgba(220, 227, 218, 0.25); /* Muted background */
  border-left: 2px solid var(--mist);
}

.edit-mark__before {
  font-family: var(--font-body);
  text-decoration: line-through;
  color: var(--ink);
  opacity: 0.5;
  margin-bottom: 8px;
}

.edit-mark__note {
  font-family: var(--font-mono);
  color: var(--marginalia);
  font-size: 14px;
  line-height: 1.4;
  padding-left: 20px;
  position: relative;
  text-transform: none;
  letter-spacing: 0;
}

.edit-mark__arrow {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--marginalia);
  font-weight: bold;
}

/* Large annotation block inside Section 2 */
.annotation-block {
  margin-top: 40px;
  border: 1px solid var(--mist);
  padding: 30px;
  background-color: var(--paper);
}

.annotation-block__title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 24px;
}

/* --- PAPER-STACK CARDS --- */
.paper-card {
  background-color: var(--paper);
  border: 1px solid var(--mist);
  padding: 30px;
  position: relative;
  border-radius: 2px;
  box-shadow: 2px 2px 8px rgba(27, 42, 34, 0.03), 1px 1px 3px rgba(27, 42, 34, 0.01);
  transition: box-shadow 0.3s ease;
}

.paper-card:hover {
  box-shadow: 4px 4px 16px rgba(27, 42, 34, 0.07), 2px 2px 6px rgba(27, 42, 34, 0.03);
}

/* Card Stack Rotations (Disabled for straight layout) */
.rotate-left-1 { transform: none; }
.rotate-right-1 { transform: none; }
.rotate-left-2 { transform: none; }
.rotate-right-2 { transform: none; }

@media (max-width: 768px) {
  /* Disable rotation on mobile to prevent overflow */
  .rotate-left-1, .rotate-right-1, .rotate-left-2, .rotate-right-2 {
    transform: rotate(0deg) !important;
  }
}

/* --- STYLED PHOTO FRAME --- */
.photo-frame {
  background-color: var(--paper);
  border: 1px solid var(--mist);
  padding: 12px;
  box-shadow: 3px 3px 12px rgba(27, 42, 34, 0.05);
  position: relative;
  display: inline-block;
  width: 100%;
}

.photo-frame__img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
  border: 1px solid var(--mist) !important;
  object-fit: contain !important; /* Forces full view without zooming or cropping */
}

.photo-frame__img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background-color: #E2DFD3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--mist);
}

.photo-frame__img-placeholder svg {
  margin-bottom: 12px;
  color: var(--forest);
}

.photo-frame__img-placeholder p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--forest);
  margin-bottom: 0;
}

/* Polaroid tape detail */
.photo-frame::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 30px;
  width: 80px;
  height: 24px;
  background-color: rgba(226, 223, 211, 0.6);
  border-left: 1px dashed rgba(27,42,34,0.1);
  border-right: 1px dashed rgba(27,42,34,0.1);
  transform: rotate(-5deg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

/* --- DARK BACKGROUND SECTIONS --- */
.section--dark {
  background-color: var(--ink);
  color: var(--paper);
}

.section--dark h2, .section--dark h3 {
  color: var(--paper);
}

.section--dark .eyebrow {
  color: var(--brass);
}

.section--dark .edit-mark {
  background-color: rgba(246, 244, 238, 0.05);
  border-left-color: rgba(246, 244, 238, 0.2);
}

.section--dark .edit-mark__before {
  color: var(--paper);
  opacity: 0.5;
}

.section--dark .manuscript-layout__divider {
  background-color: rgba(246, 244, 238, 0.15);
}

/* --- SECTION 1: HERO SPECIFICS --- */
.hero-form-card {
  padding: 30px;
  background-color: var(--paper);
  border: 1px solid var(--mist);
  box-shadow: 4px 4px 16px rgba(27, 42, 34, 0.06);
  border-radius: 4px;
}

/* Contact Form 7 styling enhancements inside Hero form card */
.hero-form-card .wpcf7 {
  width: 100%;
}

.hero-form-card .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-form-card .wpcf7-form p {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.hero-form-card .wpcf7-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--ink);
  opacity: 0.85;
}

.hero-form-card .wpcf7-form-control-wrap {
  width: 100%;
}

.hero-form-card .wpcf7-text,
.hero-form-card .wpcf7-select,
.hero-form-card .wpcf7-textarea {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid var(--mist) !important;
  background-color: var(--paper) !important;
  color: var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  border-radius: 2px !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.hero-form-card .wpcf7-text:focus,
.hero-form-card .wpcf7-select:focus,
.hero-form-card .wpcf7-textarea:focus {
  border-color: var(--forest) !important;
  box-shadow: 0 0 0 3px rgba(46, 84, 64, 0.08) !important;
}

.hero-form-card select.wpcf7-select {
  appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%232E5440' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position-x: calc(100% - 12px) !important;
  background-position-y: 50% !important;
  padding-right: 40px !important;
}

.hero-form-card .wpcf7-submit {
  background-color: var(--forest) !important;
  color: var(--paper) !important;
  border: 1px solid var(--forest) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 28px !important;
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em;
  border-radius: 2px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  width: 100% !important;
  margin-top: 10px !important;
}

.hero-form-card .wpcf7-submit:hover {
  background-color: var(--ink) !important;
  border-color: var(--ink) !important;
  box-shadow: 0 4px 12px rgba(27, 42, 34, 0.15) !important;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  padding: 15px 0;
  margin-top: 40px;
}

.trust-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 10px 15px;
  position: relative;
}

.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--mist);
}

.trust-number {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--brass);
  line-height: 1.2;
}

.trust-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
}

@media (max-width: 768px) {
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 28px;
  }
  .trust-item::after {
    display: none;
  }
  .trust-item {
    border-bottom: 1px solid var(--mist);
  }
  .trust-item:last-child {
    border-bottom: none;
  }
}

/* --- SECTION 2: PROBLEM RECOGNITION SPECIFICS --- */
.pain-point {
  padding: 24px 0;
  border-bottom: 1px solid var(--mist);
}

.pain-point:first-child {
  padding-top: 0;
}

.pain-point p {
  margin-bottom: 0;
}

.pain-point strong {
  color: var(--forest);
  font-weight: 700;
}

/* --- SECTION 3: CORE SERVICES SPECIFICS --- */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 16px;
  margin-bottom: 0;
}

/* --- SECTION 4: MEET PRAKASH SPECIFICS --- */
.pull-quote {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--brass);
  border-left: 3px solid var(--brass);
  padding-left: 24px;
  margin: 30px 0;
}

.pull-quote cite {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-style: normal;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.8;
  margin-top: 8px;
}

.credentials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.credentials-list li {
  display: flex;
  align-items: center;
}

.credentials-list li:not(:last-child)::after {
  content: '·';
  margin-left: 20px;
  color: var(--brass);
  font-weight: bold;
}

/* --- SECTION 5: HOW WE WORK (PROCESS) SPECIFICS --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.process-step-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}

.process-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.process-step-number {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--brass);
}

.process-step-card h3 {
  font-size: 19px;
  margin-bottom: 0;
}

.process-step-card p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 0;
  color: var(--ink);
  opacity: 0.9;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- SECTION 6: REAL OUTCOMES SPECIFICS --- */
.outcome-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 20px 0;
}

.outcome-card {
  background-color: var(--paper);
  border: 1px solid var(--mist);
  padding: 30px;
  border-radius: 2px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.02);
  z-index: 1;
  transition: transform 0.3s ease, z-index 0.3s ease;
}

.outcome-card:hover {
  z-index: 5;
  transform: translateY(-5px);
}

.outcome-card h3 {
  font-size: 20px;
  border-bottom: 1px solid var(--mist);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.outcome-meta {
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 12px;
}

.outcome-meta strong {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 992px) {
  .outcome-cards-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --- SECTION 7: COMPARISON TABLE SPECIFICS --- */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--mist);
}

.comparison-table th {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--forest);
  font-weight: 700;
  background-color: rgba(220, 227, 218, 0.15);
}

.comparison-table td:first-child {
  font-weight: 700;
  color: var(--forest);
  width: 25%;
}

.comparison-table td:nth-child(2) {
  color: var(--ink);
  opacity: 0.85;
  width: 37.5%;
}

/* Prakash emphasis - left border, no checkmarks */
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
  border-left: 3px solid var(--forest);
  background-color: rgba(46, 84, 64, 0.02);
  font-weight: 500;
  width: 37.5%;
}

.comparison-table tr:last-child td {
  border-bottom: 2px solid var(--mist);
}

/* --- SECTION 8: PRICING SPECIFICS --- */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--mist);
  padding: 40px 30px;
  box-shadow: none;
}

.pricing-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--forest);
  margin-bottom: 10px;
}

.pricing-card__price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--brass);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--mist);
}

.pricing-card__description {
  font-size: 16px;
  flex-grow: 1;
  margin-bottom: 30px;
}

.pricing-footer-note {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  opacity: 0.8;
}

/* --- SECTION 9 & 11: TAG CLOUDS --- */
.tag-group {
  margin-bottom: 40px;
}

.tag-group:last-child {
  margin-bottom: 0;
}

.tag-group-title {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.tag-group-desc {
  font-size: 16px;
  max-width: 800px;
  margin-bottom: 20px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--forest);
  background-color: transparent;
  border: 1px solid var(--mist);
  padding: 8px 16px;
  border-radius: 30px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tag-pill:hover {
  background-color: var(--mist);
  border-color: var(--forest);
}

/* --- SECTION 11: UNIVERSITY LOGO STRIP SPECIFICS --- */
.logostrip-container {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  position: relative;
  background-color: var(--paper);
}

.logostrip-track {
  display: flex;
  width: max-content;
  animation: scroll-logos 35s linear infinite;
}

.logostrip-track:hover {
  animation-play-state: paused;
}

.logo-item {
  flex-shrink: 0;
  padding: 0 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  height: 44px;
  width: auto;
  filter: grayscale(100%) opacity(45%);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-item img:hover {
  filter: grayscale(0%) opacity(100%);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- SECTION 12: ACCORDION FAQ SPECIFICS --- */
.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--mist);
  padding: 20px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--mist);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--forest);
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--brass);
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--brass);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-content {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-answer {
  padding: 15px 0 10px;
  font-size: 16.5px;
  opacity: 0.9;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* --- SECTION 13: REVIEWS & VIDEO SPECIFICS --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.review-card p {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 16px;
}

.review-author {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brass);
}

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

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.video-frame {
  background-color: var(--paper);
  border: 1px solid var(--mist);
  padding: 16px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.03);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- SECTION 14: FREE GUIDES SPECIFICS --- */
.guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guide-card__img-container {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--mist);
  margin-bottom: 20px;
}

.guide-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guide-card:hover .guide-card__img {
  transform: scale(1.03);
}

.guide-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.guide-card p {
  font-size: 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* --- SECTION 15: CONTACT SPECIFICS --- */
.contact-info h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--brass);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  margin-top: 24px;
}

.contact-info h3:first-of-type {
  margin-top: 0;
}

.contact-link {
  color: var(--forest);
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-form {
  background-color: var(--paper);
  border: 1px solid var(--mist);
  padding: 40px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.02);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--mist);
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--forest);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%232E5440' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: calc(100% - 12px);
  background-position-y: 50%;
  padding-right: 40px;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --- SECTION 16: FOOTER --- */
.site-footer {
  padding: 80px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.footer-desc {
  max-width: 400px;
  font-size: 15px;
  opacity: 0.8;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--paper);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
  color: var(--brass);
}

.footer-social-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(246, 244, 238, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* --- WHATSAPP FLOATING CTA --- */
.whatsapp-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(27, 42, 34, 0.15);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.whatsapp-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.whatsapp-cta:hover {
  background-color: var(--ink);
  transform: scale(1.05);
}

.whatsapp-cta svg {
  width: 26px;
  height: 26px;
  fill: var(--paper);
}

/* --- MOTION & ANIMATION UTILITIES --- */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-in-section,
  .logostrip-track,
  .guide-card__img,
  .faq-content,
  .faq-icon {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .faq-content {
    max-height: unset !important;
  }
}
