/* ===== EYO Yoga - Static Site Styles ===== */

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

:root {
  --green: #6f9382;
  --green-dark: #4e665e;
  --green-light: #e8f0ec;
  --text: #334155;
  --text-light: #777;
  --white: #fff;
  --bg-light: #f0f5fa;
  --border: #d1d5db;
  --shadow: 0 0 4px 0 rgba(0,0,0,.09);
  --shadow-hover: 0 4px 16px rgba(0,0,0,.12);
  --radius: 4px;
  --max-w: 1200px;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text-light); }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 3em; }

/* ===== Header / Nav ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 56px; width: auto; }
.logo-text {
  font-size: 1.5rem; font-weight: 600; color: var(--green);
  letter-spacing: .5px;
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text); font-weight: 400; font-size: .95rem;
  padding: 8px 0; transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  position: absolute; left: 7px; transition: var(--transition);
}
.menu-toggle span:nth-child(1) { top: 10px; }
.menu-toggle span:nth-child(2) { top: 17px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* ===== Language Switcher ===== */
.lang-switch {
  display: flex; align-items: center; gap: 4px;
  margin-left: 12px; padding-left: 16px;
  border-left: 1px solid var(--border);
}
.lang-switch a {
  font-size: .8rem; font-weight: 600; padding: 3px 8px;
  border-radius: 3px; color: var(--text-light);
  transition: all var(--transition); text-transform: uppercase;
}
.lang-switch a:hover { color: var(--green); }
.lang-switch a.active {
  background: var(--green); color: var(--white);
}

/* ===== Hero con Video ===== */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%); object-fit: cover; z-index: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(232,240,236,.3);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  color: var(--white); max-width: 650px; padding: 48px 24px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 600;
  line-height: 1.3; margin-bottom: 16px;
}
.hero p {
  font-size: 1.05rem; margin-bottom: 32px; opacity: .95;
  line-height: 1.7; font-weight: 300;
}

/* Hero para subpáginas (sin video, con imagen) */
.hero-page { min-height: 50vh; }
.hero-page .hero-bg { z-index: 0; }

/* Hero mini (contacto) */
.hero-mini { min-height: 25vh; }
.hero-mini .hero-bg { z-index: 0; }
.hero-mini h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: var(--radius);
  font-weight: 500; font-size: .95rem; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
  text-align: center; letter-spacing: .3px;
}
.btn-primary {
  background: var(--green); color: var(--white); border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark); border-color: var(--green-dark); color: var(--white);
}
.btn-outline {
  background: transparent; color: var(--white); border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--green); }
.btn-outline-green {
  background: transparent; color: var(--green); border-color: var(--green);
}
.btn-outline-green:hover { background: var(--green); color: var(--white); }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-white { background: var(--white); }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem); color: var(--green);
  text-align: center; margin-bottom: 12px; font-weight: 600;
}
.section-subtitle {
  text-align: center; color: var(--text-light); max-width: 600px;
  margin: 0 auto 48px; font-size: 1rem; line-height: 1.7;
}

/* ===== Quote ===== */
.quote-section {
  background: var(--green); color: var(--white);
  text-align: center; padding: 56px 24px;
}
.quote-section blockquote {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-style: italic;
  max-width: 700px; margin: 0 auto; line-height: 1.7;
  font-weight: 300;
}
.quote-section cite {
  display: block; margin-top: 16px; font-size: .9rem; opacity: .8;
  font-style: normal; font-weight: 400;
}

/* ===== Cards Grid ===== */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

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

.card-img { height: 200px; overflow: hidden; }
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: 24px; }
.card-body h3 { color: var(--green); margin-bottom: 10px; font-size: 1.1rem; font-weight: 600; }
.card-body p { color: var(--text-light); font-size: .9rem; line-height: 1.65; }

/* ===== Services List ===== */
.service-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; margin-bottom: 64px; padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-block:nth-child(even) .service-img { order: -1; }

.service-img { border-radius: var(--radius); overflow: hidden; }
.service-img img { width: 100%; height: 320px; object-fit: cover; }

.service-text h3 {
  font-size: 1.4rem; color: var(--green); margin-bottom: 14px; font-weight: 600;
}
.service-text p { color: var(--text-light); margin-bottom: 14px; line-height: 1.7; }
.service-text ul { margin-bottom: 18px; }
.service-text ul li {
  padding: 5px 0 5px 22px; position: relative; color: var(--text-light);
}
.service-text ul li::before {
  content: '•'; position: absolute; left: 6px; color: var(--green); font-weight: 700;
}

/* ===== Team ===== */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.team-card { text-align: center; }
.team-card .team-photo {
  width: 180px; height: 180px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 20px; box-shadow: var(--shadow);
}
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { color: var(--green); margin-bottom: 8px; font-size: 1.1rem; font-weight: 600; }
.team-card p { color: var(--text-light); font-size: .88rem; line-height: 1.65; }

/* ===== About ===== */
.about-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.about-text h3 { font-size: 1.3rem; color: var(--green); margin-bottom: 14px; font-weight: 600; }
.about-text p { color: var(--text-light); margin-bottom: 14px; line-height: 1.7; }

.objectives li {
  padding: 10px 0 10px 28px; position: relative; color: var(--text-light);
  line-height: 1.65;
}
.objectives li::before {
  content: ''; position: absolute; left: 6px; top: 18px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}

