/* ORIENTALES — generated (textiles-better-split_side-list_rows-border_cards) */

:root {
  --orange: #dc6fa1;
  --orange-dark: #b45b84;
  --dark: #7a4416;
  --white: #ffffff;
  --cream: #fafafa;
  --sand: #f3f4f6;
  --grey: #a0a0a0;
  --grey-light: #e8e8e8;
  --text: #1f2933;
  --text-muted: #5c6670;
  --border: #e2e6ea;
  --blue: #de7d28;
  --blue-soft: #fbf2e9;
  --pink: #dc6fa1;
  --yellow: #db4e4a;
  --green: #804817;
  /* Radius 05 Rounded */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-btn: 12px;
  --font: 'Geologica', sans-serif;
  --header-h: 72px;
  --topbar-h: 36px;
  --max-w: 1140px;
  --gutter: 1.5rem;
  --ease: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-head { margin-bottom: 2.5rem; }
.section-head--center { text-align: center; }

.section-head h2,
.about__copy h2,
.products h2,
.services h2,
.testimonials h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

/* ── Section backgrounds ── */
main > section {
  position: relative;
  isolation: isolate;
}

.section--split {
  background: var(--white);
}

.section--split::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
}

.section--muted {
  background-color: var(--grey-light);
}

.section--warm {
  background-color: #f0eeeb;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(240, 48, 0, 0.07) 0%, transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(160, 160, 160, 0.12) 0%, transparent 38%);
}

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

.section--dark .section-head h2 {
  color: var(--white);
}

.section--accent {
  background: var(--orange);
}

.section--accent .cta__inner h2 {
  color: var(--white);
}

.section--accent .btn--primary {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

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

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn--lg { padding: 14px 32px; font-size: 0.95rem; }
.btn--full { width: 100%; }

/* ── Header · oscuro ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--dark);
  transition: box-shadow var(--ease);
}

.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }

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

.header__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--ease);
}

.nav__link:hover,
.nav__link.active { color: var(--white); }

.header__cta { padding: 10px 22px; font-size: 0.82rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero · split ── */
.hero {
  padding: 4.5rem 0;
  background: var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__text h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero__text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.12);
}

/* ── Nosotros · checklist ── */
.about {
  padding: 5rem 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__copy p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about__checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about__checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.about__checklist svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  stroke-width: 2.5;
  flex-shrink: 0;
}

.about__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  outline: 1px solid var(--border);
  outline-offset: 8px;
}

/* ── Productos · destacado ── */
.products {
  padding: 5rem 0;
}

.products__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.products__featured {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.08);
}

.products__featured img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.products__featured-copy {
  padding: 1.5rem 1.75rem 1.75rem;
}

.products__featured-copy h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.products__featured-copy p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.products__side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.products__mini {
  flex: 1;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
}

.products__mini h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.products__mini p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Servicios · tarjetas ── */
.services {
  padding: 5rem 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(240, 48, 0, 0.08);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  color: var(--orange);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Testimonios · tarjetas ── */
.testimonials {
  padding: 5rem 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  margin: 0;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.05);
}

.testimonial p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.testimonial span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── CTA · banda ── */
.cta {
  padding: 3.5rem 0;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta__inner h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
}

/* ── Contacto · imagen + form ── */
.contact {
  padding: 5rem 0 3rem;
  background: var(--dark);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact__photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.contact__panel {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact__panel h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contact__panel > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--ease);
}

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

