:root {
  --ink: #112d5c;
  --ink-deep: #071b3c;
  --green: #4d9a83;
  --green-deep: #2e7764;
  --sky: #dce9f6;
  --line: #d7e0ea;
  --muted: #64748b;
  --paper: #ffffff;
  --soft: #f2f5f7;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.topbar { background: var(--ink-deep); color: #dfe9f4; font-size: 12px; letter-spacing: .02em; }
.topbar-inner, .header-inner, .footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.topbar-inner { min-height: 36px; }
.topbar-links { display: flex; gap: 24px; }
.topbar a:hover, .site-footer a:hover { color: var(--green); }
.site-header { position: relative; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(17,45,92,.08); }
.header-inner { min-height: 86px; gap: 28px; }
.logo-link img { width: 148px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); margin-left: auto; font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; padding: 32px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 22px; height: 2px; background: var(--green); transition: right .2s ease; }
.main-nav a:hover::after { right: 0; }
.header-cta, .button { display: inline-flex; align-items: center; gap: 16px; border: 1px solid var(--ink); padding: 13px 18px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.header-cta { background: var(--ink); color: white; white-space: nowrap; }
.header-cta:hover, .button-primary:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-2px); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }
.hero { position: relative; min-height: 650px; overflow: hidden; background: var(--ink-deep); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; background-position: center; background-size: cover; transition: opacity .8s ease, visibility .8s ease; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,60,.9) 0%, rgba(7,27,60,.55) 45%, rgba(7,27,60,.12) 100%); }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-content { position: relative; z-index: 1; color: white; padding: 80px 0; }
.eyebrow { margin: 0 0 18px; color: var(--green); text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.eyebrow-dark { color: var(--green-deep); }
.hero h1, .page-hero h1 { max-width: 730px; margin: 0; font-size: clamp(42px, 6vw, 78px); line-height: 1.02; letter-spacing: -.025em; }
.hero-copy { max-width: 540px; margin: 28px 0 0; font-size: 18px; color: #e3edf7; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.button-primary { color: white; background: var(--ink); }
.button-light { color: var(--ink); border-color: white; background: white; }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; color: var(--ink); font-size: 13px; font-weight: 800; }
.text-link span, .card-arrow { color: var(--green-deep); }
.text-link.light { color: white; }
.text-link.light span { color: #b7e4d6; }
.hero-dots { position: absolute; z-index: 2; left: max(24px, calc((100vw - var(--max)) / 2)); bottom: 34px; display: flex; gap: 8px; }
.hero-dots button { width: 42px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dots button.is-active { background: var(--green); }
.section { padding: 108px 0; }
.section-gray { background: var(--soft); }
.about-band { background: white; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 96px; }
.split-layout h2, .section-heading h2, .detail-copy-grid h2, .contact-grid h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.lead { color: #46566c; font-size: 18px; line-height: 1.7; }
.split-layout > div:first-child > p:not(.eyebrow) { max-width: 590px; }
.image-frame { position: relative; padding: 0 0 36px 36px; }
.image-frame::before { content: ""; position: absolute; left: 0; bottom: 0; width: 65%; height: 70%; background: var(--sky); z-index: 0; }
.image-frame img { position: relative; z-index: 1; width: 100%; height: 440px; object-fit: cover; }
.image-label { position: absolute; z-index: 2; left: 0; bottom: 0; display: flex; align-items: center; gap: 16px; padding: 16px 22px; background: white; font-size: 12px; max-width: 240px; }
.image-label strong { color: var(--green-deep); font-size: 22px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 100px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats-grid div { display: flex; flex-direction: column; gap: 4px; }
.stats-grid strong { font-size: 44px; line-height: 1; }
.stats-grid sup { color: var(--green); font-size: 20px; }
.stats-grid span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-heading .text-link { margin: 0 0 6px; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid-large { grid-template-columns: repeat(2, 1fr); }
.product-card, .story-card { background: white; border: 1px solid #e1e8ef; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover, .story-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(17,45,92,.11); }
.product-media { position: relative; background: #eff2f3; overflow: hidden; }
.product-media img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; }
.brand-stamp { position: absolute; left: 50%; bottom: 15%; transform: translateX(-50%); padding: 5px 11px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 15px; font-weight: 900; letter-spacing: .13em; line-height: 1; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.brand-stamp::first-letter { color: var(--green-deep); }
.product-card-body { position: relative; padding: 26px 28px 30px; }
.product-card h3, .story-card h3 { max-width: 360px; margin: 5px 0 12px; font-size: 22px; line-height: 1.16; }
.product-card p:not(.card-kicker), .story-card p:not(.card-kicker) { margin: 0; color: var(--muted); font-size: 14px; }
.card-kicker { margin: 0; color: var(--green-deep); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-arrow { position: absolute; right: 28px; bottom: 28px; font-size: 24px; }
.solutions-band { background: var(--ink); color: white; }
.section-heading-light h2 { max-width: 700px; }
.solution-list { border-top: 1px solid rgba(255,255,255,.22); }
.solution-list a { display: grid; grid-template-columns: 80px 1fr 30px; align-items: center; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.solution-list span { color: #91b5d0; font-size: 12px; }
.solution-list strong { font-size: clamp(22px, 3vw, 34px); font-weight: 500; }
.solution-list em { color: #9bd7c3; font-style: normal; font-size: 22px; text-align: right; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story-grid-large { grid-template-columns: repeat(2, 1fr); }
.story-image img { width: 100%; height: 260px; object-fit: cover; }
.story-body { padding: 24px 26px 30px; }
.story-card h3 { font-size: 23px; }
.story-card .text-link { margin-top: 22px; }
.cta-band { background: var(--green); color: white; }
.cta-inner { padding: 82px 0; display: flex; align-items: center; gap: 42px; }
.cta-inner h2 { margin: 0 auto 0 0; max-width: 700px; font-size: clamp(32px, 4vw, 54px); line-height: 1; }
.cta-inner .eyebrow { color: #d7f1e7; align-self: flex-start; margin-top: 5px; }
.site-footer { background: var(--ink-deep); color: #d6e3ef; padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
.footer-brand img { width: 144px; margin-bottom: 22px; }
.footer-brand p { max-width: 340px; color: #9db0c4; font-size: 13px; }
.footer-grid h3 { color: white; margin: 0 0 20px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid > div:not(.footer-brand) a, .footer-grid > div:not(.footer-brand) p { display: block; margin: 0 0 12px; color: #9db0c4; font-size: 13px; }
.footer-bottom { margin-top: 65px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: #7d94ab; font-size: 11px; }
.page-hero { min-height: 440px; display: flex; align-items: end; color: white; background-position: center; background-size: cover; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,60,.9), rgba(7,27,60,.18)); }
.page-hero-inner { position: relative; z-index: 1; padding: 70px 0; }
.page-hero h1 { max-width: 780px; font-size: clamp(42px, 5.8vw, 72px); }
.page-hero-about { background-image: url("../uploads/hero-about.jpg"); }
.page-hero-products { background-image: url("../uploads/hero-products.jpg"); }
.page-hero-solutions { background-image: url("../uploads/hero-case.jpg"); }
.page-hero-cases { background-image: url("../uploads/case-solar.jpg"); }
.page-hero-contact { background-image: url("../uploads/hero-products.jpg"); }
.value-grid, .solution-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-grid article, .solution-detail-grid article { padding: 34px; border: 1px solid var(--line); background: white; }
.value-grid span, .solution-detail-grid span { color: var(--green-deep); font-size: 12px; font-weight: 800; }
.value-grid h3, .solution-detail-grid h3 { margin: 28px 0 12px; font-size: 25px; }
.value-grid p, .solution-detail-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.solution-detail-grid { grid-template-columns: repeat(2, 1fr); }
.solution-detail-grid article:nth-child(2) { background: var(--ink); color: white; border-color: var(--ink); }
.solution-detail-grid article:nth-child(2) p { color: #b9c9d8; }
.detail-hero { padding: 78px 0; background: var(--soft); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.detail-grid h1 { margin: 0; max-width: 580px; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; }
.product-detail-media { box-shadow: 18px 18px 0 var(--sky); }
.product-detail-media img { width: 100%; aspect-ratio: 1.2 / 1; object-fit: cover; }
.detail-copy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 42px; border-top: 1px solid var(--line); }
.spec-grid div { display: flex; flex-direction: column; gap: 7px; padding: 20px 12px 18px 0; border-bottom: 1px solid var(--line); }
.spec-grid span { color: var(--muted); font-size: 12px; }
.spec-grid strong { font-size: 16px; }
.story-detail-media img { width: 100%; height: 480px; object-fit: cover; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-details { margin-top: 48px; border-top: 1px solid var(--line); }
.contact-details div { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-details span { color: var(--green-deep); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-details strong, .contact-details a { font-size: 17px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; padding: 34px; background: var(--soft); }
.contact-form label, .editor-form label { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 12px; border: 1px solid var(--line); background: white; color: var(--ink); outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); }
.contact-form .button { align-self: flex-start; margin-top: 4px; cursor: pointer; }
.flash { padding: 12px 14px; font-size: 13px; }
.flash.success { background: #dbf2e8; color: #1d644f; }
.flash.error { background: #f8e3e3; color: #8e2c2c; }
.empty-state { min-height: 430px; }
@media (max-width: 900px) {
  .main-nav { gap: 16px; }
  .header-cta { display: none; }
  .split-layout, .detail-grid, .detail-copy-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .product-grid, .story-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-detail-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-wrap: wrap; }
  .cta-inner h2 { margin-right: 0; }
}
@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .topbar { display: none; }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; padding: 15px 16px 22px; flex-direction: column; align-items: stretch; background: white; border-bottom: 1px solid var(--line); }
  .menu-open .main-nav { display: flex; }
  .main-nav a { padding: 10px 0; }
  .main-nav a::after { display: none; }
  .hero { min-height: 570px; }
  .hero h1, .page-hero h1 { font-size: 44px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { flex-wrap: wrap; gap: 16px; }
  .section { padding: 72px 0; }
  .section-heading { display: block; }
  .section-heading .text-link { margin-top: 22px; }
  .split-layout { gap: 34px; }
  .image-frame { padding-left: 18px; }
  .image-frame img { height: 300px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: 60px; gap: 28px 12px; }
  .stats-grid strong { font-size: 35px; }
  .product-grid, .product-grid-large, .story-grid, .story-grid-large, .solution-detail-grid, .value-grid { grid-template-columns: 1fr; }
  .solution-list a { grid-template-columns: 38px 1fr 26px; }
  .solution-list strong { font-size: 21px; }
  .story-image img { height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
  .detail-hero { padding: 58px 0; }
  .product-detail-media { box-shadow: 10px 10px 0 var(--sky); }
  .story-detail-media img { height: 300px; }
  .contact-form { padding: 24px; }
  .cta-inner { display: block; }
  .cta-inner h2 { margin: 0 0 28px; }
}
