/*
Theme Name: Giorgia Spanish Class
Theme URI: https://giorgiaspanishclass.es
Author: Antigravity AI
Author URI: https://giorgiaspanishclass.es
Description: Tema personalizado para Giorgia Callori, idéntico a su web estática pero con soporte para blog, contenido premium y agente de IA.
Version: 1.0.0
Text Domain: giorgia-theme
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --sun: #E8A435; --sun-light: #FDF3DC; --sun-dark: #B07820;
  --terra: #C15C2E; --terra-light: #FAE8DF; --terra-dark: #8C3818;
  --sage: #4A7C59; --sage-light: #E4F0E8;
  --night: #1E1C18; --ink: #3A3730; --muted: #7A756A;
  --cream: #FDFAF4; --white: #FFFFFF; --border: rgba(58,55,48,0.12);
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--ink); line-height: 1.6; overflow-x: hidden; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1rem 2.5rem; background: rgba(253,250,244,0.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--terra); text-decoration: none; font-weight: 700; }
.nav-cta { background: var(--terra); color: var(--white); border: none; padding: 0.55rem 1.4rem; border-radius: 100px; font-size: 0.9rem; font-weight: 500; cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.nav-cta:hover { background: var(--terra-dark); transform: translateY(-1px); }

.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 70px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 600px; height: 600px; border-radius: 50%; background: var(--sun-light); z-index: 0; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 5rem 3rem 5rem 5rem; position: relative; z-index: 1; }
.hero-tag { display: inline-block; background: var(--terra-light); color: var(--terra); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 100px; margin-bottom: 1.5rem; width: fit-content; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 3.5vw, 3.4rem); line-height: 1.15; color: var(--night); margin-bottom: 1.5rem; }
.hero h1 em { color: var(--terra); font-style: italic; }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 440px; margin-bottom: 2.5rem; line-height: 1.75; font-weight: 300; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-primary { background: var(--terra); color: var(--white); padding: 0.85rem 2rem; border-radius: 100px; font-size: 1rem; font-weight: 500; text-decoration: none; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(193,92,46,0.3); display: inline-block; }
.btn-primary:hover { background: var(--terra-dark); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(193,92,46,0.4); }
.btn-secondary { color: var(--ink); font-size: 0.95rem; text-decoration: none; font-weight: 400; border-bottom: 1.5px solid var(--border); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.btn-secondary:hover { color: var(--terra); border-color: var(--terra); }
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--terra); font-weight: 700; display: block; }
.stat-label { font-size: 0.82rem; color: var(--muted); }
.hero-image { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; padding: 2rem 3rem 0; overflow: hidden; }
.hero-photo-wrapper { position: relative; width: 100%; max-width: 420px; }
.hero-photo-wrapper img { width: 100%; border-radius: 28px 28px 0 0; display: block; object-fit: cover; object-position: top center; aspect-ratio: 3/4; }
.badge-float { position: absolute; background: var(--white); border-radius: 16px; padding: 0.75rem 1rem; box-shadow: 0 8px 32px rgba(30,28,24,0.14); font-size: 0.82rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.badge-left { left: -24px; top: 30%; }
.badge-right { right: -14px; top: 55%; }

/* GOOGLE RATING BADGE */
.rating-badge { background: var(--white); border-radius: 16px; padding: 0.85rem 1.2rem; box-shadow: 0 8px 32px rgba(30,28,24,0.14); display: inline-flex; align-items: center; gap: 0.75rem; margin-top: 2rem; border: 1px solid var(--border); }
.rating-stars { color: #FBBC04; font-size: 1rem; letter-spacing: 1px; }
.rating-text strong { display: block; font-size: 0.95rem; color: var(--night); }
.rating-text span { font-size: 0.78rem; color: var(--muted); }
.g-logo { width: 20px; height: 20px; }

.section { padding: 5rem; }
.section-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); margin-bottom: 1rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--night); line-height: 1.25; max-width: 600px; margin-bottom: 1.5rem; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3rem; }
.problem-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.problem-list li { display: flex; align-items: flex-start; gap: 1rem; font-size: 1rem; color: var(--ink); line-height: 1.6; }
.x-icon { flex-shrink: 0; width: 22px; height: 22px; background: #FDECEA; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 2px; font-size: 0.75rem; color: #C13A2E; font-weight: 700; }
.solution-box { background: var(--sun-light); border-radius: 24px; padding: 2.5rem; border: 1px solid rgba(232,164,53,0.25); }
.solution-box h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--night); margin-bottom: 1rem; }
.solution-box p { color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }

.benefits-bg { background: var(--night); padding: 5rem; }
.benefits-bg .section-label { color: var(--sun); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.benefit-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 2rem; transition: background 0.2s, transform 0.2s; }
.benefit-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }
.benefit-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.benefit-card h4 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 0.6rem; }
.benefit-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* CLASSI PHOTO GALLERY */
.classes-section { padding: 5rem; background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.gallery-grid .tall { grid-row: span 2; }
.class-photo { border-radius: 20px; overflow: hidden; }
.class-photo img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 260px; transition: transform 0.4s; }
.class-photo:hover img { transform: scale(1.03); }

