/* ================================
   Quokka's Corner — Estilos
   ================================ */

/* Variables */
:root {
  --bg: #FDF6E3;
  --surface: #FFFDF5;
  --text: #2C1A0E;
  --text-muted: #6B4C2A;
  --accent: #E85D26;
  --green: #3DAA6E;
  --yellow: #F5C842;
  --border: #D4B896;
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(44, 26, 14, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

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

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

/* ================================
   Layout
   ================================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--text);
  margin-bottom: 2.5rem;
  text-align: center;
}

/* ================================
   Header
   ================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 227, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 10px;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

nav a:hover { color: var(--accent); }

/* ================================
   Buttons
   ================================ */
.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
}

.btn-nav:hover { background: #c94d1e; transform: translateY(-1px); }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover { background: #c94d1e; transform: translateY(-2px); }

.btn-maps {
  margin-top: 1.5rem;
  width: 100%;
  text-align: center;
}

/* ================================
   Hero
   ================================ */
.hero {
  position: relative;
  height: clamp(380px, 65vw, 620px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 8, 0, 0.35) 0%, rgba(20, 8, 0, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 1.5rem;
  max-width: 700px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 1.75rem;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

/* ================================
   Nosotros
   ================================ */
.nosotros { background: var(--surface); }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.nosotros-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin-bottom: 1rem;
}

.nosotros-text p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  max-width: 540px;
}

.badge-cash {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--yellow);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}

.nosotros-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.nosotros-img-wrap img {
  width: 100%;
  height: clamp(260px, 40vw, 400px);
  object-fit: cover;
  object-position: center;
}

/* ================================
   Productos
   ================================ */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.producto-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.producto-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.producto-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.producto-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.producto-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ================================
   Galería
   ================================ */
.galeria { background: var(--surface); }

.galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.galeria-grid img {
  width: 100%;
  height: clamp(220px, 45vw, 380px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ================================
   Ubicación
   ================================ */
.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.mapa-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.mapa-wrap iframe {
  display: block;
  width: 100%;
}

.ubicacion-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-block strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.info-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-block p a {
  color: var(--accent);
  font-weight: 500;
}

/* ================================
   Footer
   ================================ */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}

.footer-cash {
  background: var(--yellow);
  color: var(--text);
  display: inline-block;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0.4rem auto;
}

.footer-copy {
  font-size: 0.78rem;
  opacity: 0.55;
  margin-top: 0.5rem;
}

/* ================================
   Responsive — Desktop
   ================================ */
@media (min-width: 768px) {
  .nosotros-grid {
    grid-template-columns: 1fr 1fr;
  }

  .productos-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .ubicacion-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
