/*
Theme Name: Chris Neill 2.0
Theme URI: https://counsellingtherapymadrid.com
Author: Custom Build
Author URI: https://counsellingtherapymadrid.com
Description: A warm, professional therapy website theme for English-speaking counsellors in Madrid. Features a long-scroll homepage, service cards, pricing, contact form, WhatsApp integration, and lead magnet popup.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: graeme-therapy
Tags: therapy, counselling, health, wellness, one-page, scroll
*/

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

:root {
  --sage:    #7A9E7E;
  --sage-lt: #B8CEBC;
  --sage-bg: #EEF4EF;
  --cream:   #F8F5F0;
  --warm:    #E8E0D5;
  --stone:   #C4B8A8;
  --ink:     #2C2C2C;
  --ink-mid: #5A5A5A;
  --ink-lt:  #8A8A8A;
  --rust:    #B5654A;
  --white:   #FFFFFF;
  --ff-head: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'DM Sans', sans-serif;
  --max:     1200px;
  --trans:   0.35s cubic-bezier(.4,0,.2,1);
}

/* ── Block editor palette utility classes ─────────────────────────── */
.has-sage-color            { color: var(--sage) !important; }
.has-sage-lt-color         { color: var(--sage-lt) !important; }
.has-sage-bg-color         { color: var(--sage-bg) !important; }
.has-cream-color           { color: var(--cream) !important; }
.has-warm-color            { color: var(--warm) !important; }
.has-stone-color           { color: var(--stone) !important; }
.has-ink-color             { color: var(--ink) !important; }
.has-ink-mid-color         { color: var(--ink-mid) !important; }
.has-ink-lt-color          { color: var(--ink-lt) !important; }
.has-rust-color            { color: var(--rust) !important; }
.has-white-color           { color: var(--white) !important; }

.has-sage-background-color    { background-color: var(--sage) !important; }
.has-sage-lt-background-color { background-color: var(--sage-lt) !important; }
.has-sage-bg-background-color { background-color: var(--sage-bg) !important; }
.has-cream-background-color   { background-color: var(--cream) !important; }
.has-warm-background-color    { background-color: var(--warm) !important; }
.has-stone-background-color   { background-color: var(--stone) !important; }
.has-ink-background-color     { background-color: var(--ink) !important; }
.has-ink-mid-background-color { background-color: var(--ink-mid) !important; }
.has-ink-lt-background-color  { background-color: var(--ink-lt) !important; }
.has-rust-background-color    { background-color: var(--rust) !important; }
.has-white-background-color   { background-color: var(--white) !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage-lt); border-radius: 3px; }

/* ─── UTILITY ───────────────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 48px; }

.tag {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}

/* ─── NAV ───────────────────────────────────────────────────────────────── */
#site-navigation {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248,245,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--warm);
  transition: box-shadow var(--trans);
}
#site-navigation.scrolled { box-shadow: 0 2px 32px rgba(44,44,44,0.07); }

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

.site-logo {
  font-family: var(--ff-head);
  font-size: 22px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  letter-spacing: 0.01em; line-height: 1.2;
}
.site-logo span {
  display: block; font-size: 11px;
  font-family: var(--ff-body); font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-lt); margin-top: 1px;
}

/* WordPress menu */
#primary-menu {
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
#primary-menu li a {
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.04em; color: var(--ink-mid);
  text-decoration: none;
  transition: color var(--trans);
}
#primary-menu li a:hover { color: var(--sage); }
#primary-menu li.menu-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px;
  background: var(--sage); color: var(--white) !important;
  border-radius: 40px; font-size: 13px !important;
  font-weight: 500 !important; letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
#primary-menu li.menu-cta a:hover {
  background: #5f8563 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(122,158,126,0.35);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all var(--trans);
}

