:root {
  --bg: #f7f3ee;
  --surface: #ffffff;
  --text: #1e1e1e;
  --muted: #666666;
  --primary: #111111;
  --accent: #b78b5b;
  --accent-2: #e9dccd;
  --border: #e8ded3;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 20px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

section {
  padding: 42px 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.topbar {
  background: var(--primary);
  color: white;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  flex-wrap: wrap;
}

.promo {
  font-weight: 700;
}

.contact-mini {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(247, 243, 238, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.brand small {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 15px;
}

.hero {
  padding: 54px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  background: linear-gradient(135deg, #fff 0%, #f3e8dc 100%);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 54px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(183, 139, 91, 0.12);
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 0.95;
  margin: 0 0 18px;
  max-width: 10ch;
}

.hero-copy p {
  font-size: 1.05rem;
  color: #404040;
  max-width: 58ch;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.stat {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 1.2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.hero-card,
.floating-card,
.feature,
.product,
.step,
.project-main,
.project-side,
.palette,
.client,
.footer-grid {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card,
.floating-card {
  border-radius: 28px;
}

.hero-card {
  padding: 18px;
}

.hero-photo {
  min-height: 420px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    url("../img/hero/hero.jpg") center/cover no-repeat;
}

.floating-card {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.floating-card strong {
  font-size: 1.05rem;
}

.floating-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 58ch;
}

.features,
.products,
.process,
.colors,
.clients {
  display: grid;
  gap: 18px;
}

.features {
  grid-template-columns: repeat(4, 1fr);
}

.products {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process {
  grid-template-columns: repeat(4, 1fr);
}

.colors {
  grid-template-columns: repeat(4, 1fr);
}

.clients {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature,
.step,
.palette,
.client {
  border-radius: 22px;
  padding: 22px;
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-2);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.feature h3,
.step h3 {
  margin: 0 0 8px;
}

.feature p,
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.img-sunscreen { background-image: url("../img/productos/sunscreen.jpg"); }
.img-blackout { background-image: url("../img/productos/blackout.jpg"); }
.img-dobles { background-image: url("../img/productos/dobles.jpg"); }
.img-duoday { background-image: url("../img/productos/duoday.jpg"); }
.img-duoblackout { background-image: url("../img/productos/duoblackout.jpg"); }
.img-verticales { background-image: url("../img/productos/verticales.jpg"); }

.product-body {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  background: var(--accent-2);
  color: #6a4b2f;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.product h3 {
  margin: 0;
  font-size: 1.35rem;
}

.product p {
  margin: 0;
  color: var(--muted);
}

.product ul {
  margin: 0;
  padding-left: 18px;
  color: #444;
}

.num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.projects {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.project-main,
.project-side {
  border-radius: 24px;
  overflow: hidden;
}

.project-main .content,
.project-side .content {
  padding: 22px;
}

.photo-main {
  min-height: 460px;
  background: url("../img/proyectos/cierre-terraza.jpg") center/cover no-repeat;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.mini {
  min-height: 160px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
}

.mini-1 { background-image: url("../img/proyectos/proyecto1.jpg"); }
.mini-2 { background-image: url("../img/proyectos/proyecto2.jpg"); }
.mini-3 { background-image: url("../img/proyectos/proyecto3.jpg"); }
.mini-4 { background-image: url("../img/proyectos/proyecto4.jpg"); }

.swatches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.swatch {
  border-radius: 16px;
  padding: 14px;
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  font-size: 0.86rem;
  font-weight: 700;
}

.s1 { background: #7f7f7f; color: white; }
.s2 { background: #ece8e2; }
.s3 { background: #ded6cc; }
.s4 { background: #c9c9c9; }

.b1 { background: #efefef; }
.b2 { background: #ddd3c9; }
.b3 { background: #9ecfd2; }
.b4 { background: #bbc2af; }

.d1 { background: #8e6954; color: white; }
.d2 { background: #6f4f3a; color: white; }
.d3 { background: #d9d0c4; }
.d4 { background: #717171; color: white; }

.db1 { background: #58524d; color: white; }
.db2 { background: #f2f0eb; }
.db3 { background: #808080; color: white; }
.db4 { background: #d8c7af; }

.client {
  min-height: 88px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
}

.cta {
  background: linear-gradient(135deg, #111 0%, #2b2b2b 100%);
  color: white;
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 22px;
}

footer {
  padding: 34px 0 56px;
  color: #555;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  border-radius: 24px;
  padding: 26px;
}

.footer-grid h4 {
  margin: 0 0 10px;
  color: #111;
}

.footer-grid p,
.footer-grid a {
  margin: 0 0 8px;
  color: #666;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  background: #25d366;
  color: white;
  border-radius: 999px;
  padding: 15px 18px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
}

@media (max-width: 1080px) {
  .hero-grid,
  .projects,
  .cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .features,
  .products,
  .process,
  .colors,
  .clients {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu {
    display: none;
  }

  .hero-copy {
    padding: 28px;
  }

  .hero-meta,
  .features,
  .products,
  .process,
  .colors,
  .clients {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    justify-content: center;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-photo {
    min-height: 280px;
  }
}