/* Solar 1 — solar1.mx */
:root {
  --ink: #0b2239;
  --ink-2: #123350;
  --sun: #f5a623;
  --sun-deep: #e08c00;
  --sky: #f2f7fb;
  --text: #26374a;
  --muted: #5b6b7c;
  --line: #dde6ee;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sun-deep); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .75rem; }
h3 { font-size: 1.1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 46em; }

/* topbar */
.topbar { background: var(--ink); color: #cfe0ef; font-size: .8rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; gap: 12px; }
.topbar-items { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-phone { color: var(--sun); text-decoration: none; font-weight: 700; white-space: nowrap; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; gap: 16px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 6px; }
.nav-link:hover, .nav-link[aria-current] { background: var(--sky); }
.nav-cta { background: var(--sun); color: var(--ink); text-decoration: none; font-weight: 800; padding: 9px 16px; border-radius: 8px; margin-left: 6px; }
.nav-cta:hover { background: var(--sun-deep); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 1.4rem; padding: 2px 10px; cursor: pointer; color: var(--ink); }

/* hero */
.hero { background-size: cover; background-position: center; color: #fff; }
.hero-in { padding: clamp(64px, 10vw, 130px) 20px; max-width: var(--max); margin: 0 auto; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 700; color: var(--sun); margin-bottom: 10px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3.1rem); max-width: 22em; }
.hero-sub { margin-top: 14px; font-size: 1.12rem; max-width: 40em; color: #e3edf6; }
.hero-ctas { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 800; border-radius: 10px; padding: 13px 24px; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--sun); color: var(--ink); }
.btn-primary:hover { background: var(--sun-deep); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--sun-deep); color: var(--sun-deep); background: #fff; }
.btn-outline:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); }

/* sections */
.section { padding: clamp(44px, 7vw, 76px) 0; }
.section-alt { background: var(--sky); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.card-icon { font-size: 1.7rem; }
.card-link { font-weight: 700; text-decoration: none; margin-top: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-rev .split-img { order: 2; }
.split-img img { border-radius: 14px; box-shadow: 0 10px 30px rgba(11,34,57,.15); }
.check-list { list-style: none; margin: 18px 0; max-width: 46em; }
.check-list li { padding: 8px 0 8px 32px; position: relative; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }

/* partner */
.section-partner { background: var(--ink); }
.section-partner h2, .section-partner p, .section-partner strong { color: #fff; }
.section-partner a { color: var(--sun); }
.partner-box { display: flex; gap: 22px; align-items: flex-start; }
.partner-badge { font-size: 2.4rem; background: var(--sun); border-radius: 14px; width: 68px; height: 68px; flex: 0 0 68px; display: flex; align-items: center; justify-content: center; }
.partner-box .btn-outline { margin-top: 16px; background: transparent; }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--sun) 0%, var(--sun-deep) 100%); }
.cta-in { padding: clamp(40px, 6vw, 64px) 20px; text-align: center; }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: #4a3200; margin-top: 6px; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-primary { background: var(--ink); color: #fff; }
.cta-band .btn-ghost { border-color: var(--ink); color: var(--ink); }

/* faq */
.section-faq .faq { border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 18px; list-style: none; position: relative; padding-right: 44px; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--sun-deep); }
.faq[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 18px 16px; color: var(--muted); }

