/* =====================================================
   ESTEBAN CORTIJO - Nueva Web 2026
   Diseño moderno, limpio y profesional
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --verde:       #2d7a56;
  --verde-claro: #3a9a6e;
  --verde-oscuro:#1e5a3e;
  --dorado:      #c8a96e;
  --gris-claro:  #f5f5f2;
  --gris-medio:  #e0ddd5;
  --gris-texto:  #555;
  --negro:       #1a1a1a;
  --blanco:      #ffffff;
  --rojo:        #e81616;
  --sombra:      0 4px 24px rgba(0,0,0,0.10);
  --sombra-hover:0 8px 32px rgba(0,0,0,0.18);
  --radio:       8px;
  --transicion:  all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--negro);
  background: var(--blanco);
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
.site-header {
  position: relative;
  z-index: 1000;
  background: var(--blanco);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.header-top {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--verde-oscuro);
  padding: 6px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
}

.header-top a { color: var(--dorado); font-weight: 600; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 20px;
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 58px;
  width: auto;
}

.logo-placeholder {
  height: 58px;
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--verde-oscuro);
  line-height: 1;
}

.logo-sub {
  /*font-size: 11px;*/
  font-size: 14px;
  /*color: var(--gris-texto);*/
  color: var(--rojo);
  /*letter-spacing: 1px;*/
  letter-spacing: 0px;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.header-slogan {
  font-size: 13px;
  color: var(--gris-texto);
  font-style: italic;
  margin-bottom: 6px;
}

.header-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.header-phones .num {
  font-size: 22px;
  font-weight: 700;
  color: var(--verde);
  letter-spacing: 0.5px;
}

.header-phones .sep {
  color: var(--gris-medio);
  font-size: 20px;
}

.phone-link {
  text-decoration: none;
  color: inherit;
}

/* Header hero text — desktop only */
.header-hero-text {
  flex: 1.2;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--verde-oscuro);
  line-height: 1.3;
  margin-bottom: 4px;
}

.header-hero-sub {
  font-size: 12.5px;
  color: var(--gris-texto);
  line-height: 1.5;
}

/* Mobile CTA row (llamar + whatsapp) */
.mobile-cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.wa-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #25d366;
  color: var(--blanco);
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.wa-header-btn:hover { background: #1ebe5d; }

/* Stats bar text — mobile only (hidden on desktop) */
.stats-text-mobile { display: none; }

/* Mobile hero info block — hidden on desktop */
.mobile-hero-info { display: none; }

/* =====================================================
   NAVEGACIÓN DESKTOP
   ===================================================== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
}

.main-nav a {
  display: block;
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--negro);
  border-radius: var(--radio);
  transition: var(--transicion);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--verde);
  color: var(--blanco);
}

/* Dropdown Carpintería */
.nav-item.dropdown {
  position: relative;
}

.nav-item.dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.7;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--blanco);
  border-radius: var(--radio);
  box-shadow: var(--sombra-hover);
  min-width: 180px;
  overflow: hidden;
  z-index: 200;
  border: 1px solid var(--gris-medio);
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  border-radius: 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--gris-claro);
}

.dropdown-menu li:last-child a { border-bottom: none; }

.dropdown-menu li a:hover {
  background: var(--verde);
  color: var(--blanco);
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--verde-oscuro);
  border-radius: 2px;
  transition: var(--transicion);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--blanco);
  overflow-y: auto;
  padding: 20px 0;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}

.mobile-nav-close {
  display: flex;
  justify-content: flex-end;
  padding: 0 20px 16px;
}

.mobile-nav-close button {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--gris-texto);
  line-height: 1;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav ul li a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--gris-claro);
  transition: var(--transicion);
}

.mobile-nav ul li a:hover {
  background: var(--verde);
  color: var(--blanco);
}

.mobile-nav .sub-menu {
  background: var(--gris-claro);
}

.mobile-nav .sub-menu a {
  padding-left: 40px;
  font-size: 15px;
  font-weight: 400;
}

.mobile-nav.open { display: block; }

/* =====================================================
   DESKTOP: solo nav-bar sticky en top
   ===================================================== */
@media (min-width: 980px) {
  .site-header {
    position: relative;
  }
  .header-top {
    position: relative;
  }
  .nav-bar {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: #373737;
  }
}

/* =====================================================
   MOBILE HEADER
   ===================================================== */
