/* ============================================================
   AMMA YOGA STUDIO — CSS
   Mobile-first · Breakpoints: 480 / 768 / 1024px
   ============================================================ */

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

:root {
  --bg: #faf9f6;
  --white: #ffffff;
  --primary: #4a7c59;
  --primary-light: #6b9e78;
  --accent: #c17f5a;
  --soft: #f5ede4;
  --text: #2c2416;
  --muted: #8a7a6a;
  --surface: #eef5ee;
  --border: #d4e8d4;

  --nav-h: 68px;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(44, 36, 22, 0.08);
  --shadow-md: 0 8px 40px rgba(44, 36, 22, 0.12);
  --shadow-lg: 0 16px 64px rgba(44, 36, 22, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Gilda Display', serif;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

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

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: var(--soft);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(74, 124, 89, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.8);
}

.btn-nav {
  background: var(--primary);
  color: var(--white);
  padding: 0.55rem 1.35rem;
  font-size: 0.85rem;
}

.btn-nav:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  font-weight: 700;
  margin-top: 1.5rem;
  display: inline-flex;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- NAVBAR ---------- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}

.nav-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(44,36,22,0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-container { padding: 0 2rem; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  transition: color var(--transition);
  flex-shrink: 0;
}

.nav-header.scrolled .nav-logo {
  color: var(--primary);
}

.logo-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Gilda Display', serif;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}

.nav-links {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    align-items: center;
  }

  .nav-links a {
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    border-radius: 6px;
    transition: var(--transition);
  }

  .nav-header.scrolled .nav-links a {
    color: var(--text);
  }

  .nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.12);
  }

  .nav-header.scrolled .nav-links a:hover {
    color: var(--primary);
    background: var(--surface);
  }
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .nav-hamburger { display: none; }
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-header.scrolled .nav-hamburger span {
  background: var(--text);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav dropdown */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  gap: 0.25rem;
  border-top: 1px solid var(--border);
}

.nav-links.open a {
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.nav-links.open a:hover {
  background: var(--surface);
  color: var(--primary);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 68, 40, 0.65) 0%,
    rgba(74, 124, 89, 0.45) 50%,
    rgba(30, 50, 30, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem 1.25rem;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- TABS ---------- */
.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

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

/* ---------- CLASSES GRID ---------- */
.classes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .classes-grid { grid-template-columns: repeat(3, 1fr); }
}

.class-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

.class-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.class-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.class-card:hover .class-img-wrap img {
  transform: scale(1.05);
}

.class-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-beginner {
  background: rgba(74, 124, 89, 0.9);
  color: var(--white);
}

.badge-intermediate {
  background: rgba(193, 127, 90, 0.9);
  color: var(--white);
}

.badge-advanced {
  background: rgba(44, 36, 22, 0.85);
  color: var(--white);
}

.class-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.class-body h3 {
  margin-bottom: 0.6rem;
}

.class-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.class-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.class-meta li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.class-meta li i {
  color: var(--primary);
  width: 14px;
  flex-shrink: 0;
}

/* Retiros tab info */
.retiros-tab-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .retiros-tab-info { flex-direction: row; }
}

.retiros-tab-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

@media (min-width: 768px) {
  .retiros-tab-img {
    width: 45%;
    aspect-ratio: auto;
  }
}

