/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #2D2D2D;
  background: #FFFAF7;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Color tokens ── */
:root {
  --coral: #E07A5F;
  --coral-light: #F2A89A;
  --coral-dark: #C4624A;
  --charcoal: #2D2D2D;
  --charcoal-light: #4A4A4A;
  --cream: #FFFAF7;
  --cream-dark: #FFF3EC;
  --sand: #F5EDE6;
  --sand-light: #FAF5F0;
  --white: #FFFFFF;
  --text: #2D2D2D;
  --text-muted: #7A7A7A;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 30px rgba(45,45,45,0.08);
  --shadow-lg: 0 12px 50px rgba(45,45,45,0.12);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.2; }
.text-coral { color: var(--coral); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-coral {
  background: var(--coral); color: var(--white);
  box-shadow: 0 4px 20px rgba(224,122,95,0.35);
}
.btn-coral:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(224,122,95,0.45);
}
.btn-outline {
  background: rgba(255,255,255,0.15); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: var(--white); color: var(--charcoal);
  border-color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Section helpers ── */
.section { padding: 100px 0; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--coral);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 600px; line-height: 1.7;
}
.section-header { margin-bottom: 60px; }
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(255,250,247,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(45,45,45,0.08);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem; color: var(--white);
  transition: var(--transition);
}
.nav.scrolled .nav-logo { color: var(--charcoal); }
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--coral); color: var(--white) !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
}
.nav-logo-text { font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--coral);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a { color: var(--text-muted); }
.nav.scrolled .nav-links a:hover { color: var(--charcoal); }
.nav-cta {
  background: var(--coral) !important; color: var(--white) !important;
  padding: 10px 24px; border-radius: 50px; font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--coral-dark) !important; }

.nav-toggle {
  display: none; color: var(--white);
  transition: var(--transition);
}
.nav.scrolled .nav-toggle { color: var(--charcoal); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45,45,45,0.75) 0%,
    rgba(45,45,45,0.55) 50%,
    rgba(224,122,95,0.3) 100%
  );
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(255,250,247,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.85rem; color: rgba(255,255,255,0.9);
  margin-bottom: 24px; font-weight: 500;
}
.hero-badge svg { color: #FFD700; }
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  color: var(--white); margin-bottom: 24px;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: 1.15rem; color: rgba(255,255,255,0.8);
  line-height: 1.7; margin-bottom: 36px; max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 16px; flex-wrap: wrap; }

.stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px 24px; min-width: 130px;
  transition: var(--transition);
  animation: floatUp 0.8s ease both;
}
.stat-card[data-delay="0"] { animation-delay: 0.1s; }
.stat-card[data-delay="1"] { animation-delay: 0.25s; }
.stat-card[data-delay="2"] { animation-delay: 0.4s; }
.stat-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.stat-card-icon { color: var(--coral-light); margin-bottom: 8px; }
.stat-card-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem; color: var(--white);
}
.stat-card-label {
  font-size: 0.78rem; color: rgba(255,255,255,0.7);
  line-height: 1.4; margin-top: 2px;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.8rem; font-weight: 500;
  animation: bounce 2s infinite;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── NOSOTROS ── */
.nosotros { background: var(--cream); }
.nosotros-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.nosotros-images { position: relative; }
.nosotros-img-main {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.nosotros-img-main img { width: 100%; height: 420px; object-fit: cover; }
.nosotros-img-float {
  position: absolute; bottom: -40px; right: -30px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--cream);
}
.nosotros-img-float img { width: 260px; height: 190px; object-fit: cover; }
.nosotros-badge {
  position: absolute; top: -20px; left: -20px;
  background: var(--coral); color: var(--white);
  border-radius: var(--radius-sm); padding: 16px 20px;
  text-align: center; box-shadow: 0 8px 30px rgba(224,122,95,0.4);
}
.nosotros-badge-year {
  display: block; font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; line-height: 1;
}
.nosotros-badge-text { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; }
.nosotros-features { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--coral);
}
.coral-bg { background: rgba(224,122,95,0.12); }
.white-bg { background: var(--white); box-shadow: var(--shadow); }
.feature-item h4 {
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--charcoal); margin-bottom: 4px;
}
.feature-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ── CARTA ── */
.carta { background: var(--white); }
.carta-tabs {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 48px;
}
.carta-tab {
  padding: 10px 28px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted); background: var(--sand);
  transition: var(--transition);
}
.carta-tab:hover { color: var(--coral); background: rgba(224,122,95,0.08); }
.carta-tab.active {
  background: var(--coral); color: var(--white);
  box-shadow: 0 4px 20px rgba(224,122,95,0.3);
}
.carta-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px; margin-bottom: 48px;
}
.carta-item {
  background: var(--cream); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 16px; align-items: center;
  transition: var(--transition); border: 1px solid transparent;
}
.carta-item:hover {
  border-color: var(--coral-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.carta-item-img {
  width: 80px; height: 80px; border-radius: 12px; overflow: hidden;
  flex-shrink: 0;
}
.carta-item-img img { width: 100%; height: 100%; object-fit: cover; }
.carta-item-info { flex: 1; }
.carta-item-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.carta-item-top h4 {
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700;
  color: var(--charcoal);
}
.carta-item-tag {
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--coral);
  background: rgba(224,122,95,0.1); padding: 3px 10px; border-radius: 50px;
}
.carta-item-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.carta-footer {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.carta-footer p { font-size: 0.88rem; color: var(--text-muted); }

/* ── GALERÍA ── */
.galeria { background: var(--cream); }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.galeria-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
}
.galeria-item--wide { grid-column: span 2; }
.galeria-item--tall { grid-row: span 2; }
.galeria-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 200px;
}
.galeria-item--wide img { min-height: 280px; }
.galeria-item--tall img { min-height: 576px; }
.galeria-item:hover img { transform: scale(1.06); }
.galeria-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(45,45,45,0.6) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: var(--transition);
}
.galeria-item:hover .galeria-item-overlay { opacity: 1; }
.galeria-item-overlay span {
  color: var(--white); font-size: 0.95rem; font-weight: 600;
}

