/* ============ VARIABLES ============ */
:root {
  --mustard: #C9952A;
  --mustard-light: #E8B84B;
  --mustard-deep: #A67A1E;
  --olive: #6B7C45;
  --olive-deep: #4A5A28;
  --shadow-mustard: rgba(201, 149, 42, 0.2);
  --cream: #FFF8F0;
  --cream-warm: #FFE8D0;
  --bone: #FFFAF5;
  --ink: #1A0500;
  --ink-soft: #3D3028;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* RESPONSIVO: sin desbordamiento horizontal */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bone);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ HERO ============ */
.hero {
  padding: 5rem 3rem 4rem;
  text-align: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--mustard-light) 0%, transparent 65%);
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mustard);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before { content: '✦'; color: var(--mustard); }

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--mustard-deep);
  font-weight: 300;
}

.hero-sub {
  font-family: 'Caveat', cursive;
  font-size: 1.75rem;
  color: var(--mustard);
  display: block;
  margin-bottom: 0.75rem;
  transform: rotate(-1deg);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============ CONTACT SECTION ============ */
.contact-section {
  padding: 6rem 3rem;
  background: var(--bone);
  max-width: 1300px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  /* RESPONSIVO: 1 columna en móvil */
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-info h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.contact-info h2 em {
  font-style: italic;
  color: var(--mustard);
  font-weight: 300;
}

.contact-intro {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 400px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mustard);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.section-eyebrow::before { content: '✦'; }

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--mustard);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg { width: 18px; height: 18px; }

.info-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.info-value {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.4;
  text-decoration: none;
}

a.info-value:hover { color: var(--mustard); }

/* ============ HOURS BLOCK ============ */
.hours-block {
  background: var(--ink);
  color: var(--cream);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 184, 0, 0.2);
}

.hours-block::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--mustard) 0%, transparent 60%);
  opacity: 0.35;
}

.hours-block-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mustard-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.hours-block h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.hours-list {
  list-style: none;
  position: relative;
  z-index: 2;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(245, 239, 227, 0.1);
  font-size: 0.9rem;
}

.hours-list li:last-child { border-bottom: none; }
.hours-day { font-weight: 500; letter-spacing: 0.05em; }
.hours-time { font-family: 'Fraunces', serif; color: var(--mustard-light); font-style: italic; }

/* ============ FORM ============ */
.contact-form-wrap {
  background: var(--cream);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px var(--shadow-mustard);
  border: 1px solid rgba(201, 149, 42, 0.1);
}

.form-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mustard);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form-wrap h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 2rem;
  line-height: 1.1;
}

.form-field { margin-bottom: 1.25rem; }

.form-field label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.form-field label svg { opacity: 0.6; }

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid rgba(61, 48, 40, 0.15);
  border-radius: 10px;
  background: var(--bone);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--mustard);
  box-shadow: 0 0 0 3px rgba(201, 149, 42, 0.12);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  /* RESPONSIVO: 1 columna en móvil */
  grid-template-columns: 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
  background: var(--mustard);
  color: var(--cream);
  padding: 1.1rem 2rem;
  border-radius: 100px;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(201, 149, 42, 0.25);
}

.btn-submit:hover {
  background: var(--mustard-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 149, 42, 0.35);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  opacity: 0.7;
  margin-top: 1rem;
}

.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form-success-icon { font-size: 3rem; color: var(--mustard); margin-bottom: 1rem; }

.form-success h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-style: italic;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.form-success p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

/* ============ MAP SECTION ============ */
.map-section { background: var(--cream-warm); padding: 5rem 3rem; }

.map-container { max-width: 1300px; margin: 0 auto; }

.map-header { text-align: center; margin-bottom: 3rem; }

.map-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.map-header h2 em { font-style: italic; color: var(--mustard); font-weight: 300; }
.map-header p { color: var(--ink-soft); font-size: 1rem; }

/* RESPONSIVO: mapa responsive con padding-bottom trick (Regla 6) */
.map-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow-mustard);
  border: 3px solid rgba(201, 149, 42, 0.2);
  position: relative;
  padding-bottom: 56.25%; /* ratio 16:9 */
  height: 0;
}

.map-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--mustard);
  color: var(--cream);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--mustard-light) 0%, transparent 70%);
  opacity: 0.2;
}

.cta-banner::before { top: -50%; left: -10%; }
.cta-banner::after { bottom: -50%; right: -10%; }

.cta-banner-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }

.cta-banner h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta-banner h2 em { font-style: italic; color: var(--mustard-light); }
.cta-banner p { font-size: 1.1rem; margin-bottom: 2.25rem; opacity: 0.95; }

.btn-primary {
  background: var(--cream);
  color: var(--mustard-deep);
  padding: 1.1rem 2.25rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  background: var(--bone);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 3rem 2rem;
}

/* RESPONSIVO: 1 columna en móvil */
.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 1.5rem; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--cream);
}

.footer-tagline { color: rgba(245, 239, 227, 0.7); font-size: 0.95rem; line-height: 1.6; max-width: 320px; }

.footer-col h4 {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mustard-light);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col a { color: rgba(245, 239, 227, 0.75); text-decoration: none; font-size: 0.95rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--mustard-light); }

.footer-social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(245, 239, 227, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover { background: var(--mustard); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; color: var(--cream); }

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 239, 227, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(245, 239, 227, 0.5);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE (MOBILE-FIRST, min-width) ============ */

/* 768px: tablets — NAV + layouts */
@media (min-width: 768px) {
  nav { padding: 1.25rem 3rem; }
  .nav-links { display: flex; gap: 2.5rem; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }

  /* RESPONSIVO: form row en 2 columnas */
  .form-row { grid-template-columns: 1fr 1fr; }

  .hero { padding: 5rem 3rem 4rem; }
  .contact-section { padding: 6rem 3rem; }
  .map-section { padding: 5rem 3rem; }
  .cta-banner { padding: 5rem 3rem; }
  .contact-form-wrap { padding: 3rem 2.5rem; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* 1024px: desktop */
@media (min-width: 1024px) {
  /* RESPONSIVO: contact-grid 2 columnas */
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
  /* RESPONSIVO: footer 4 columnas */
  .footer-content { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; }
}