.retiros-tab-info > div {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.retiros-tab-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.retiros-tab-info p {
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- SCHEDULE TABLE ---------- */
.schedule-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.day-btn {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.day-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.schedule-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.schedule-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: var(--white);
}

.schedule-table thead {
  background: var(--primary);
  color: var(--white);
}

.schedule-table th {
  padding: 1rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  text-align: left;
  padding-left: 1.25rem;
}

.schedule-table td {
  padding: 0.85rem 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--muted);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:hover td {
  background: var(--surface);
}

.time-col {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Schedule column hidden state */
.schedule-table th.col-hidden,
.schedule-table td.col-hidden {
  display: none;
}

/* Pills */
.pill {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill-yoga {
  background: rgba(74, 124, 89, 0.12);
  color: var(--primary);
  border: 1px solid rgba(74, 124, 89, 0.25);
}

.pill-meditacion {
  background: rgba(193, 127, 90, 0.12);
  color: #9a5e30;
  border: 1px solid rgba(193, 127, 90, 0.25);
}

.pill-pilates {
  background: rgba(107, 158, 120, 0.12);
  color: #3d6b4f;
  border: 1px solid rgba(107, 158, 120, 0.3);
}

.pill-retiro {
  background: rgba(44, 36, 22, 0.08);
  color: var(--text);
  border: 1px solid rgba(44, 36, 22, 0.15);
}

.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---------- INSTRUCTORS ---------- */
.instructors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .instructors-grid { grid-template-columns: repeat(3, 1fr); }
}

.instructor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.instructor-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.instructor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.instructor-card:hover .instructor-img-wrap img {
  transform: scale(1.04);
}

.instructor-body {
  padding: 1.5rem;
}

.instructor-body h3 {
  margin-bottom: 0.3rem;
}

.instructor-role {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.instructor-body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.instructor-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.instructor-certs span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.instructor-certs i {
  color: var(--primary);
}

/* ---------- PRICING ---------- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.toggle-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toggle-label:first-child { color: var(--text); }

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--border);
  border-radius: 50px;
  transition: background var(--transition);
}

.toggle-switch[aria-pressed="true"] {
  background: var(--primary);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.toggle-switch[aria-pressed="true"] .toggle-thumb {
  transform: translateX(24px);
}

.savings-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  background: var(--accent);
  color: var(--white);
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.plan-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.plan-featured {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.plan-featured h3,
.plan-featured .plan-desc {
  color: var(--white);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.plan-featured .plan-header h3 {
  color: var(--white);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.price-amount {
  font-family: 'Gilda Display', serif;
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
}

.plan-featured .price-amount {
  color: var(--white);
}

.price-period {
  font-size: 0.85rem;
  color: var(--muted);
}

.plan-featured .price-period {
  color: rgba(255,255,255,0.7);
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.plan-features li i {
  font-size: 0.8rem;
  width: 16px;
  flex-shrink: 0;
}

.plan-features li i.fa-check {
  color: var(--primary);
}

.plan-featured .plan-features li i.fa-check {
  color: #9fe6b4;
}

.plan-features li.disabled {
  color: var(--muted);
  opacity: 0.5;
}

.plan-featured .plan-features li {
  color: rgba(255,255,255,0.9);
}

.plan-featured .plan-features li.disabled {
  color: rgba(255,255,255,0.4);
}

.plan-featured .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.plan-featured .btn-primary:hover {
  background: var(--surface);
}

.plans-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2rem;
}

/* ---------- RETIROS ---------- */
.retiros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .retiros-grid { grid-template-columns: repeat(2, 1fr); }
}

.retiro-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.retiro-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.retiro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.retiro-card:hover .retiro-img-wrap img {
  transform: scale(1.05);
}

.retiro-date-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  backdrop-filter: blur(4px);
}

.date-num {
  display: block;
  font-family: 'Gilda Display', serif;
  font-size: 1rem;
  line-height: 1.2;
}

.date-month {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.retiro-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.retiro-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(193,127,90,0.1);
  border: 1px solid rgba(193,127,90,0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.retiro-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.retiro-body > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex: 1;
}

.retiro-includes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.retiro-includes li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.retiro-includes li i {
  color: var(--primary);
  font-size: 0.75rem;
  width: 14px;
}

.retiro-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.retiro-price {
  display: flex;
  flex-direction: column;
}

.price-big {
  font-family: 'Gilda Display', serif;
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1;
}

.price-per {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

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

.testimonial-stars {
  color: #f0c040;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-card footer span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- LOCATION ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .location-grid { grid-template-columns: 1fr 1.4fr; }
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location-detail > i {
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 0.2rem;
  width: 20px;
  flex-shrink: 0;
}

.location-detail > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.location-detail strong {
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}

.location-detail span,
.location-detail a {
  font-size: 0.95rem;
  color: var(--muted);
}

.location-detail a:hover {
  color: var(--primary);
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.map-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.map-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.7);
}

.map-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.map-overlay-content i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.map-overlay-content strong {
  font-family: 'Gilda Display', serif;
  font-size: 1.3rem;
}

.map-overlay-content span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ---------- NEWSLETTER ---------- */
.section-newsletter {
  background: var(--text);
  padding: 5rem 0;
}

.newsletter-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .newsletter-wrap { grid-template-columns: 1fr 1.2fr; }
}

.newsletter-text h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

.newsletter-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.75;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.newsletter-form input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.45);
}

.newsletter-form input:focus {
  border-color: var(--primary-light);
  background: rgba(255,255,255,0.12);
}

.form-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- FOOTER ---------- */
.footer {
  background: #1c2e1e;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 280px;
}

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

@media (min-width: 768px) {
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 0;
    display: flex;
    gap: 2rem;
  }
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-col strong {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-nav-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-social strong {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.82rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  transition: color var(--transition);
}

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

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 22, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.modal-overlay:not([hidden]) {
  opacity: 1;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--soft);
  border-color: var(--muted);
  color: var(--text);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.modal-header h2 {
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Form elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-group label span {
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e05c5c;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.form-check label {
  font-weight: 400;
  font-size: 0.85rem;
}

.field-error {
  font-size: 0.78rem;
  color: #c0392b;
  display: none;
  font-weight: 700;
}

.field-error.visible {
  display: block;
}

/* ---------- TOAST ---------- */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 700;
  pointer-events: all;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 340px;
  color: var(--white);
}

.toast.toast-success {
  background: var(--primary);
}

.toast.toast-error {
  background: #c0392b;
}

.toast i {
  font-size: 1.1rem;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(30px) scale(0.92); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateX(30px) scale(0.88); }
}

.toast.removing {
  animation: toastOut 0.3s ease forwards;
}

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (min-width: 480px) {
  .hero-ctas { gap: 1.25rem; }
  .section { padding: 6rem 0; }
}

@media (min-width: 768px) {
  .section { padding: 7rem 0; }
  .modal-box { padding: 3rem; }
}

@media (min-width: 1024px) {
  .section { padding: 8rem 0; }
}

/* Focus visible styles for accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
