/* ==========================================================================
   Respira Studio - Styles
   Yoga & Pilates Studio in Mendoza, Argentina
   ========================================================================== */

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

:root {
  --sage: #7C8B6F;
  --sage-light: #9AAD8C;
  --sage-lighter: #c2cebc;
  --warm-white: #FAFAF7;
  --beige: #E8E0D5;
  --beige-dark: #D4C9BA;
  --olive: #3D4A3A;
  --olive-light: #52624E;
  --text: #3D4A3A;
  --text-muted: #6B7568;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1140px;
  --gutter: 24px;
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 24px;

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--warm-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

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

.btn--outline {
  background-color: transparent;
  color: var(--sage);
  border-color: var(--sage);
}

.btn--outline:hover {
  background-color: var(--sage);
  color: var(--warm-white);
}

.btn--full {
  width: 100%;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header--left {
  text-align: left;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--olive);
  line-height: 1.2;
}

.section-subtitle {
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 1.05rem;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.site-header.scrolled {
  background-color: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 20px rgba(61, 74, 58, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--olive);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

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

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--olive);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--sage);
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--cta {
  background-color: var(--sage);
  color: var(--warm-white);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background-color: var(--olive);
  color: var(--warm-white);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.burger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--olive);
  transition: all var(--transition);
  transform-origin: center;
}

.burger.active .burger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(124, 139, 111, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 224, 213, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(250, 250, 247, 1) 0%, rgba(232, 224, 213, 0.3) 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124, 139, 111, 0.06) 0%, transparent 70%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232, 224, 213, 0.4) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 120px 0 80px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  color: var(--olive);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-location {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 1s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 0.8s ease 1.4s forwards;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--sage), transparent);
  animation: scrollPulse 2s ease infinite;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* ---------- Intro ---------- */
.intro {
  padding: 80px 0;
  background-color: var(--warm-white);
}

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.intro-ornament {
  width: 48px;
  height: 1px;
  background-color: var(--sage-lighter);
}

.intro-text {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.8;
  text-align: center;
  max-width: 640px;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Classes ---------- */
.classes {
  padding: 100px 0;
  background-color: var(--beige);
}

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

.class-card {
  background-color: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.class-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61, 74, 58, 0.08);
}

.class-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  color: var(--sage);
}

.class-card__icon svg {
  width: 100%;
  height: 100%;
}

.class-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--olive);
  margin-bottom: 12px;
}

.class-card__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.class-card__detail {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  padding: 6px 16px;
  border: 1px solid var(--sage-lighter);
  border-radius: 50px;
}

/* ---------- Schedule ---------- */
.schedule {
  padding: 100px 0;
  background-color: var(--warm-white);
}

.schedule-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}

.schedule-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.schedule-table th {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  padding: 16px 12px;
  text-align: center;
  border-bottom: 1px solid var(--beige);
}

.schedule-table td {
  padding: 14px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(232, 224, 213, 0.5);
  vertical-align: middle;
}

.schedule-time {
  font-weight: 400;
  color: var(--olive);
  font-size: 0.85rem;
  white-space: nowrap;
}

.schedule-class {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.schedule-class--yoga {
  background-color: rgba(124, 139, 111, 0.12);
  color: var(--olive);
}

.schedule-class--pilates {
  background-color: rgba(232, 224, 213, 0.6);
  color: var(--olive);
}

.schedule-class--meditation {
  background-color: rgba(124, 139, 111, 0.06);
  color: var(--sage);
  border: 1px solid rgba(124, 139, 111, 0.2);
}

.schedule-class--prenatal {
  background-color: rgba(212, 201, 186, 0.4);
  color: var(--olive-light);
}

.schedule-empty {
  color: var(--beige-dark);
}

.schedule-note {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ---------- About ---------- */
.about {
  padding: 100px 0;
  background-color: var(--beige);
}

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

.about-image__placeholder {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  background-color: var(--beige);
}

.about-image__placeholder svg {
  width: 100%;
  height: 100%;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 100px 0;
  background-color: var(--warm-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.price-card {
  background-color: var(--warm-white);
  border: 1px solid var(--beige);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61, 74, 58, 0.08);
}

.price-card--featured {
  border-color: var(--sage);
  background-color: var(--warm-white);
  box-shadow: 0 8px 32px rgba(124, 139, 111, 0.12);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--sage);
  color: var(--warm-white);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 20px;
  border-radius: 50px;
  white-space: nowrap;
}

.price-card__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--olive);
  margin-bottom: 8px;
}

.price-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.price-card__amount {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}

.price-card__currency {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--sage);
  margin-top: 8px;
}

.price-card__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--olive);
  line-height: 1;
}

.price-card__period {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.price-card__features {
  text-align: left;
  margin-bottom: 32px;
}

.price-card__features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(232, 224, 213, 0.5);
  padding-left: 20px;
  position: relative;
}

.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--sage-lighter);
  transform: translateY(-50%);
}

.price-card__features li:last-child {
  border-bottom: none;
}

/* ---------- Contact ---------- */
.contact {
  padding: 100px 0;
  background-color: var(--beige);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  background-color: var(--warm-white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(124, 139, 111, 0.1);
}

.form-input::placeholder {
  color: var(--beige-dark);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237C8B6F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

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

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--olive);
  color: rgba(250, 250, 247, 0.7);
  padding: 64px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.footer-brand .logo-sub {
  color: var(--sage-light);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  margin-top: 8px;
  color: rgba(250, 250, 247, 0.5);
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 12px;
}

.footer-info p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-link {
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--warm-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  font-size: 0.82rem;
  color: rgba(250, 250, 247, 0.4);
}

.footer-credit a {
  color: var(--sage-light);
}

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

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .classes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-image__placeholder {
    max-width: 240px;
  }

  .section-header--left {
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  /* Mobile Nav */
  .burger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--warm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right var(--transition-slow);
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .nav-link {
    font-size: 1.1rem;
    font-family: var(--font-serif);
    font-weight: 400;
  }

  .nav-link--cta {
    font-family: var(--font-sans);
    font-size: 0.85rem;
  }

  /* Sections */
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .classes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .class-card {
    padding: 32px 24px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .price-card--featured {
    order: -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .intro {
    padding: 60px 0;
  }

  .classes,
  .schedule,
  .about,
  .pricing,
  .contact {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 100px 0 60px;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .class-card__icon {
    width: 44px;
    height: 44px;
  }

  .price-card {
    padding: 32px 24px;
  }

  .price-card__number {
    font-size: 2.4rem;
  }
}
