/* Import Google Fonts for a High-End Look */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --max-width: 1140px;
  --primary: #1c352d;       /* Deep Artisan Green */
  --accent: #b4924c;        /* Soft Muted Gold */
  --bg-light: #fbf9f4;      /* Linen White */
  --text-dark: #222524;     /* Soft Charcoal */
  --text-muted: #5c6260;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}

/* Header & Logo */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}
.logo img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
}
.logo span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bg-light);
  letter-spacing: 0.05em;
}

/* Navigation */
#nav-toggle { display: none; background: transparent; border: 0; font-size: 1.8rem; color: #fff; cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 500; transition: color 0.3s; font-size: 0.95rem; }
.site-nav a:hover { color: var(--accent); }
.header-phone {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
}
.header-phone:hover { opacity: 0.9; }

/* Hero Section Modernized */
.hero {
  background: linear-gradient(rgba(28, 53, 45, 0.85), rgba(28, 53, 45, 0.85)), url('photos/header-palette.jpg') center/cover;
  min-height: 75vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
}
.hero-content { padding: 2rem; }
.hero-tag { display: inline-block; font-family: var(--font-heading); font-size: 0.85rem; color: var(--accent); letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 1rem; }
.hero h1 { font-family: var(--font-heading); font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: 0.02em; color: var(--bg-light); line-height: 1.2; }
.hero p { font-size: 1.25rem; max-width: 700px; margin: 0 auto 2.5rem; color: #d1deda; font-weight: 300; }
.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(180, 146, 76, 0.3);
}
.cta:hover { transform: translateY(-3px); background: #a0803f; box-shadow: 0 6px 20px rgba(180, 146, 76, 0.5); }

/* Intro text */
.intro-text { background-color: var(--bg-light); text-align: center; }
.intro-text h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--primary); margin-bottom: 1.5rem; }
.intro-text p { max-width: 800px; margin: 0 auto 2rem; font-size: 1.1rem; color: var(--text-muted); }
.intro-badges { display: flex; gap: 1.5rem; max-width: 800px; margin: 3rem auto 0; text-align: left; }
.badge { background: #fff; padding: 1.8rem; border-radius: 8px; border-top: 4px solid var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.03); font-size: 0.95rem; }

/* Glassmorphism Services Grid */
.services-section, .about-section, .location-section, .contact-section { background: #fff; }
.section-title { font-family: var(--font-heading); font-size: 2.4rem; color: var(--primary); text-align: center; margin-bottom: 3rem; position: relative; }
.section-title::after { content: ''; display: block; width: 40px; height: 3px; background: var(--accent); margin: 0.8rem auto 0; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.card { background: #fff; padding: 3rem 2.5rem; border-radius: 12px; border: 1px solid #f0edf5; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.01); }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(28, 53, 47, 0.06); border-color: var(--accent); }
.card-meta { font-family: var(--font-heading); color: #f2ede2; font-size: 4rem; font-weight: 700; position: absolute; top: 0.5rem; right: 1.5rem; line-height: 1; pointer-events: none; }
.card h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--primary); margin-bottom: 1rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ADVANCED INTERACTIVE BEFORE/AFTER SLIDER ELEMENT */
.slider-section { background: #fff; text-align: center; padding-bottom: 2rem; }
.slider-wrapper { max-width: 750px; margin: 0 auto; padding: 0 1rem; }
.before-after-slider { position: relative; width: 100%; height: 450px; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 45px rgba(0,0,0,0.12); }
.before-after-slider .img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; pointer-events: none; }
.before-after-slider .before-img { width: 100%; z-index: 1; }
.before-after-slider .after-img { width: 50%; z-index: 2; border-right: 3px solid #fff; }
.slider-bar { position: absolute; -webkit-appearance: none; appearance: none; width: 100%; height: 100%; background: transparent; z-index: 5; outline: none; margin: 0; cursor: ew-resize; top: 0; left: 0; }
.slider-bar::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 4px; height: 450px; background: transparent; }
.slider-bar::-moz-range-thumb { width: 4px; height: 450px; background: transparent; border: none; }
.slider-button { pointer-events: none; position: absolute; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4; box-shadow: 0 4px 10px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; }
.slider-button::before { content: '‹›'; color: #fff; font-family: monospace; font-size: 1.4rem; font-weight: bold; letter-spacing: -2px; padding-right: 2px; }

/* Corporate Stats Section */
.stats-section { background: var(--primary); color: #fff; padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat-item { padding: 2rem 1rem; }
.stat-number { display: block; font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }
.stat-label { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; color: #d1deda; }

/* Gallery Horizontal Scroll UI */
.gallery-section { text-align: center; background: var(--bg-light); }
.section-subtitle { color: var(--text-muted); margin-top: -2.5rem; margin-bottom: 2.5rem; font-size: 1rem; }
.gallery-grid { display: flex; gap: 24px; overflow-x: auto; padding: 1.5rem 0; snap-type: x mandatory; scrollbar-width: none; }
.gallery-grid::-webkit-scrollbar { display: none; }
.gallery-grid img { width: 310px; height: 310px; flex: 0 0 310px; object-fit: cover; border-radius: 14px; cursor: zoom-in; transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); snap-align: start; box-shadow: 0 8px 25px rgba(0,0,0,0.05); }
.gallery-grid img:hover { transform: scale(1.04); }

/* About features */
.about-section .intro { text-align: center; max-width: 800px; margin: 0 auto 4rem; font-size: 1.15rem; color: var(--text-dark); }
.about-section .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--bg-light); padding: 3rem 2rem; border-radius: 12px; transition: transform 0.3s; }
.feature:hover { transform: translateY(-5px); }
.feature .icon { width: 60px; height: 60px; background: var(--primary); color: var(--accent); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; font-size: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 6px 15px rgba(28,53,45,0.15); }
.feature h4 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--primary); margin-bottom: 0.6rem; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* Location Area styling */
.location-wrapper { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; align-items: center; }
.location-info-box h3 { font-family: var(--font-heading); color: var(--primary); margin-bottom: 1.2rem; font-size: 1.5rem; }
.location-specs { list-style: none; margin-top: 1.5rem; }
.location-specs li { margin-bottom: 1rem; font-size: 0.95rem; padding-left: 1.8rem; position: relative; }
.location-specs li::before { content: '✓'; color: var(--accent); position: absolute; left: 0; font-weight: bold; font-size: 1.1rem; }

/* Contact Section & Form Design */
.contact-section { background-color: var(--bg-light); }
.contact-wrapper { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
.contact-lead { font-size: 1.1rem; margin-bottom: 2rem; color: var(--text-muted); }
.contact-phone { display: inline-flex; align-items: center; gap: 1rem; padding: 1.2rem 2.2rem; background: #fff; border: 1px solid #e5dfd3; border-radius: 8px; text-decoration: none; font-weight: 700; color: var(--primary); font-size: 1.35rem; transition: all 0.3s; margin-bottom: 2.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.contact-phone svg { width: 24px; height: 24px; fill: var(--accent); }
.contact-phone:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.05); }
.social-links { display: flex; gap: 1.2rem; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid #eee; box-shadow: 0 4px 12px rgba(0,0,0,0.03); transition: transform 0.2s; }
.social-links a:hover { transform: translateY(-4px); }
.social-links a svg, .info-icon svg { width: 22px; height: 22px; vertical-align: middle; }
/* Brand-colour variants (avoid inline styles in SVGs) */
.social-links a .social-facebook, .social-facebook { fill: #1877F2; }
.social-links a .social-whatsapp, .social-whatsapp, .info-icon.whatsapp-green svg { fill: #25D366; }
/* Ensure icons inside .contact-phone keep sizing */
.contact-phone svg { width: 22px; height: 22px; }

.contact-form-container { background: #fff; padding: 3.5rem; border-radius: 12px; box-shadow: 0 15px 50px rgba(28, 53, 45, 0.04); border: 1px solid #f2eee6; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.form-group input, .form-group textarea { width: 100%; padding: 0.9rem; border: 1px solid #ddd; border-radius: 6px; font-family: var(--font-body); font-size: 0.95rem; background-color: #fafaf8; transition: all 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background-color: #fff; box-shadow: 0 0 0 3px rgba(180,146,76,0.1); }
.contact-form-container .cta { border: none; width: 100%; text-align: center; cursor: pointer; }

/* Footer */
.site-footer { background: var(--primary); color: #fff; text-align: center; padding: 2.5rem; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer p { color: #d1deda; }

/* Lightbox Overlay */
.lightbox { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(18, 31, 27, 0.96); z-index: 1000; }
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: 8px; box-shadow: 0 25px 60px rgba(0,0,0,0.6); object-fit: contain; }
.lb-close { position: absolute; top: -3.5rem; right: 0; border: none; background: transparent; color: #fff; font-size: 2.2rem; cursor: pointer; }
.lb-nav { position: absolute; width: 100%; display: flex; justify-content: space-between; pointer-events: none; padding: 0 1rem; }
.lb-nav button { pointer-events: auto; border: none; background: rgba(255,255,255,0.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; backdrop-filter: blur(4px); transition: background 0.3s; }
.lb-nav button:hover { background: var(--accent); }

/* Responsive adjustments */
@media(max-width: 990px) {
  .grid, .about-section .features, .stats-grid, .location-wrapper, .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-badges { flex-direction: column; }
  .contact-form-container { padding: 2.5rem; }
  #nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary); flex-direction: column; padding: 2.5rem; gap: 1.8rem; box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
  .site-nav.open { display: flex; }
  .hero h1 { font-size: 2.4rem; }
  .before-after-slider { height: 320px; }
  .slider-bar::-webkit-slider-thumb { height: 320px; }
  .slider-bar::-moz-range-thumb { height: 320px; }
}
/* How We Work Section Styling */
.process-section {
  background-color: #ffffff;
  padding-bottom: 5rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  border-bottom-color: var(--accent);
  box-shadow: 0 10px 25px rgba(28, 53, 45, 0.05);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive design for tablets and mobile phones */
@media(max-width: 990px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media(max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
/* Trusted Brands Section */
.brands-section {
  background-color: var(--bg-light);
  padding: 4rem 0;
  border-top: 1px solid #f2eee6;
  border-bottom: 1px solid #f2eee6;
}

.brands-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.brands-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.brand-item {
  flex: 1;
  min-width: 140px;
  max-width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-item img {
  width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
  /* Efecto elegante: logos suavizados que brillan al pasar el cursor */
  filter: grayscale(100%) opacity(60%);
  transition: all 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

/* Ajuste para pantallas móviles */
@media(max-width: 768px) {
  .brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
  }
  .brand-item {
    max-width: 130px;
  }
}
/* Gallery Page Layout */
.gallery-hero {
  background: linear-gradient(rgba(28, 53, 45, 0.9), rgba(28, 53, 45, 0.9)), url('photos/header-palette.jpg') center/cover;
  text-align: center;
  color: #fff;
  padding: 4rem 0;
}
.gallery-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--bg-light);
  margin-top: 0.5rem;
}
.gallery-hero p {
  color: #d1deda;
  max-width: 600px;
  margin: 1rem auto 0;
}

.gallery-page-grid {
  background-color: #fff;
  padding: 4rem 0;
}

/* Una cuadrícula que distribuye tus fotos reales de forma pro */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.before-after-slider {
  position: relative;
  height: 430px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #f2eee6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  background: #f5f2ea;
  --compare: 50%;
}

.before-after-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.before-after-slider .after-img {
  width: var(--compare);
  z-index: 2;
  box-shadow: 8px 0 0 rgba(255,255,255,0.18);
}

.slider-divider {
  position: absolute;
  top: 0;
  left: var(--compare);
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 4;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
}

.slider-button {
  position: absolute;
  left: var(--compare);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  background: rgba(180, 146, 76, 0.96);
  color: #fff;
  border: 3px solid rgba(255,255,255,0.9);
  z-index: 5;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

/* Caja de cierre para empujar al cliente al contacto */
.gallery-cta-box {
  margin-top: 5rem;
  background: var(--bg-light);
  padding: 3.5rem;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #eaddc5;
}
.gallery-cta-box h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.gallery-cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

/* Enlace activo en el menú */
.site-nav a.active {
  color: var(--accent);
  font-weight: 700;
}

@media(max-width: 768px) {
  .gallery-hero h1 { font-size: 2rem; }
  .comparison-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .before-after-slider { height: 300px; }
  .gallery-cta-box { padding: 2rem; }
}

/* Services Page Layout styling */
.services-hero {
  background: linear-gradient(rgba(28, 53, 45, 0.9), rgba(28, 53, 45, 0.9)), url('photos/header-palette.jpg') center/cover;
  text-align: center;
  color: #fff;
  padding: 4rem 0;
}
.services-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--bg-light);
  margin-top: 0.5rem;
}
.services-hero p {
  color: #d1deda;
  max-width: 650px;
  margin: 1rem auto 0;
}

.services-detail-section {
  background: #fff;
  padding: 5rem 0;
}

/* El diseño asimétrico de los bloques de servicio */
.service-detail-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
  padding-bottom: 6rem;
  border-bottom: 1px solid #f2eee6;
}

.service-detail-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Alterna el orden visual: uno a la izquierda, el siguiente a la derecha */
.service-detail-block.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}
.service-detail-block.reverse .service-detail-text {
  grid-column: 2;
}
.service-detail-block.reverse .service-detail-accent-box {
  grid-column: 1;
  grid-row: 1;
}

.service-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.service-detail-text h2 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.service-detail-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Caja elegante de cristal/diseño para los puntos incluidos */
.service-detail-accent-box {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #eaddc5;
}

.service-detail-accent-box h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.4rem;
  display: inline-block;
}

.service-detail-accent-box ul {
  list-style: none;
}

.service-detail-accent-box li {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-detail-accent-box li::before {
  content: '✓';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Footer CTA de servicios */
.services-footer-cta {
  background: var(--bg-light);
  border-top: 1px solid #f2eee6;
  padding: 5rem 0;
}
.services-footer-cta h2 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.services-footer-cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Modificadores para pantallas móviles */
@media(max-width: 900px) {
  .service-detail-block, .service-detail-block.reverse {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .service-detail-block.reverse .service-detail-text {
    grid-column: auto;
  }
  .service-detail-block.reverse .service-detail-accent-box {
    grid-column: auto;
    grid-row: auto;
  }
  .services-hero h1 { font-size: 2rem; }
}
/* Footer Brands & Insurance Section */
.brands-footer-section {
  background-color: #fcfbfa; /* Un tono crema sutil muy limpio */
  padding: 3.5rem 0;
  border-top: 1px solid #f2eee6;
  border-bottom: 1px solid #f2eee6;
}

.brands-footer-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #707a75;
  margin-bottom: 2rem;
  font-weight: 600;
}

.brands-footer-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.brand-footer-item {
  flex: 1;
  min-width: 130px;
  max-width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-footer-item img {
  width: 100%;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  /* Efecto pro: se ven elegantes en gris y se colorean al pasar el ratón */
  filter: grayscale(100%) opacity(50%);
  transition: all 0.3s ease;
}

.brand-footer-item:hover img {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

/* El sello de "Fully Insured" estilo Norcal */
.insurance-badge {
  max-width: 200px;
  background: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: 1px solid #eaddc5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-icon {
  background: #1c352d; /* Tu verde oscuro principal */
  color: #eaddc5;      /* Tu dorado/crema accent */
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.badge-text strong {
  font-size: 0.85rem;
  color: #1c352d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-text span {
  font-size: 0.75rem;
  color: #707a75;
}

/* Ajuste automático para pantallas de móvil */
@media(max-width: 768px) {
  .brands-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
  }
  .brand-footer-item {
    max-width: 120px;
  }
  .insurance-badge {
    grid-column: span 2; /* Centra el sello de seguro abajo en el móvil */
    width: 100%;
    justify-content: center;
  }
/* ==========================================================================
   CONTACT PAGE DEFINITIVE STYLING
   ========================================================================== */
.contact-hero {
  background: linear-gradient(rgba(28, 53, 45, 0.9), rgba(28, 53, 45, 0.9)), url('photos/header-palette.jpg') center/cover;
  text-align: center;
  color: #fff;
  padding: 4rem 0;
}
.contact-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--bg-light);
  margin-top: 0.5rem;
}
.contact-hero p {
  color: #d1deda;
  max-width: 600px;
  margin: 1rem auto 0;
}

.contact-page-layout {
  padding: 5rem 0;
  background-color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
}

.contact-form-container h3, .contact-info-container h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.info-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 3rem;
}

/* --- TRUCO DEL ENLACE ABSOLUTO INVISIBLE --- */
.click-card-wrapper {
  position: relative; /* Base para el enlace absoluto */
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.entire-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

/* Efectos hover aplicados limpiamente a la tarjeta estructural */
.click-card-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: var(--accent) !important;
}

.info-link-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.click-card-wrapper:hover .info-link-text {
  color: var(--accent);
  text-decoration: underline;
}

/* Iconos y colores corporativos */
.gold-phone svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.whatsapp-green svg {
  width: 24px;
  height: 24px;
  fill: #25D366;
}

.text-gold {
  color: var(--accent);
}

/* Ajuste responsive */
@media(max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .contact-hero h1 { font-size: 2.2rem; }
}
/* --- DISEÑO DE LOS CUADROS DEL FORMULARIO (RECUPERADO) --- */
.contact-form-container .form-group input, 
.contact-form-container .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #eaddc5;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.contact-form-container .form-group input:focus, 
.contact-form-container .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(234, 221, 197, 0.4);
}

/* Lado Derecho: Tarjetas de Información */
.info-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem;
  background: var(--bg-light);
  border-radius: 8px;
  border: 1px solid #f2eee6;
}

.info-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.info-card h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.contact-social-block h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Hacer que todo el recuadro sea clickeable */
.info-card-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.click-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.click-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: var(--accent);
}

.info-link-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.click-card:hover .info-link-text {
  color: var(--accent);
  text-decoration: underline;
}

/* Iconos y colores */
.gold-phone svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.whatsapp-green svg {
  width: 24px;
  height: 24px;
  fill: #25D366;
}

.text-gold {
  color: var(--accent);
}

/* Responsive para tabletas y móviles */
@media(max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .contact-hero h1 { font-size: 2.2rem; }
}
/* Hacer que todo el recuadro sea clickeable de forma limpia */

/* --- CORRECCIÓN DE LAS TARJETAS CLICABLES (DERECHA) --- */
.info-card-link {
  text-decoration: none;
  display: block;
  color: inherit;
  margin-bottom: 1.8rem; /* Esto mantiene la separación entre cuadros */
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem;
  background: var(--bg-light);
  border-radius: 8px;
  border: 1px solid #f2eee6;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

/* Efecto visual al pasar el ratón por encima de todo el cuadro */
.info-card-link:hover .info-card {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: var(--accent); /* Se ilumina con tu dorado */
}

.info-card h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.info-link-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

/* Cambia el color del texto a dorado al pasar el ratón por el cuadro */
.info-card-link:hover .info-link-text {
  color: var(--accent);
  text-decoration: underline;
}

/* Iconos y colores */
.gold-phone svg {
  width: 24px;
  height: 24px;
  fill: var(--accent); /* Tu dorado corporativo */
}

.whatsapp-green svg {
  width: 24px;
  height: 24px;
  fill: #25D366; /* Verde WhatsApp */
}

.text-gold {
  color: var(--accent);
}