:root {
  --orange: #F2994A;
  --red: #C1272D;
  --majorelle: #1E4D8F;
  --sand: #F2E8D5;
  --ink: #1A1A1A;
  --muted: #6B7280;
  --card: #ffffff;
  --bg: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 16px;
  --brand: var(--red);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  height: 42px;
  display: flex;
  align-items: center;
}

.logo {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  text-decoration: none;
  color: var(--majorelle);
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: #000;
  filter: brightness(1.18) contrast(1.06) saturate(1.08);
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(120vw, 120vh * 16 / 9);
  height: max(120vh, 120vw * 9 / 16);
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 360px at 10% 10%, rgba(242, 232, 213, 0.50), transparent),
    radial-gradient(780px 360px at 90% 80%, rgba(242, 232, 213, 0.40), transparent),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.45)),
    linear-gradient(180deg, rgba(30, 77, 143, 0.10), rgba(30, 77, 143, 0.04));
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 72px 24px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0.72)),
      url("https://marocensacados.com/image/1.png"),
      radial-gradient(800px 300px at 10% 10%, rgba(242, 232, 213, 0.9), transparent),
      radial-gradient(600px 300px at 90% 80%, rgba(242, 232, 213, 0.6), transparent),
      linear-gradient(180deg, rgba(30, 77, 143, 0.15), rgba(30, 77, 143, 0.05));
    background-size: cover;
    background-position: center;
  }
}

.hero h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--ink);
}

.hero p {
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 0 0 28px;
  color: var(--muted);
}

.hero-actions {
  display: inline-flex;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  border: 1px solid transparent;
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--orange));
  color: white;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  filter: brightness(1.03);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(193,39,45,0.28);
  color: var(--brand);
}

.btn.small {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.section {
  padding: 80px 0;
}

.section.sand {
  background: var(--sand);
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--brand);
}

.section-header p {
  margin: 0 auto;
  max-width: 680px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.features .feature,
.audience,
.pricing .price,
.contact .card {
  grid-column: span 6;
}

.features .feature h3,
.audience h3 {
  margin: 10px 0;
}

.features .icon,
.audience .icon {
  font-size: 28px;
}

.destinations .destination {
  grid-column: span 6;
  padding: 0;
  overflow: hidden;
}

.dest-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.dest-body {
  padding: 18px;
}

.testimonials .testimonial {
  grid-column: span 4;
}

.testimonial .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}

.testimonial .quote {
  color: var(--ink);
  margin-bottom: 8px;
}

.testimonial .author {
  color: var(--muted);
  font-weight: 600;
}

.gallery .gallery-item {
  grid-column: span 4;
  height: 200px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.pricing .price {
  grid-column: span 4;
  text-align: left;
}

.pricing .price .amount {
  font-size: 28px;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing .price.highlight {
  border: 2px solid var(--red);
}

.list {
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
  color: var(--muted);
}

.list li {
  margin: 6px 0;
}

.cta-final {
  background: linear-gradient(180deg, rgba(193,39,45,0.10), rgba(242,232,213,0.65));
  text-align: center;
}

.stores {
  display: inline-flex;
  gap: 16px;
  margin-top: 16px;
}

.store {
  display: grid;
  place-items: center;
  grid-template-columns: 40px 1fr;
  column-gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.store span {
  font-size: 18px;
}

.site-footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px 0;
}

.footer-inner .brand {
  grid-column: span 4;
}

.footer-links {
  grid-column: span 4;
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-cta {
  grid-column: span 4;
  justify-self: end;
}

.link {
  color: var(--brand);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow);
  color: var(--brand);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.concept-grid .card {
  grid-column: span 4;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(0,0,0,0.20);
  z-index: 60;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 65px rgba(0,0,0,0.26);
}

.whatsapp-fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 1024px) {
  .features .feature,
  .audience,
  .pricing .price,
  .contact .card,
  .testimonials .testimonial,
  .gallery .gallery-item,
  .destinations .destination {
    grid-column: span 12;
  }

  .concept-grid .card {
    grid-column: span 12;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 24px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transform: translateY(-100%);
    transition: transform 200ms ease;
  }
  .nav.open {
    transform: translateY(0);
  }
  .nav-toggle {
    display: inline-flex;
  }
}