/* ─── HERO ──────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}

.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 64px 100px 48px;
  max-width: 800px;
}

.hero-text p{
	color: rgb(90,90,90);
  font-size: 15px !important;
}


.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--sage);
}
.hero-eyebrow span {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage);
}

.hero-h1 {
  font-family: var(--ff-head);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 300; line-height: 1.1; color: var(--ink); margin-bottom: 28px;
}
.hero-h1 em { font-style: italic; color: var(--sage); }

.hero-sub {
  font-size: 16px; font-weight: 300; color: var(--ink-mid);
  max-width: 420px; line-height: 1.8; margin-bottom: 48px;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 34px; background: var(--ink); color: var(--white);
  border-radius: 40px; font-size: 14px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.02em;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn-primary:hover {
  background: var(--sage); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(44,44,44,0.18); color: var(--white);
}

.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; background: transparent;
  border: 1.5px solid var(--stone); color: var(--ink);
  border-radius: 40px; font-size: 14px; font-weight: 400;
  text-decoration: none; transition: all var(--trans);
}
.btn-wa:hover { border-color: #25D366; color: #25D366; background: rgba(37,211,102,0.06); }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.hero-trust {
  margin-top: 52px; padding-top: 32px;
  border-top: 1px solid var(--warm);
  display: flex; gap: 40px;
}
.trust-item { display: flex; flex-direction: column; }
.trust-num {
  font-family: var(--ff-head); font-size: 32px; font-weight: 300;
  color: var(--sage); line-height: 1;
}
.trust-label { font-size: 12px; font-weight: 400; color: var(--ink-lt); letter-spacing: 0.06em; margin-top: 4px; }

.hero-image { position: relative; overflow: hidden; background: var(--sage-bg); }

.hero-image-inner {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-image-inner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(122,158,126,0.12) 0%, transparent 60%);
}

.hero-badge {
  position: absolute; bottom: 40px; left: 40px;
  background: rgba(248,245,240,0.95);
  backdrop-filter: blur(8px); border-radius: 16px;
  padding: 20px 24px; max-width: 240px;
  box-shadow: 0 8px 32px rgba(44,44,44,0.12);
}
.hero-badge-text {
  font-family: var(--ff-head); font-size: 17px; font-weight: 400;
  font-style: italic; color: var(--ink); line-height: 1.4; margin-bottom: 10px;
}
.hero-badge-sub {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sage);
}

/* ─── ABOUT ─────────────────────────────────────────────────────────────── */
#about { background: var(--white); padding: 120px 0; }

.about-grid {
  display: grid; grid-template-columns: 420px 1fr;
  gap: 80px; align-items: center;
}

.about-img-wrap { position: relative; }
.about-img-placeholder {
  width: 100%; aspect-ratio: 3/4; border-radius: 8px;
  background: linear-gradient(160deg, var(--sage-bg) 0%, var(--warm) 100%);
  overflow: hidden; position: relative;
}
.about-img-placeholder img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 8px;
}
.about-img-wrap img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 8px;
}

.about-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px; background: var(--sage-bg);
  border-radius: 50%; z-index: -1;
}
.about-accent2 {
  position: absolute; top: -16px; left: -16px;
  width: 80px; height: 80px; border: 1.5px solid var(--sage-lt);
  border-radius: 50%; z-index: -1;
}

.about-content h2 {
  font-family: var(--ff-head); font-size: clamp(36px,4vw,54px);
  font-weight: 300; line-height: 1.15; margin-bottom: 28px; color: var(--ink);
}
.about-content h2 em { font-style: italic; color: var(--sage); }
.about-content p { font-size: 15px; font-weight: 300; color: var(--ink-mid); line-height: 1.9; margin-bottom: 20px; }

.pullquote {
  border-left: 3px solid var(--sage); padding: 20px 28px;
  margin: 32px 0; background: rgba(122,158,126,0.06); border-radius: 0 8px 8px 0;
}
.pullquote p {
  font-family: var(--ff-head); font-size: 20px; font-style: italic;
  color: var(--ink); line-height: 1.5; margin: 0 !important;
}

.about-quals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.qual-chip {
  padding: 7px 16px; background: var(--sage-bg); border-radius: 20px;
  font-size: 12px; font-weight: 400; color: var(--sage); letter-spacing: 0.04em;
}

