/* ===================================================
   MultiMAQ Peru — Static Site Styles
   =================================================== */

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

:root {
  --color-primary: #d4a017;
  --color-primary-dark: #b8890f;
  --color-dark: #1a1a2e;
  --color-dark-alt: #16213e;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-bg-alt: #f5f5f0;
  --color-border: #e0e0e0;
  --font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
  --header-height: 70px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--color-dark);
  color: #ccc;
  font-size: 0.8rem;
  padding: 0.45rem 0;
}

.top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

a.top-bar__item:hover {
  color: var(--color-primary);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  color: white;
  /* border-bottom: 1px solid var(--color-border); */
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 44px;
  width: auto;
}

/* Hamburger */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.header__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: white;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
/* .nav__link {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
} */

.nav__link:hover {
  color: var(--color-primary-dark);
}

.nav__link--cta {
  background: var(--color-primary);
  color: #fff;
}

.nav__link--cta:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  background: #2f2f2f;
    /* linear-gradient(135deg, #2f2f2f, #2f2f2f); */
    /* url("assets/img/hero-bg.png") center / cover no-repeat;*/
  color: #fff;
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__subtitle {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn--outline:hover {
  background: #fff;
  color: var(--color-dark);
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.section__title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 0.75rem auto 0;
}

.section__intro {
  text-align: center;
  max-width: 600px;
  margin: 1rem auto 2.5rem;
  color: var(--color-text-light);
}

/* ---------- About Grid ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  /* margin-top: 2rem; */
}

.about-grid--reverse .about-grid__img {
  order: -1;
}

.about-grid__text p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.about-grid__img img {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--color-border);
}

/* Check List */
.check-list {
  margin: 1rem 0 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ---------- Card Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card__img {
  aspect-ratio: 10 / 7;
  overflow: hidden;
  background: var(--color-border);
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .card__img img {
  transform: scale(1.05);
}

.card__title {
  padding: 1rem 1.25rem 0;
  font-size: 1.1rem;
  color: var(--color-dark);
}

.card__text {
  padding: 0.5rem 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ---------- Contact Grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.contact-list li svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-list a:hover {
  color: var(--color-primary);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: #ccc;
  padding-top: 3rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer__brand img {
  height: 38px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer__brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  font-size: 0.8rem;
  text-align: center;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid--reverse .about-grid__img {
    order: 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .top-bar__inner {
    justify-content: center;
    font-size: 0.75rem;
    gap: 0.75rem;
  }

  /* Mobile nav */
  .header__toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--color-bg);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 200;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
  }

  .nav.is-open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .nav__link--cta {
    margin-top: 1rem;
    text-align: center;
  }

  /* Hamburger animation */
  .header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }

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