/* ==========================================================================
   CARMEN CROCHET — hoja de estilos
   Paleta inspirada en los muros de Cartagena, los patrones Wayúu y el mar
   Caribe. Tipografía: Fraunces (display, tejida/orgánica) + Manrope (cuerpo)
   + Space Mono (etiquetas, precios — "tarjetas cosidas a mano").
   ========================================================================== */

:root{
  /* Color */
  --sand:        #F6EFE2;   /* fondo cálido, no blanco puro */
  --sand-deep:   #EFE3CE;
  --ink:         #23302E;   /* texto principal, casi negro verdoso */
  --petroleo:    #0E4749;   /* teal profundo — secciones oscuras / footer */
  --petroleo-2:  #0B3638;
  --mango:       #F2A93B;   /* mostaza/oro — acento cálido */
  --guayaba:     #E1574A;   /* coral rojizo — acento principal, CTA */
  --guayaba-deep:#C43F35;
  --indigo:      #3A4E8C;   /* azul wayúu — acento frío de contraste */
  --hilo:        #FFFDF8;   /* blanco hilo, para tarjetas sobre sand-deep */
  --linea:       rgba(35,48,46,0.14);

  /* Tipografía */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-tag: "Space Mono", monospace;

  /* Layout */
  --maxw: 1180px;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 40px -20px rgba(14,71,73,0.35);
  --shadow-card: 0 10px 24px -14px rgba(35,48,46,0.35);
}

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

html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: var(--petroleo-2);
}

p{ margin: 0; }

button{ font-family: inherit; cursor: pointer; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.eyebrow{
  font-family: var(--font-tag);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--guayaba-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 1px;
  background: var(--guayaba-deep);
  display: inline-block;
}

.section{ padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-dark{ background: var(--petroleo); color: var(--sand); }
.section-dark h2, .section-dark h3, .section-dark p.section-lead{ color: var(--sand); }

.section-head{
  max-width: 640px;
  margin-bottom: clamp(36px, 6vw, 64px);
}
.section-head h2{ font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 14px; }
.section-head .lede{ margin-top: 16px; font-size: 1.05rem; color: rgba(35,48,46,0.75); }
.section-dark .section-head .lede{ color: rgba(246,239,226,0.78); }

/* reveal on scroll */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Puntada / chain-stitch divider — elemento de firma del sitio
   ========================================================================== */
.stitch-divider{ width: 100%; height: 34px; overflow: hidden; }
.stitch-divider svg{ width: 100%; height: 100%; }
.stitch-divider path{
  fill: none;
  stroke: var(--guayaba);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1);
}
.stitch-divider.in-view path{ stroke-dashoffset: 0; }
.stitch-divider--light path{ stroke: var(--mango); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 18px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled{
  background: rgba(246,239,226,0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(14,71,73,0.08);
}

.logo{ display: flex; align-items: center; gap: 12px; transition: transform .3s ease; }
.logo:hover{ transform: scale(1.03); }
.logo svg{ width: 44px; height: 44px; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(225,87,74,0.15)); }
.logo-text{ font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--petroleo-2); letter-spacing: -0.02em; line-height: 1; }
.logo-text span{ color: var(--guayaba); font-weight: 600; }

.nav-links{ display: flex; align-items: center; gap: 34px; }
.nav-links a{
  font-size: 0.92rem; font-weight: 600; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav-links a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--guayaba); transition: right .3s ease;
}
.nav-links a:hover::after{ right: 0; }

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

