/* ==========================================================================
   Dr. Joaquín Poyato Urbano — Psiquiatría Integral en Palma de Mallorca
   Editorial Warm Mediterranean Design System
   ========================================================================== */

:root {
  --bg: #FBF8F3;
  --bg-warm: #F3EDE3;
  --bg-soft: #EDE5D8;
  --surface: #FFFFFF;
  --ink: #232925;
  --ink-muted: #58605A;
  --ink-light: #7A827C;
  --accent: #3D5245;
  --accent-hover: #2E3F35;
  --accent-soft: #E9EFEA;
  --earth: #A86F4C;
  --earth-soft: #F6ECE4;
  --border: rgba(35, 41, 37, 0.10);
  --border-strong: rgba(35, 41, 37, 0.18);
  --shadow-sm: 0 4px 20px rgba(35, 41, 37, 0.04);
  --shadow-md: 0 14px 40px rgba(35, 41, 37, 0.07);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1120px;
  --header-h: 76px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(168, 111, 76, 0.045) 0%, transparent 42%),
    radial-gradient(circle at 88% 24%, rgba(61, 82, 69, 0.045) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.16;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background-color: var(--earth);
  opacity: 0.7;
}

.section {
  padding: 96px 0;
}

.section-warm {
  background-color: var(--bg-warm);
  background-image:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.45) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
}

.section-head {
  max-width: 660px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.06rem;
  color: var(--ink-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #FBF8F3;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #FBF8F3;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(61, 82, 69, 0.22);
}

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

.btn-secondary:hover {
  background-color: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ==========================================================================
   Header & Navigation (Always crisp & horizontal on desktop)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

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

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--accent);
  color: #FBF8F3;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  display: grid;
  place-items: center;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 46px 0 76px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.55rem, 4.5vw, 3.85rem);
  font-weight: 500;
  line-height: 1.09;
  margin-bottom: 24px;
  color: var(--ink);
}

.hero-content h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.83rem;
  color: var(--ink-muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--earth);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-warm);
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.hero-caption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--ink-light);
  padding: 0 4px;
}

/* ==========================================================================
   Section 1: Enfoque / Reflexión (Editorial Artwork + Pillars)
   ========================================================================== */
.reflection-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 56px;
}

.reflection-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.55vw, 2.15rem);
  line-height: 1.34;
  color: var(--ink);
  margin: 0 0 20px;
  padding-left: 26px;
  border-left: 2px solid var(--earth);
}

.reflection-sub {
  font-size: 0.98rem;
  color: var(--ink-muted);
  padding-left: 28px;
  max-width: 520px;
}

.artwork-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--surface);
  padding: 10px;
  border: 1px solid var(--border);
}

.artwork-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.area-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background-color: var(--bg-warm);
  color: var(--accent);
}

.area-card.featured .area-icon {
  background-color: rgba(251, 248, 243, 0.14);
  color: #E3C4AE;
}

.palma-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}

.palma-banner img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 45%;
}

.palma-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 41, 37, 0.62) 0%, rgba(35, 41, 37, 0.18) 65%, rgba(35, 41, 37, 0.05) 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px 34px;
}

.palma-banner-caption {
  color: #FBF8F3;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-style: italic;
  max-width: 520px;
  line-height: 1.3;
}

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

.pillar {
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--earth);
  margin-bottom: 10px;
  display: block;
}

.pillar h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.pillar p {
  font-size: 0.96rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Section 2: Sobre mí (Warm Editorial Bio)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: center;
}

.about-portrait {
  position: relative;
}

.portrait-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-warm);
  box-shadow: var(--shadow-md);
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.95) contrast(0.98);
}

.credential-pill {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.credential-pill strong {
  color: var(--ink);
  font-weight: 600;
}

.credential-pill span {
  color: var(--ink-muted);
}

.about-content h2 {
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  margin-bottom: 8px;
}

.about-role {
  font-size: 1rem;
  color: var(--earth);
  font-weight: 500;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--ink-muted);
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.highlight-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.highlight-item span {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.about-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--accent);
  line-height: 1.45;
  margin-top: 8px;
}

/* ==========================================================================
   Section 3: Áreas de atención (Clean 3-Column Grid)
   ========================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.area-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.area-card.featured {
  background-color: var(--accent);
  color: #FBF8F3;
  border-color: var(--accent);
}

.area-tag {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--earth);
  margin-bottom: 12px;
}

.area-card.featured .area-tag {
  color: #E3C4AE;
}

.area-card h3 {
  font-size: 1.75rem;
  margin-bottom: 14px;
}

.area-card.featured h3 {
  color: #FBF8F3;
}

.area-card > p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 22px;
}

.area-card.featured > p {
  color: rgba(251, 248, 243, 0.84);
}

.area-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.area-card.featured .area-list {
  border-top-color: rgba(251, 248, 243, 0.18);
}

.area-list li {
  font-size: 0.9rem;
  color: var(--ink-muted);
  padding-left: 16px;
  position: relative;
}

.area-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--earth);
}

.area-card.featured .area-list li {
  color: rgba(251, 248, 243, 0.9);
}

.area-card.featured .area-list li::before {
  background-color: #E3C4AE;
}

/* ==========================================================================
   Section 4: Honorarios y Transparencia
   ========================================================================== */