.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px;
}
.contact-info-item .icon {
  width: 44px; height: 44px; background: var(--green-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item h4 { color: var(--green); margin-bottom: 4px; font-size: .95rem; font-weight: 600; }
.contact-info-item p { color: var(--text-light); font-size: .9rem; }

.social-links { display: flex; gap: 10px; margin-top: 24px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--green-dark); color: var(--white); transform: scale(1.08); }

/* ===== Form ===== */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 5px; font-weight: 500;
  color: var(--text); font-size: .9rem;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: .95rem;
  font-family: inherit; transition: border-color var(--transition);
  background: var(--white); height: 40px;
}
.form-group textarea { height: auto; resize: vertical; min-height: 110px; }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green);
}

/* ===== Map ===== */
.map-container {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-top: 40px;
}
.map-container iframe { width: 100%; height: 380px; border: 0; }

/* ===== Footer ===== */
.footer {
  background: #2d3748; color: rgba(255,255,255,.65); padding: 48px 0 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px;
  margin-bottom: 32px;
}
.footer h4 { color: var(--white); margin-bottom: 14px; font-size: .95rem; font-weight: 600; }
.footer p { font-size: .88rem; line-height: 1.7; }
.footer a { color: rgba(255,255,255,.65); }
.footer a:hover { color: var(--white); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: .88rem; }
.footer-bottom {
  text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
}
.footer .logo-footer img { height: 40px; margin-bottom: 12px; filter: brightness(10); }

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(37,211,102,.35);
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08); color: var(--white);
  box-shadow: 0 5px 18px rgba(37,211,102,.45);
}

/* ===== WhatsApp Big Button (contacto) ===== */
.btn-whatsapp-big {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 15px 24px; border-radius: var(--radius);
  background: #25d366; color: var(--white); font-weight: 600; font-size: 1.05rem;
  transition: all var(--transition); margin-bottom: 24px;
}
.btn-whatsapp-big:hover {
  background: #1da851; color: var(--white); transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}

.form-divider {
  text-align: center; margin-bottom: 24px; position: relative;
}
.form-divider::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--border);
}
.form-divider span {
  position: relative; background: var(--white); padding: 0 16px;
  color: var(--text-light); font-size: .88rem;
}

#form-status { text-align: center; margin-top: 14px; font-size: .9rem; }
#form-status.success { color: var(--green); }
#form-status.error { color: #d32f2f; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 14px 24px; font-size: .85rem; color: var(--text-light);
}
.breadcrumb a { color: var(--green); }
.breadcrumb span { margin: 0 8px; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--green); text-align: center; padding: 48px 24px;
  color: var(--white);
}
.cta-banner h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; }
.cta-banner p { font-size: 1rem; opacity: .9; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== Article Content ===== */
.article-content {
  max-width: 760px; margin: 0 auto;
}
.article-content .article-date {
  display: block; font-size: .85rem; color: var(--green);
  margin-bottom: 24px; font-weight: 500;
}
.article-content h2, .article-content h3 {
  color: var(--green); margin: 32px 0 14px; font-weight: 600;
}
.article-content h2 { font-size: 1.4rem; }
.article-content h3 { font-size: 1.15rem; }
.article-content p {
  color: var(--text-light); margin-bottom: 16px; line-height: 1.75; font-size: .95rem;
}
.article-content ul, .article-content ol {
  margin-bottom: 18px; padding-left: 24px;
}
.article-content li {
  color: var(--text-light); padding: 4px 0; line-height: 1.7; font-size: .95rem;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content blockquote {
  border-left: 4px solid var(--green); padding: 16px 24px; margin: 24px 0;
  background: var(--green-light); font-style: italic; color: var(--text);
}
.article-content img {
  border-radius: var(--radius); margin: 24px 0;
}
.article-content strong { color: var(--text); }
.article-content em { font-style: italic; }
.article-content a { color: var(--green); text-decoration: underline; }
.article-content a:hover { color: var(--green-dark); }
.article-content figure { margin: 24px 0; }
.article-content figcaption {
  font-size: .82rem; color: var(--text-light); text-align: center; margin-top: 8px;
}

/* ===== Blog Grid ===== */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block; color: inherit; text-decoration: none;
  border-left: 4px solid var(--green);
}
.blog-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-hover);
  color: inherit;
}

.blog-card-body { padding: 24px; }
.blog-card-body time {
  display: block; font-size: .8rem; color: var(--green);
  margin-bottom: 8px; font-weight: 500;
}
.blog-card-body h3 {
  color: var(--text); font-size: 1.05rem; font-weight: 600;
  margin-bottom: 10px; line-height: 1.4;
}
.blog-card:hover h3 { color: var(--green); }
.blog-card-body p {
  color: var(--text-light); font-size: .88rem; line-height: 1.65;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .container { padding: 0 1.5em; }

  .nav-links {
    position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column;
    justify-content: flex-start; padding: 24px; gap: 0;
    transform: translateX(100%); transition: transform var(--transition);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    padding: 14px 0; font-size: 1.05rem;
    border-bottom: 1px solid #eee; width: 100%;
  }
  .menu-toggle { display: block; }

  .hero { min-height: 70vh; }

  .service-block { grid-template-columns: 1fr; gap: 24px; }
  .service-block:nth-child(even) .service-img { order: 0; }

  .about-row, .contact-grid { grid-template-columns: 1fr; gap: 28px; }

  .team-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 48px 0; }

  .blog-grid { grid-template-columns: 1fr; }

  .logo-text { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .cards { grid-template-columns: 1fr; }
  .container { padding: 0 1.2em; }
}