.cart-btn{
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--petroleo-2);
  background: transparent; color: var(--petroleo-2); transition: background .25s ease, color .25s ease;
}
.cart-btn:hover{ background: var(--petroleo-2); color: var(--sand); }
.cart-btn svg{ width: 19px; height: 19px; }
.cart-count{
  position: absolute; top: -6px; right: -6px; background: var(--guayaba); color: var(--hilo);
  font-family: var(--font-tag); font-size: 0.65rem; min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

.nav-toggle{ display: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--petroleo-2); background: none; align-items: center; justify-content: center; }
.nav-toggle svg{ width: 20px; height: 20px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  padding: clamp(120px, 20vw, 180px) 0 clamp(60px, 10vw, 100px);
  background:
    radial-gradient(circle at 88% 8%, rgba(242,169,59,0.18), transparent 45%),
    radial-gradient(circle at 6% 90%, rgba(58,78,140,0.14), transparent 50%),
    var(--sand);
  overflow: hidden;
}
.hero .container{
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 70px); align-items: center;
}
.hero-copy h1{
  font-size: clamp(2.6rem, 5.6vw, 4.1rem);
  margin-top: 18px;
}
.hero-copy h1 em{ font-style: normal; color: var(--guayaba); position: relative; }
.hero-copy .lede{
  margin-top: 22px; font-size: 1.12rem; max-width: 460px; color: rgba(35,48,46,0.78);
}
.hero-cta{ display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.btn{
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  border-radius: 100px; font-weight: 700; font-size: 0.95rem; border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--guayaba); color: var(--hilo); box-shadow: 0 14px 26px -12px rgba(225,87,74,0.55); }
.btn-primary:hover{ background: var(--guayaba-deep); }
.btn-outline{ background: transparent; border-color: var(--petroleo-2); color: var(--petroleo-2); }
.btn-outline:hover{ background: var(--petroleo-2); color: var(--sand); }
.btn-whatsapp{ background: #1F7A5C; color: var(--hilo); }
.btn-whatsapp:hover{ background: #175f47; }
.btn-small{ padding: 10px 20px; font-size: 0.82rem; }
.btn-full{ width: 100%; justify-content: center; }

.hero-badge{
  margin-top: 40px; display: inline-flex; align-items: center; gap: 14px;
  background: var(--hilo); padding: 12px 20px; border-radius: 100px; box-shadow: var(--shadow-card);
}
.hero-badge svg{ width: 22px; height: 22px; color: var(--guayaba); flex-shrink: 0; }
.hero-badge span{ font-size: 0.85rem; font-weight: 700; color: var(--petroleo-2); }

.hero-art{ position: relative; display: flex; align-items: center; justify-content: center; }
.hero-image-wrap{
  position: relative; width: min(440px, 100%); aspect-ratio: 1/1;
  border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-soft);
}
.hero-img{ width: 100%; height: 100%; object-fit: cover; }
.hero-img-ring{
  position: absolute; inset: -12px; border: 2px dashed rgba(242,169,59,0.5);
  border-radius: 50%; animation: spin-slow 90s linear infinite;
}
.hero-art .hook-badge{
  position: absolute; bottom: 6%; left: 2%; background: var(--petroleo); color: var(--sand);
  padding: 16px 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 12px; max-width: 220px; z-index: 2;
}
.hero-art .hook-badge svg{ width: 30px; height: 30px; flex-shrink: 0; color: var(--mango); }
.hero-art .hook-badge strong{ display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; }
.hero-art .hook-badge small{ font-size: 0.72rem; opacity: 0.8; }

@keyframes spin-slow{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }

/* ==========================================================================
   Sobre Carmen
   ========================================================================== */
.about{ background: var(--sand-deep); }
.about .container{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 70px); align-items: center; }
.about-frame{
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-soft);
}
.about-img{ width: 100%; height: 100%; object-fit: cover; }
.about-frame::after{
  content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(246,239,226,0.35); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none;
}
.about-text .stat-row{ display: flex; gap: clamp(24px, 5vw, 48px); margin-top: 32px; flex-wrap: wrap; }
.stat{ min-width: 110px; }
.stat strong{ font-family: var(--font-display); font-size: 2.1rem; color: var(--guayaba-deep); display: block; }
.stat span{ font-size: 0.82rem; color: rgba(35,48,46,0.65); }

/* ==========================================================================
   Clases a domicilio
   ========================================================================== */
.classes-banner{
  background: var(--petroleo); color: var(--sand);
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.classes-banner .pin{ display: flex; align-items: center; gap: 16px; }
.classes-banner .pin svg{ width: 46px; height: 46px; color: var(--mango); flex-shrink: 0; }
.classes-banner .pin strong{ display: block; font-family: var(--font-display); font-size: 1.4rem; }
.classes-banner .pin span{ font-size: 0.9rem; opacity: 0.85; }

.class-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.class-card{
  background: var(--hilo); border-radius: var(--radius-md); padding: 30px 26px;
  box-shadow: var(--shadow-card); position: relative; transition: transform .3s ease, box-shadow .3s ease;
  border-top: 4px solid var(--guayaba);
}
.class-card:nth-child(2){ border-top-color: var(--mango); }
.class-card:nth-child(3){ border-top-color: var(--indigo); }
.class-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 34px -16px rgba(35,48,46,0.3); }
.class-card .level-tag{ font-family: var(--font-tag); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(35,48,46,0.55); }
.class-card h3{ font-size: 1.4rem; margin-top: 10px; }
.class-card ul{ list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.class-card li{ font-size: 0.9rem; display: flex; gap: 10px; align-items: flex-start; color: rgba(35,48,46,0.8); }
.class-card li svg{ width: 16px; height: 16px; margin-top: 3px; color: var(--guayaba-deep); flex-shrink: 0; }
.class-card .price{ font-family: var(--font-tag); font-size: 1.1rem; margin-top: 20px; color: var(--petroleo-2); font-weight: 700; }
.class-card .btn{ margin-top: 18px; width: 100%; justify-content: center; }

/* ==========================================================================
   Galería de diseños
   ========================================================================== */
.gallery-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-card{
  position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1.05;
  background: var(--hilo); box-shadow: var(--shadow-card); cursor: default;
}
.gallery-card img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.gallery-card:hover img{ transform: scale(1.08); }
.gallery-card .overlay{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px;
  background: linear-gradient(0deg, rgba(14,71,73,0.92), rgba(14,71,73,0));
  color: var(--sand); transform: translateY(8px); opacity: 0.94;
}
.gallery-card .overlay .tag{ font-family: var(--font-tag); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mango); }
.gallery-card .overlay h4{ color: var(--sand); font-size: 1.05rem; margin-top: 4px; }