@media (max-width: 979px) {
  .header-main {
    flex-direction: column;
    padding: 10px 16px 8px;
    gap: 6px;
    align-items: center;
    text-align: center;
  }

  .header-logo { align-items: center; }

  .logo-img { height: 44px; }

  .header-info {
    width: 100%;
  }

  .header-slogan { display: none; }

  .header-phones {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .header-phones .sep {
    display: inline;
    color: var(--gris-texto);
    font-size: 16px;
  }

  .header-phones .num {
    display: inline;
    font-size: 18px;
  }

  .llamar-btn {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--verde-oscuro);
    color: var(--blanco);
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
    letter-spacing: 0.3px;
  }

  .wa-header-btn {
    padding: 8px 14px;
    font-size: 14px;
  }

  /* Hero text block hidden on mobile (shown after hero-bg) */
  .header-hero-text { display: none; }

  /* Stats-bar oculto en móvil/tablet */
  .stats-bar { display: none; }

  /* Bloque móvil debajo del hero-bg */
  .mobile-hero-info {
    display: block;
    background: var(--verde-oscuro);
    padding: 18px 16px 16px;
    text-align: center;
  }

  .stats-text-mobile {
    display: block;
    margin-bottom: 14px;
  }

  .stats-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .stats-hero-ctas .btn-primary {
    flex: 1;
    text-align: center;
    padding: 10px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .btn-secondary-dark {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 10px 10px;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radio);
    background: rgba(255,255,255,0.15);
    color: var(--blanco);
    border: 2px solid rgba(255,255,255,0.4);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transicion);
  }

  .btn-secondary-dark:hover { background: rgba(255,255,255,0.25); }

  .stats-title-mobile {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--blanco);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .stats-sub-mobile {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
  }

  .main-nav { display: none; }
  .hamburger-btn { display: flex; }

  /* Desktop nav bar hidden on mobile */
  .nav-bar { display: none; }
}

@media (min-width: 980px) {
  .llamar-btn { display: none; }
  .mobile-cta-row { display: none; }
  .hamburger-btn { display: none; }
  .wa-header-btn { display: none; }
  .mobile-hero-info { display: none; }
  .stats-bar { display: block; }
}
}

/* =====================================================
   NAV BAR (desktop strip below header)
   ===================================================== */
.nav-bar {
  background: var(--verde-oscuro);
}

.nav-bar ul {
  display: flex;
  list-style: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.nav-bar ul li { position: relative; }

.nav-bar ul li a {
  display: block;
  padding: 13px 15px;
  color: rgba(255,255,255,0.88);
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--transicion);
  white-space: nowrap;
}

.nav-bar ul li a:hover,
.nav-bar ul li a.active {
  background: rgba(255,255,255,0.12);
  color: var(--blanco);
}

.nav-bar .dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.7; }

.nav-bar .dropdown-menu {
  background: #373737;
  border: 1px solid rgba(255,255,255,0.12);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  min-width: 180px;
  border-radius: 0 0 var(--radio) var(--radio);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  display: none;
}

.nav-bar .dropdown-menu li a {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
}

.nav-bar .dropdown-menu li a:hover {
  background: rgba(255,255,255,0.12);
  color: var(--blanco);
}

/* Dropdown abre en hover Y en click (via JS clase .open) */
.nav-bar .dropdown:hover .dropdown-menu,
.nav-bar .dropdown.open .dropdown-menu { display: block; }

/* =====================================================
   HERO / SLIDER
   ===================================================== */
.hero {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: linear-gradient(135deg, var(--verde-oscuro) 0%, var(--verde) 60%, #4ab87e 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../imagenes/inicio/n.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 1;
}

/* En desktop el <img> está oculto — solo se usa el background-image */
.hero-bg-img {
  display: none;
}

/* Hero content: solo los CTAs, centrados horizontal y vertical */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ocultar texto h1 y p dentro del hero en desktop */
.hero-content h1,
.hero-content p { display: none; }

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

@media (max-width: 979px) {
  .hero {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  /* En móvil el background-image se quita — solo se usa el <img> */
  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    background-image: none;
    opacity: 1;
  }
  .hero-bg-img {
    width: 100%;
    height: auto;
    display: block;
  }
  .hero-content { display: none; }
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--dorado);
  color: var(--negro);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radio);
  transition: var(--transicion);
  box-shadow: 0 4px 16px rgba(200,169,110,0.4);
}

.btn-primary:hover {
  background: #b8953a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.5);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: rgba(255,255,255,0.15);
  color: var(--blanco);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radio);
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transicion);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--blanco);
}

/* =====================================================
   SECCIÓN INTRO (index)
   ===================================================== */
