:root {
  /* Paleta base cálida */
  --bg-page: #f8f4ee;
  --bg-page-2: #f3ece2;
  --bg-page-3: #ede2d4;

  --text-primary: #4c3a2f;
  --text-secondary: #7a6557;
  --text-muted: #9a8576;

  /* Beiges / marrones */
  --warm-100: #fcfaf7;
  --warm-200: #f5eee4;
  --warm-300: #eadfce;
  --warm-400: #d9c6ad;
  --warm-500: #b68f66;
  --warm-600: #9a7450;
  --warm-700: #7e5e43;
  --warm-800: #5f4738;
  --warm-900: #453327;

  --accent: #a77c52;
  --accent-light: #c9a47f;
  --accent-dark: #8c6542;

  /* Superficies */
  --surface-light: #fffdf9;
  --surface-cream: #f7f1e8;
  --surface-warm: #efe4d6;
  --surface-glass: rgba(255, 252, 247, 0.78);

  /* Bordes */
  --border-subtle: rgba(120, 92, 69, 0.12);
  --border-light: rgba(120, 92, 69, 0.08);
  --border-strong: rgba(120, 92, 69, 0.18);

  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(88, 65, 48, 0.06);
  --shadow-md: 0 10px 30px rgba(88, 65, 48, 0.10);
  --shadow-lg: 0 18px 48px rgba(88, 65, 48, 0.12);
  --shadow-xl: 0 26px 72px rgba(88, 65, 48, 0.16);
  --shadow-accent: 0 12px 36px rgba(167, 124, 82, 0.18);

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Transiciones */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(201, 164, 127, 0.20), transparent 28%),
    radial-gradient(circle at right center, rgba(167, 124, 82, 0.10), transparent 30%),
    linear-gradient(180deg, var(--warm-100) 0%, var(--bg-page) 55%, var(--bg-page-2) 100%);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Tipografía elegante */
h1,
h2,
h3,
.brand,
.section-header h2,
.soft-panel__title,
.footer__brand,
.writing-card__quote {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

/* Layout base */
.container {
  width: min(var(--max-width), calc(100% - 64px));
  margin-inline: auto;
}

/* Skip link accesible */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 20px;
  background: var(--surface-light);
  color: var(--warm-900);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 500;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.skip-link:focus {
  left: 20px;
}

/* =========================
   HEADER ELEGANTE CLARO
   ========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 244, 238, 0.80);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-smooth);
}

.header.scrolled {
  background: rgba(248, 244, 238, 0.94);
  border-bottom-color: var(--border-strong);
  box-shadow: 0 8px 25px rgba(88, 65, 48, 0.05);
}

.header__inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 27px;
  color: var(--warm-900);
  text-decoration: none;
  font-weight: 700;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.03em;
}

.brand::before {
  content: '';
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 6px rgba(167, 124, 82, 0.10);
}

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

.nav a {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth);
}

.nav a:hover {
  color: var(--warm-900);
  background: rgba(167, 124, 82, 0.08);
}

.nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav__toggle {
  display: none;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border-subtle);
  color: var(--warm-900);
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav__toggle:hover {
  background: rgba(167, 124, 82, 0.08);
  border-color: var(--border-strong);
}

/* MENÚ DESPLEGABLE / FORMACIÓN */
.nav-item--has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-arrow {
  margin-left: 4px;
  font-size: 11px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.nav-item--has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 0;
  min-width: 260px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.nav-item--has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  padding: 10px 20px;
  display: block;
  white-space: normal;
  line-height: 1.4;
  border-radius: 0;
  width: 100%;
}

.nav-dropdown a::after {
  display: none; /* Quitamos la línea inferior en el submenú */
}

/* BOTÓN DE ALUMNOS EN NAVBAR */
.btn-login {
  padding: 8px 20px;
  font-size: 13px;
  color: #fffdf9 !important;
  background: var(--warm-800);
  border-radius: 99px;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(88, 65, 48, 0.15);
}

.btn-login::after {
  display: none !important;
}

.btn-login:hover {
  background: var(--warm-900);
  transform: translateY(-2px);
  color: #fffdf9 !important;
}

/* =========================
   HERO CÁLIDO
   ========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(167, 124, 82, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 82% 18%, rgba(201, 164, 127, 0.14), transparent 50%),
    linear-gradient(180deg, var(--warm-100) 0%, var(--bg-page) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__left {
  max-width: 620px;
  animation: fadeInUp 1s var(--ease-out) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero__left h1 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: clamp(50px, 6vw, 82px) !important;
  margin-bottom: 24px;
  color: var(--warm-900);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 750 !important;
  max-width: 620px;
}

.lead {
  font-size: clamp(18px, 1.85vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.72;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fffdf9;
  box-shadow: var(--shadow-accent);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(167, 124, 82, 0.28);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--primary span {
  position: relative;
  z-index: 1;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.58);
  color: var(--warm-900);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.80);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.micro {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.micro::before {
  content: '✦';
  color: var(--accent);
  font-size: 12px;
}

/* IMAGEN HERO */
.hero__right {
  position: relative;
  height: min(75vh, 680px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: fadeIn 1.2s var(--ease-out) 0.3s forwards;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero__image {
  width: 100%;
  height: 100%;
  background: url("../img/hero.jpeg") center center / cover no-repeat;
  position: relative;
}

.hero__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 35%, rgba(69, 51, 39, 0.14) 100%);
  pointer-events: none;
}

.hero__decoration {
  position: absolute;
  right: -100px;
  top: 18%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 124, 82, 0.18) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }

  50% {
    opacity: 0.75;
    transform: scale(1.08);
  }
}