/* ==========================================================================
   Tienda
   ========================================================================== */
.shop-filters{ display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn{
  padding: 9px 18px; border-radius: 100px; border: 1.5px solid var(--linea); background: var(--hilo);
  font-size: 0.85rem; font-weight: 700; color: var(--ink); transition: all .25s ease;
}
.filter-btn.active, .filter-btn:hover{ background: var(--petroleo-2); border-color: var(--petroleo-2); color: var(--sand); }

.product-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card{
  background: var(--hilo); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover{ transform: translateY(-5px); box-shadow: 0 20px 34px -16px rgba(35,48,46,0.3); }
.product-media{
  aspect-ratio: 1/1; position: relative; overflow: hidden;
}
.product-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-media img{ transform: scale(1.06); }
.product-card .cat-chip{
  position: absolute; top: 12px; left: 12px; background: rgba(255,253,248,0.9); backdrop-filter: blur(4px);
  font-family: var(--font-tag); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 100px; color: var(--petroleo-2);
}
.product-info{ padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-info h4{ font-size: 1.08rem; }
.product-info p{ font-size: 0.84rem; color: rgba(35,48,46,0.65); }
.product-footer{ margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price{ font-family: var(--font-tag); font-weight: 700; color: var(--guayaba-deep); font-size: 1.02rem; }
.add-btn{
  display: flex; align-items: center; gap: 8px; background: var(--petroleo-2); color: var(--sand);
  padding: 9px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 700; border: none;
  transition: background .25s ease, transform .2s ease;
}
.add-btn svg{ width: 14px; height: 14px; }
.add-btn:hover{ background: var(--guayaba); }
.add-btn.added{ background: #1F7A5C; }

/* ==========================================================================
   Carrito lateral
   ========================================================================== */
.cart-overlay{
  position: fixed; inset: 0; background: rgba(14,20,20,0.5); z-index: 900;
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.cart-overlay.open{ opacity: 1; pointer-events: auto; }

.cart-drawer{
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--sand);
  z-index: 901; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; box-shadow: -18px 0 40px rgba(14,71,73,0.25);
}
.cart-drawer.open{ transform: translateX(0); }
.cart-head{ padding: 26px 26px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--linea); }
.cart-head h3{ font-size: 1.4rem; }
.cart-close{ width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--petroleo-2); background: none; display: flex; align-items: center; justify-content: center; }
.cart-close svg{ width: 16px; height: 16px; }

.cart-items{ flex: 1; overflow-y: auto; padding: 12px 26px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty{ text-align: center; padding: 60px 20px; color: rgba(35,48,46,0.55); }
.cart-empty svg{ width: 50px; height: 50px; margin: 0 auto 14px; color: rgba(35,48,46,0.3); }

.cart-item{ display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--linea); }
.cart-item .thumb{ width: 62px; height: 62px; border-radius: 12px; overflow: hidden; }
.cart-item .thumb img{ width: 100%; height: 100%; object-fit: cover; }
.cart-item h5{ font-family: var(--font-body); font-size: 0.92rem; font-weight: 700; margin: 0 0 4px; }
.cart-item .qty{ display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-item .qty button{ width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--linea); background: var(--hilo); font-weight: 700; line-height: 1; }
.cart-item .qty span{ font-family: var(--font-tag); font-size: 0.85rem; min-width: 16px; text-align: center; }
.cart-item .line-price{ font-family: var(--font-tag); font-weight: 700; font-size: 0.9rem; text-align: right; }
.cart-item .remove{ display: block; margin-top: 6px; font-size: 0.7rem; color: var(--guayaba-deep); background: none; border: none; text-decoration: underline; padding: 0; }

.cart-summary{ border-top: 1px solid var(--linea); padding: 20px 26px 26px; background: var(--sand-deep); }
.cart-subtotal{ display: flex; justify-content: space-between; font-family: var(--font-tag); font-size: 1rem; margin-bottom: 6px; }
.cart-note{ font-size: 0.76rem; color: rgba(35,48,46,0.6); margin-bottom: 16px; }

/* ==========================================================================
   Testimonios
   ========================================================================== */
.testimonial-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card{ background: rgba(246,239,226,0.06); border: 1px solid rgba(246,239,226,0.18); border-radius: var(--radius-md); padding: 28px; }
.testimonial-card .stars{ display: flex; gap: 4px; color: var(--mango); margin-bottom: 14px; }
.testimonial-card .stars svg{ width: 16px; height: 16px; }
.testimonial-card p.quote{ font-size: 0.96rem; opacity: 0.9; }
.testimonial-card .who{ margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.testimonial-card .who .avatar{
  width: 38px; height: 38px; border-radius: 50%; background: var(--guayaba);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--hilo);
}
.testimonial-card .who strong{ display: block; font-size: 0.88rem; }
.testimonial-card .who span{ font-size: 0.74rem; opacity: 0.7; }

/* ==========================================================================
   Contacto / Footer
   ========================================================================== */
.contact .container{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 64px); }
.contact-form{ display: flex; flex-direction: column; gap: 16px; }
.field label{ display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; color: var(--petroleo-2); }
.field input, .field textarea{
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--linea);
  background: var(--hilo); font-family: var(--font-body); font-size: 0.94rem; color: var(--ink); resize: vertical;
}
.field input:focus, .field textarea:focus{ outline: 2px solid var(--guayaba); outline-offset: 1px; border-color: transparent; }

.contact-info{ display: flex; flex-direction: column; gap: 18px; }
.info-row{ display: flex; gap: 16px; align-items: flex-start; background: var(--hilo); padding: 18px 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.info-row svg{ width: 24px; height: 24px; color: var(--guayaba-deep); flex-shrink: 0; margin-top: 2px; }
.info-row strong{ display: block; font-size: 0.95rem; }
.info-row span{ font-size: 0.85rem; color: rgba(35,48,46,0.65); }
.social-row{ display: flex; gap: 12px; margin-top: 4px; }
.social-row a{ width: 42px; height: 42px; border-radius: 50%; background: var(--hilo); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card); }
.social-row svg{ width: 18px; height: 18px; color: var(--petroleo-2); }

footer.site-footer{ background: var(--petroleo-2); color: rgba(246,239,226,0.7); padding: 30px 0; text-align: center; font-size: 0.82rem; }
footer.site-footer strong{ color: var(--sand); }

/* ==========================================================================
   Botón flotante de WhatsApp
   ========================================================================== */
.whatsapp-float{
  position: fixed; bottom: 24px; right: 24px; z-index: 700;
  width: 62px; height: 62px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6);
  animation: pulse-wa 2.6s ease-in-out infinite;
}
.whatsapp-float svg{ width: 30px; height: 30px; color: #fff; }
@keyframes pulse-wa{ 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.08); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero .container, .about .container, .contact .container{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; margin-bottom: 20px; }
  .hero-image-wrap{ width: min(340px, 80vw); }
  .about-frame{ max-width: 360px; margin: 0 auto; }
  .class-grid, .gallery-grid, .testimonial-grid{ grid-template-columns: repeat(2, 1fr); }
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px){
  .nav-links{
    position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80vw);
    background: var(--sand); flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 100px 32px 32px; gap: 26px; transform: translateX(100%); transition: transform .4s ease;
    box-shadow: -14px 0 30px rgba(0,0,0,0.12); z-index: 600;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-toggle{ display: flex; }
  .class-grid, .gallery-grid, .testimonial-grid{ grid-template-columns: 1fr; }
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .classes-banner{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px){
  .product-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-badge{ display: none; }
  .hero-image-wrap{ width: min(260px, 75vw); }
  .hero-art .hook-badge{ max-width: 180px; padding: 12px 14px; }
  .gallery-grid{ gap: 14px; }
  .product-info{ padding: 14px 14px 16px; }
  .product-info h4{ font-size: 0.95rem; }
  .product-info p{ font-size: 0.78rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .add-btn{ padding: 8px 12px; font-size: 0.74rem; }
  .product-price{ font-size: 0.9rem; }
}