/* ── HORARIO ── */
.horario { background: var(--charcoal); color: var(--white); }
.horario .section-tag { color: var(--coral-light); }
.horario .section-title { color: var(--white); }
.horario .section-desc { color: rgba(255,255,255,0.6); }
.horario-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.horario-lista {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); overflow: hidden;
  margin-top: 32px;
}
.horario-fila {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.horario-fila:last-child { border-bottom: none; }
.horario-fila:hover { background: rgba(255,255,255,0.04); }
.horario-dia { font-weight: 500; color: rgba(255,255,255,0.85); }
.horario-hora { font-weight: 600; color: var(--coral-light); }
.horario-map { }
.horario-map-placeholder {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 48px 40px;
  text-align: center;
}
.horario-map-placeholder svg { color: var(--coral-light); margin-bottom: 20px; }
.horario-map-placeholder p {
  color: rgba(255,255,255,0.7); margin-bottom: 28px;
  line-height: 1.7; font-size: 0.95rem;
}

/* ── TESTIMONIOS ── */
.testimonios { background: var(--sand-light); }
.testimonios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonio-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
  transition: var(--transition);
}
.testimonio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonio-stars { display: flex; gap: 4px; margin-bottom: 16px; color: #FFB800; }
.testimonio-text {
  font-size: 0.95rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 20px; font-style: italic;
}
.testimonio-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonio-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--coral); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.testimonio-author span { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }

/* ── CONTACTO ── */
.contacto { background: var(--white); }
.contacto-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contacto-datos { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.dato { display: flex; gap: 16px; align-items: flex-start; }
.dato-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--coral);
}
.dato span:first-of-type, .dato .dato-label {
  display: block; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px;
}
.dato span:last-of-type, .dato a {
  font-size: 0.95rem; color: var(--charcoal); font-weight: 500;
  line-height: 1.6;
}
.dato a:hover { color: var(--coral); }
.contacto-form-wrapper {
  background: var(--cream); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
}
.contacto-form h3 {
  font-size: 1.5rem; color: var(--charcoal); margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--sand); background: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  color: var(--charcoal); transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(224,122,95,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none; align-items: center; gap: 12px;
  margin-top: 16px; padding: 16px 20px;
  background: rgba(76,175,80,0.08); border-radius: var(--radius-sm);
  color: #2E7D32; font-size: 0.9rem; font-weight: 500;
}
.form-success.show { display: flex; }
.form-success svg { color: #4CAF50; flex-shrink: 0; }

/* ── FOOTER ── */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { }
.footer-logo-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--coral); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif; font-size: 1.4rem;
  margin-bottom: 16px;
}
.footer-logo-text {
  display: block; font-family: 'DM Serif Display', serif;
  font-size: 1.3rem; color: var(--white); margin-bottom: 12px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-links h5, .footer-contact h5 {
  font-family: 'Inter', sans-serif; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--white); margin-bottom: 20px; font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--coral-light); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact p { font-size: 0.9rem; line-height: 1.7; }
.footer-contact a {
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-contact a:hover { color: var(--coral-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; font-size: 0.82rem; color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 12px;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { justify-content: flex-start; }
  .nosotros-grid { grid-template-columns: 1fr; gap: 60px; }
  .horario-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .contacto-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonios-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--cream); flex-direction: column; justify-content: center;
    gap: 24px; padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--charcoal) !important; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; }
  .stat-card { min-width: auto; width: 100%; }
  .nosotros-img-float { right: 0; bottom: -30px; }
  .nosotros-img-main img { height: 300px; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .galeria-item--wide { grid-column: span 2; }
  .galeria-item--tall { grid-row: span 1; }
  .galeria-item--tall img { min-height: 280px; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 72px 0; }
  .carta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-item--wide { grid-column: span 1; }
  .contacto-form-wrapper { padding: 24px; }
  .horario-map-placeholder { padding: 32px 24px; }
}
