/* Tripoint Energy Resources — site styles */

:root {
  --navy: #0a2a5e;
  --navy-2: #0d3b80;
  --blue: #1565c0;
  --blue-2: #2a8ae0;
  --green: #2f8f2f;
  --green-2: #6cc04a;
  --green-ink: #23762a;
  --ink: #13233f;
  --muted: #55657d;
  --line: #dfe7f1;
  --soft: #f3f7fc;
  --white: #fff;
  --grad: linear-gradient(90deg, #0a2a5e 0%, #0e4c92 55%, #3a9b35 100%);
  --grad-blue: linear-gradient(135deg, #1f78d1 0%, #0a2a5e 100%);
  --grad-green: linear-gradient(135deg, #6cc04a 0%, #2f8f2f 100%);
  --f-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(10, 42, 94, .08), 0 2px 6px rgba(10, 42, 94, .05);
  --shadow-lg: 0 22px 50px rgba(10, 42, 94, .16);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }

.ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn .ico { font-size: 18px; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(47, 143, 47, .28); }
.btn-green:hover { background: var(--green-ink); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; margin-top: 8px; }
.btn-block { width: 100%; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-head); font-weight: 800; font-size: 25px; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.brand-sub { white-space: nowrap; font-family: var(--f-head); font-weight: 700; font-size: 10.5px; letter-spacing: .21em; text-transform: uppercase; color: var(--green); margin-top: 4px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--green-2); }
.brand-light .brand-mark { background: #fff; border-radius: 12px; padding: 6px; width: 60px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 42, 94, .08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.header-inner .brand { margin-right: auto; }
.main-nav ul { list-style: none; display: flex; gap: 6px; }
.main-nav a:not(.btn) { display: block; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; }
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--blue); background: var(--soft); }
.nav-cta { display: none; }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { font-family: var(--f-head); font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--navy); color: #fff; }
.lang-switch a:not([aria-current]):hover { color: var(--navy); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico { font-size: 24px; }
.nav-toggle .ico-close { display: none; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(10, 42, 94, .14); padding: 14px 22px 24px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-open .main-nav { display: block; }
  .nav-open .nav-toggle .ico-open { display: none; }
  .nav-open .nav-toggle .ico-close { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a:not(.btn) { font-size: 18px; padding: 12px 10px; }
  .nav-cta { display: flex; margin-top: 14px; width: 100%; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .brand-mark { width: 42px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 8.4px; letter-spacing: .13em; }
  .header-tools { gap: 10px; }
}

/* ---------- Shared bits ---------- */
.eyebrow { font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 900px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; margin: 0; }
.section-head .lead { margin: 14px 0 0; }
.section-head-left { text-align: left; margin: 0 0 32px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ico-circle { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; font-size: 24px; box-shadow: 0 8px 18px rgba(10, 42, 94, .18); }
.ico-circle.ico-lg { width: 64px; height: 64px; font-size: 28px; }
.tone-blue { background: var(--grad-blue); }
.tone-green { background: var(--grad-green); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(36px, 6vw, 72px); background: radial-gradient(1200px 520px at 85% 10%, #e3f0fb 0%, rgba(227, 240, 251, 0) 70%), linear-gradient(180deg, #f2f8fd 0%, #fff 80%); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 20px; }
.hero h1 span { color: var(--green); }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-media { position: relative; }
.hero-frame { border-radius: 28px; overflow: hidden; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); box-shadow: var(--shadow-lg); }
.hero-frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-badge { position: absolute; left: 0; bottom: 28px; margin: 0; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; padding: 14px 20px 14px 14px; box-shadow: var(--shadow-lg); font-family: var(--f-head); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); line-height: 1.35; }
.hero-badge .ico { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--grad-green); color: #fff; }
.sector-band { background: var(--grad); color: #fff; margin-top: clamp(40px, 6vw, 72px); }
.sector-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; padding-top: 22px; padding-bottom: 22px; }
.sector-list li { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.sector-ico { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
@media (max-width: 640px) {
  .sector-list li { font-size: 13px; letter-spacing: .05em; gap: 10px; }
  .sector-ico { width: 38px; height: 38px; font-size: 19px; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
  .hero-badge { left: -28px; }
  .sector-list { grid-template-columns: repeat(4, 1fr); justify-items: center; }
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; }
.about-story h3 { font-size: 1.6rem; }
.about-text { font-size: 1.22rem; line-height: 1.65; color: #34445d; }
.about-text strong { color: var(--navy); }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 28px; }
.about-photo img { width: 100%; aspect-ratio: 470 / 250; object-fit: cover; }
.about-cards { display: grid; gap: 20px; }
.pmv-card { position: relative; overflow: hidden; padding: 28px; display: flex; flex-direction: column; }
.pmv-card h3 { font-size: 1.4rem; margin: 16px 0 8px; }
.pmv-card p { color: #3d4d66; position: relative; }
.card-tag { margin: auto 0 0; padding-top: 6px; font-family: var(--f-head); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted) !important; }
.card-watermark { position: absolute; right: -14px; bottom: -14px; font-size: 120px; color: rgba(13, 59, 128, .06); pointer-events: none; }
.card-watermark .ico { stroke-width: 1.2; }
.values-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; position: relative; }
.values-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--navy); }
.values-list .ico { font-size: 22px; color: var(--green); }
@media (min-width: 640px) { .about-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .about-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; } }

/* ---------- Services ---------- */
.services { background: var(--soft); }
.service-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.service-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.service-photo { aspect-ratio: 16 / 9; overflow: hidden; background: #dbe6f3; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card .ico-circle { margin: -28px 0 0 22px; border: 4px solid #fff; width: 60px; height: 60px; position: relative; }
.service-body { padding: 12px 22px 24px; }
.service-body h3 { font-size: 1.02rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 2px; }
.service-tag { font-size: 15px; color: var(--green-ink); font-weight: 600; margin-bottom: 12px; }
.check-list { list-style: none; display: grid; gap: 7px; }
.check-list li { display: flex; gap: 9px; font-size: 15.5px; line-height: 1.4; color: #34445d; }
.check-list .ico { color: var(--green); font-size: 17px; margin-top: 1px; stroke-width: 2.6; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
  .service-card:hover .service-photo img { transform: scale(1.06); }
}

/* ---------- Wind ---------- */
.wind-grid { display: grid; gap: 44px; align-items: center; }
.wind-media { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.wind-media img { width: 100%; aspect-ratio: 765 / 744; object-fit: cover; }
.wind-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10, 42, 94, .6) 0%, rgba(10, 42, 94, 0) 45%); }
.wind-overlay { position: absolute; z-index: 1; left: 28px; top: 28px; margin: 0; color: #fff; font-family: var(--f-head); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.wind-list { list-style: none; display: grid; gap: 12px; }
.wind-list li { display: flex; align-items: center; gap: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.wind-list h3 { font-size: 1.04rem; margin: 0; }
.wind-list p { margin: 2px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
@media (min-width: 1000px) {
  .wind-grid { grid-template-columns: .92fr 1.08fr; gap: 60px; }
  .wind-media { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
}

/* ---------- Operation plan ---------- */
.plan { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.steps { list-style: none; display: grid; gap: 22px; }
.step { background: #fff; border-radius: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.step-head { display: flex; align-items: center; gap: 12px; padding: 14px 30px 14px 18px; color: #fff; border-radius: 18px 18px 0 0; }
.step-navy .step-head, .step-navy .step-ico { background: linear-gradient(135deg, #0d3b80, #0a2a5e); }
.step-blue .step-head, .step-blue .step-ico { background: linear-gradient(135deg, #1f78d1, #0d4fa8); }
.step-green .step-head, .step-green .step-ico { background: var(--grad-green); }
.step-n { font-family: var(--f-head); font-weight: 800; font-size: 30px; line-height: 1; }
.step-head h3 { color: #fff; margin: 0; font-size: 1.15rem; padding-left: 12px; border-left: 1.5px solid rgba(255, 255, 255, .5); }
.step-photo { position: relative; }
.step-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.step-ico { position: absolute; right: 16px; bottom: 0; transform: translateY(50%); width: 54px; height: 54px; border-radius: 50%; border: 4px solid #fff; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.step ul { list-style: none; padding: 30px 20px 22px; display: grid; gap: 8px; }
.step li { position: relative; padding-left: 16px; font-size: 15.5px; line-height: 1.4; color: #34445d; }
.step li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .step-head { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); border-radius: 18px 0 0 0; }
  .step-n { font-size: 26px; }
  .step-head h3 { font-size: 1.02rem; }
}

/* ---------- Safety ---------- */
.safety-grid { display: grid; gap: 44px; align-items: center; }
.pillar-list { list-style: none; display: grid; gap: 22px; }
.pillar-list li { display: flex; align-items: center; gap: 20px; }
.pillar-list h3 { font-size: 1.2rem; margin: 0 0 2px; }
.pillar-list p { margin: 0; color: var(--muted); }
.strap { margin: 34px 0 0; font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.safety-media { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.safety-media img { width: 100%; aspect-ratio: 480 / 625; object-fit: cover; max-height: 640px; }
.safety-motto { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 22px 28px; background: linear-gradient(90deg, rgba(10, 42, 94, .95), rgba(14, 76, 146, .9)); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; }
@media (min-width: 1000px) {
  .safety-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .safety-media { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
}

/* ---------- Reports & actions ---------- */
.reports { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.phase-grid { display: grid; gap: 24px; }
.phase { overflow: hidden; }
.phase-head { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 22px; color: #fff; font-size: 1.45rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.phase-navy .phase-head { background: linear-gradient(135deg, #0d3b80, #0a2a5e); }
.phase-green .phase-head { background: var(--grad-green); }
.phase-blue .phase-head { background: linear-gradient(135deg, #1f78d1, #0d4fa8); }
.phase-ico { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }
.phase-navy .phase-ico { color: var(--navy); }
.phase-green .phase-ico { color: var(--green); }
.phase-blue .phase-ico { color: var(--blue); }
.phase ul { list-style: none; padding: 6px 22px 14px; }
.phase li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.phase li:last-child { border-bottom: 0; }
.phase li > .ico { font-size: 30px; stroke-width: 1.7; margin-top: 2px; }
.phase-navy li > .ico { color: var(--navy); }
.phase-green li > .ico { color: var(--green); }
.phase-blue li > .ico { color: var(--blue); }
.phase h4 { font-size: 1rem; margin: 0 0 3px; }
.phase p { margin: 0; font-size: 15.5px; color: var(--muted); line-height: 1.45; }
@media (min-width: 1000px) { .phase-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; text-align: center; padding: clamp(72px, 10vw, 120px) 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 42, 94, .93) 0%, rgba(14, 76, 146, .86) 55%, rgba(47, 143, 47, .86) 100%); }
.cta-inner { position: relative; z-index: 2; max-width: 820px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
.cta-band p { font-size: 1.15rem; opacity: .92; margin: 0 auto 28px; max-width: 640px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 44px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
.contact-data { list-style: none; display: grid; gap: 14px; margin: 26px 0 0; }
.contact-data li { display: flex; align-items: center; gap: 14px; }
.contact-data .ico-circle { width: 46px; height: 46px; font-size: 20px; }
.contact-data .label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-data a { font-weight: 700; font-size: 1.1rem; color: var(--navy); text-decoration: none; word-break: break-word; }
.contact-data a:hover { color: var(--blue); text-decoration: underline; }
.pillars { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.pillars li { display: flex; flex-direction: column; gap: 4px; }
.pillars .ico-circle { width: 44px; height: 44px; font-size: 20px; margin-bottom: 8px; }
.pillars strong { font-family: var(--f-head); font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.pillars span:last-child { font-size: 15px; color: var(--muted); line-height: 1.4; }
.quote-form { padding: clamp(22px, 4vw, 36px); position: relative; }
.quote-form h3 { font-size: 1.5rem; margin-bottom: 20px; }
.form-row { display: grid; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.field abbr { color: var(--green); text-decoration: none; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #cbd7e6; border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fbfdff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 101, 192, .15); background: #fff; }
.field [aria-invalid=true] { border-color: #c62828; box-shadow: 0 0 0 3px rgba(198, 40, 40, .12); }
.field-error { margin: 6px 0 0; font-size: 14px; color: #b42318; font-weight: 600; }
.form-privacy { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-ok { background: #eaf6ea; color: #1d5e22; border-radius: 12px; padding: 12px 14px; }
.form-status.is-err { background: #fdecec; color: #9b1c1c; border-radius: 12px; padding: 12px 14px; }
.quote-form button[disabled] { opacity: .7; cursor: progress; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, #071d42 0%, #0a2a5e 60%, #0d3b80 100%); color: rgba(255, 255, 255, .78); font-size: 15.5px; }
.footer-grid { display: grid; gap: 36px; padding-top: 64px; padding-bottom: 44px; }
.footer-tagline { margin: 18px 0 16px; max-width: 320px; }
.footer-sectors { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-sectors li { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.footer-sectors .ico { color: var(--green-2); font-size: 17px; }
.footer-title { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a, .footer-contact a, .footer-bottom a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-contact { list-style: none; display: grid; gap: 10px; margin-bottom: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; word-break: break-word; }
.footer-contact .ico { color: var(--green-2); font-size: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom p { margin: 0; }
.footer-motto { font-family: var(--f-head); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green-2); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr .9fr 1.1fr 1.2fr; gap: 44px; } }

/* ---------- Simple pages ---------- */
.page-simple { min-height: 55vh; }
.page-simple h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.page-simple h2 { font-size: 1.3rem; margin-top: 34px; }
.page-simple p { color: #34445d; }
.page-404 { text-align: center; }
.nf-code { font-family: var(--f-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; margin: 0 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal on scroll (only with JS + motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