/* ─── LOCATION ──────────────────────────────────────────────────────────── */
#location { padding: 100px 0; background: var(--cream); }

.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.location-content h2 {
  font-family: var(--ff-head); font-size: clamp(34px,3.5vw,50px);
  font-weight: 300; line-height: 1.2; margin-bottom: 24px;
}
.location-content h2 em { font-style: italic; color: var(--sage); }
.location-content p { font-size: 15px; color: var(--ink-mid); line-height: 1.9; margin-bottom: 20px; }

.location-details { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.loc-item { display: flex; align-items: flex-start; gap: 14px; }
.loc-icon {
  width: 36px; height: 36px; min-width: 36px; background: var(--sage-bg);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.loc-icon svg { width: 16px; height: 16px; stroke: var(--sage); fill: none; }
.loc-text { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }
.loc-text strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; }

.map-container {
  width: 100%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; position: relative;
}
.map-container iframe { width: 100%; height: 100%; border: none; display: block; }

/* ─── SERVICES BANNER ───────────────────────────────────────────────────── */
.services-banner {
  background: var(--sage); padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.services-banner::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,0.06);
}
.services-banner::after {
  content: ''; position: absolute; bottom: -80px; left: -40px;
  width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.04);
}
.services-banner h2 {
  font-family: var(--ff-head); font-size: clamp(36px,4.5vw,60px);
  font-weight: 300; color: var(--white); font-style: italic; position: relative; z-index: 1;
}

/* ─── SERVICE CARDS ─────────────────────────────────────────────────────── */
#services { background: var(--white); padding: 80px 0 100px; }

.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}

.service-card {
  border-radius: 12px; overflow: hidden; text-decoration: none;
  display: block; position: relative;
  transition: transform var(--trans), box-shadow var(--trans);
  cursor: pointer;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(44,44,44,0.12); }
.service-card.therapy { background: var(--cream); border: 1.5px solid var(--warm); }
.service-card.price   { background: var(--sage-bg); border: 1.5px solid var(--sage-lt); }

.card-img-wrap { width: 100%; height: 200px; overflow: hidden; background: var(--warm); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.service-card:hover .card-img-wrap img { transform: scale(1.04); }

.card-body { padding: 28px 24px; }
.card-label { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.card-title { font-family: var(--ff-head); font-size: 24px; font-weight: 400; color: var(--ink); line-height: 1.25; margin-bottom: 12px; }
.card-desc  { font-size: 13px; color: var(--ink-mid); line-height: 1.8; margin-bottom: 20px; }
.card-price { font-family: var(--ff-head); font-size: 36px; font-weight: 300; color: var(--sage); line-height: 1; margin-bottom: 6px; }
.card-price-sub { font-size: 12px; color: var(--ink-lt); margin-bottom: 20px; }
.card-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--sage);
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: gap var(--trans); text-decoration: none;
}
.service-card:hover .card-arrow { gap: 10px; }


/*  ─── ICONS FOR CONTACT IN FOOTER ──────────────────────────────────────────────────── */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px; /* nudges icon into optical alignment with text */
  opacity: 0.7;
}

.footer-contact-list li span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

/* ─── CONTENT SECTIONS ──────────────────────────────────────────────────── */
.content-section         { padding: 100px 0; background: var(--cream); }
.content-section.alt     { background: var(--white); }
.content-section.sage-tint { background: var(--sage-bg); }

.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.section-grid.reverse { direction: rtl; }
.section-grid.reverse > * { direction: ltr; }

.section-img {
  width: 100%; aspect-ratio: 4/3; border-radius: 12px;
  object-fit: cover; display: block; background: var(--warm);
}
.section-img-wrap { width: 100%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--warm); }
.section-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.section-text h2 {
  font-family: var(--ff-head); font-size: clamp(32px,3.5vw,48px);
  font-weight: 300; line-height: 1.2; margin-bottom: 24px; color: var(--ink);
}
.section-text h2 em { font-style: italic; color: var(--sage); }
.section-text p { font-size: 15px; color: var(--ink-mid); line-height: 1.9; margin-bottom: 18px; }
.section-text strong { color: var(--ink); font-weight: 500; }