/* VIDEO TESTIMONIANZE */
.video-section { padding: 5rem; background: var(--terra-light); }
.video-wrapper { margin-top: 3rem; border-radius: 24px; overflow: hidden; max-width: 700px; margin-left: auto; margin-right: auto; box-shadow: 0 20px 60px rgba(193,92,46,0.2); position: relative; aspect-ratio: 16/9; }
.video-wrapper iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 0; border: none; display: block; }

/* LIBRI */
.books-section { padding: 5rem; background: var(--white); }
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.book-card { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.book-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(30,28,24,0.1); }
.book-cover { aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-badge { position: absolute; top: 12px; right: 12px; background: var(--terra); color: var(--white); font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 100px; letter-spacing: 0.04em; text-transform: uppercase; z-index: 2; }
.book-info { padding: 1.5rem; }
.book-info h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--night); margin-bottom: 0.4rem; }
.book-info p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.book-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; font-weight: 500; color: var(--terra); text-decoration: none; border-bottom: 1px solid var(--terra-light); padding-bottom: 1px; transition: border-color 0.2s; }
.book-link:hover { border-color: var(--terra); }

/* SOCIAL */
.social-strip { background: var(--terra-light); padding: 3rem 5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.social-strip p { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--night); }
.social-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.3rem; border-radius: 100px; font-size: 0.88rem; font-weight: 500; text-decoration: none; transition: transform 0.15s, opacity 0.2s; border: 1.5px solid transparent; }
.social-btn:hover { transform: translateY(-2px); opacity: 0.85; }
.s-insta { background: var(--white); color: var(--night); border-color: var(--border); }
.s-yt { background: #FF0000; color: var(--white); }
.s-tt { background: var(--night); color: var(--white); }
.s-link { background: var(--terra); color: var(--white); }

/* TESTIMONIANZE */
.testimonials { padding: 5rem; background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonial-card { background: var(--white); border-radius: 20px; padding: 2rem; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.stars { color: var(--sun); font-size: 0.9rem; letter-spacing: 2px; }
.quote { font-family: 'Playfair Display', serif; font-size: 1rem; line-height: 1.65; color: var(--ink); font-style: italic; flex: 1; }
.reviewer { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600; flex-shrink: 0; }
.reviewer-info p:first-child { font-weight: 500; font-size: 0.9rem; color: var(--night); }
.reviewer-info p:last-child { font-size: 0.78rem; color: var(--muted); }
.google-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }

/* CHI SONO */
.about-section { padding: 5rem; background: var(--sun-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; max-width: 420px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* FAQ */
.faq-section { padding: 5rem; background: var(--white); }
.faq-container { max-width: 720px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 1rem; list-style: none; font-weight: 500; font-size: 1rem; color: var(--night); transition: color 0.2s; }
.faq-question:hover { color: var(--terra); }
.faq-question::marker, .faq-question::-webkit-details-marker { display: none; }
.faq-question .toggle { width: 26px; height: 26px; border-radius: 50%; background: var(--terra-light); display: flex; align-items: center; justify-content: center; color: var(--terra); font-size: 1.1rem; flex-shrink: 0; transition: background 0.2s, transform 0.2s; line-height: 1; }
details[open] .faq-question .toggle { background: var(--terra); color: var(--white); transform: rotate(45deg); }
.faq-answer { font-size: 0.95rem; color: var(--muted); line-height: 1.7; padding: 1rem 0 0.5rem; max-width: 640px; }
.faq-answer a { color: var(--terra); text-decoration: none; border-bottom: 1px solid var(--terra-light); }

/* CTA */
.cta-section { background: var(--terra); padding: 6rem 5rem; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: 'HOLA'; position: absolute; font-family: 'Playfair Display', serif; font-size: 18vw; color: rgba(255,255,255,0.06); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; white-space: nowrap; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-white { background: var(--white); color: var(--terra); padding: 0.9rem 2.2rem; border-radius: 100px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.btn-ghost { background: transparent; color: var(--white); padding: 0.9rem 2.2rem; border-radius: 100px; font-size: 1rem; font-weight: 500; text-decoration: none; border: 2px solid rgba(255,255,255,0.5); transition: border-color 0.2s, background 0.2s; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

footer { background: var(--night); padding: 3rem 5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); }
.footer-brand span { color: var(--sun); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
footer small { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 3rem; }
  .hero-image { padding: 2rem 2rem 0; order: -1; }
  .hero-photo-wrapper { max-width: 320px; }
  .hero-text { padding: 2rem; }
  .badge-left, .badge-right { display: none; }
  .section, .benefits-bg, .books-section, .testimonials, .about-section, .faq-section, .cta-section, .classes-section, .video-section { padding: 3rem 1.5rem; }
  .problem-grid, .benefits-grid, .books-grid, .testimonials-grid, .about-grid, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .tall { grid-row: span 1; }
  nav { padding: 1rem 1.5rem; }
  .social-strip { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
  footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Nuevas Secciones Custom */
.lead-magnet-section {
  background-color: var(--terra);
  padding: 5rem 2rem;
  text-align: center;
  color: white;
}

.lead-magnet-form {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lead-magnet-form input[type="email"] {
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  min-width: 280px;
}

.lead-magnet-form button {
  background-color: var(--night);
  color: white;
  border: none;
  cursor: pointer;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  font-family: inherit;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.lead-magnet-form button:hover {
  opacity: 0.9;
}
