/* ===================================
   La Michoacana — Custom Styles
   =================================== */

/* --- Custom Properties --- */
:root {
  --green-900: #1a3a2a;
  --green-800: #1e4d35;
  --green-700: #235e3f;
  --green-600: #2d7a52;
  --green-500: #3a9b66;
  --green-400: #5bb884;
  --green-300: #8fd4ab;
  --green-200: #bce8cf;
  --green-100: #d9f5e4;
  --green-50:  #edf9f1;

  --cream-50:  #faf8f5;
  --cream-100: #f5f2ed;
  --cream-200: #ebe6dd;
  --cream-300: #d4cdc2;

  --pink-100:  #fce8ef;
  --pink-200:  #f9c5d6;
  --pink-300:  #f5a0b8;
  --pink-400:  #e87490;

  --yellow-100:#fdf4d6;
  --yellow-200:#fce8a8;
  --yellow-300:#f5d060;

  --text-dark:  #1a2e23;
  --text-mid:   #3d5a48;
  --text-light: #6b8f78;
  --text-muted: #8fae9a;

  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(26, 58, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 58, 42, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--green-800);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* --- Typography --- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.text-center { text-align: center; }

.mt-lg { margin-top: 48px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}
.btn-primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 77, 53, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--green-200);
}
.btn-secondary:hover {
  background: var(--green-50);
  border-color: var(--green-400);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(26, 58, 42, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-800);
}
.logo-mark { font-size: 1.6rem; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}
.nav-desktop a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-desktop a:not(.btn):hover { color: var(--green-700); }
.nav-desktop a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}
.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  background: var(--cream-50);
  border-top: 1px solid var(--cream-200);
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-menu a:hover { background: var(--green-50); color: var(--green-700); }
.mobile-menu .btn { margin-top: 8px; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--green-50) 50%, var(--pink-100) 100%);
  padding: 120px 0 60px;
  overflow: hidden;
}
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  color: var(--cream-50);
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--white);
  border: 1px solid var(--green-200);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(26, 58, 42, 0.06);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}
.hero-title em {
  font-style: italic;
  color: var(--green-700);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
}
.trust-item svg { color: var(--green-600); }

/* Hero Image */
.hero-image {
  position: relative;
}
.hero-img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}
.hero-float-card.float-card--alt {
  top: 40px;
  right: -30px;
  bottom: auto;
  left: auto;
  animation-delay: 2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-emoji { font-size: 1.8rem; }
.float-card-text { display: flex; flex-direction: column; }
.float-card-text strong { font-size: 0.9rem; color: var(--text-dark); }
.float-card-text span { font-size: 0.78rem; color: var(--text-light); }

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

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

.about-images {
  position: relative;
}
.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--cream-50);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-experience {
  position: absolute;
  top: -20px;
  right: 30px;
  background: var(--green-700);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-experience .exp-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.about-experience .exp-label {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 4px;
  display: block;
}

.about-content .section-title { margin-top: 8px; }
.about-content > p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
}
.feature-item strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.feature-item span {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Menu --- */
.menu {
  padding: 100px 0;
  background: var(--white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.menu-card {
  background: var(--cream-50);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--cream-200);
  transition: all var(--transition);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}
.menu-card-img {
  overflow: hidden;
  height: 220px;
}
.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.05); }

.menu-card-body {
  padding: 28px;
}
.menu-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--green-800);
}
.menu-card-body p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* --- Visit --- */
.visit {
  padding: 100px 0;
  background: var(--cream-50);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.visit-info .section-title { margin-top: 8px; }
.visit-info > .section-subtitle { margin: 0 0 40px; }

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.visit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.visit-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
}
.visit-item strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.visit-item p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.visit-item a {
  color: var(--green-700);
  font-weight: 500;
  transition: color var(--transition);
}
.visit-item a:hover { color: var(--green-500); }

.map-placeholder { border-radius: var(--radius); overflow: hidden; }

.visit-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.visit-image img { width: 100%; height: 100%; object-fit: cover; }

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  color: var(--white);
}
.testimonials .section-label {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: var(--green-200);
}
.testimonials .section-title { color: var(--white); }
.testimonials .section-subtitle { color: var(--green-300); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--yellow-300);
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}
.testimonial-author span {
  font-size: 0.82rem;
  color: var(--green-300);
}

/* --- CTA --- */
.cta {
  padding: 100px 0;
  background: var(--cream-50);
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-200);
}
.cta-content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-content .section-title { margin-top: 8px; }
.cta-content > p {
  color: var(--text-mid);
  margin: 16px 0 32px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-image { overflow: hidden; min-height: 400px; }
.cta-image img { width: 100%; height: 100%; object-fit: cover; }

/* --- Footer --- */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 300px; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-300); }

.footer-contact strong {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.footer-contact p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 8px; }
.footer-contact a { color: var(--green-300); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .hero-float-card { display: none; }
  .about-grid { gap: 48px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 100px 0 80px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; }
  .hero-img-wrapper { border-radius: var(--radius); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 20px; }

  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-secondary { right: -10px; bottom: -20px; }

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

  .visit-grid { grid-template-columns: 1fr; }
  .visit-image { order: -1; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: auto; max-width: 100%; }

  .cta-card { grid-template-columns: 1fr; }
  .cta-content { padding: 40px 28px; }
  .cta-image { min-height: 260px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .about-experience { right: 10px; top: -10px; padding: 14px 18px; }
  .about-experience .exp-number { font-size: 1.8rem; }
}
