/* VivaSpanish — stylesheet
   Paleta heredada del proyecto Horizons: naranja cálido + crema
   Tipografías: Playfair Display (display) + DM Sans (body)
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --primary:        #E8704A;
  --primary-dark:   #D85A33;
  --primary-soft:   #FBE2D6;
  --accent:         #F58634;
  --accent-soft:    #FFE4C4;
  --secondary:      #F4E4D6;
  --bg:             #FBF6F1;
  --bg-card:        #FFFFFF;
  --text:           #1F2937;
  --text-muted:     #6B7280;
  --border:         #E5D4C0;
  --radius:         0.75rem;
  --radius-lg:      1.25rem;
  --shadow-sm:      0 1px 2px rgba(31,41,55,.05);
  --shadow:         0 4px 12px rgba(31,41,55,.08);
  --shadow-lg:      0 12px 32px rgba(31,41,55,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.6rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem; font-family: inherit; border: 2px solid transparent; cursor: pointer; transition: all .2s ease; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1FB855; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,246,241,.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.4rem; color: var(--primary); }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { padding: .55rem 1rem; border-radius: .5rem; color: var(--text); font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang-switch { display: flex; gap: .15rem; background: var(--secondary); padding: .25rem; border-radius: .5rem; }
.lang-switch a { padding: .3rem .6rem; font-size: .8rem; font-weight: 600; color: var(--text-muted); border-radius: .35rem; text-transform: uppercase; letter-spacing: .03em; }
.lang-switch a.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.menu-toggle { display: none; background: none; border: none; padding: .5rem; cursor: pointer; color: var(--text); }
.menu-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero { position: relative; padding: 6rem 0 5rem; overflow: hidden; background: radial-gradient(circle at 15% 20%, rgba(232,112,74,.18), transparent 50%), radial-gradient(circle at 85% 60%, rgba(245,134,52,.12), transparent 50%), var(--bg); }
.hero::before { content: ''; position: absolute; top: -50px; right: -50px; width: 220px; height: 220px; background: radial-gradient(circle, var(--accent-soft), transparent 70%); border-radius: 50%; z-index: 0; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 1.25rem; }
.hero-content h1 .accent { color: var(--primary); }
.hero-content p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 540px; }
.hero-cta { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img { width: 100%; max-width: 520px; margin-left: auto; height: auto; mix-blend-mode: multiply; }
.hero-image::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 420px; height: 420px; background: radial-gradient(circle, rgba(232,112,74,.22) 0%, rgba(245,134,52,.10) 45%, transparent 70%); border-radius: 50%; z-index: -1; filter: blur(30px); pointer-events: none; }

/* Sections */
section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head .eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: .75rem; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* About */
.about { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.75rem; }
.feature { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }
.feature-icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: .5rem; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 20px; height: 20px; }
.feature h4 { font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 600; margin-bottom: .15rem; }
.feature p { font-size: .85rem; color: var(--text-muted); margin: 0; line-height: 1.45; }

/* Pricing */
.pricing { background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.price-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; transition: all .25s ease; position: relative; }
.price-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { background: linear-gradient(160deg, var(--primary) 0%, var(--accent) 100%); color: #fff; border-color: transparent; }
.price-card.featured h3, .price-card.featured .price, .price-card.featured .price-meta { color: #fff; }
.price-card.featured .price-meta { opacity: .9; }
.price-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; padding: .35rem .85rem; border-radius: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.price-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.price-card .price-meta { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.price-card .price { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.price-card .price-unit { font-size: 1rem; font-weight: 500; color: var(--text-muted); margin-left: .25rem; }
.price-card.featured .price-unit { color: rgba(255,255,255,.85); }
.price-card ul { list-style: none; margin-top: 1.25rem; padding: 0; text-align: left; font-size: .92rem; }
.price-card li { padding: .35rem 0; padding-left: 1.5rem; position: relative; color: var(--text-muted); }
.price-card.featured li { color: rgba(255,255,255,.92); }
.price-card li::before { content: '✓'; position: absolute; left: 0; top: .35rem; color: var(--primary); font-weight: 700; }
.price-card.featured li::before { color: #fff; }
.pricing-note { margin-top: 2.5rem; text-align: center; padding: 1.25rem 1.5rem; background: var(--primary-soft); border-radius: var(--radius); color: var(--text); max-width: 720px; margin-left: auto; margin-right: auto; font-size: .95rem; }
.pricing-note strong { color: var(--primary-dark); }

/* Contact */
.contact { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; max-width: 1000px; margin: 0 auto; }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-methods { display: grid; gap: 1rem; }
.contact-method { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); transition: all .2s; color: var(--text); }
.contact-method:hover { border-color: var(--primary); transform: translateX(4px); box-shadow: var(--shadow); color: var(--text); }
.contact-method-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: .65rem; display: flex; align-items: center; justify-content: center; color: #fff; }
.contact-method-icon.whatsapp { background: #25D366; }
.contact-method-icon.email { background: var(--primary); }
.contact-method-icon svg { width: 22px; height: 22px; }
.contact-method-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-method-value { font-weight: 600; font-size: 1.05rem; }
.contact-qr { background: #fff; padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: center; max-width: 320px; margin: 0 auto; }
.contact-qr img { width: 100%; max-width: 240px; margin: 0 auto 1rem; }
.contact-qr p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* Footer */
.site-footer { background: #1A1410; color: #FBF6F1; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: .5rem; color: #fff; }
.footer-tagline { color: rgba(251,246,241,.7); font-size: .95rem; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 600; margin-bottom: 1rem; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: rgba(251,246,241,.7); font-size: .92rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(251,246,241,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; color: rgba(251,246,241,.5); font-size: .85rem; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Floating WhatsApp */
.float-wa { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 20px rgba(37,211,102,.4); transition: transform .2s ease; }
.float-wa:hover { transform: scale(1.1); color: #fff; }
.float-wa svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 900px) {
  .hero .container, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 380px; margin: 0 auto; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 1rem 1.5rem; background: var(--bg); border-bottom: 1px solid var(--border); gap: .25rem; }
  .nav.open a { padding: .85rem 1rem; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  section { padding: 3.5rem 0; }
  .section-head { margin-bottom: 2.5rem; }
}
@media (max-width: 540px) {
  .container { padding: 0 1.15rem; }
  body { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .price-card { padding: 1.75rem 1.25rem; }
}

/* Intro-call banner (sobre los precios) */
.intro-call-banner {
  max-width: 900px;
  margin: 0 auto 3.25rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, var(--primary-soft) 0%, #fff 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.intro-call-banner::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  border-radius: 50%; z-index: 0;
}
.intro-call-banner > * { position: relative; z-index: 1; }
.intro-call-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  color: var(--primary); background: #fff;
  padding: .25rem .65rem;
  border-radius: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .5rem;
  border: 1px solid var(--primary);
}
.intro-call-icon {
  width: 64px; height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(232,112,74,.3);
}
.intro-call-icon svg { width: 32px; height: 32px; }
.intro-call-text h3 {
  font-size: 1.35rem;
  margin-bottom: .35rem;
  line-height: 1.25;
}
.intro-call-text p {
  font-size: .98rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .intro-call-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.75rem 1.4rem;
    gap: 1.1rem;
  }
  .intro-call-icon { margin: 0 auto; }
  .intro-call-text { text-align: center; }
  .intro-call-banner .btn { width: 100%; }
}
