/* ============================================
   TECTÓNICO — Light Premium Industrial
   Inspired by: Kreato, Bisonó, Polbruk, Decoblock
   ============================================ */

:root {
  /* Brand */
  --gold: #509c35;
  --gold-light: #5db33e;
  --gold-bg: rgba(80, 156, 53, 0.08);
  --gold-border: rgba(80, 156, 53, 0.18);

  --navy: #2d2d2d;
  --navy-soft: #3a3a3a;

  --green: #509c35;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f8f6;
  --warm-gray-50: #f2f2f0;
  --warm-gray-100: #e8e8e5;
  --warm-gray-200: #d5d5d1;
  --warm-gray-300: #b0b0aa;
  --warm-gray-400: #858580;
  --warm-gray-500: #656560;
  --warm-gray-600: #464642;
  --warm-gray-700: #2d2d2a;
  --warm-gray-800: #1c1c1a;

  /* Layout */
  --container: 1320px;
  --header-h: 72px;
  --section-py: clamp(80px, 10vw, 130px);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Type */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Lora', Georgia, serif;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-heading);
  background: var(--off-white);
  color: var(--warm-gray-700);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section { padding: var(--section-py) 0; position: relative; }

/* ---- READING PROGRESS ---- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 10000;
  width: 0;
  transition: none;
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(248, 248, 246, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.header.scrolled {
  border-bottom-color: var(--warm-gray-200);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.logo:hover { transform: scale(1.03); }

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

.logo-img-footer {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Nav */
.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--warm-gray-500);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--warm-gray-500);
  transition: color 0.25s;
}

.header-phone:hover { color: var(--navy); }

.btn-header {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 22px;
  background: var(--gold);
  color: var(--white);
  border-radius: 100px;
  transition: all 0.3s var(--ease-spring);
}

.btn-header:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(80, 156, 53, 0.25);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1010;
}

.hamburger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: all 0.35s var(--ease);
}

.hamburger span:first-child { top: 6px; }
.hamburger span:last-child { bottom: 6px; }

.hamburger.open span:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.open span:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 40px 60px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--warm-gray-600);
  padding: 8px 0;
  border-bottom: 1px solid var(--warm-gray-100);
  transition: color 0.2s, padding-left 0.3s var(--ease);
}

.mobile-link:hover {
  color: var(--gold);
  padding-left: 12px;
}

.mobile-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--warm-gray-400);
}

.mobile-footer a { transition: color 0.2s; }
.mobile-footer a:hover { color: var(--gold); }

.mobile-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.mobile-social a {
  color: var(--warm-gray-400);
  transition: color 0.2s;
}

.mobile-social a:hover { color: var(--gold); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(80, 156, 53, 0.25);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(17, 24, 58, 0.2);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--warm-gray-200);
}

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

.btn-block { width: 100%; justify-content: center; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-image-container {
  width: 100%;
  height: 100%;
  background: url('img/hero.jpg') center 30% / cover no-repeat;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-video.ready {
  opacity: 1;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(248, 248, 246, 0.3) 0%,
    rgba(248, 248, 246, 0.5) 30%,
    rgba(248, 248, 246, 0.88) 60%,
    rgba(248, 248, 246, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero-text {
  max-width: 680px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: 20px;
}

.h1-italic {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--warm-gray-500);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-counters {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 36px;
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0,0,0,0.04);
  width: fit-content;
}

.hero-counter {
  display: flex;
  flex-direction: column;
}

.counter-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.counter-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--warm-gray-400);
  margin-top: 6px;
}

.hero-counter-divider {
  width: 1px;
  height: 40px;
  background: var(--warm-gray-200);
}

/* ---- TRUST BAR ---- */
.trust-bar {
  padding: 20px 0;
  background: var(--white);
  border-bottom: 1px solid var(--warm-gray-100);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.trust-inner::-webkit-scrollbar { display: none; }

.trust-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--warm-gray-400);
  white-space: nowrap;
}

.trust-items {
  display: flex;
  gap: 12px;
}

.trust-items span {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--warm-gray-500);
  padding: 6px 16px;
  background: var(--warm-gray-50);
  border-radius: 100px;
  white-space: nowrap;
  border: 1px solid var(--warm-gray-100);
}

/* ---- SECTION HEADERS ---- */
.section-top {
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 680px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.heading-accent {
  color: var(--gold);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--warm-gray-500);
  margin-top: 16px;
  line-height: 1.7;
}

/* ---- PRODUCTS ---- */
.section-products {
  background: var(--white);
  padding-top: clamp(32px, 4vw, 56px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: var(--warm-gray-200);
}

.product-card-visual {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--ph-hue, 30), 8%, 88%);
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-placeholder {
  transform: scale(1.06);
}

/* Product Carousel */
.product-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-card:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: #fff;
}

.carousel-btn-prev { left: 8px; }
.carousel-btn-next { right: 8px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
}

.product-placeholder-gold {
  background: linear-gradient(135deg, hsl(110, 25%, 82%) 0%, hsl(110, 20%, 74%) 100%);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  background: var(--gold);
  color: var(--white);
  border-radius: 100px;
}

.product-card-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--navy);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all 0.35s var(--ease);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-card:hover .product-card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.product-card-body {
  padding: 22px 24px 28px;
  flex: 1;
}

.product-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 6px 0 8px;
  letter-spacing: -0.01em;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--warm-gray-400);
  line-height: 1.6;
}

.product-card-featured {
  border-color: var(--gold-border);
}

.product-card-featured:hover {
  border-color: var(--gold);
}