.form-notice {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.form-notice.success { color: #2d7a4f; }

/* ── Footer · contacto ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr auto;
  gap: 2rem;
  padding: 2rem 0 3rem;
  align-items: start;
}

.footer__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.footer__brand p {
  font-size: 0.9rem;
  opacity: 0.75;
}

.footer__contact strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.footer__contact p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer__contact a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
  transition: color var(--ease);
}

.footer__contact a:hover { color: var(--orange); }

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav a {
  font-size: 0.85rem;
  opacity: 0.75;
  transition: opacity var(--ease);
}

.footer__nav a:hover { opacity: 1; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  font-size: 0.78rem;
  opacity: 0.55;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__grid,
  .about__grid,
  .products__layout,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__photo { order: -1; }

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

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

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

@media (max-width: 768px) {
  .header__cta { display: none; }
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--dark);
    padding: 1rem var(--gutter);
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--ease);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }
}


.hero--split .hero__background { display: none; }
.hero--split { background: var(--sand, var(--cream)); padding: 4rem 0; min-height: 0; }
.hero--split .hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.hero--split .hero__content,
.hero--split .hero__text { min-height: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 0; }
.hero--split .hero__photo { border-radius: var(--radius-lg, var(--radius)); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.hero--split .hero__content h1,
.hero--split .hero__text h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 700; margin-bottom: 1rem; }
.hero--split .hero__content p,
.hero--split .hero__text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.hero--split .hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 900px) { .hero--split .hero__grid { grid-template-columns: 1fr; } .hero--split .hero__photo { order: -1; } }


.products__rows { display: flex; flex-direction: column; gap: 1rem; }
.product-row { display: grid; grid-template-columns: 140px 1fr; gap: 1.25rem; align-items: center; padding: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg, var(--radius)); }
.product-row img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.product-row h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.product-row p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 640px) { .product-row { grid-template-columns: 1fr; } .product-row img { max-height: 180px; aspect-ratio: 16/9; } }


.services__border-list { display: grid; gap: 1rem; }
.service-border { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg, var(--radius)); background: var(--white); align-items: start; }
.service-border__num { font-size: 1.5rem; font-weight: 700; color: var(--primary, var(--blue, var(--teal))); line-height: 1; opacity: 0.35; }
.service-border h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.service-border p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; max-width: 42rem; }


.testimonials--single { padding: 4rem 0; background: var(--sand, var(--cream, var(--lavender-light))); }
.testimonial--featured { max-width: 720px; margin: 0 auto; text-align: center; border: none; background: transparent; padding: 0; }
.testimonial--featured p { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.55; font-weight: 500; margin-bottom: 1.5rem; }
.testimonial--featured footer strong { display: block; font-size: 1rem; }
.testimonial--featured footer span { font-size: 0.85rem; color: var(--text-muted); }


.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: 2.5rem 0; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; }

/* Brand design — logo palette */
.hero:not(.hero--bg):not(.hero--centered) { background: linear-gradient(160deg, #fbf2e9 0%, var(--white) 62%); }
.section--sand { background: #fbf2e9; }
.tag { color: #dc6fa1; font-weight: 700; }
.btn--primary { background: #dc6fa1; border-color: #dc6fa1; }
.btn--primary:hover { background: #b45b84; border-color: #b45b84; }
.header__cta.btn--primary { background: #dc6fa1; border-color: #dc6fa1; }

.header { background: #7a4416; }
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.22); }
.section--dark { background: #7a4416; }
.section--accent { background: #dc6fa1; }
.section--accent .btn--primary { color: #dc6fa1; }
.hero { background: linear-gradient(145deg, #fbf2e9 0%, var(--white) 70%); }
.hero.hero--bg { background: transparent; }
.about__checklist li svg { color: #de7d28; }
.products__grid4 article { border-top: 3px solid #dc6fa1; }
.products__grid4 .product-card__body h3 { color: #de7d28; }
.service-row h3 { color: #de7d28; }
.service-card__icon { background: #faedf3; color: #dc6fa1; }
.testimonial { border-left: 4px solid #dc6fa1; }
.footer__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(8rem, auto); }
.footer__brand, .footer__contact, .footer__nav { min-width: 0; }
.footer__contact a:hover { color: #dc6fa1; }

/* Hero photo scrim — black overlay for text contrast (WCAG) */
.hero .hero__background .hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55) !important;
}
.hero--solid.hero--bg .hero__background .hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.52) 50%,
    rgba(0, 0, 0, 0.42) 100%
  ) !important;
}
.hero .hero__overlay::before {
  display: none !important;
}

.top-bar__inner--split { justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.contact__icon--green { background: var(--green); }
.testimonial__meta > div span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.1rem; }
.service-row p,
.services__grid .service-card__body p,
.service-border p,
.service-stack p { line-height: 1.65; max-width: 36rem; }
