@import url('/css/fonts.css');

/* ==========================================================================
   Variables & Tokens
   ========================================================================== */
:root {
  --cream: #f5f0e7;
  --paper: #eee8dd;
  --paper-card: #eae2d5;
  --paper-card-hover: #e2d9cb;
  --ink: #171614;
  --ink-light: #2b2824;
  --muted: #666158;
  --line: #d4ccbd;
  --line-light: #e6dfd3;
  --sage: #586052;
  --sage-dark: #3f463a;
  --sage-soft: #e2e9df;
  --white: #fffdf9;
  --shadow-sm: 0 2px 8px rgba(23, 22, 20, 0.04);
  --shadow-md: 0 8px 24px rgba(23, 22, 20, 0.07);
  --shadow-lg: 0 16px 36px rgba(23, 22, 20, 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
}

.wrap {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--sage);
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.dark-btn {
  background-color: var(--ink);
  color: var(--white);
  padding: 13px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.dark-btn:hover:not(:disabled) {
  background-color: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.dark-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #8c877e;
  border-color: #8c877e;
  box-shadow: none;
}

.outline-btn {
  background-color: transparent;
  color: var(--ink);
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(23, 22, 20, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.outline-btn:hover {
  background-color: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(245, 240, 231, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(245, 240, 231, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--line);
}

.nav-container {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.brand {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--sage);
  margin-top: 6px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.nav-menu a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--sage);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--ink);
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.menu-btn svg {
  display: block;
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: 74px;
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
}

.hero-copy {
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-text {
  padding: 60px 0 50px;
  z-index: 2;
}

.hero-text h1 {
  font-size: 64px;
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-text p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.55;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  height: 440px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-image img {
  filter: grayscale(0.9) contrast(1.05);
  opacity: 0.95;
  transition: transform 0.6s ease;
}

.hero-image:hover img {
  transform: scale(1.03);
}

.kanji {
  position: absolute;
  right: 28px;
  top: 28px;
  font-size: 38px;
  line-height: 1;
  text-align: center;
  font-family: var(--font-serif);
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  background: rgba(23, 22, 20, 0.45);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.kanji small {
  display: block;
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: 0.2em;
  margin-top: 4px;
  font-weight: 700;
}

/* ==========================================================================
   Filosofía & Pilares
   ========================================================================== */
.philosophy {
  padding: 80px 0;
  background-color: var(--paper);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
}

.philosophy h2 {
  font-size: 40px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.philosophy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillars article {
  text-align: center;
  padding: 26px 16px;
  background-color: rgba(255, 253, 249, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.pillars article:hover {
  transform: translateY(-3px);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.pillars .pillar-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
}

.pillars .pillar-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.pillars h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  color: var(--ink);
}

.pillars p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* ==========================================================================
   Zen Quote Strip (Rediseñada para máxima nitidez y contraste)
   ========================================================================== */
.zen-strip {
  position: relative;
  overflow: hidden;
  padding: 45px 20px;
  background-color: #201f1c;
  color: #f7f3ec;
  border-top: 1px solid #33302b;
  border-bottom: 1px solid #33302b;
  text-align: center;
}

.zen-strip-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  filter: grayscale(1) contrast(1.2);
  z-index: 0;
}

.zen-strip-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.zen-strip strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: #fffdfa;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.zen-strip p {
  font-family: var(--font-sans);
  font-size: 15px;
  color: #c9c3b8;
  line-height: 1.6;
}

/* ==========================================================================
   Tu Método (Rehecha: Grid simétrico y alineación perfecta)
   ========================================================================== */
.method {
  padding: 85px 0 50px;
  background-color: var(--cream);
}

.method-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
}

.method-header h2 {
  font-size: 42px;
  line-height: 1.05;
}

.method-header h2 strong {
  font-weight: 700;
  color: var(--sage-dark);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step-card {
  background-color: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 28px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: var(--transition);
}

.step-card:hover {
  background-color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--sage-dark);
  background-color: var(--cream);
  border: 1.5px solid var(--sage);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.step-card h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  color: var(--ink);
}

.step-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================================
   Separador de Secciones Elegante
   ========================================================================== */
.section-divider-wrap {
  padding: 10px 0;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 25%, var(--line));
}

.section-divider::after {
  background: linear-gradient(90deg, var(--line), var(--line) 75%, transparent);
}

.section-divider-dot {
  width: 6px;
  height: 6px;
  background-color: var(--sage);
  border-radius: 50%;
  margin: 0 16px;
  opacity: 0.65;
  flex-shrink: 0;
}

/* ==========================================================================
   Servicios (Movimiento con Intención: Reequilibrados)
   ========================================================================== */
.services {
  padding: 50px 0 65px;
}

.services-header {
  text-align: center;
  margin-bottom: 36px;
}

.services-header h2 {
  font-size: 40px;
  line-height: 1.05;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service {
  background-color: var(--paper-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background-color: var(--paper);
}

.service-copy {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon {
  width: 36px;
  height: 36px;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.service h3 {
  font-size: 28px;
  line-height: 1.05;
  margin-bottom: 16px;
}

.service ul {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.service ul li {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.55;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.service ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: bold;
  font-size: 12px;
}

.service-image-box {
  position: relative;
  overflow: hidden;
}

.service-image-box img {
  height: 100%;
  min-height: 280px;
  filter: grayscale(0.85) contrast(1.05);
  transition: transform 0.6s ease;
}

.service:hover .service-image-box img {
  transform: scale(1.04);
}

.service-quote {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-light);
  margin: 42px auto 0;
  max-width: 650px;
}

/* ==========================================================================
   Educación / Manifiesto
   ========================================================================== */
.education {
  background-color: #e3d9c7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.education-grid > div {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
}

.education-grid > div:first-child {
  border-right: 1px solid var(--line);
}

.education-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--sage);
}

.education-icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.education-grid h2 {
  font-size: 26px;
  line-height: 1.15;
}

.education-grid strong {
  font-weight: 700;
  color: var(--sage-dark);
}

/* ==========================================================================
   Historias Reales
   ========================================================================== */
.stories {
  padding: 85px 0;
  background-color: var(--cream);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.section-head .eyebrow {
  margin-bottom: 0;
}

.section-head a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sage-dark);
}

.section-head a:hover {
  color: var(--ink);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.story-card {
  background-color: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background-color: var(--white);
}

.story-card img {
  height: 100%;
  min-height: 190px;
}

.story-card-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-card-body h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.story-badge {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--sage-dark);
  margin: 4px 0 8px;
  line-height: 1.2;
}

.story-card-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 12px;
}

.story-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.story-link:hover {
  color: var(--sage);
}

/* ==========================================================================
   Sobre Jordi
   ========================================================================== */
.about {
  background-color: #ece3d3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  align-items: center;
}

.about-photo {
  height: 420px;
}

.about-copy {
  padding: 60px 50px;
}

.about-copy h2 {
  font-size: 42px;
  line-height: 1.05;
  margin-bottom: 18px;
}

.about-copy p {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
}

.values {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.value-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.value-item svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ==========================================================================
   FAQ Section (Acordeón Nativo y Robusto)
   ========================================================================== */
.faq {
  padding: 85px 0;
  background-color: var(--cream);
}

.faq-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.faq-header h2 {
  font-size: 40px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.faq-header p {
  color: var(--muted);
  font-size: 15px;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.faq-item {
  background-color: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: var(--transition);
}

details.faq-item[open] {
  background-color: var(--white);
  border-color: var(--sage);
  box-shadow: var(--shadow-sm);
}

summary.faq-question {
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
}

summary.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  color: var(--sage);
  transition: transform 0.3s ease;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

details[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--sage-dark);
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px solid var(--line-light);
  margin-top: 4px;
  padding-top: 14px;
}

/* ==========================================================================
   Sección Final CTA / Comienza tu Proceso
   ========================================================================== */
.final-cta,
.contact-section {
  padding: 85px 20px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  border-top: 1px solid var(--line);
  position: relative;
}

.final-cta .rocks,
.contact-section .rocks {
  font-size: 18px;
  letter-spacing: 5px;
  margin-bottom: 12px;
  color: var(--sage);
  line-height: 1;
}

.final-cta .eyebrow,
.contact-section .eyebrow {
  margin-bottom: 12px;
  display: inline-block;
}

.final-cta h2,
.contact-section h2,
.contact-card-main h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 50px !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  margin-bottom: 16px !important;
  color: var(--ink) !important;
  letter-spacing: -0.015em !important;
}

.final-cta p,
.final-cta p.lead-cta,
.contact-section p.contact-lead,
.contact-section p,
.contact-card-main p {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 19px !important;
  line-height: 1.6 !important;
  color: var(--muted) !important;
  max-width: 620px !important;
  margin: 0 auto 30px !important;
}

.final-cta .cta-action-wrap,
.contact-section .contact-action-box {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.contact-wrapper-clean,
.contact-card-main {
  max-width: 720px;
  margin: 0 auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-align: center;
}

.contact-btn-main,
.final-cta .dark-btn,
.contact-section .dark-btn {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 16px 42px !important;
  letter-spacing: 0.12em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border-radius: var(--radius-sm) !important;
  background-color: var(--ink) !important;
  color: var(--white) !important;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(23, 22, 20, 0.22) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.contact-btn-main:hover,
.final-cta .dark-btn:hover,
.contact-section .dark-btn:hover {
  background-color: #2c2925 !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px rgba(23, 22, 20, 0.32) !important;
  color: var(--white) !important;
}

.contact-btn-main svg,
.final-cta .dark-btn svg {
  transition: transform 0.2s ease;
}

.contact-btn-main:hover svg,
.final-cta .dark-btn:hover svg {
  transform: translateX(4px);
}

.final-cta .cta-note,
.contact-section .contact-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--sage-dark);
  line-height: 1.4;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.final-cta .cta-note svg,
.contact-section .contact-note svg {
  color: var(--sage);
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--ink);
  color: var(--paper);
  padding: 50px 0 24px;
  border-top: 1px solid #282522;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--white);
  display: block;
  line-height: 1;
}

.footer-brand small {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--sage-soft);
  display: block;
  margin-top: 6px;
}

.footer-brand p {
  font-size: 13px;
  color: #9f998f;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: #a8a297;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--white);
}

.copyright {
  border-top: 1px solid #2d2a26;
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888277;
  font-size: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-copy {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 52px;
  }

  .philosophy-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    height: 320px;
  }

  .about-copy {
    padding: 40px 24px;
  }
}

@media (max-width: 768px) {
  .wrap {
    width: min(100% - 32px, 1120px);
  }

  .nav-container {
    height: 66px;
  }

  .desktop-cta {
    display: none;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  /* Menú Móvil Robusto */
  .nav-menu {
    display: none;
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    background-color: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    gap: 16px;
    z-index: 1001;
  }

  .nav-menu.nav-open {
    display: flex !important;
    animation: fadeInMenu 0.22s ease forwards;
  }

  .nav-menu a {
    font-size: 13px;
    font-weight: 700;
    width: 100%;
    padding: 6px 0;
    border-bottom: 1px solid var(--line-light);
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  @keyframes fadeInMenu {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero {
    padding-top: 66px;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text {
    padding: 36px 0 24px;
  }

  .hero-text h1 {
    font-size: 44px;
  }

  .hero-image {
    height: 300px;
  }

  .pillars,
  .story-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 1fr;
  }

  .service-image-box img {
    min-height: 200px;
  }

  .education-grid > div {
    padding: 16px 0;
    border-right: none !important;
  }

  .education-grid > div:first-child {
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .copyright {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 38px;
  }

  .contact-card-main {
    padding: 36px 20px;
  }

  .actions {
    flex-direction: column;
  }

  .actions a {
    width: 100%;
  }
}
