/* ==========================================================================
   Soluciones para el Automóvil — hoja de estilos
   ========================================================================== */

:root{
  --red: #c81324;
  --red-dark: #98101d;
  --red-light: #e8394a;
  --ink: #15171c;
  --ink-soft: #4a4e58;
  --ink-faint: #767b87;
  --paper: #ffffff;
  --fog: #f5f5f7;
  --fog-dark: #ececef;
  --line: #e3e4e8;
  --ok: #1f8a4c;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(21,23,28,.06), 0 1px 1px rgba(21,23,28,.04);
  --shadow-md: 0 10px 30px -12px rgba(21,23,28,.25);
  --shadow-lg: 0 24px 60px -20px rgba(21,23,28,.35);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 84px; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
p{ margin: 0; }
section{ position: relative; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.eyebrow::before{
  content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px;
}

.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); }
.section-head p{ margin-top: 14px; color: var(--ink-soft); font-size: 17px; }

.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(200,19,36,.55); }
.btn-primary:hover{ background: var(--red-dark); }
.btn-ghost{ background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover{ background: rgba(255,255,255,.18); }
.btn-outline{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover{ border-color: var(--ink); }
.btn-block{ width: 100%; }
.btn svg{ width: 18px; height: 18px; flex: none; }

/* ---------- Top bar ---------- */
.topbar{
  background: var(--ink); color: #cfd1d6; font-size: 13.5px;
}
.topbar .container{ display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-links{ display: flex; gap: 22px; }
.topbar-links a{ display: inline-flex; align-items: center; gap: 6px; color: #cfd1d6; }
.topbar-links a:hover{ color: #fff; }
.topbar-hours{ display: flex; align-items: center; gap: 6px; color: #9a9ea8; }
.topbar svg{ width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand{ display: flex; align-items: center; gap: 12px; flex: none; }
.brand img{ height: 42px; width: auto; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong{ font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.brand-text span{ font-size: 12px; color: var(--ink-faint); font-weight: 600; }

.main-nav{ display: flex; align-items: center; gap: 30px; }
.main-nav a{ font-size: 14.5px; font-weight: 600; color: var(--ink-soft); padding: 8px 0; position: relative; }
.main-nav a:hover{ color: var(--ink); }
.main-nav a::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav a:hover::after{ transform: scaleX(1); }

.header-cta{ display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone{ display: flex; flex-direction: column; text-align: right; }
.header-phone a{ font-weight: 800; font-size: 16px; color: var(--ink); }
.header-phone span{ font-size: 11.5px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.nav-toggle{
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.nav-toggle svg{ width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero{
  position: relative; color: #fff; overflow: hidden;
  min-height: 620px; display: flex; align-items: center;
}
.hero-bg{ position: absolute; inset: 0; }
.hero-bg img{ width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.hero-bg::after{
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.78) 38%, rgba(10,10,12,.45) 68%, rgba(10,10,12,.35) 100%),
    linear-gradient(0deg, rgba(10,10,12,.55), rgba(10,10,12,0) 40%);
}
.hero .container{ position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero-content{ max-width: 620px; }
.hero-badge{
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); font-size: 13px; font-weight: 700;
  margin-bottom: 22px;
}
.hero-badge .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--red-light); box-shadow: 0 0 0 3px rgba(232,57,74,.25); }
.hero h1{ font-size: clamp(34px, 5vw, 56px); }
.hero h1 em{ font-style: normal; color: var(--red-light); }
.hero p.lead{ margin-top: 20px; font-size: 18px; color: #d7d9de; max-width: 520px; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-stats{
  display: flex; gap: 0; margin-top: 52px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px;
  max-width: 560px;
}
.hero-stats div{ flex: 1; padding-right: 18px; }
.hero-stats strong{ display: block; font-size: 26px; font-weight: 800; }
.hero-stats span{ font-size: 12.5px; color: #b9bcc4; font-weight: 600; }

/* ---------- Trust strip ---------- */
.trust{
  background: var(--ink); color: #fff; padding: 20px 0;
}
.trust ul{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.trust li{ display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #d7d9de; }
.trust svg{ width: 20px; height: 20px; color: var(--red-light); flex: none; }

/* ---------- Services ---------- */
.services{ padding: 96px 0 80px; background: var(--paper); }
.service-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.service-card{
  background: var(--fog); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  display: flex; flex-direction: column;
}
.service-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); background: #fff; }
.service-icon{
  width: 48px; height: 48px; border-radius: 12px; background: var(--ink); flex: none;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.service-icon svg{ width: 24px; height: 24px; color: var(--red-light); }
.service-card h3{ font-size: 17.5px; margin-bottom: 2px; }
.service-card .service-sub{ font-size: 12.5px; color: var(--ink-faint); font-weight: 600; margin-bottom: 16px; }
.service-tasks{ display: grid; gap: 9px; margin-top: auto; }
.service-tasks li{ display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.35; }
.service-tasks svg{ width: 15px; height: 15px; color: var(--red); flex: none; margin-top: 2px; }
.price-hint{ color: var(--ink-faint); font-weight: 700; font-size: 12px; }

.more-services{
  margin-top: 20px; padding: 24px 28px; border-radius: var(--radius);
  background: var(--fog); border: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
}
.more-services strong{ font-size: 14.5px; margin-right: 4px; }
.more-services ul{ display: flex; flex-wrap: wrap; gap: 10px 22px; }
.more-services li{ font-size: 14px; color: var(--ink-soft); position: relative; padding-left: 16px; }
.more-services li::before{ content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------- Proceso ---------- */
.process{ padding: 90px 0; background: var(--ink); color: #fff; }
.process .eyebrow{ color: var(--red-light); justify-content: center; }
.process .eyebrow::before{ background: var(--red-light); }
.process .section-head{ text-align: center; margin: 0 auto 48px; }
.process .section-head h2{ color: #fff; }
.process .section-head p{ color: #c3c5cc; margin-left: auto; margin-right: auto; }
.process-grid{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.process-step{ text-align: left; }
.process-num{
  width: 40px; height: 40px; border-radius: 50%; background: #1d2027; border: 1px solid #2c2f38;
  color: var(--red-light); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.process-step h3{ font-size: 15.5px; color: #fff; margin-bottom: 8px; }
.process-step p{ font-size: 13.5px; color: #b9bcc4; }

/* ---------- About ---------- */
.about{ padding: 90px 0; background: var(--fog); }
.about-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-copy p{ color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; }
.about-points{ margin-top: 26px; display: grid; gap: 14px; }
.about-points li{ display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.about-points svg{ width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 1px; }

.gallery{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery a{ display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.gallery img{ width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img{ transform: scale(1.06); }
.gallery .tall{ grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* ---------- Clientes ---------- */
.clients{ padding: 72px 0; background: var(--fog); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-head{ text-align: center; max-width: 560px; margin: 0 auto 36px; }
.clients-head .eyebrow{ justify-content: center; }
.clients-head h2{ font-size: clamp(22px, 2.6vw, 28px); }
.clients-logos{ display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.client-logo{
  display: flex; align-items: center; justify-content: center; padding: 20px 34px; height: 84px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.client-logo img{ max-width: 140px; max-height: 34px; width: auto; height: auto; object-fit: contain; }
.clients-more{ text-align: center; margin-top: 22px; font-size: 14px; color: var(--ink-faint); }

/* ---------- Garantías mecánicas ---------- */
.warranty{ padding: 90px 0; background: var(--paper); }
.warranty-top{ display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 44px; }
.warranty-top p{ margin-top: 14px; color: var(--ink-soft); font-size: 17px; max-width: 640px; }
.warranty-logos{
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 28px;
}
.warranty-logo{
  display: flex; align-items: center; justify-content: center; padding: 18px 20px; height: 92px;
  background: var(--fog); border: 1px solid var(--line); border-radius: var(--radius-sm);
  filter: grayscale(1) opacity(.68); transition: filter .2s ease, background .2s ease, border-color .2s ease, transform .15s ease;
}
.warranty-logo:hover{ filter: grayscale(0) opacity(1); background: #fff; border-color: var(--line); transform: translateY(-2px); }
.warranty-logo img{ max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain; }

.warranty-note{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; border-radius: var(--radius); background: var(--fog); border: 1px solid var(--line);
}
.warranty-note p{ font-size: 14.5px; color: var(--ink-soft); max-width: 560px; }
.warranty-note strong{ color: var(--ink); }

/* Modal */
.modal{
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(15,16,20,.6); padding: 24px; overflow-y: auto;
}
.modal.open{ display: flex; align-items: flex-start; justify-content: center; }
.modal-panel{
  background: #fff; border-radius: var(--radius); max-width: 760px; width: 100%; margin: 32px auto;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.modal-head{
  position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line);
  padding: 22px 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; z-index: 2;
}
.modal-head h3{ font-size: 20px; }
.modal-head p{ margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.modal-close{
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.modal-close svg{ width: 16px; height: 16px; }
.modal-body{ padding: 8px 28px 32px; }
.modal-body h4{ font-size: 15.5px; margin: 26px 0 10px; display: flex; align-items: center; gap: 10px; }
.modal-body h4 .num{
  width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: 12px;
  font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.modal-body p{ font-size: 14.5px; color: var(--ink-soft); margin-bottom: 10px; }
.modal-body ul{ display: grid; gap: 8px; margin: 10px 0; }
.modal-body ul li{ font-size: 14.5px; color: var(--ink-soft); padding-left: 18px; position: relative; }
.modal-body ul li::before{ content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.modal-callout{
  margin-top: 8px; padding: 16px 18px; border-radius: 10px; background: var(--fog); border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft);
}
.modal-callout strong{ color: var(--ink); }
.modal-summary{
  margin-top: 28px; padding: 20px; border-radius: var(--radius-sm); background: var(--ink); color: #fff;
}
.modal-summary p{ color: #d7d9de; }
.modal-summary ul li{ color: #d7d9de; }
.modal-summary ul li::before{ background: var(--red-light); }
.modal-body .btn{ margin-top: 24px; }

/* ---------- Proyecto propio ---------- */
.project-car{ padding: 0 0 90px; background: var(--fog); margin-top: -20px; }
.project-card{
  background: var(--ink); border-radius: var(--radius); padding: 44px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.project-card::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 100% 0%, rgba(200,19,36,.25), transparent 60%);
}
.project-card .eyebrow{ color: var(--red-light); position: relative; }
.project-card .eyebrow::before{ background: var(--red-light); }
.project-card h3{ color: #fff; font-size: clamp(22px, 2.6vw, 30px); position: relative; margin-bottom: 14px; }
.project-card p{ color: #c3c5cc; font-size: 15.5px; position: relative; margin-bottom: 4px; }
.project-tags{ display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.project-tags span{
  font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px;
}
.project-stat{ position: relative; display: flex; flex-direction: column; gap: 18px; }
.project-stat .num{ font-size: 44px; font-weight: 800; color: #fff; line-height: 1; }
.project-stat .num span{ display: block; font-size: 12.5px; font-weight: 700; color: #9a9ea8; text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }

/* ---------- Showcase gallery ---------- */
.showcase{ padding: 90px 0; background: var(--fog); }
.showcase-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.showcase-item{
  position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-sm);
}
.showcase-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.showcase-item:hover img{ transform: scale(1.07); }
.showcase-item::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,12,.82) 0%, rgba(10,10,12,.1) 55%, rgba(10,10,12,0) 100%);
}
.showcase-item span{
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2;
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: -.01em;
}

/* ---------- Reviews ---------- */
.reviews{ padding: 90px 0; background: var(--paper); }
.reviews-top{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.rating-badge{
  display: flex; align-items: center; gap: 18px; background: var(--fog); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 26px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rating-badge:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--red); }
.rating-badge .g-icon{ width: 40px; height: 40px; flex: none; }
.rating-score{ font-size: 34px; font-weight: 800; line-height: 1; }
.rating-stars{ display: flex; gap: 2px; margin: 6px 0 4px; }
.rating-stars svg{ width: 16px; height: 16px; color: #f5a524; }
.rating-count{ font-size: 13px; color: var(--ink-faint); font-weight: 600; }

.review-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card{ background: var(--fog); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.review-card .stars{ display: flex; gap: 3px; margin-bottom: 14px; }
.review-card .stars svg{ width: 15px; height: 15px; color: #f5a524; }
.review-card p{ font-size: 15px; color: var(--ink-soft); font-style: italic; margin-bottom: 18px; }
.review-card .who{ display: flex; align-items: center; gap: 10px; }
.review-card .avatar{
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px; flex: none;
}
.review-card .who strong{ display: block; font-size: 14px; }
.review-card .who span{ font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Quote / budget teaser ---------- */
.quote{ padding: 90px 0; background: var(--ink); color: #fff; }
.quote-grid{ display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.quote .eyebrow{ color: var(--red-light); }
.quote .eyebrow::before{ background: var(--red-light); }
.quote h2{ font-size: clamp(26px,3vw,36px); color: #fff; }
.quote p.lead{ color: #c3c5cc; margin-top: 16px; font-size: 16.5px; max-width: 480px; }
.quote-list{ margin-top: 26px; display: grid; gap: 12px; }
.quote-list li{ display: flex; gap: 10px; font-size: 14.5px; color: #d7d9de; }
.quote-list svg{ width: 18px; height: 18px; color: var(--red-light); flex: none; }

.quote-card{
  background: #1d2027; border: 1px solid #2c2f38; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-lg);
}
.quote-card .badge{
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(232,57,74,.15); color: var(--red-light); padding: 5px 10px; border-radius: 999px; margin-bottom: 16px;
}
.field{ margin-bottom: 14px; }
.field label{ display: block; font-size: 12.5px; font-weight: 700; color: #b9bcc4; margin-bottom: 6px; }
.field select, .field input{
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #35383f; background: #14161b;
  color: #fff; font-size: 14.5px; font-family: var(--font);
}
.field select:focus, .field input:focus{ outline: none; border-color: var(--red-light); }
.quote-estimate{
  margin-top: 18px; padding: 16px; border-radius: 10px; background: #14161b; border: 1px solid #35383f;
  display: flex; align-items: center; justify-content: space-between;
}
.quote-estimate span{ font-size: 12.5px; color: #9a9ea8; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.quote-estimate strong{ font-size: 22px; }
.quote-note{ font-size: 12px; color: #767b87; margin-top: 12px; }

/* ---------- Contact ---------- */
.contact{ padding: 90px 0 100px; background: var(--paper); }
.contact-grid{ display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
.contact-cards{ display: grid; gap: 14px; align-content: start; }
.contact-card{
  display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-card .ic{
  width: 44px; height: 44px; border-radius: 10px; background: var(--fog); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.contact-card .ic svg{ width: 22px; height: 22px; color: var(--red); }
.contact-card h4{ font-size: 14.5px; margin-bottom: 4px; }
.contact-card p, .contact-card a{ font-size: 14.5px; color: var(--ink-soft); }
.contact-card a:hover{ color: var(--red); }

.map-wrap{ border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe{ width: 100%; height: 320px; border: 0; display: block; }
.map-link{ display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--red); }
.map-link:hover{ text-decoration: underline; }

.contact-form{
  background: var(--fog); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
}
.contact-form h3{ font-size: 20px; margin-bottom: 6px; }
.contact-form p.hint{ color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field{ margin-bottom: 14px; }
.form-field label{ display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select{
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; font-family: var(--font); color: var(--ink);
}
.form-field textarea{ resize: vertical; min-height: 96px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ outline: none; border-color: var(--red); }
.form-honeypot{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-consent{ display: flex; align-items: flex-start; gap: 9px; margin-bottom: 18px; cursor: pointer; }
.form-consent input{ margin-top: 3px; flex: none; width: 15px; height: 15px; accent-color: var(--red); }
.form-consent span{ font-size: 13px; color: var(--ink-soft); }
.form-status{ margin-top: 14px; font-size: 14px; font-weight: 700; display: none; }
.form-status.ok{ display: block; color: var(--ok); }
.form-status.error{ display: block; color: var(--red); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: #c3c5cc; padding: 64px 0 26px; }
.footer-grid{ display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand strong{ color: #fff; font-size: 18px; display: block; margin-bottom: 10px; }
.footer-brand p{ font-size: 14px; color: #9a9ea8; max-width: 280px; }
.footer-social{ display: flex; gap: 10px; margin-top: 18px; }
.footer-social a{
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid #35383f; display: flex; align-items: center;
  justify-content: center;
}
.footer-social a:hover{ border-color: var(--red-light); color: var(--red-light); }
.footer-social svg{ width: 16px; height: 16px; }
.site-footer h5{ color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.site-footer ul{ display: grid; gap: 10px; }
.site-footer a{ font-size: 14px; color: #9a9ea8; }
.site-footer a:hover{ color: #fff; }
.footer-bottom{
  margin-top: 50px; padding-top: 24px; border-top: 1px solid #2c2f38; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #767b87;
}

/* ---------- Mobile floating call ---------- */
.mobile-call{
  display: none; position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 90; gap: 10px;
}
.mobile-call a{
  color: #fff; font-weight: 800; border-radius: 999px; height: 54px; flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: var(--shadow-lg);
}
.mobile-call .call-btn{ background: var(--red); }
.mobile-call .wa-btn{ background: #25D366; }

/* ---------- Desktop floating WhatsApp ---------- */
.whatsapp-float{
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: transform .15s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float svg{ width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .main-nav{ display: none; }
  .nav-toggle{ display: flex; }
  .header-phone{ display: none; }
  .about-grid, .quote-grid, .contact-grid{ grid-template-columns: 1fr; }
  .review-grid{ grid-template-columns: 1fr; }
  .process-grid{ grid-template-columns: 1fr 1fr; }
  .project-card{ grid-template-columns: 1fr; padding: 32px; }
  .project-stat{ flex-direction: row; gap: 30px; }
  .reviews-top{ align-items: flex-start; }
  .showcase-grid{ grid-template-columns: repeat(3, 1fr); }
  .warranty-top{ grid-template-columns: 1fr; }
  .warranty-logos{ grid-template-columns: repeat(3, 1fr); }
  .gallery{ order: -1; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .service-grid{ grid-template-columns: 1fr 1fr; }
  .mobile-call{ display: flex; }
  .whatsapp-float{ display: none; }
  body{ padding-bottom: 78px; }
}
@media (max-width: 640px){
  .topbar-links a span.long{ display: none; }
  .hero{ min-height: auto; padding-top: 20px; }
  .hero-stats{ flex-wrap: wrap; }
  .hero-stats div{ flex: 1 1 45%; margin-bottom: 14px; }
  .service-grid{ grid-template-columns: 1fr 1fr; }
  .showcase-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-grid{ grid-template-columns: 1fr; }
  .warranty-logos{ grid-template-columns: repeat(2, 1fr); }
  .client-logo{ padding: 16px 22px; height: 70px; flex: 1 1 40%; }
  .client-logo img{ max-height: 26px; }
  .modal-panel{ margin: 12px auto; }
  .modal-head, .modal-body{ padding-left: 20px; padding-right: 20px; }
  .service-grid{ grid-template-columns: 1fr; }
  .service-card{ padding: 22px; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .trust ul{ justify-content: flex-start; }
}

/* Mobile nav drawer */
.mobile-nav{
  position: fixed; inset: 0; z-index: 200; background: rgba(21,23,28,.55); opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.mobile-nav.open{ opacity: 1; pointer-events: auto; }
.mobile-nav-panel{
  position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 360px); background: #fff;
  padding: 24px; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column;
}
.mobile-nav.open .mobile-nav-panel{ transform: translateX(0); }
.mobile-nav-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-nav-close{ width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: none; cursor: pointer; }
.mobile-nav-close svg{ width: 18px; height: 18px; }
.mobile-nav-panel a{ display: block; padding: 14px 4px; font-size: 17px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-nav-panel .btn{ margin-top: 20px; }

/* ---------- Páginas legales ---------- */
.legal-header{ background: #fff; border-bottom: 1px solid var(--line); }
.legal-header .container{ display: flex; align-items: center; justify-content: space-between; height: 72px; }
.legal-header img{ height: 36px; }
.legal-back{ font-size: 14px; font-weight: 700; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.legal-back:hover{ color: var(--red); }
.legal-main{ padding: 56px 0 90px; background: var(--paper); }
.legal-main .container{ max-width: 780px; }
.legal-main .eyebrow{ margin-bottom: 10px; }
.legal-main h1{ font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.legal-updated{ font-size: 13px; color: var(--ink-faint); margin-bottom: 40px; }
.legal-main h2{ font-size: 19px; margin: 40px 0 14px; padding-top: 4px; }
.legal-main h2:first-of-type{ margin-top: 0; }
.legal-main p{ font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.legal-main ul{ display: grid; gap: 8px; margin: 14px 0; }
.legal-main li{ font-size: 15px; color: var(--ink-soft); padding-left: 18px; position: relative; }
.legal-main li::before{ content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.legal-main strong{ color: var(--ink); }
.legal-main a{ color: var(--red); font-weight: 600; }
.legal-box{ margin-top: 44px; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--fog); border: 1px solid var(--line); }
.legal-box p{ margin-bottom: 8px; font-size: 14px; }
.legal-box p:last-child{ margin-bottom: 0; }