/* forms */
.quote-form { max-width: 640px; margin-top: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 14px; }
.quote-form input, .quote-form textarea {
  width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 9px; font: inherit; background: #fff;
}
.quote-form input:focus, .quote-form textarea:focus { outline: 2px solid var(--sun); border-color: var(--sun); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 12px; font-weight: 700; }
.form-status.ok { color: #157347; }
.form-status.err { color: #b02a37; }

/* contact */
.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; margin-top: 20px; }
.contact-aside { background: var(--sky); border-radius: 14px; padding: 26px; height: fit-content; }
.contact-aside h2 { font-size: 1.3rem; }
.contact-aside address { font-style: normal; margin: 10px 0; }

/* footer */
.site-footer { background: var(--ink); color: #b9c9d8; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.4fr; gap: 36px; padding-top: 54px; padding-bottom: 30px; font-size: .93rem; }
.footer-logo { background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #d7e4f0; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer address { font-style: normal; line-height: 1.9; }
.partner-note { margin-top: 12px; font-size: .87rem; color: #8fa5b8; }
.partner-note a { color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 24px; font-size: .85rem; flex-wrap: wrap; }
.lang-switch { font-weight: 700; }
.notfound { padding: 80px 20px; text-align: center; }

/* responsive */
@media (max-width: 860px) {
  .topbar-items span:nth-child(n+2) { display: none; }
  .nav-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  body.nav-open .nav { display: flex; }
  .header-in { flex-wrap: wrap; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-rev .split-img { order: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partner-box { flex-direction: column; }
}

/* community link grids */
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 18px; }
.community-link { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.community-link:hover { border-color: var(--sun); background: var(--sky); }

/* blog */
.blog-hero { background: linear-gradient(135deg, var(--ink) 0%, #143a5e 70%, #1b4a76 100%); color: #fff; padding: clamp(48px, 7vw, 84px) 0; }
.blog-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.blog-hero .hero-sub { margin-top: 12px; max-width: 44em; color: #dbe7f2; font-size: 1.1rem; }
.blog-section-title { margin: 48px 0 0; }
.blog-meta { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.tag { position: absolute; top: 14px; left: 14px; background: var(--sun); color: var(--ink); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; }

.featured-card { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--text); box-shadow: 0 14px 36px rgba(11,34,57,.10); transition: box-shadow .18s, transform .18s; }
.featured-card:hover { box-shadow: 0 20px 44px rgba(11,34,57,.18); transform: translateY(-2px); }
.featured-img { position: relative; min-height: 300px; }
.featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: center; }
.featured-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.featured-body p { color: var(--muted); }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; margin-top: 26px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .18s, transform .18s; }
.blog-card:hover { box-shadow: 0 14px 32px rgba(11,34,57,.15); transform: translateY(-3px); }
.blog-card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.blog-card h3 { font-size: 1.14rem; line-height: 1.35; }
.blog-card p { font-size: .93rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .card-link { color: var(--sun-deep); margin-top: auto; font-weight: 700; }

.article { max-width: 760px; margin: 0 auto; }
.article .page-title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.article-meta { color: var(--muted); font-size: .88rem; margin: 8px 0 22px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.article-hero { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 16px; margin-bottom: 28px; box-shadow: 0 12px 32px rgba(11,34,57,.16); }
.article h2 { font-size: 1.42rem; margin: 32px 0 10px; }
.article p { margin: 0 0 16px; }
.article ul { margin: 0 0 16px 22px; }
.article li { margin: 6px 0; }
.article > p:first-of-type { font-size: 1.12rem; color: var(--ink-2); }
.breadcrumb { margin-bottom: 14px; font-size: .9rem; }
.breadcrumb a { text-decoration: none; font-weight: 700; }

@media (max-width: 760px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-img { min-height: 210px; }
}

/* messaging-first contact */
.form-note { margin-top: 12px; font-size: .85rem; color: var(--muted); max-width: 46em; }
.response-note { margin-top: 12px; font-size: .87rem; color: #8fa5b8; }
.quote-form select { width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; font: inherit; background: #fff; }
.quote-form select:focus { outline: 2px solid var(--sun); border-color: var(--sun); }
.contact-aside .check-list { margin: 12px 0 18px; }
.contact-aside .check-list li { font-size: .93rem; }

/* site-eval photo form */
.need-choice { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px 16px; margin-bottom: 18px; }
.need-choice legend { font-weight: 800; color: var(--ink); padding: 0 6px; }
.need-choice label { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); margin: 8px 0 0; cursor: pointer; }
.need-choice input { accent-color: var(--sun-deep); width: 17px; height: 17px; }
.photo-block { background: var(--sky); border: 1px dashed #b9cdde; border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.photo-block h3 { margin-bottom: 4px; }
.photo-block .form-note { margin: 0 0 12px; }
.photo-field { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 12px; }
.photo-field input[type=file] { display: block; width: 100%; margin-top: 6px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; font-size: .85rem; }

/* map picker */
.map-block { background: var(--sky); border: 1px dashed #b9cdde; border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.map-block h3 { margin-bottom: 4px; }
#eval-map { height: 300px; border-radius: 10px; border: 1px solid var(--line); margin: 10px 0 12px; z-index: 0; }
.map-locate { padding: 10px 18px; font-size: .92rem; }
.map-status { margin-left: 12px; font-weight: 700; font-size: .88rem; }
.map-status.ok { color: #157347; }
.map-status.err { color: #b02a37; }