.section {
  padding: 80px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-alt {
  background: var(--gris-claro);
  padding: 80px 0;
}

.section-alt .section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--negro);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-lead {
  font-size: 18px;
  color: var(--gris-texto);
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* =====================================================
   SERVICIOS GRID
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--blanco);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: var(--transicion);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

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

.service-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-oscuro) 100%);
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 48px;
  opacity: 0.7;
}

.service-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--verde-oscuro);
}

.service-card-body p {
  font-size: 14px;
  color: var(--gris-texto);
  line-height: 1.6;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--verde);
}

.service-card-link::after { content: '→'; }

/* =====================================================
   STATS / BADGES
   ===================================================== */
.stats-bar {
  background: #373737;
  padding: 6px;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
}

.stat-item {
  color: var(--blanco);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--dorado);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 13px;
  opacity: 0.8;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* =====================================================
   PAGE HERO (interior pages)
   ===================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--verde-oscuro) 0%, var(--verde) 100%);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../imagenes/inicio/hero.jpg') center/cover;
  opacity: 0.12;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--blanco);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--gris-claro);
  padding: 10px 40px;
  font-size: 13px;
  color: var(--gris-texto);
  max-width: 100%;
}

.breadcrumb a { color: var(--verde); }
.breadcrumb span { margin: 0 6px; opacity: 0.5; }

/* =====================================================
   CONTENT SECTIONS (interior pages)
   ===================================================== */
.content-section {
  padding: 64px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.content-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--verde-oscuro);
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--dorado);
}

.content-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--negro);
  margin: 32px 0 14px;
}

.content-section p {
  color: var(--gris-texto);
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.content-section strong { color: var(--negro); font-weight: 600; }

/* Image gallery */
.img-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.img-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radio);
  transition: var(--transicion);
}

.img-gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--sombra-hover);
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--negro) 0%, var(--verde-oscuro) 100%);
  padding: 60px 40px;
  text-align: center;
  margin: 40px 0 0;
}

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  color: var(--blanco);
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 28px;
}

.cta-banner .btn-primary {
  font-size: 16px;
  padding: 16px 40px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--negro);
  color: rgba(255,255,255,0.8);
  padding: 60px 40px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text { color: var(--blanco); font-size: 22px; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }

.footer-about {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin: 16px 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.75);
}

.footer-contact-item a { color: var(--dorado); }

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--blanco);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  transition: var(--transicion);
}

.footer-col ul li a:hover {
  color: var(--dorado);
  padding-left: 4px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transicion);
}

.social-link:hover {
  background: var(--verde);
  color: var(--blanco);
}

.footer-bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 10px;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--verde-oscuro);
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--verde);
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-body strong {
  display: block;
  font-size: 14px;
  color: var(--gris-texto);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.contact-detail-body span,
.contact-detail-body a {
  font-size: 16px;
  font-weight: 500;
  color: var(--negro);
}

.contact-form-wrap {
  background: var(--gris-claro);
  border-radius: 12px;
  padding: 36px;
}

.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--verde-oscuro);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gris-texto);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gris-medio);
  border-radius: var(--radio);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--negro);
  background: var(--blanco);
  transition: var(--transicion);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(45,122,86,0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--verde);
  color: var(--blanco);
  border: none;
  border-radius: var(--radio);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transicion);
}

.btn-submit:hover {
  background: var(--verde-oscuro);
  transform: translateY(-2px);
}

/* =====================================================
   FLOATING BUTTONS
   ===================================================== */
.wa-btn {
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: 52px;
  height: 52px;
  background-color: #25d366;
  border-radius: 50%;
  display: block;
  line-height: 52px;
  text-align: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 9999;
  text-decoration: none;
  transition: background-color 0.2s;
}

.wa-btn:hover { background-color: #1ebe5d; }

.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  /*background-color: var(--verde);*/
  background-color: var(--dorado);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 9999;
  cursor: pointer;
  transition: background-color 0.2s;
}

.scroll-top-btn:hover { background-color: var(--verde-oscuro); }
.scroll-top-btn.visible { display: flex; }

/* =====================================================
   UTILITIES
   ===================================================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.mt-0 { margin-top: 0; }
.mb-40 { margin-bottom: 40px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section, .content-section { padding: 48px 20px; }
  .page-hero { padding: 48px 20px; }
  .section-alt .section-inner { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 48px 20px 24px; }
  .breadcrumb { padding: 10px 20px; }
  .hero { /*height: 160px;*/ height: 100%;}
  .hero-content { padding: 0 20px; }
  .stats-bar { padding: 40px 20px; }
  .cta-banner { padding: 48px 20px; }
  .nav-bar { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}
