/* ============================================
   MOWAVIANDAS — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,600&display=swap');

/* --- Variables --- */
:root {
  --primary: #ad343e;
  --primary-dark: #751b20;
  --dark: #2c2f24;
  --body: #414536;
  --muted: #adb29e;
  --border: #dbdfd0;
  --bg-light: #f9f9f7;
  --white: #ffffff;
  --card-dark: #474747;
  --text-nav: #182226;

  --font-serif: 'Playfair Display', serif;
  --font-sans: 'DM Sans', sans-serif;

  --max-w: 1296px;
  --px: 152px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--dark); background: var(--white); }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary-dark);
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
}
.top-bar__info {
  display: flex;
  gap: 25px;
  align-items: center;
}
.top-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bg-light);
  font-size: 14px;
}
.top-bar__item svg { flex-shrink: 0; }
.top-bar__social {
  display: flex;
  gap: 6px;
  align-items: center;
}
.top-bar__social a {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.top-bar__social a:hover { background: rgba(255,255,255,0.3); }
.top-bar__social svg { width: 12px; height: 12px; fill: white; }

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  background: var(--white);
  padding: 0 var(--px);
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border);
}
.header__logo img { height: 48px; width: auto; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__nav a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  color: var(--dark);
  padding: 6px 16px;
  border-radius: 34px;
  transition: background 0.2s;
}
.header__nav a:hover,
.header__nav a.active {
  background: var(--border);
}
.header__cta {
  border: 1.5px solid var(--text-nav);
  border-radius: 118px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-nav);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.header__cta:hover {
  background: var(--dark);
  color: var(--white);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 32px;
  border-radius: 118px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #921f29; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-nav);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 32px;
  border-radius: 118px;
  border: 1.5px solid var(--dark);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-link {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-light);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 800px;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 1.0;
  color: var(--dark);
  margin-bottom: 24px;
}
.hero__subtitle {
  font-size: 18px;
  line-height: 32px;
  color: var(--dark);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section { padding: 100px var(--px); }
.section--light { background: var(--bg-light); }
.section--white { background: var(--white); }

.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 55px);
  line-height: 1.1;
  color: var(--dark);
}
.section__subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--dark);
}
.section__body {
  font-size: 16px;
  line-height: 24px;
  color: var(--body);
}
.section__center { text-align: center; }

/* ============================================
   MENU CARDS (Homepage Browse)
   ============================================ */
.browse-menu { background: var(--white); }
.browse-menu__heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 55px);
  text-align: center;
  margin-bottom: 56px;
  color: var(--dark);
}
.menu-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.menu-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 40px 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.menu-card:hover {
  box-shadow: 0 8px 32px rgba(44,47,36,0.10);
  transform: translateY(-4px);
}
.menu-card__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-card__icon svg { width: 64px; height: 64px; }
.menu-card__name {
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.72px;
  color: var(--dark);
}
.menu-card__desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--body);
}

/* ============================================
   ABOUT SECTION (Homepage)
   ============================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.about-split__img-wrap {
  position: relative;
}
.about-split__img {
  width: 100%;
  height: 566px;
  object-fit: cover;
  border-radius: 12px;
  background: #dbeafe;
}
.visit-card {
  position: absolute;
  bottom: -60px;
  right: -40px;
  background: var(--card-dark);
  border-radius: 12px;
  padding: 40px 50px;
  width: 360px;
  color: var(--white);
}
.visit-card__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.72px;
  margin-bottom: 32px;
}
.visit-card__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.visit-card__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 22px;
  color: var(--bg-light);
}
.visit-card__item svg { flex-shrink: 0; margin-top: 2px; }

.about-split__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-split__texts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  padding: 80px var(--px) 40px;
}
.footer__top {
  display: flex;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(173,178,158,0.2);
  margin-bottom: 32px;
}
.footer__brand { max-width: 300px; }
.footer__logo { height: 48px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer__tagline {
  font-size: 15px;
  line-height: 24px;
  color: rgba(255,255,255,0.75);
}
.footer__cols {
  display: flex;
  gap: 60px;
  flex: 1;
}
.footer__col h4 {
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col a {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  text-align: center;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--bg-light);
  padding: 100px var(--px);
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 1.0;
  color: var(--dark);
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 18px;
  line-height: 28px;
  color: var(--body);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   NOSOTROS PAGE
   ============================================ */
.video-section {
  position: relative;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-section__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/video-bg.jpg');
  background-size: cover;
  background-position: center;
}
.video-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,47,36,0.84);
}
.video-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.video-section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 3vw, 55px);
  line-height: 1.1;
  color: var(--white);
  max-width: 600px;
}
.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}
.play-btn:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.play-btn svg { fill: var(--primary); margin-left: 4px; }

.features {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}
.feature {
  display: flex;
  gap: 20px;
  max-width: 320px;
}
.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}
.feature__icon svg { width: 48px; height: 48px; }
.feature__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  color: var(--dark);
  margin-bottom: 10px;
}
.feature__desc { font-size: 16px; line-height: 24px; color: var(--body); }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 610px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 24px;
  text-align: center;
}
.stat-card__number {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 55px;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 12px;
}
.stat-card__label {
  font-weight: 500;
  font-size: 18px;
  color: var(--body);
}

.stats-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.stats-split__img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 12px;
}

/* ============================================
   MENU PAGE
   ============================================ */
.menu-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.filter-btn {
  padding: 10px 28px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  background: var(--white);
  color: var(--dark);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.menu-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.menu-showcase__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  background: #dbeafe;
}

.apps-section {
  background: var(--bg-light);
  padding: 80px var(--px);
}
.apps-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: center;
}
.apps-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.apps-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.app-card {
  background: var(--white);
  border: 1px solid var(--bg-light);
  border-radius: 12px;
  box-shadow: 0 3px 60px rgba(0,0,0,0.08);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 80px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.app-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.app-card img { max-height: 32px; width: auto; object-fit: contain; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 80px var(--px);
  background: var(--white);
  display: flex;
  justify-content: center;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 60px;
  width: 100%;
  max-width: 720px;
  box-shadow: 0 4px 32px rgba(44,47,36,0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group label {
  font-weight: 500;
  font-size: 15px;
  color: var(--dark);
}
.form-group input,
.form-group textarea {
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.form-group textarea {
  border-radius: 16px;
  resize: vertical;
  min-height: 140px;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 18px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.btn-submit:hover { background: #921f29; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  :root { --px: 60px; }
  .menu-cards { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 60px; }
  .about-split__img-wrap { margin-bottom: 80px; }
  .visit-card { position: static; width: 100%; margin-top: 20px; }
  .stats-split { grid-template-columns: 1fr; }
  .menu-showcase { grid-template-columns: 1fr; gap: 40px; }
  .apps-split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --px: 24px; }
  .top-bar { display: none; }
  .header { height: 70px; }
  .header__nav { display: none; }
  .menu-cards { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; gap: 40px; }
  .footer__cols { flex-direction: column; gap: 32px; }
  .features { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .menu-cards { grid-template-columns: 1fr; }
  .hero__title { font-size: 40px; }
  .apps-row { gap: 12px; }
  .app-card { min-width: 140px; }
}