/* ---- ABOUT ---- */
.section-about {
  background: var(--off-white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-img-wrapper {
  position: relative;
}

.about-img-placeholder-main {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.about-badge-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.about-badge-card span {
  font-size: 0.75rem;
  color: var(--warm-gray-400);
}

.about-secondary-images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.about-img-small {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-real-img-sm {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-right {
  padding-top: 16px;
}

.about-intro {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--warm-gray-600);
  line-height: 1.8;
  margin-bottom: 36px;
}

.about-intro strong {
  color: var(--navy);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
}

.feature-row h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.feature-row p {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--warm-gray-600);
  line-height: 1.6;
}

/* ---- STATS ---- */
.section-stats {
  background: var(--navy);
  padding: clamp(16px, 2vw, 24px) 0;
  position: relative;
  overflow: hidden;
}

.stats-texture {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.5) 49px, rgba(255,255,255,0.5) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.5) 49px, rgba(255,255,255,0.5) 50px);
}

.stats-title {
  text-align: center;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  font-weight: 600;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  position: relative;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: inline;
}

.stat-plus,
.stat-unit {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  display: inline;
  margin-left: 4px;
}

.stat-desc {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ---- PROJECTS ---- */
.section-projects {
  background: var(--white);
  padding-top: clamp(32px, 4vw, 56px);
}

.projects-closing {
  text-align: center;
  margin-top: 3rem;
}

.projects-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--warm-gray-100);
  transition: all 0.4s var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.07);
}

.project-visual {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-ph {
  width: 100%;
  height: 100%;
  background: hsl(var(--proj-hue, 200), 12%, 78%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-ph {
  transform: scale(1.05);
}

.project-ph span {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: rgba(0,0,0,0.15);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 58, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  padding: 10px 24px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 100px;
  transition: all 0.25s;
}

.project-overlay-cta:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* Carousel */
.project-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.project-carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-btn:hover {
  background: var(--white);
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: var(--white);
}

.project-body {
  padding: 24px 28px 28px;
}

.project-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 8px;
}

.project-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.project-body p {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--warm-gray-600);
  line-height: 1.6;
  margin-bottom: 14px;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-tags span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 12px;
  border: 1px solid var(--warm-gray-200);
  border-radius: 100px;
  color: var(--warm-gray-500);
}

/* ---- CTA BANNER ---- */
.section-cta {
  background: var(--off-white);
}

.cta-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: var(--navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 480px;
}

.cta-banner-content {
  padding: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-banner-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.cta-banner-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 420px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-banner-map {
  position: relative;
  background: rgba(255,255,255,0.03);
  border-left: 1px solid rgba(255,255,255,0.06);
  min-height: 450px;
  overflow: hidden;
}

.cta-banner-map iframe {
  position: absolute;
  top: -56px;
  left: 0;
  width: 100%;
  height: calc(100% + 56px);
  border: 0;
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
}

.map-dot.active {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(80, 156, 53, 0.5);
}

.map-dot.active::before {
  border-color: var(--gold-border);
  animation: map-ping 2s ease-out infinite;
}

@keyframes map-ping {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* ---- CONTACT ---- */
.section-contact {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.contact-intro-text {
  font-size: 1rem;
  color: var(--warm-gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-bg);
  border-radius: 10px;
}

.contact-info-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: 0.85rem;
  color: var(--warm-gray-400);
  line-height: 1.5;
}

/* Form */
.contact-right {
  background: var(--off-white);
  border: 1px solid var(--warm-gray-100);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  position: relative;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 15px 18px;
  background: var(--white);
  border: 1px solid var(--warm-gray-200);
  border-radius: 10px;
  color: var(--warm-gray-700);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  transition: all 0.25s;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-bg);
}

.form-field label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.88rem;
  color: var(--warm-gray-400);
  pointer-events: none;
  transition: all 0.25s var(--ease);
  background: var(--white);
  padding: 0 6px;
}

.form-field textarea ~ label {
  top: 17px;
  transform: none;
}

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
  top: -9px;
  left: 12px;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gold);
  transform: none;
}

.form-field select {
  appearance: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 400;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a877d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.form-field select option {
  background: var(--white);
}

.form-consent {
  margin: 4px 0 8px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--warm-gray-500);
  line-height: 1.5;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.consent-label a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-label a:hover {
  color: var(--gold);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--warm-gray-800);
  padding: 32px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-top: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.4);
  transition: all 0.25s;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(80, 156, 53, 0.1);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  padding: 5px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease-spring);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ---- MODAL POLÍTICA ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--warm-gray-100);
  flex-shrink: 0;
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--warm-gray-400);
  transition: all 0.2s;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--warm-gray-50);
  color: var(--navy);
}

.modal-body {
  overflow-y: auto;
  padding: 32px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--warm-gray-600);
}

.modal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.modal-body h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--warm-gray-100);
}

.modal-body h5 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--warm-gray-700);
  margin: 20px 0 8px;
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-body ol,
.modal-body ul {
  margin: 8px 0 16px 20px;
}

.modal-body ol { list-style: decimal; }
.modal-body ul { list-style: disc; }

.modal-body li {
  margin-bottom: 6px;
  padding-left: 4px;
}

.modal-body hr {
  border: none;
  border-top: 2px solid var(--warm-gray-200);
  margin: 32px 0;
}

.modal-body strong {
  color: var(--warm-gray-700);
}

/* Anti-copy */
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ---- SPIN ANIMATION ---- */
.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

.section-stats .reveal-up {
  opacity: 1;
  transform: none;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 1080px) {
  .nav-main, .header-actions { display: none; }
  .hamburger { display: block; }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-divider { display: none; }

  .stat-item {
    flex: 0 0 calc(50% - 12px);
    padding: 24px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
  }

  .projects-showcase {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }

  .cta-banner-map { display: none; }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-counters {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
  }

  .hero-counter-divider {
    width: 100%;
    height: 1px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .about-secondary-images {
    grid-template-columns: 1fr;
  }
}
