/* =========================================================
   MAHUA · ESTILOS BASE
   ========================================================= */

:root {
  --font-title: "Playfair Display", serif;
  --font-text: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;

  --bg: #fffaf6;
  --surface: #ffffff;
  --soft: #fbf2ea;

  --brand: #8a4b22;
  --brand-dark: #763e1c;

  --text: #2b2b2b;
  --muted: #6e6a66;

  --border: rgba(0, 0, 0, 0.12);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);

  --radius: 18px;
}

/* ---------------------------
   BASE
---------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}


.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: 1000;
}

/* ---------------------------
   TIPOGRAFÍA
---------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  color: var(--brand);
  letter-spacing: 0.3px;
}

h1 {
  font-weight: 800;
}
h2 {
  font-weight: 700;
}
h3 {
  font-weight: 600;
}
h4,
h5,
h6 {
  font-weight: 500;
}

p,
.lead,
.section-subtitle,
.card-text,
.nav-link,
.btn,
.chip,
footer {
  font-family: var(--font-text);
}

.section-title,
.display-title {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--brand);
}

.section-subtitle {
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--muted);
}

.text-muted {
  color: var(--muted) !important;
}

/* ---------------------------
   NAVBAR
---------------------------- */
.navbar-mahua {
  background: linear-gradient(
    180deg,
    #f2d8c9 0%,
    #f8e7dc 60%,
    rgb(247, 243, 240) 100%
  );
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand-logo {
  height: 64px;
  width: auto;
  transition: transform 0.2s ease;
}

.navbar-nav .nav-link {
  padding: 0.6rem 0.9rem;
}

.navbar-mahua .nav-link {
  font-weight: 500;
  color: #7a4b2c;
}

.navbar-mahua .nav-link:hover,
.navbar-mahua .nav-link.active {
  color: var(--brand);
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.03);
}

/* ---------------------------
   BOTONES (base)
---------------------------- */
.btn-mahua {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 500;
  border-radius: 999px;
}

.btn-mahua:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.btn-outline-mahua {
  background-color: transparent;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-weight: 500;
  border-radius: 999px;
}

.btn-outline-mahua:hover {
  background-color: rgba(138, 75, 34, 0.08);
  color: var(--brand);
}

/* ---------------------------
   BOTÓN WHATSAPP 
---------------------------- */
.btn-whatsapp {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.navbar-mahua .btn-whatsapp {
  padding: 0.5rem 1rem;
  font-weight: 500;
}


.hero-cover .btn-whatsapp {
  padding: 10px 18px;
  font-weight: 600;
}

.btn-outline-light-mahua {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--brand);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.btn-outline-light-mahua:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--brand);
}

/* =========================
   HERO COVER · MAHUA
   ========================= */
.hero-cover {
  position: relative;

  min-height: 70vh; 
  padding-top: 140px; 
  padding-bottom: 96px;

  display: flex;
  align-items: center;

  background-image: url("../img/fondo.png");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 250, 246, 0.9) 0%,
    rgba(255, 250, 246, 0.72) 45%,
    rgba(255, 250, 246, 0.2) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-brand {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brand);
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}

.hero-kicker {
  font-family: var(--font-text);
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 8px 0;
  letter-spacing: 0.4px;
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--brand);
  margin: 0 0 10px 0;
  font-size: 2.8rem;
  line-height: 1.1;
}

.hero-tagline {
  font-family: var(--font-text);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
}


.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------
   SECCIONES 
---------------------------- */
section {
  scroll-margin-top: 92px;
}

.section-pad {
  padding: 64px 0;
}

.section-soft {
  background-color: var(--soft);
}


.section-line {
  display: inline-block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}

/* ---------------------------
   QUIÉNES SOMOS 
---------------------------- */
.section-head {
  margin-bottom: 14px;
}

.chips-head {
  margin-bottom: 6px; 
}

.chips-head .chip {
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* ---------------------------
   IMÁGENES
---------------------------- */
.img-frame {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #fff;
  margin: 0;
}

.img-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.img-caption {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------------------------
   CHIPS / ETIQUETAS (global)
---------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(138, 75, 34, 0.35);
  color: var(--brand);
  background-color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ---------------------------
   LISTAS
---------------------------- */
.bullets,
.steps {
  padding-left: 20px;
}

.bullets li,
.steps li {
  margin-bottom: 8px;
  color: #3b3b3b;
}

/* ---------------------------
   CARDS PRODUCTOS
---------------------------- */
.card-mahua {
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-mahua .card-img-top {
  width: 100%;
  height: 260px; 
  display: block;
  background: #fff;
  object-fit: contain; 
  object-position: center; 
  margin-top: 20px;
}

.card-mahua .card-title {
  font-weight: 600;
  color: #2f2f2f;
}
.card-mahua .card-body {
  padding: 24px 26px 28px; 
}
.text-brand {
  color: var(--brand);
}

/* ---------------------------
   CTA
---------------------------- */
.cta-band {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 22px;
}
/* =========================
   GALERÍA (cards)
========================= */
.gal-item {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.gal-card {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gal-item:hover .gal-card {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.gal-media {
  width: 100%;
  aspect-ratio: 4 / 3; 
  background: #f3eee7; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.gal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.gal-cap {
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #6b6b6b;
  text-align: center;
  background: #fff;
}

/* =========================
   MODAL
========================= */
.gal-modal {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.gal-modal .modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.gal-modal .modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.gal-modal-img {
  width: 100%;
  height: min(78vh, 780px); 
  object-fit: contain; 
  background: #f3eee7; 
  display: block;
}

/* =========================
   MODAL · MAHUA
========================= */
.gal-modal {
  border-radius: 18px;
  overflow: hidden;
}

.gal-modal-img {
  max-height: 78vh;
  object-fit: contain; 
  background: #111;
}

.contact-logo {
  max-width: 150px;
  opacity: 0.9;
}

/* =========================
   FOOTER · MAHUA 
========================= */

.footer-mahua {
 
  background: linear-gradient(180deg, #e2b39479 0%, #6f452c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.footer-mahua::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.footer-logo {
  width: 56px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

.footer-name {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.95);
}

.footer-claim {
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-title {
  font-family: var(--font-text);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

.footer-mini {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}


.footer-hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-copy {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}


.social-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ac7c60;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  color: rgba(255, 255, 255, 1);
}

/* Mylo Soul */
.mylosoul-logo {
  width: 44px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}

.mylosoul-text {
  font-family: var(--font-text);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.mylosoul-link:hover .mylosoul-text {
  text-decoration: underline;
}


@media (max-width: 991.98px) {
  .footer-logo {
    width: 52px;
  }
  .footer-title {
    text-align: center;
  }
  .footer-mini {
    text-align: center;
  }
  .mylosoul-link {
    justify-content: center;
  }
}