.read-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--sage);
  text-decoration: none; margin-top: 12px; transition: gap var(--trans);
}
.read-more:hover { gap: 14px; }

/* ─── PRICES ─────────────────────────────────────────────────────────────── */
#prices { padding: 100px 0; background: var(--cream); }

.prices-header { text-align: center; margin-bottom: 56px; }
.prices-header h2 {
  font-family: var(--ff-head); font-size: clamp(36px,4vw,56px);
  font-weight: 300; color: var(--ink);
}
.prices-header h2 em { font-style: italic; color: var(--sage); }
.prices-header p { font-size: 15px; color: var(--ink-mid); margin-top: 16px; max-width: 480px; margin-left: auto; margin-right: auto; }

.prices-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; max-width: 760px; margin: 0 auto; }

.price-card {
  background: var(--white); border-radius: 16px; padding: 44px 40px;
  border: 1.5px solid var(--warm); text-align: center;
  transition: transform var(--trans), box-shadow var(--trans);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(44,44,44,0.1); }
.price-card.featured { background: var(--sage); border-color: var(--sage); }

.price-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--sage-bg);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.price-card.featured .price-icon { background: rgba(255,255,255,0.2); }
.price-icon svg { width: 22px; height: 22px; stroke: var(--sage); fill: none; }
.price-card.featured .price-icon svg { stroke: var(--white); }

.price-type { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-lt); margin-bottom: 12px; }
.price-card.featured .price-type { color: rgba(255,255,255,0.7); }

.price-amount { font-family: var(--ff-head); font-size: 58px; font-weight: 300; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.price-card.featured .price-amount { color: var(--white); }

.price-unit { font-size: 13px; color: var(--ink-lt); margin-bottom: 24px; }
.price-card.featured .price-unit { color: rgba(255,255,255,0.6); }

.price-features { list-style: none; text-align: left; margin-bottom: 32px; padding: 0; }
.price-features li {
  font-size: 13px; color: var(--ink-mid); padding: 8px 0;
  border-bottom: 1px solid var(--warm); display: flex; align-items: center; gap: 10px;
}
.price-card.featured .price-features li { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.15); }
.price-features li::before { content: ''; width: 6px; height: 6px; min-width: 6px; border-radius: 50%; background: var(--sage); }
.price-card.featured .price-features li::before { background: rgba(255,255,255,0.7); }

.btn-book {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px; background: var(--ink); color: var(--white);
  border-radius: 40px; font-size: 13px; font-weight: 500; text-decoration: none;
  letter-spacing: 0.04em; transition: all var(--trans);
}
.btn-book:hover { background: var(--sage); transform: translateY(-1px); color: var(--white); }
.price-card.featured .btn-book { background: var(--white); color: var(--sage); }
.price-card.featured .btn-book:hover { background: var(--cream); }

.prices-note { text-align: center; font-size: 13px; color: var(--ink-lt); margin-top: 32px; }