/* =========================
   SECCIONES CLARAS ELEGANTES
   ========================= */
.section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--surface-light) 0%, var(--surface-cream) 100%);
  color: var(--text-primary);
  position: relative;
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, #f9f4ed 0%, #efe5d8 100%);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(40px, 4.6vw, 62px);
  margin-bottom: 16px;
  color: var(--warm-900);
  position: relative;
  display: inline-block;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-top: 24px;
}

/* =========================
   ACTIVIDADES GRID PREMIUM
   ========================= */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.activity-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  transition: all 0.5s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  box-shadow: var(--shadow-sm);

  background-image:
    linear-gradient(
      180deg,
      rgba(34, 26, 20, 0.04) 0%,
      rgba(34, 26, 20, 0.10) 40%,
      rgba(34, 26, 20, 0.24) 100%
    ),
    var(--card-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.activity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.00) 45%,
      rgba(0, 0, 0, 0.08) 100%
    );
  opacity: 1;
  transition: opacity 0.35s ease;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(167, 124, 82, 0.24);
  background-position: center;
}

.activity-card:hover::before {
  opacity: 0.9;
}

.activity-card__content {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 249, 0.46) 0%,
    rgba(255, 253, 249, 0.58) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px 20px;
  border-radius: 22px;
  margin: -10px;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 22px rgba(60, 40, 20, 0.08);
  transition: all 0.4s ease;
}

.activity-card:hover .activity-card__content {
  background: rgba(255, 253, 249, 0.96);
  transform: translateY(-5px);
}

.activity-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--warm-900);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.activity-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.activity-card__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--warm-800);
  color: #fffdf9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.4s var(--ease-spring);
  opacity: 0;
  transform: scale(0.8);
  box-shadow: var(--shadow-sm);
}

.activity-card:hover .activity-card__arrow {
  opacity: 1;
  transform: scale(1);
}

/* =========================
   ESCRITOS ELEGANTES
   ========================= */
.writings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.writing-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  background: linear-gradient(180deg, var(--surface-light) 0%, var(--surface-cream) 100%);
  border: 1px solid var(--border-light);
  padding: 40px 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: all 0.5s var(--ease-smooth);
  box-shadow: var(--shadow-sm);
}