.fees-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
}

.fees-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fee-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}

.fee-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--earth);
  margin-bottom: 10px;
}

.fee-price {
  font-family: var(--font-serif);
  font-size: 3.1rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}

.fee-duration {
  font-size: 0.86rem;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.fee-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Comparison Context Panel */
.market-panel {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 30px;
}

.market-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.market-panel > p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.range-row {
  margin-bottom: 20px;
}

.range-row:last-of-type {
  margin-bottom: 24px;
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.range-header strong {
  color: var(--ink);
  font-weight: 600;
}

.range-header span {
  color: var(--ink-muted);
  font-weight: 500;
}

.range-track {
  position: relative;
  height: 10px;
  background-color: var(--bg-warm);
  border-radius: 999px;
  overflow: hidden;
}

.range-bar {
  height: 100%;
  border-radius: 999px;
}

.range-bar.market {
  background-color: #C9BFB0;
  width: 78%;
}

.range-bar.mine {
  background-color: var(--accent);
  width: 56%;
}

.range-note {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 5px;
}

.insurance-note {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.insurance-note strong {
  color: var(--ink);
}

/* ==========================================================================
   Section 5: Ubicación y Pedir Cita
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.locations-box {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.locations-box h3 {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.locations-box > p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 28px;
}

.location-item {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.location-item:last-of-type {
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.location-day {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.location-address {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.location-detail {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--earth);
}

.map-link:hover {
  color: var(--accent);
}

.booking-box {
  background-color: var(--accent);
  color: #FBF8F3;
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.booking-box .eyebrow {
  color: #E3C4AE;
}

.booking-box .eyebrow::before {
  background-color: #E3C4AE;
}

.booking-box h3 {
  font-size: 2rem;
  color: #FBF8F3;
  margin-bottom: 14px;
}

.booking-box > div > p {
  font-size: 0.98rem;
  color: rgba(251, 248, 243, 0.84);
  margin-bottom: 28px;
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-light {
  background-color: #FBF8F3;
  color: var(--ink);
  width: 100%;
  padding: 16px 24px;
}

.btn-light:hover {
  background-color: #FFFFFF;
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-outline-light {
  background-color: transparent;
  color: #FBF8F3;
  border-color: rgba(251, 248, 243, 0.35);
  width: 100%;
  padding: 15px 24px;
}

.btn-outline-light:hover {
  background-color: rgba(251, 248, 243, 0.1);
  border-color: #FBF8F3;
  color: #FBF8F3;
}

.booking-footnote {
  font-size: 0.83rem;
  color: rgba(251, 248, 243, 0.72);
  padding-top: 20px;
  border-top: 1px solid rgba(251, 248, 243, 0.16);
  line-height: 1.6;
}

/* ==========================================================================
   Section 6: Lecturas breves / Recursos (Quiet Accordion)
   ========================================================================== */
.guides-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-strong);
}

.guide-item {
  border-bottom: 1px solid var(--border-strong);
}

.guide-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.guide-trigger:hover .guide-title {
  color: var(--accent);
}

.guide-meta {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--earth);
  margin-bottom: 6px;
  display: block;
}

.guide-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.guide-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--ink-muted);
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.guide-item.is-open .guide-icon {
  transform: rotate(45deg);
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FBF8F3;
}

.guide-panel {
  display: none;
  padding: 0 0 30px;
  max-width: 720px;
}

.guide-item.is-open .guide-panel {
  display: block;
}

.guide-panel p {
  font-size: 0.96rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.guide-panel ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.guide-panel li {
  margin-bottom: 6px;
}

.guide-step {
  background-color: var(--bg-warm);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 14px;
}

.guide-ref {
  font-size: 0.84rem;
  color: var(--ink-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--ink);
  color: rgba(251, 248, 243, 0.76);
  padding: 68px 0 36px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(251, 248, 243, 0.12);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #FBF8F3;
  margin-bottom: 10px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #E3C4AE;
  margin-bottom: 16px;
}

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

.footer-links a {
  color: rgba(251, 248, 243, 0.76);
}

.footer-links a:hover {
  color: #FBF8F3;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(251, 248, 243, 0.56);
}

.crisis-line {
  color: rgba(251, 248, 243, 0.72);
}

/* ==========================================================================
   Legal Pages Layout
   ========================================================================== */
.legal-main {
  padding: 64px 0 96px;
}

.legal-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}

.legal-card h1 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 12px;
}

.legal-card h2 {
  font-size: 1.55rem;
  margin: 32px 0 12px;
}

.legal-card p,
.legal-card li {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.legal-card ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .reflection-split,
  .about-grid,
  .fees-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .palma-banner img {
    height: 190px;
  }

  .pillars-grid,
  .areas-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .section {
    padding: 68px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px 28px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .nav-links a {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .fees-cards,
  .about-highlights {
    grid-template-columns: 1fr;
  }

  .locations-box,
  .booking-box,
  .legal-card {
    padding: 28px 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
