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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .3s;
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --wa-green: #25D366;
  --wa-dark: #128C7E;
  --wa-light: #dcf8c6;
  --brand: #003c43;
  --brand-light: #005f5f;
  --text: #1a1a2e;
  --text-light: #555;
  --bg: #f7f9fc;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .12);
  --radius: 16px;
  --radius-full: 50px;
  --transition: all .3s ease;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  color: var(--brand);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

p {
  color: var(--text-light);
  line-height: 1.7;
}

.section-badge {
  display: inline-block;
  background: var(--wa-green);
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* =============================================
   UTILITY
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* =============================================
   WHATSAPP CTA BUTTON (reusable)
   ============================================= */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: #fff !important;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(37, 211, 102, .4);
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  justify-content: center;
}

.wa-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s;
}

.wa-btn:hover::before {
  transform: translateX(100%);
}

.wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .55);
  animation: none;
}

.wa-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.wa-btn--sm {
  padding: 10px 22px;
  font-size: .88rem;
}

.wa-btn--outline {
  background: transparent;
  color: var(--wa-green) !important;
  border: 2px solid var(--wa-green);
  box-shadow: none;
  animation: none;
}

.wa-btn--outline:hover {
  background: var(--wa-green);
  color: #fff !important;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 18px rgba(37, 211, 102, .4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, .75);
  }
}

/* =============================================
   HEADER / NAVBAR
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wa-green);
  transition: width .3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 2px 10px rgba(37, 211, 102, .3);
  transition: var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}

.header-wa:hover {
  background: #1ebe5d;
  transform: scale(1.05);
  animation: none;
}

.header-wa svg {
  width: 18px;
  height: 18px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brand);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
  background-image: url('wp-content/uploads/2026/01/cabanas-de-madera-economicas-en-uruguay1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 245, 240, .88) 0%, rgba(212, 237, 218, .85) 50%, rgba(195, 230, 203, .82) 100%);
  z-index: 1;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  color: var(--brand);
  margin-bottom: 16px;
}

.hero-content h1 strong {
  color: var(--wa-green);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust .stars {
  color: #f5a623;
  font-size: 1.2rem;
}

.hero-trust span {
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-light);
}

/* =============================================
   STATS BAR
   ============================================= */
.stats {
  background: var(--brand);
  color: #fff;
  padding: 40px 0;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-num {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 4px;
  font-weight: 800;
  line-height: 1.15;
}

.stat-item .stat-label {
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
}

/* =============================================
   MODELS / PRODUCTS GRID
   ============================================= */
.models {
  background: var(--bg);
}

.models-header {
  text-align: center;
  margin-bottom: 48px;
}

.models-header p {
  max-width: 600px;
  margin: 12px auto 0;
}

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

.model-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.model-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.model-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.model-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.model-card__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 6px;
}

.model-card__price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--wa-green);
  margin-bottom: 14px;
}

.model-card .wa-btn--sm {
  margin-top: auto;
  justify-content: center;
  width: 100%;
  animation: none;
}

.model-card:hover .wa-btn--sm {
  animation: waPulse 2s ease-in-out infinite;
}

/* =============================================
   WHY INVEST - 2 column layout with image
   ============================================= */
.models {
  padding-bottom: 16px;
}

.invest {
  background: #fff;
  padding-top: 32px;
}

.invest-header {
  text-align: center;
  margin-bottom: 48px;
}

.invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.invest-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.invest-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.accordion-item.active,
.accordion-item:hover {
  border-color: var(--wa-green);
  box-shadow: var(--shadow);
}

.accordion-header {
  padding: 18px 24px;
  font-weight: 700;
  color: var(--brand);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.accordion-header::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--wa-green);
  transition: transform .3s;
}

.accordion-item.active .accordion-header::after {
  content: '−';
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  padding: 0 24px;
}

.accordion-item.active .accordion-body {
  max-height: 200px;
  padding: 0 24px 18px;
}

.accordion-body p {
  font-size: .92rem;
}

/* =============================================
   PROCESS / STEPS
   ============================================= */
.process {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(37, 211, 102, .1);
}

.process-intro {
  margin-bottom: 32px;
}

.process-intro h2 {
  color: #fff;
}

.process-intro p {
  color: rgba(255, 255, 255, .7);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.step h3 {
  color: #fff;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.step p {
  color: rgba(255, 255, 255, .75);
  font-size: .92rem;
}

.process-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}


/* =============================================
   TESTIMONIALS CAROUSEL
   ============================================= */
.testimonials {
  background-color: var(--bg);
  background-image: url('wp-content/uploads/2026/02/construccion-de-cabanas-de-madera-en-uruguay.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(247, 249, 252, .82);
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform .5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.testimonial-card {
  background: #fff;
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--wa-green);
  text-align: center;
}

.testimonial-stars {
  color: #f5a623;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 700;
  color: var(--brand);
  font-size: .95rem;
}

.testimonial-location {
  font-size: .82rem;
  color: var(--text-light);
  margin-top: 2px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 60, 67, .2);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--wa-green);
  transform: scale(1.2);
}

.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--wa-dark);
  transform: scale(1.08);
}

/* =============================================
   CTA BANNER (post-testimonials)
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--brand), var(--brand-light), #007a5e);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(37, 211, 102, .08);
}

.cta-banner::before {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -80px;
}

.cta-banner::after {
  width: 200px;
  height: 200px;
  bottom: -60px;
  right: -60px;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--brand);
  color: rgba(255, 255, 255, .7);
  padding: 48px 0 24px;
}

.footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer .footer-title {
  color: #fff !important;
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 800 !important;
  line-height: 1.15;
  font-family: 'Inter', sans-serif;
  display: block;
}

.footer a {
  color: rgba(255, 255, 255, .7);
  transition: color .3s;
}

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

.footer-brand p {
  font-size: .9rem;
  margin-top: 8px;
  color: rgba(255, 255, 255, .7);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
  color: #fff;
}

.footer-bottom p {
  color: #fff !important;
}

/* =============================================
   FLOATING WA BUTTON
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, .5);
  transition: var(--transition);
  animation: waBounce 4s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.12);
  animation: none;
  box-shadow: 0 6px 25px rgba(37, 211, 102, .65);
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

.wa-float__tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.wa-float:hover .wa-float__tooltip {
  opacity: 1;
}

@keyframes waBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  12% {
    transform: translateY(-10px);
  }

  24% {
    transform: translateY(0);
  }

  36% {
    transform: translateY(-5px);
  }

  48% {
    transform: translateY(0);
  }
}

/* =============================================
   MOBILE STICKY BAR
   ============================================= */
.wa-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--wa-green), var(--wa-dark));
  padding: 14px 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 99999;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, .15);
}

.wa-mobile-bar svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width:992px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .invest-img {
    display: none;
  }

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

  .process-img {
    display: none;
  }

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

@media(max-width:768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow);
  }

  .header-wa span {
    display: none;
  }

  .header-wa {
    padding: 10px;
    border-radius: 50%;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .stats .container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .models-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .wa-float {
    display: none;
  }

  .wa-mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: 55px;
  }
}

@media(max-width:480px) {
  .section {
    padding: 50px 0;
  }

  .wa-btn {
    padding: 14px 28px;
    font-size: .95rem;
  }
}