/* SOLARE SpA — sitio de una página (maqueta estática) */
:root {
  --navy: #0b1c33;
  --navy-2: #12263f;
  --navy-3: #1a3352;
  --blue: #1a8ad4;
  --blue-2: #1678b8;
  --blue-soft: #e8f3fb;
  --gold: #e8b400;
  --gold-2: #f5c400;
  --ink: #1a2332;
  --muted: #5b6674;
  --line: #d9e1ea;
  --paper: #f5f7fa;
  --white: #ffffff;
  --whatsapp: #1fa855;
  --whatsapp-2: #128c43;
  --danger-antes: #c23b3b;
  --ok-despues: #2a8a4a;
  --header-h: 72px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 28, 51, 0.08);
  --max: 1120px;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-400-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-400-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); }
a:hover { color: var(--blue); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 200;
  border-radius: 6px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 42px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
}
.nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover { color: var(--blue-2); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 11px 20px;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-wa {
  background: var(--whatsapp);
  color: #fff !important;
  border-color: var(--whatsapp);
}
.btn-wa:hover { background: var(--whatsapp-2); border-color: var(--whatsapp-2); color: #fff !important; }
.btn-light {
  background: #fff;
  color: var(--navy) !important;
  border-color: #fff;
}
.btn-light:hover { background: var(--blue-soft); }
.btn-outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-navy {
  background: var(--navy);
  color: #fff !important;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-3); }
.header .btn-wa { padding: 9px 16px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(165deg, #081526 0%, var(--navy) 45%, #143456 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 20px;
  width: 520px;
  height: 520px;
  background: url("img/logo-mark.png") no-repeat center / contain;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ec9e8;
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--gold-2);
  border-radius: 2px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 3.4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hero p.lead {
  margin: 0 0 28px;
  font-size: 1.12rem;
  color: #d5e4ef;
  max-width: 38ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  aspect-ratio: 628 / 379;
  background: var(--navy-2);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 40%;
}

/* Sections */
section { padding: 80px 0; }
section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
}
.section-intro {
  margin: 0 0 40px;
  color: var(--muted);
  max-width: 62ch;
}
.section-head { margin-bottom: 36px; }

/* Servicios */
.servicios { background: var(--paper); }
.groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}
.group.group-wide {
  grid-column: span 1;
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-2);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.icon svg { width: 22px; height: 22px; }
.group h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.group li {
  position: relative;
  padding: 7px 0 7px 18px;
  border-top: 1px solid #eef2f6;
  font-size: 15px;
  color: #2c3644;
}
.group li:first-child { border-top: 0; }
.group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.group li span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin-top: 2px;
}

/* Campaña */
.campana { background: #fff; }
.campana-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 18px 24px;
  margin-bottom: 28px;
}
.campana-banner strong {
  color: var(--gold-2);
  font-size: 1.05rem;
}
.campana-banner p { margin: 0; color: #dce7f0; }
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e6edf3;
  overflow: hidden;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 20%;
}
.card-photo.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 16 / 10;
}
.card-photo.pair .shot { position: relative; overflow: hidden; }
.card-photo.pair img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
}
.tag-antes { background: var(--danger-antes); }
.tag-despues { background: var(--ok-despues); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.card ul {
  margin: 0 0 18px;
  padding: 0 0 0 18px;
  color: #334050;
  font-size: 15px;
}
.card li { margin: 5px 0; }
.price-box {
  margin-top: auto;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.price-box .label {
  margin: 0;
  font-size: 13px;
  color: #b9c9d8;
}
.price-box .price {
  margin: 2px 0 0;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.campana-foot {
  margin: 28px 0 0;
  padding: 18px 22px;
  background: #fff8e1;
  border: 1px solid #f0e0a0;
  border-radius: 12px;
  color: var(--navy);
}
.campana-foot p { margin: 0; }
.campana-foot strong { color: var(--navy); }

/* Cómo trabajamos */
.pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.paso {
  position: relative;
  padding: 8px 8px 8px 0;
}
.paso .num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 15px;
}
.paso h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy);
}
.paso p { margin: 0; color: var(--muted); font-size: 15px; }

/* Galería */
.galeria { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid figure {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.gallery-grid .frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #d9e1ea;
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-grid figcaption {
  padding: 11px 14px 13px;
  font-size: 13.5px;
  color: var(--muted);
}
.gallery-grid figcaption strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 1px;
}
.badge-cap {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  color: #fff;
  margin-right: 6px;
  vertical-align: 1px;
}
.badge-cap.antes { background: var(--danger-antes); }
.badge-cap.despues { background: var(--ok-despues); }

/* Contacto */
.contacto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list .ic {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-2);
  display: grid;
  place-items: center;
}
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 32px 32px 36px;
}
.contact-panel h3 { margin: 0 0 10px; font-size: 1.35rem; letter-spacing: -0.02em; }
.contact-panel p { margin: 0 0 22px; color: #c9d7e4; }
.contact-panel .btn { width: 100%; margin-bottom: 10px; }

/* Footer */
.footer {
  background: #071320;
  color: #b7c5d3;
  padding: 36px 0 88px;
  font-size: 14px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid #1c2c3e;
}
.footer .logo img { height: 36px; filter: none; }
.footer a { color: #dce7f0; text-decoration: none; }
.footer a:hover { color: #fff; }
.legal { margin: 16px 0 0; color: #8ea0b3; }
.legal p { margin: 0 0 4px; }
.footer-bottom { margin-top: 16px; color: #7d8fa3; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(31, 168, 85, 0.45);
  text-decoration: none;
}
.wa-float:hover { background: var(--whatsapp-2); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Anchors under sticky header */
#servicios, #campana, #como-trabajamos, #trabajos, #contacto {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 56px; }
  .hero p.lead { max-width: 50ch; }
  .hero::after { width: 340px; height: 340px; right: -60px; top: auto; bottom: -40px; }
  .groups { grid-template-columns: 1fr 1fr; }
  .pasos { grid-template-columns: 1fr 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: grid; place-items: center; }
  .header .btn-wa { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 0;
    box-shadow: 0 16px 30px rgba(11,28,51,0.1);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav .btn-wa {
    display: inline-flex;
    margin-top: 14px;
    width: 100%;
  }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .logo img { height: 34px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  section { padding: 56px 0; }
  .groups, .cards, .pasos, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .frame { aspect-ratio: 5 / 4; }
  .hero-inner { padding: 36px 0 44px; }
  .price-box { flex-direction: column; align-items: flex-start; }
  .campana-banner { padding: 16px 18px; }
  .contact-panel { padding: 26px 22px; }
  .wa-float { right: 16px; bottom: 16px; }
}
@media (max-width: 400px) {
  .hero-actions .btn { width: 100%; }
}

@media (min-width: 701px) {
  .group.group-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 28px;
    align-items: start;
  }
  .group-wide .icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }
  .group-wide h3 { margin: 4px 0 10px; }
  .group-wide ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 28px;
  }
  .group-wide li { border-top: 0; padding-top: 0; }
}
