:root {
  --color-navy: #0e2747;
  --color-navy-2: #14365f;
  --color-teal: #1f8c8d;
  --color-orange: #f47c20;
  --color-orange-dark: #df6710;
  --color-white: #ffffff;
  --color-bg: #f5f8fc;
  --color-bg-alt: #eef3f8;
  --color-border: #d8e1eb;
  --color-text: #203040;
  --color-text-soft: #5d6d7e;
  --color-dark: #0c1c2d;
  --shadow-soft: 0 16px 40px rgba(8, 28, 52, 0.08);
  --shadow-card: 0 10px 28px rgba(14, 39, 71, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  padding-left: 1.2rem;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-bg);
}

.section-dark {
  background: linear-gradient(135deg, var(--color-navy), var(--color-dark));
  color: var(--color-white);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 1.05rem;
}

.section-heading-light p {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--color-orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), color var(--transition), border var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background: var(--color-orange-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-nav {
  background: var(--color-orange);
  color: var(--color-white) !important;
  padding: 0.8rem 1.2rem;
}

.text-link {
  font-weight: 700;
  color: var(--color-orange);
}

.text-link:hover {
  text-decoration: underline;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 225, 235, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 100px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: url("../img/tv_logo.png") center/cover no-repeat;

  /*background: linear-gradient(135deg, var(--color-navy), var(--color-teal));*/
  /*color: var(--color-white);*/
  /*font-weight: 800;*/
  letter-spacing: -0.03em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--color-text-soft);
  margin-top: 0.25rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 600;
  color: var(--color-text);
}

.site-nav a:hover {
  color: var(--color-orange);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(12, 28, 45, 0.88), rgba(14, 39, 71, 0.74)),
    radial-gradient(circle at top right, rgba(31, 140, 141, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(244, 124, 32, 0.1), transparent 40%),
    url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  color: var(--color-white);
  padding: 5.5rem 0 4rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.75rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.hero-copy h1 span {
  color: var(--color-orange);
}

.hero-text {
  max-width: 670px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1rem 1rem;
  backdrop-filter: blur(8px);
}

.highlight-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.highlight-card p {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-panel-card {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.hero-panel-card h2 {
  margin-top: 0;
  font-size: 1.7rem;
  color: var(--color-navy);
}

.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-orange);
  font-weight: 800;
}

/* TRUST BAR */
.trust-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.2rem 0;
}

.trust-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  color: var(--color-navy);
  margin-bottom: 0.3rem;
}

.trust-item span {
  display: block;
  color: var(--color-text-soft);
  font-size: 0.94rem;
}

/* GRIDS */
.card-grid {
  display: grid;
  gap: 1.4rem;
}

.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.value-card,
.standard-card,
.process-step,
.finding-card,
.deliverables-card,
.map-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.service-card,
.value-card,
.standard-card,
.process-step {
  padding: 1.6rem;
}

.service-card h3,
.value-card h3,
.standard-card h3,
.process-step h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.service-card p,
.value-card p,
.standard-card p,
.process-step p {
  margin: 0 0 1rem;
  color: var(--color-text-soft);
}



.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(244, 124, 32, 0.14), rgba(31, 140, 141, 0.14));
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.image-panel {
  min-height: 330px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.visible-pv-image {
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.1)),
    url("../img/examples/el-super-MAX_1024.JPG") center/cover no-repeat;
}

.thermal-pv-image {
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.1)),
    url("../img/examples/el-super-IRX_1024.jpg") center/cover no-repeat;
}

.image-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(12, 28, 45, 0.78);
  color: var(--color-white);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.finding-card {
  padding: 1.8rem;
}

.finding-card h3 {
  margin-top: 0;
  color: var(--color-navy);
}

.finding-card p {
  color: var(--color-text-soft);
}

.finding-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.metric-value {
  display: block;
  color: var(--color-navy);
  font-weight: 800;
  font-size: 1.3rem;
}