/* ─── CONTACT ─────────────────────────────────────────────────────────────── */
#contact { background: var(--white); padding: 100px 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.contact-info h2 {
  font-family: var(--ff-head); font-size: clamp(34px,3.5vw,50px);
  font-weight: 300; line-height: 1.2; margin-bottom: 20px;
}
.contact-info h2 em { font-style: italic; color: var(--sage); }
.contact-info > p { font-size: 15px; color: var(--ink-mid); line-height: 1.9; margin-bottom: 36px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none; color: var(--ink); transition: color var(--trans);
}
.contact-item:hover { color: var(--sage); }
.contact-item-icon {
  width: 44px; height: 44px; min-width: 44px; background: var(--sage-bg);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.contact-item:hover .contact-item-icon { background: var(--sage); }
.contact-item-icon svg { width: 18px; height: 18px; stroke: var(--sage); fill: none; transition: stroke var(--trans); }
.contact-item:hover .contact-item-icon svg { stroke: var(--white); }
.contact-item-text { font-size: 14px; line-height: 1.5; }
.contact-item-text strong { display: block; font-weight: 500; margin-bottom: 2px; }
.contact-item-text span { color: var(--ink-mid); font-size: 13px; }

/* ─── CONTACT FORM ───────────────────────────────────────────────────────── */
.contact-form .form-group { margin-bottom: 20px; }
.contact-form .form-label {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-lt); margin-bottom: 8px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 14px 18px; background: var(--cream);
  border: 1.5px solid var(--warm); border-radius: 8px;
  font-family: var(--ff-body); font-size: 14px; color: var(--ink);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none; appearance: none; -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sage); box-shadow: 0 0 0 3px rgba(122,158,126,0.12);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form .form-gdpr { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.contact-form .form-gdpr input[type="checkbox"] { margin-top: 3px; accent-color: var(--sage); }
.contact-form .form-gdpr label { font-size: 12px; color: var(--ink-lt); line-height: 1.6; }

.contact-form .btn-submit {
  width: 100%; padding: 16px; background: var(--sage); color: var(--white);
  border: none; border-radius: 40px; font-family: var(--ff-body);
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em; cursor: pointer;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.contact-form .btn-submit:hover {
  background: #5f8563; transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(122,158,126,0.3);
}

/* WP Contact Form 7 compatibility */
.wpcf7-form .wpcf7-response-output { margin-top: 16px; font-size: 13px; padding: 12px 16px; border-radius: 8px; }
.wpcf7-form .wpcf7-not-valid-tip { font-size: 11px; color: #c0392b; margin-top: 4px; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
#site-footer { background: var(--ink); color: var(--white); padding: 72px 0 36px; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}

.footer-brand .logo-footer {
  font-family: var(--ff-head); font-size: 24px; font-weight: 500;
  color: var(--white); display: block; margin-bottom: 4px; text-decoration: none;
}
.footer-brand .logo-footer-sub {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sage-lt); display: block; margin-bottom: 20px;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 280px; }

.footer-col h4 {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sage-lt); margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--trans); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--trans); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ─── WHATSAPP FLOAT ─────────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 150;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4); text-decoration: none;
  animation: wa-pulse 3s ease-in-out infinite;
  transition: transform var(--trans), box-shadow var(--trans);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.5); animation: none; }
.wa-float svg { width: 26px; height: 26px; fill: white; }

@keyframes wa-pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 0 0 8px rgba(37,211,102,0.12); }
}

/*────────── For Modal ──────────────────────────────────────────────────────────────── */
.calendly-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.calendly-modal.is-open {
  display: block;
}

.calendly-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.calendly-modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  height: 80vh;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.calendly-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
  color: #333;
}

.calendly-modal__close:hover {
  color: #000;
}

#calendly-modal-iframe {
  width: 100%;
  flex: 1;
  border: none;
}

/* ─── POPUP ──────────────────────────────────────────────────────────────── */
.popup-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(44,44,44,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.popup-overlay.active { opacity: 1; pointer-events: all; }

.popup {
  background: var(--white); border-radius: 20px; overflow: hidden;
  max-width: 640px; width: 100%; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 32px 80px rgba(44,44,44,0.25);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.popup-overlay.active .popup { transform: translateY(0) scale(1); }

.popup-visual {
  background: linear-gradient(160deg, var(--sage) 0%, #5f8563 100%);
  padding: 48px 36px; display: flex; flex-direction: column;
  justify-content: flex-end; position: relative; overflow: hidden; min-height: 320px;
}
.popup-visual::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,0.08);
}
.popup-visual-tag { font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 12px; position: relative; z-index: 1; }
.popup-visual-title { font-family: var(--ff-head); font-size: 28px; font-weight: 300; font-style: italic; color: var(--white); line-height: 1.3; position: relative; z-index: 1; }

.popup-content { padding: 40px 36px; }
.popup-content h3 { font-family: var(--ff-head); font-size: 22px; font-weight: 400; color: var(--ink); line-height: 1.35; margin-bottom: 14px; }
.popup-content p { font-size: 13px; color: var(--ink-mid); line-height: 1.8; margin-bottom: 24px; }

.popup-close {
  position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.15);
  border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-size: 18px; transition: background var(--trans); z-index: 2; line-height: 1;
}
.popup-close:hover { background: rgba(255,255,255,0.25); }

