/* Robega · colores tomados del logo: rojo #f20d16 y azul #001ad1, con azul marino de apoyo */
:root {
  --ink: #0b1440;
  --muted: #565e7c;
  --paper: #f6f7fc;
  --white: #ffffff;
  --navy: #06104a;
  --navy-2: #07175d;
  --blue: #001ad1;
  --red: #f20d16;
  --red-dark: #c80a12;
  --line: #dde1f1;
  --shadow: 0 18px 50px rgba(4, 20, 108, .14);
  --radius: 10px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.01em; }

.preview-bar {
  background: var(--navy);
  color: #c9cff3;
  font-size: .78rem;
  text-align: center;
  padding: 6px 16px;
  border-bottom: 3px solid var(--red);
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px max(16px, calc((100% - var(--wrap)) / 2));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { width: 160px; height: 64px; object-fit: contain; }
.brand-tagline { max-width: 170px; color: var(--muted); font-size: .74rem; line-height: 1.25; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.text-link { font-weight: 700; text-decoration: none; color: var(--navy-2); white-space: nowrap; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 8px; border: 2px solid var(--red);
  background: var(--red); color: #fff; font: 700 1rem/1 "Archivo", sans-serif;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 9px 24px rgba(242, 13, 22, .22);
  transition: background .15s, transform .15s;
}
.button:hover, .button:focus-visible { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.button-small { padding: 10px 16px; font-size: .9rem; }
.button-ghost { background: #fff; color: var(--navy-2); border-color: var(--blue); box-shadow: none; }
.button-ghost:hover, .button-ghost:focus-visible { background: var(--blue); border-color: var(--blue); color: #fff; }
.button.full { width: 100%; }

.eyebrow { margin: 0 0 10px; color: var(--red); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-light { color: #fff; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center;
  padding: 56px max(16px, calc((100% - var(--wrap)) / 2)) 64px;
  background: linear-gradient(180deg, #fff 0, var(--paper) 100%);
}
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; color: var(--navy-2); }
.lead { font-size: 1.15rem; color: var(--muted); margin: 18px 0 26px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 0; }
.proof-strip div { border-top: 3px solid var(--blue); padding-top: 10px; }
.proof-strip dt { font-size: 1.35rem; font-weight: 800; color: var(--navy-2); }
.proof-strip dd { margin: 0; color: var(--muted); font-size: .88rem; }
.hero-media { margin: 0; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 8px 48px 8px 8px; box-shadow: var(--shadow);
  border-bottom: 6px solid var(--red);
}

/* Sections */
.services, .gallery, .reviews, .contact { padding: 64px max(16px, calc((100% - var(--wrap)) / 2)); }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }

.services { background: linear-gradient(128deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.26);
  border-radius: var(--radius); padding: 22px;
}
.service-number { display: inline-block; font-weight: 800; border-left: 4px solid var(--red); padding-left: 10px; margin-bottom: 14px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { margin: 0; color: #d7dcf7; font-size: .95rem; }

.gallery-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 16px; }
.gallery-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #ddd; }
.gallery-grid img { width: 100%; height: 340px; object-fit: cover; }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  color: #fff; font-weight: 700; font-size: .92rem;
  background: linear-gradient(transparent, rgba(6,16,74,.85));
}

.reviews { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-grid blockquote {
  margin: 0; padding: 22px; border-radius: var(--radius);
  background: var(--paper); border-top: 3px solid var(--blue);
  font-size: 1.08rem; font-weight: 600; color: var(--navy-2);
}
.fine-print { color: var(--muted); font-size: .8rem; margin: 16px 0 0; }

.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.contact-copy > p { color: var(--muted); }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.info-list li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--red); }
.info-list strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-list a { font-weight: 700; color: var(--navy-2); }

.request-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  background: #fff; padding: 26px; border-radius: var(--radius);
  border-top: 3px solid var(--blue); box-shadow: var(--shadow);
}
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfbfe; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(0,26,209,.14); border-color: var(--blue); }
.request-form .button { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .82rem; text-align: center; }

.map iframe { display: block; width: 100%; height: 340px; border: 0; }

footer {
  background: var(--navy); color: #c9cff3; border-top: 5px solid var(--red);
  padding: 34px max(16px, calc((100% - var(--wrap)) / 2)) 90px;
  display: grid; gap: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; }
.footer-brand img { width: 140px; height: 56px; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px; }
footer address { font-style: normal; }
footer a { color: #fff; }
.credit { margin: 0; font-size: .78rem; opacity: .75; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 900px) {
  .hero, .contact { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; gap: 28px; }
  .hero-media { order: -1; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .wide { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .brand-logo { width: 120px; height: 48px; }
  .brand-tagline, .text-link { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 240px; }
  .request-form { grid-template-columns: 1fr; padding: 20px; }
  .proof-strip { gap: 10px; }
  .proof-strip dt { font-size: 1.1rem; }
}
