/*
  PURA MIGA STYLES
  Cambia colores, tipografías y espaciados aquí.
  Paleta principal: crema, pan tostado, café oscuro y verde oliva suave.
*/

:root {
  --cream: #fff8ea;
  --warm-cream: #f5e5c9;
  --bread: #c9823f;
  --bread-dark: #9d5c24;
  --coffee: #2f2118;
  --olive: #687a46;
  --soft-white: #fffdf8;
  --muted: #75685f;
  --border: rgba(47, 33, 24, 0.12);
  --shadow: 0 18px 45px rgba(47, 33, 24, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--coffee);
  background: var(--cream);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 234, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--coffee);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 17px;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--bread-dark);
}

.nav-cta {
  background: var(--coffee);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--bread-dark);
  color: white !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--coffee);
  margin: 6px auto;
}

.hero {
  padding: 88px 0 70px;
  background:
    radial-gradient(circle at top left, rgba(201, 130, 63, 0.22), transparent 36%),
    linear-gradient(135deg, var(--cream), #f7e7cc);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bread-dark);
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  max-width: 760px;
  margin-bottom: 50px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.45rem;
}

.hero-text {
  font-size: 1.13rem;
  color: var(--muted);
  margin: 22px 0 30px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--coffee);
  color: var(--cream);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--bread-dark);
}

.btn-secondary {
  background: var(--soft-white);
  border-color: var(--border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--bread);
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-badges span,
.tag {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-image-card {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 520px;
  background: var(--warm-cream);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(255, 253, 248, 0.92);
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 4px;
}

.floating-card span {
  color: var(--muted);
}

.intro-strip {
  background: var(--coffee);
  color: var(--cream);
  padding: 30px 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.strip-grid p {
  color: rgba(255, 248, 234, 0.78);
  margin-top: 4px;
}

.section {
  padding: 88px 0;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-heading p:last-child,
.about-content p,
.clients-grid p,
.contact-grid p,
.site-footer p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card,
.testimonial-card,
.contact-form,
.service-item {
  background: var(--soft-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(47, 33, 24, 0.07);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-content {
  padding: 24px;
}

.product-content p {
  color: var(--muted);
  margin: 12px 0 18px;
}

.about-section {
  background: #f7e9d2;
}

.about-grid,
.clients-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.about-image img {
  border-radius: 32px;
  box-shadow: var(--shadow);
  min-height: 460px;
  object-fit: cover;
}

.about-content p + p {
  margin-top: 16px;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--bread-dark);
  font-weight: 800;
}

.clients-section {
  background: var(--cream);
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-item {
  padding: 24px;
}

.service-item p {
  margin-top: 8px;
}

.gallery-section {
  background: #fff3df;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(47, 33, 24, 0.08);
}

.testimonials-section {
  padding-top: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.testimonial-card {
  padding: 28px;
}

.testimonial-card p {
  font-size: 1.08rem;
  margin-bottom: 14px;
}

.contact-section {
  background: var(--coffee);
  color: var(--cream);
}

.contact-section .eyebrow {
  color: var(--warm-cream);
}

.contact-section p {
  color: rgba(255, 248, 234, 0.74);
}

.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-option {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.contact-option span {
  color: rgba(255, 248, 234, 0.78);
}

.contact-form {
  padding: 28px;
  color: var(--coffee);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: white;
  color: var(--coffee);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  color: var(--muted) !important;
  font-size: 0.86rem;
  margin-top: 12px;
}

.site-footer {
  background: #211711;
  color: var(--cream);
  padding: 44px 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 30px;
  padding-top: 20px;
  color: rgba(255, 248, 234, 0.7);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--soft-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px;
  }

  .hero-grid,
  .about-grid,
  .clients-grid,
  .contact-grid,
  .strip-grid,
  .product-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-image-card,
  .hero-image-card img,
  .about-image img {
    min-height: 360px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .footer-grid,
  .contact-option {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
.eyebrow-secondary {
  margin-top: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8b6b4a;
}