.metric-label {
  display: block;
  color: var(--color-text-soft);
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

/* STANDARDS */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.standard-card {
  background: rgba(255, 255, 255, 0.96);
}

.standards-note {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.standards-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

/* PROCESS */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-orange), var(--color-teal));
  color: var(--color-white);
  font-weight: 800;
}

/* DELIVERABLES */
.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.deliverables-card {
  padding: 1.8rem;
}

/* SERVICE AREA */
.service-area {
  background:
    linear-gradient(135deg, rgba(14, 39, 71, 0.06), rgba(31, 140, 141, 0.08)),
    var(--color-white);
}

.service-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.service-area-list {
  color: var(--color-text-soft);
}

.service-area-list li {
  margin-bottom: 0.75rem;
}

.map-card {
  padding: 1rem;
}

.map-placeholder {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(14, 39, 71, 0.12), rgba(14, 39, 71, 0.04)),
    radial-gradient(circle at 20% 20%, rgba(31, 140, 141, 0.18), transparent 24%),
    linear-gradient(135deg, #d8e6f2, #f6fbff);
  overflow: hidden;
}

.map-placeholder_bak::before {
  content: "";
  position: absolute;
  inset: 12% 18% 14% 20%;
  background: linear-gradient(135deg, rgba(244, 124, 32, 0.85), rgba(223, 103, 16, 0.95));
  clip-path: polygon(18% 12%, 60% 5%, 70% 17%, 84% 26%, 76% 56%, 88% 76%, 66% 90%, 32% 86%, 20% 68%, 9% 45%, 13% 26%);
  border-radius: 20px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.4);
}

.map-region {
  position: absolute;
  color: var(--color-white);
  background: rgba(14, 39, 71, 0.84);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  z-index: 2;
}

.sd {
  bottom: 18%;
  left: 20%;
}

.oc {
  top: 35%;
  left: 28%;
}

.rc {
  top: 16%;
  right: 15%;
}

/* CTA */
.cta-section {
  padding: 0 0 5rem;
}

.cta-card {
  background: linear-gradient(135deg, var(--color-navy), var(--color-teal));
  color: var(--color-white);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-card h2 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cta-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 700px;
}

/* FOOTER */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.88);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h3,
.site-footer h4 {
  color: var(--color-white);
  margin-top: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a:hover {
  color: var(--color-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding: 1.25rem 0 2rem;
  text-align: center;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Modal Styles */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(90vw, 520px);
  padding: 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

#contactForm {
  display: grid;
  gap: 16px;
}

#contactForm div {
  display: grid;
  gap: 6px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
}

#contactSubmitButton,
#contactOpenButton {
  cursor: pointer;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  background: #f47c20;
  color: #fff;
  font-weight: 700;
}

#contactSubmitButton:disabled {
  opacity: 0.6;
  cursor: wait;
}

#contactStatus {
  min-height: 1.25em;
  font-size: 0.9rem;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-grid,
  .deliverables-grid,
  .service-area-grid {
    grid-template-columns: 1fr;
  }

  .four-up {
    grid-template-columns: repeat(2, 1fr);
  }

  .three-up {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .process-grid,
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy h1 {
    max-width: 13ch;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  .header-inner {
    min-height: 74px;
  }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .nav-toggle-label span {
    width: 26px;
    height: 2.5px;
    border-radius: 999px;
    background: var(--color-navy);
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all var(--transition);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.6rem;
  }

  .site-nav a {
    display: block;
    padding: 0.8rem 0.95rem;
    border-radius: 10px;
  }

  .site-nav a:hover {
    background: var(--color-bg);
  }

  .nav-toggle:checked ~ .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero {
    padding-top: 4.25rem;
  }

  .hero-highlights,
  .four-up,
  .three-up,
  .trust-grid,
  .process-grid,
  .standards-grid,
  .footer-grid,
  .finding-metrics {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-tagline {
    font-size: 0.72rem;
  }

}
