/* ============================================
   Raíz con Calma — Psicología Clínica
   styles.css — Mobile-first
   ============================================ */

/* --- Custom Properties --- */
:root {
  --olive: #6F7F5F;
  --olive-dark: #5A6A4C;
  --sage: #A9B7A3;
  --sage-light: #c5d0c1;
  --beige: #EAE3DA;
  --warm-gray: #B9B2A9;
  --off-white: #F7F5F2;
  --text-dark: #3D3D3D;
  --text-body: #5C5C5C;
  --white: #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);

  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding {
  padding: 4rem 0;
}

.text-center {
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

.btn-primary:hover {
  background-color: var(--olive-dark);
  border-color: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--olive);
  border-color: var(--olive);
}

.btn-secondary:hover {
  background-color: var(--olive);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background-color: var(--white);
  color: var(--olive);
  border-color: var(--white);
}

.btn-white:hover {
  background-color: var(--off-white);
  border-color: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-dark);
  font-weight: 700;
}

/* Hide text when logo image is present */
.logo:has(.logo-img img) .logo-text {
  display: none;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--olive);
  transition: width var(--transition);
}

.nav-desktop a:hover {
  color: var(--olive);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-switch a {
  color: var(--warm-gray);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.lang-switch a.active {
  color: var(--olive);
  background-color: rgba(111, 127, 95, 0.1);
}

.lang-switch a:hover {
  color: var(--olive);
}

.lang-switch span {
  color: var(--warm-gray);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--white);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  transition: right var(--transition);
  box-shadow: var(--shadow-lg);
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.nav-mobile a:hover {
  color: var(--olive);
}

.nav-mobile .lang-switch {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--beige);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(61, 61, 61, 0.3);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Hero --- */
.hero {
  padding: 7rem 0 4rem;
  background-color: #F5F0EB;
  position: relative;
  overflow: hidden;
}

.hero-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.25;
}

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

.hero-content {
  text-align: center;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.hero-logo-img {
  width: 280px;
  max-width: 100%;
  height: auto;
}

.hero-content p {
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  color: var(--text-body);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.hero-photo {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.photo-placeholder {
  width: 260px;
  height: 320px;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

/* --- About --- */
.about {
  background-color: var(--white);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.about-photo {
  flex-shrink: 0;
}

.about-img {
  width: 260px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 0.5rem;
}

.about-text .subtitle {
  color: var(--olive);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.25rem;
}

.about-quote {
  background-color: var(--off-white);
  border-left: 3px solid var(--olive);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.badge {
  background-color: var(--sage);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* --- Approach --- */
.approach {
  background-color: var(--off-white);
}

.approach h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.approach-card {
  background-color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.approach-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background-color: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--olive);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.approach-card p {
  font-size: 0.9rem;
}

/* --- Areas --- */
.areas {
  background-color: var(--beige);
}

.areas h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.areas > .container > p {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.area-card {
  background-color: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.area-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background-color: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--olive);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.area-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.area-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Assessment --- */
.assessment {
  background-color: var(--off-white);
}

.assessment > .container > h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.assessment-subtitle {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.assessment-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem 1.5rem;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.assessment-progress {
  height: 4px;
  background-color: var(--beige);
  border-radius: 2px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.assessment-progress-bar {
  height: 100%;
  width: 16.66%;
  background-color: var(--olive);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.assessment-step {
  font-size: 0.8rem;
  color: var(--warm-gray);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.assessment-question {
  display: none;
}

.assessment-question.active {
  display: block;
  animation: fadeSlideIn 0.35s ease-out;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.assessment-question h3 {
  font-size: 1.15rem;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.assessment-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.assessment-option {
  display: block;
  width: 100%;
  padding: 0.9rem 1.25rem;
  min-height: 44px;
  background-color: var(--off-white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-body);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.assessment-option:hover {
  border-color: var(--sage);
  background-color: var(--white);
  transform: translateY(-1px);
}

.assessment-option:active,
.assessment-option.selected {
  border-color: var(--olive);
  background-color: rgba(111, 127, 95, 0.08);
  color: var(--text-dark);
  font-weight: 500;
}

/* Results */
.assessment-result {
  text-align: center;
  animation: fadeSlideIn 0.5s ease-out;
}

.result-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background-color: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.assessment-result h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.assessment-result > p {
  color: var(--text-body);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.result-recommendation {
  background-color: var(--off-white);
  border-left: 3px solid var(--olive);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 2rem;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-body);
}

.result-recommendation strong {
  color: var(--olive);
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.result-actions .btn {
  width: 100%;
  max-width: 280px;
}

#retakeBtn {
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
}

.assessment-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--warm-gray);
  max-width: 480px;
  margin: 1.5rem auto 0;
  line-height: 1.5;
}

/* --- Pricing Hero --- */
.pricing-hero {
  padding: 7rem 0 3rem;
  background-color: var(--beige);
  text-align: center;
}

.pricing-hero h1 {
  margin-bottom: 1rem;
}

.pricing-hero p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Pricing Cards --- */
.pricing {
  background-color: var(--off-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.pricing-card.featured {
  border: 2px solid var(--olive);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--olive);
  color: var(--white);
  padding: 0.3rem 1.25rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.pricing-card-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.pricing-tagline {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.pricing-card-price {
  text-align: center;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.price-period {
  display: block;
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-top: 0.25rem;
}

.pricing-savings {
  text-align: center;
  background-color: rgba(111, 127, 95, 0.08);
  color: var(--olive);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
  margin: 0 auto 1.25rem;
  align-self: center;
}

.pricing-features {
  flex: 1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.nav-active {
  color: var(--olive) !important;
}

/* --- FAQ --- */
.faq {
  background-color: var(--white);
}

.faq h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--beige);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--sage);
}

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

.faq-question:hover {
  color: var(--olive);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* --- CTA --- */
.cta {
  background-color: var(--olive);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Contact label (h3 used for semantics inside contact items) --- */
.contact-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--warm-gray);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

/* --- Contact --- */
.contact {
  background-color: var(--white);
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background-color: var(--off-white);
  border-radius: var(--radius-md);
  transition: transform var(--transition);
}

.contact-item:hover {
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background-color: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--olive);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--warm-gray);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.contact-info a,
.contact-info p {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--olive);
}

.contact-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--warm-gray);
}

/* --- Footer Contact column --- */
.footer-contact h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
  color: var(--sage);
}

/* --- Popup heading override (h2 used inside popup for semantics) --- */
.popup-heading {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

/* --- Footer --- */
.footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--sage);
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition);
}

.social-icon:hover {
  background-color: var(--olive);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--sage);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* --- Popup --- */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(61, 61, 61, 0.4);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s ease;
}

.popup-overlay.active .popup {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--warm-gray);
  padding: 0.25rem;
  border-radius: 50%;
  transition: all var(--transition);
}

.popup-close:hover {
  color: var(--text-dark);
  background-color: var(--off-white);
}

.popup-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.popup h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.popup p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.popup-note {
  color: var(--warm-gray) !important;
  font-size: 0.8rem !important;
  font-style: italic;
  margin-bottom: 1.5rem !important;
}

.popup-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ============================================
   Responsive — 768px+
   ============================================ */
@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }

  .section-padding {
    padding: 5rem 0;
  }

  .container {
    padding: 0 2rem;
  }

  /* Header */
  .hamburger { display: none; }
  .nav-mobile { display: none; }
  .nav-overlay { display: none; }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  /* Hero */
  .hero {
    padding: 8rem 0 5rem;
  }

  .hero-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
  }

  .hero-content {
    text-align: left;
    flex: 1;
  }

  .hero-content p {
    margin: 0 0 2rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .hero-photo {
    margin-top: 0;
    flex: 0 0 320px;
  }

  .hero-logo-img {
    width: 320px;
  }

  /* About */
  .about-grid {
    flex-direction: row;
    gap: 3rem;
  }

  .about-img {
    width: 300px;
  }

  /* Approach */
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Areas */
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  /* Pricing */
  .pricing-hero {
    padding: 8rem 0 3.5rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  .pricing-card {
    padding: 2.5rem 1.75rem;
  }

  /* Assessment */
  .assessment-card {
    padding: 2.5rem 2.5rem;
  }

  .result-actions {
    flex-direction: row;
    justify-content: center;
  }

  .result-actions .btn {
    width: auto;
  }

  /* Footer */
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================
   Responsive — 1024px+
   ============================================ */
@media (min-width: 1024px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.25rem; }

  .section-padding {
    padding: 6rem 0;
  }

  /* Hero */
  .hero {
    padding: 9rem 0 6rem;
  }

  .hero-content h1 {
    font-size: 3.25rem;
  }

  .hero-photo {
    flex: 0 0 400px;
  }

  .hero-logo-img {
    width: 400px;
  }

  /* Approach */
  .approach-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Areas */
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   Responsive — 1440px+
   ============================================ */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}