.writing-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 120px;
  color: var(--accent);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  transition: all 0.5s ease;
}

.writing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(167, 124, 82, 0.22);
}

.writing-card:hover::before {
  opacity: 0.22;
  transform: translateY(-5px);
}

.writing-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.writing-card__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.writing-card__quote {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 22px;
  font-style: normal;
  line-height: 1.45;
  color: var(--warm-800);
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 700;
}

/* =========================
   CURSOS PANEL SOFT
   ========================= */
.section--soft {
  background: linear-gradient(180deg, var(--warm-200) 0%, var(--warm-300) 100%);
}

.soft-panel {
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(120, 92, 69, 0.03);
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.soft-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
}

.soft-panel__title {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 40px;
  margin-bottom: 12px;
  color: var(--warm-900);
  line-height: 1.02;
  font-weight: 800;
}

.soft-panel__text {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.soft-panel__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.section--soft .btn--primary {
  background: linear-gradient(135deg, var(--warm-800) 0%, var(--warm-900) 100%);
  color: #fffdf9;
  box-shadow: var(--shadow-md);
}

.section--soft .btn--primary:hover {
  box-shadow: var(--shadow-lg);
}

.section--soft .btn--ghost {
  border-color: rgba(120, 92, 69, 0.14);
  color: var(--warm-900);
  background: rgba(255, 255, 255, 0.55);
}

.section--soft .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(120, 92, 69, 0.24);
}

/* =========================
   SOBRE MÍ ELEGANTE
   ========================= */
.about {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about__card {
  background: linear-gradient(180deg, var(--surface-light) 0%, var(--surface-cream) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.about__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}

.about__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(167, 124, 82, 0.18);
}

.about__card:hover::before {
  transform: scaleX(1);
}

.about__card h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--warm-900);
  line-height: 1.02;
  font-weight: 700;
}

.about__card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.about__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: #fffdf9;
  box-shadow: 0 10px 24px rgba(167, 124, 82, 0.18);
}

/* =========================
   FOOTER CÁLIDO
   ========================= */
.footer {
  background:
    radial-gradient(circle at top center, rgba(201, 164, 127, 0.10), transparent 30%),
    linear-gradient(180deg, var(--warm-900) 0%, #3b2b21 100%);
  color: rgba(255, 248, 240, 0.78);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 127, 0.38), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__brand {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 30px;
  color: #fffaf4;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.footer__brand::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--accent-light);
  border-radius: 50%;
}

.footer__text {
  color: rgba(255, 248, 240, 0.66);
  font-size: 15px;
  line-height: 1.8;
  max-width: 300px;
}

.footer__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: rgba(255, 248, 240, 0.78);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer__links a::before {
  content: '→';
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--accent-light);
}

.footer__links a:hover::before {
  opacity: 1;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 248, 240, 0.52);
}

/* WhatsApp flotante elegante */
.wa-float {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  transition: all 0.4s var(--ease-spring);
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* =========================
   RESPONSIVE REFINADO
   ========================= */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__right {
    order: -1;
    height: 50vh;
    max-height: 500px;
  }

  .activities-grid,
  .writings-grid,
  .about {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(248, 244, 238, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    gap: 8px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-smooth);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 18px 40px rgba(88, 65, 48, 0.08);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    font-size: 18px;
    padding: 16px;
    width: 100%;
    text-align: center;
    color: var(--warm-900);
  }

  .hero__left h1 {
    font-size: clamp(52px, 14vw, 76px);
    line-height: 0.94;
  }

  .activities-grid,
  .writings-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .soft-panel {
    padding: 40px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer__text {
    max-width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .wa-float {
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 80px 0;
  }

  .container {
    width: min(var(--max-width), calc(100% - 32px));
  }

  .hero__left h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .brand {
    font-size: 23px;
  }
}