.popup-input {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--warm); border-radius: 8px;
  font-family: var(--ff-body); font-size: 14px; color: var(--ink);
  background: var(--cream); outline: none; margin-bottom: 10px; transition: border-color var(--trans);
}
.popup-input:focus { border-color: var(--sage); }
.btn-popup {
  width: 100%; padding: 13px; background: var(--sage); color: var(--white);
  border: none; border-radius: 40px; font-family: var(--ff-body);
  font-size: 13px; font-weight: 500; cursor: pointer; transition: background var(--trans); margin-bottom: 12px;
}
.btn-popup:hover { background: #5f8563; }
.popup-dismiss {
  font-size: 11px; color: var(--ink-lt); text-align: center; cursor: pointer;
  display: block; background: none; border: none; font-family: var(--ff-body);
  width: 100%; transition: color var(--trans);
}
.popup-dismiss:hover { color: var(--ink); }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── INNER PAGE STYLES ──────────────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 80px; background: var(--sage-bg); text-align: center;
}
.page-hero h1 {
  font-family: var(--ff-head); font-size: clamp(40px,5vw,70px);
  font-weight: 300; color: var(--ink); line-height: 1.1; margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--sage); }
.page-hero p { font-size: 16px; color: var(--ink-mid); max-width: 520px; margin: 0 auto; line-height: 1.8; }

.page-content { padding: 80px 0; background: var(--white); }
.page-content .prose { max-width: 720px; }
.page-content .prose h2 { font-family: var(--ff-head); font-size: 36px; font-weight: 300; color: var(--ink); margin: 48px 0 20px; }
.page-content .prose h2 em { font-style: italic; color: var(--sage); }
.page-content .prose p  { font-size: 15px; color: var(--ink-mid); line-height: 1.9; margin-bottom: 20px; }
.page-content .prose ul { padding-left: 20px; margin-bottom: 20px; }
.page-content .prose ul li { font-size: 15px; color: var(--ink-mid); line-height: 1.9; margin-bottom: 8px; }

.page-cta-box {
  background: var(--sage-bg); border-radius: 16px; padding: 48px;
  text-align: center; margin-top: 56px;
}
.page-cta-box h3 { font-family: var(--ff-head); font-size: 32px; font-weight: 300; color: var(--ink); margin-bottom: 16px; }
.page-cta-box p  { font-size: 14px; color: var(--ink-mid); margin-bottom: 28px; }

.mt-1 {margin-top: 4px}
.mt-2 {margin-top: 8px}
.mt-3 {margin-top: 12px}
.mt-4 {margin-top: 16px}
.mt-5 {margin-top: 20px}
.mb-0 {margin-bottom: 0px !important}
b {
    font-weight: 500 !important;
}
.whatsapp {background-color: #7A9E7E; border: 1px solid #7A9E7E}
/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-inner  { padding: 0 24px; }
  #primary-menu { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(248,245,240,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--warm); padding: 24px; gap: 16px; }
  #primary-menu.open { display: flex; }
  #primary-menu li a { font-size: 16px; }
  .nav-toggle { display: flex; }

  #hero                 { grid-template-columns: 1fr; min-height: auto; }
  .hero-text            { padding: 64px 24px; max-width: 100%; }
  .hero-image           { min-height: 380px; }
  .about-grid           { grid-template-columns: 1fr; gap: 48px; }
  .location-grid        { grid-template-columns: 1fr; }
  .section-grid         { grid-template-columns: 1fr; direction: ltr; gap: 48px; }
  .section-grid.reverse { direction: ltr; }
  .contact-grid         { grid-template-columns: 1fr; gap: 56px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .popup                { grid-template-columns: 1fr; }
  .popup-visual         { min-height: 180px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .prices-grid   { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .hero-trust    { flex-wrap: wrap; gap: 24px; }
}
