:root {
  --bg: #051224;
  --bg-soft: #0a1f3a;
  --surface: #0f2d51;
  --surface-soft: #123961;
  --text: #eef5ff;
  --muted: #abc6e5;
  --accent: #1aa6ff;
  --accent-strong: #0e77d1;
  --success: #3ad2a4;
  --danger: #ff8f8f;
  --border: rgba(165, 197, 228, 0.2);
  --shadow: 0 18px 40px rgba(2, 9, 20, 0.34);
  --radius: 16px;
  --radius-sm: 12px;
  --container: min(1160px, 92vw);
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/Poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/Poppins-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Poppins-700.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/Poppins-800.woff2") format("woff2");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.58;
  background:
    radial-gradient(circle at 12% 12%, rgba(31, 138, 229, 0.18), transparent 34%),
    radial-gradient(circle at 86% 28%, rgba(18, 96, 172, 0.14), transparent 36%),
    var(--bg);
}

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

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

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.7rem, 3.2vw, 3rem);
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
}

h3 {
  font-size: 1.05rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-label {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 18, 36, 0.85);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 140px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

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

.brand-text strong {
  font-size: 1rem;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.73rem;
  color: #8fb3d9;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #d8e9fb;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
  border-bottom-color: var(--accent);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: none;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 7px auto;
  background: #d7e8fa;
}

.hero {
  min-height: 78vh;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(112deg, rgba(5, 17, 34, 0.88), rgba(8, 39, 74, 0.62)),
    url("assets/hero-bg.svg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 50%, rgba(31, 163, 255, 0.2), transparent 38%),
    linear-gradient(0deg, rgba(5, 18, 36, 0.72), rgba(5, 18, 36, 0.2));
}

.hero-content {
  max-width: 900px;
}

.hero-subtitle {
  margin: 0.85rem 0 1.5rem;
  color: #e0efff;
  font-size: clamp(0.95rem, 1.65vw, 1.1rem);
}

.trust-line {
  margin-top: 1rem;
  color: #b8d7f9;
  font-size: 0.85rem;
}

.trust-panel {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.8rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 188, 224, 0.32);
  background: rgba(7, 27, 50, 0.7);
  color: #d5e9ff;
  border-radius: 999px;
  padding: 0.35rem 0.68rem;
  font-size: 0.78rem;
  line-height: 1.2;
}

.trust-badge strong {
  color: #ffffff;
  margin-left: 0.3rem;
}

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.88rem 1.5rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 77, 139, 0.4);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary,
.btn-secondary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading.centered {
  text-align: center;
}

.about-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr 1fr;
}

.about-card {
  background: linear-gradient(158deg, rgba(16, 50, 89, 0.78), rgba(8, 30, 56, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.compliance {
  padding-top: 1rem;
}

.compliance-subtitle {
  max-width: 760px;
  margin: 0.2rem auto 0;
  text-align: center;
}

.cert-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cert-card {
  background: linear-gradient(175deg, rgba(16, 49, 88, 0.84), rgba(9, 31, 57, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.cert-card h3 {
  font-size: 1rem;
}

.cert-code {
  font-size: 0.85rem;
  color: #d5e9ff;
  line-height: 1.45;
  word-break: break-word;
}

.cert-link {
  width: fit-content;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 198, 244, 0.45);
  color: #dff0ff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.cert-link:hover {
  transform: translateY(-2px);
  border-color: rgba(68, 188, 255, 0.8);
  background: rgba(15, 80, 134, 0.45);
}

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

.card {
  background: linear-gradient(175deg, rgba(16, 49, 88, 0.84), rgba(9, 31, 57, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 1.12rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 189, 255, 0.48);
  box-shadow: 0 22px 36px rgba(5, 19, 37, 0.45);
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #1599ef, #055ea8);
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 8px 22px rgba(8, 92, 159, 0.36);
}

.card h3 {
  margin: 0.86rem 0 0.52rem;
}

.projects {
  background:
    linear-gradient(180deg, rgba(8, 23, 43, 0.48), rgba(7, 21, 39, 0.28)),
    radial-gradient(circle at 78% 22%, rgba(31, 147, 240, 0.15), transparent 42%);
}

.project-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card {
  background: rgba(10, 33, 59, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 185, 255, 0.48);
}

.project-card-link {
  display: block;
  color: inherit;
}

.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.project-copy {
  padding: 0.9rem;
}

.project-copy h3 {
  margin-bottom: 0.45rem;
}

.project-link-hint {
  margin-top: 0.58rem;
  font-size: 0.76rem;
  color: #8cc2eb;
  font-weight: 600;
}

.po-proof {
  margin-top: 0.78rem;
  border: 1px solid rgba(146, 188, 224, 0.28);
  border-radius: 10px;
  padding: 0.55rem;
  background: rgba(6, 24, 44, 0.58);
}

.po-proof-label {
  font-size: 0.75rem;
  color: #9ec8ea;
  font-weight: 600;
  margin-bottom: 0.42rem;
}

.po-proof img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(150, 192, 227, 0.24);
  background: #ffffff;
  max-height: 170px;
  object-fit: contain;
}

.po-proof-ref {
  margin-top: 0.4rem;
  font-size: 0.74rem;
  color: #b8d8f4;
  font-weight: 600;
}

.project-detail-page {
  min-height: 100vh;
}

.detail-header {
  border-bottom: 1px solid var(--border);
  background: rgba(5, 18, 36, 0.9);
  backdrop-filter: blur(10px);
}

.detail-header-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.detail-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail-nav a {
  border: 1px solid rgba(145, 186, 221, 0.34);
  border-radius: 999px;
  padding: 0.45rem 0.82rem;
  font-size: 0.8rem;
  color: #d8ecff;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.detail-nav a:hover {
  border-color: rgba(62, 185, 255, 0.72);
  background: rgba(9, 56, 96, 0.4);
  transform: translateY(-1px);
}

.detail-section {
  padding-top: 3.2rem;
}

.detail-description {
  margin-top: 0.7rem;
  max-width: 900px;
}

.po-gallery-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.po-gallery-card {
  background: linear-gradient(175deg, rgba(16, 49, 88, 0.84), rgba(9, 31, 57, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
}

.po-gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #ffffff;
}

.po-gallery-copy {
  padding: 0.82rem;
}

.po-gallery-copy h3 {
  margin-bottom: 0.35rem;
}

.po-section {
  background:
    linear-gradient(180deg, rgba(7, 22, 41, 0.55), rgba(6, 18, 35, 0.24)),
    radial-gradient(circle at 20% 20%, rgba(31, 146, 239, 0.12), transparent 40%);
}

.po-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 38, 69, 0.95), rgba(8, 27, 50, 0.96));
  box-shadow: var(--shadow);
  overflow: auto;
}

.po-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.po-table th,
.po-table td {
  text-align: left;
  padding: 0.78rem 0.9rem;
  border-bottom: 1px solid rgba(155, 190, 223, 0.15);
  color: #d8e9fb;
  font-size: 0.85rem;
  vertical-align: top;
}

.po-table thead th {
  background: rgba(10, 35, 63, 0.95);
  color: #f2f8ff;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
}

.po-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.22rem 0.56rem;
  border: 1px solid rgba(81, 194, 255, 0.42);
  background: rgba(12, 96, 160, 0.32);
  color: #ddf2ff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.po-badge.secondary {
  border-color: rgba(162, 189, 216, 0.38);
  background: rgba(103, 130, 156, 0.22);
  color: #d5e6f7;
}

.proof {
  background:
    linear-gradient(180deg, rgba(7, 22, 41, 0.52), rgba(6, 18, 35, 0.2)),
    radial-gradient(circle at 20% 20%, rgba(30, 144, 235, 0.12), transparent 40%);
}

.kpi-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-card {
  background: linear-gradient(170deg, rgba(15, 45, 81, 0.86), rgba(8, 29, 53, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 1rem;
  text-align: center;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 186, 255, 0.48);
}

.kpi-card h3 {
  font-size: 1.5rem;
  color: #ffffff;
}

.kpi-card p {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: #c2ddfa;
}

.testimonial-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  background: linear-gradient(180deg, rgba(13, 40, 72, 0.86), rgba(8, 29, 53, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 1rem;
  position: relative;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.testimonial-card::before {
  content: "\"";
  position: absolute;
  right: 0.9rem;
  top: 0.55rem;
  font-size: 1.8rem;
  color: rgba(98, 184, 247, 0.38);
  font-weight: 700;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(60, 185, 255, 0.48);
}

.testimonial-card p {
  color: #d9ebff;
  font-size: 0.92rem;
  padding-right: 0.8rem;
}

.testimonial-card h3 {
  margin-top: 0.7rem;
  font-size: 0.84rem;
  color: #9bc4ea;
  font-weight: 600;
}

.clients {
  background:
    linear-gradient(180deg, rgba(8, 23, 43, 0.62), rgba(7, 21, 39, 0.35)),
    radial-gradient(circle at 18% 24%, rgba(38, 154, 246, 0.16), transparent 42%);
}

.logo-marquee {
  margin-top: 2.2rem;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(11, 35, 64, 0.94), rgba(8, 27, 48, 0.92));
  box-shadow: var(--shadow);
  padding: 1.2rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: logos-scroll 64s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  width: 206px;
  height: 102px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(189, 210, 232, 0.75);
  background: linear-gradient(180deg, #f6fbff, #eaf3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem;
  box-shadow: 0 10px 25px rgba(3, 11, 23, 0.26);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.logo-item:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(62, 187, 255, 0.58);
  box-shadow: 0 14px 32px rgba(6, 32, 64, 0.4);
}

.logo-item img {
  max-width: 168px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) saturate(0.1) contrast(1.04);
  opacity: 0.86;
  transition: filter 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.logo-item:hover img {
  filter: grayscale(0) saturate(1.08) brightness(1);
  transform: scale(1.04);
  opacity: 1;
}

.logo-fallback {
  display: none;
  color: #103258;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.34;
  padding-inline: 0.35rem;
}

.logo-item.fallback .logo-fallback {
  display: block;
}

@keyframes logos-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.why-choose {
  padding-top: 5.2rem;
}

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

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1.06fr;
  align-items: start;
}

.contact-card,
.quote-form {
  background: linear-gradient(175deg, rgba(16, 46, 82, 0.88), rgba(8, 30, 55, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 1.2rem 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.72rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.64rem;
  color: #dbeafb;
}

.contact-list li.location-item {
  align-items: flex-start;
}

.contact-list i {
  color: #34b0ff;
  margin-top: 0.12rem;
}

.address-wrap {
  display: grid;
  gap: 0.7rem;
}

.address-block {
  display: grid;
  gap: 0.2rem;
}

.address-block strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.address-block span {
  color: #dbeafb;
  line-height: 1.52;
}

.map-wrap {
  border-radius: 12px;
  border: 1px solid rgba(160, 193, 225, 0.24);
  overflow: hidden;
}

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

.map-box {
  display: grid;
  gap: 0.35rem;
}

.map-label {
  font-size: 0.8rem;
  color: #b5d3f0;
  font-weight: 600;
}

.map-wrap iframe {
  width: 100%;
  height: 220px;
  border: 0;
}

.quote-form h3 {
  margin-bottom: 0.9rem;
}

.form-note {
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  color: #a8caec;
}

.form-note strong {
  color: #dff1ff;
}

.quote-form label {
  display: block;
  margin-bottom: 0.4rem;
  color: #dbeafe;
  font-weight: 500;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(150, 188, 224, 0.34);
  background: rgba(6, 20, 36, 0.65);
  color: #ffffff;
  padding: 0.74rem 0.86rem;
  margin-bottom: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #9abbdc;
}

.quote-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9bcff7 50%),
    linear-gradient(135deg, #9bcff7 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: #43bbff;
  box-shadow: 0 0 0 3px rgba(24, 150, 234, 0.22);
}

.quote-form .invalid {
  border-color: #ef7d7d;
}

.conditional-field {
  display: block;
}

.conditional-field.is-hidden {
  display: none;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.form-status a {
  color: #9bd7ff;
  font-weight: 600;
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #ffffff;
  display: grid;
  place-items: center;
  z-index: 1000;
  font-size: 1.72rem;
  background: linear-gradient(145deg, #26d366, #149746);
  box-shadow: 0 12px 26px rgba(10, 55, 27, 0.5);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(5, 15, 30, 0.86);
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.thank-you-wrap {
  width: min(760px, 94vw);
  background: linear-gradient(175deg, rgba(16, 46, 82, 0.92), rgba(8, 30, 55, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
}

.thank-you-wrap h1 {
  margin-bottom: 0.6rem;
}

.thank-you-wrap p {
  margin: 0 auto;
  max-width: 620px;
}

.thank-you-ref {
  margin-top: 0.9rem;
  color: #dff0ff;
  font-size: 0.94rem;
}

.thank-you-ref strong {
  color: #ffffff;
  letter-spacing: 0.03em;
}

.thank-you-note {
  margin-top: 0.35rem;
  color: #9fc6e9;
  font-size: 0.82rem;
}

.thank-you-actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn-outline {
  border: 1px solid rgba(149, 200, 242, 0.45);
  color: #dff0ff;
  background: rgba(8, 31, 55, 0.55);
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  color: #aac4df;
  font-size: 0.93rem;
}

.footer-reg {
  border-top: 1px solid rgba(154, 189, 224, 0.18);
  background: rgba(6, 20, 38, 0.92);
}

.footer-reg-list {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #a9c7e8;
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

  .logo-item {
    width: 188px;
    height: 96px;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    right: 4vw;
    top: 76px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(7, 24, 45, 0.97);
    box-shadow: var(--shadow);
    padding: 0.9rem 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    min-width: 155px;
    gap: 0.8rem;
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    width: 112px;
    max-height: 36px;
  }

  .detail-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.8rem 0;
  }

  .detail-nav {
    flex-wrap: wrap;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 68vh;
  }

  .trust-badges {
    gap: 0.45rem;
  }

  .trust-badge {
    font-size: 0.75rem;
  }

  .logo-track {
    animation-duration: 58s;
  }

  .logo-item {
    width: 172px;
    height: 88px;
  }

  .logo-item img {
    max-height: 54px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14.5px;
  }

  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.42rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .brand-logo {
    width: 102px;
    max-height: 34px;
  }

  .brand-text span {
    display: none;
  }

  .service-grid,
  .cert-grid,
  .project-grid,
  .kpi-grid,
  .testimonial-grid,
  .why-grid,
  .map-grid {
    grid-template-columns: 1fr;
  }

  .trust-line {
    font-size: 0.8rem;
  }

  .logo-marquee {
    padding: 0.95rem 0;
  }

  .logo-track {
    gap: 0.8rem;
    animation-duration: 50s;
  }

  .logo-item {
    width: 152px;
    height: 78px;
  }

  .logo-item img {
    max-width: 120px;
    max-height: 46px;
  }

  .po-gallery-card img {
    height: 200px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1rem 0;
  }

  .footer-reg-list {
    gap: 0.5rem 1rem;
    padding: 0.5rem 0;
    text-align: center;
  }
}

/* Premium electrician homepage skin (inspired by selected reference #1). */
.home-page.premium-electric {
  --bg: #0f1012;
  --bg-soft: #16171b;
  --surface: #1c1d21;
  --surface-soft: #26282d;
  --text: #f7f1e7;
  --muted: #cfc2ab;
  --accent: #f2a63d;
  --accent-strong: #da7d1d;
  --success: #41d3a0;
  --danger: #ff9d9d;
  --border: rgba(242, 166, 61, 0.25);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.48);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 181, 92, 0.16), transparent 34%),
    radial-gradient(circle at 14% 82%, rgba(85, 63, 34, 0.18), transparent 30%),
    var(--bg);
}

.home-page.premium-electric p {
  color: var(--muted);
}

.home-page.premium-electric h1,
.home-page.premium-electric h2 {
  font-family: "Times New Roman", Georgia, serif;
  letter-spacing: 0.01em;
  color: #fff8ec;
}

.home-page.premium-electric .section-label {
  color: #efb15a;
  letter-spacing: 0.16em;
}

.home-page.premium-electric .site-header {
  background: rgba(12, 12, 14, 0.86);
  border-bottom: 1px solid rgba(242, 166, 61, 0.23);
  backdrop-filter: blur(14px);
}

.home-page.premium-electric .main-nav a {
  color: #f4e7d2;
}

.home-page.premium-electric .main-nav a:hover,
.home-page.premium-electric .main-nav a:focus-visible {
  color: #ffffff;
  border-bottom-color: var(--accent);
}

.home-page.premium-electric .nav-toggle span {
  background: #eddcc1;
}

.home-page.premium-electric .hero {
  min-height: 82vh;
  background:
    linear-gradient(106deg, rgba(8, 8, 9, 0.9), rgba(17, 17, 19, 0.72) 56%, rgba(36, 23, 11, 0.66)),
    url("assets/project-substation-repair-my.jpg") center / cover no-repeat;
}

.home-page.premium-electric .hero-overlay {
  background:
    radial-gradient(circle at 78% 20%, rgba(242, 166, 61, 0.24), transparent 44%),
    linear-gradient(180deg, rgba(7, 7, 8, 0.22), rgba(7, 7, 8, 0.66));
}

.home-page.premium-electric .hero-content {
  max-width: 760px;
}

.home-page.premium-electric .hero h1 {
  font-size: clamp(2rem, 4.1vw, 3.6rem);
  line-height: 1.14;
}

.home-page.premium-electric .hero-subtitle {
  margin: 1rem 0 1.65rem;
  color: #eadfcf;
  max-width: 62ch;
}

.home-page.premium-electric .btn-primary,
.home-page.premium-electric .btn-secondary {
  color: #16110b;
  background: linear-gradient(135deg, #f4ac43, #d87817);
  font-weight: 700;
}

.home-page.premium-electric .btn:hover {
  box-shadow: 0 16px 32px rgba(98, 55, 12, 0.5);
}

.home-page.premium-electric .trust-panel {
  margin-top: 1.4rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(242, 166, 61, 0.3);
  background: rgba(10, 10, 11, 0.44);
  backdrop-filter: blur(4px);
}

.home-page.premium-electric .trust-badge {
  border-color: rgba(242, 166, 61, 0.34);
  background: rgba(27, 22, 16, 0.68);
  color: #f4e7d5;
}

.home-page.premium-electric .trust-badge strong {
  color: #fff9ee;
}

.home-page.premium-electric .trust-line {
  color: #dbc8a7;
}

.home-page.premium-electric .projects,
.home-page.premium-electric .clients,
.home-page.premium-electric .proof {
  background:
    linear-gradient(180deg, rgba(16, 16, 18, 0.72), rgba(16, 16, 18, 0.38)),
    radial-gradient(circle at 78% 18%, rgba(242, 166, 61, 0.14), transparent 42%);
}

.home-page.premium-electric .about-card,
.home-page.premium-electric .cert-card,
.home-page.premium-electric .card,
.home-page.premium-electric .project-card,
.home-page.premium-electric .kpi-card,
.home-page.premium-electric .testimonial-card,
.home-page.premium-electric .contact-card,
.home-page.premium-electric .quote-form,
.home-page.premium-electric .logo-marquee {
  background: linear-gradient(164deg, rgba(31, 32, 36, 0.95), rgba(18, 19, 22, 0.98));
  border: 1px solid rgba(242, 166, 61, 0.23);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
}

.home-page.premium-electric .cert-card,
.home-page.premium-electric .card,
.home-page.premium-electric .project-card,
.home-page.premium-electric .kpi-card,
.home-page.premium-electric .testimonial-card,
.home-page.premium-electric .contact-card,
.home-page.premium-electric .quote-form {
  position: relative;
  overflow: hidden;
}

.home-page.premium-electric .cert-card::before,
.home-page.premium-electric .card::before,
.home-page.premium-electric .project-card::before,
.home-page.premium-electric .kpi-card::before,
.home-page.premium-electric .testimonial-card::before,
.home-page.premium-electric .contact-card::before,
.home-page.premium-electric .quote-form::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 74px;
  height: 2px;
  background: linear-gradient(90deg, #f2a63d, transparent);
}

.home-page.premium-electric .card:hover,
.home-page.premium-electric .project-card:hover,
.home-page.premium-electric .kpi-card:hover,
.home-page.premium-electric .testimonial-card:hover {
  border-color: rgba(242, 166, 61, 0.56);
  transform: translateY(-5px);
}

.home-page.premium-electric .icon-badge {
  background: linear-gradient(145deg, #f5b04e, #cf7117);
  color: #23170b;
  box-shadow: 0 10px 24px rgba(88, 50, 12, 0.4);
}

.home-page.premium-electric .project-card img {
  height: 208px;
}

.home-page.premium-electric .project-link-hint,
.home-page.premium-electric .po-proof-label,
.home-page.premium-electric .po-proof-ref,
.home-page.premium-electric .map-label,
.home-page.premium-electric .form-note {
  color: #d8c4a1;
}

.home-page.premium-electric .po-proof {
  border-color: rgba(242, 166, 61, 0.26);
  background: rgba(18, 15, 11, 0.64);
}

.home-page.premium-electric .testimonial-card::before {
  color: rgba(242, 166, 61, 0.34);
}

.home-page.premium-electric .testimonial-card h3,
.home-page.premium-electric .contact-list li,
.home-page.premium-electric .address-block span {
  color: #e5d4b9;
}

.home-page.premium-electric .contact-list i,
.home-page.premium-electric .cert-link:hover {
  color: #f3ad4a;
}

.home-page.premium-electric .logo-marquee {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.home-page.premium-electric .logo-item {
  border: 1px solid rgba(140, 104, 58, 0.42);
  background: linear-gradient(180deg, #fffaf0, #f0e4d1);
}

.home-page.premium-electric .logo-item img {
  filter: grayscale(0.5) saturate(0.74) contrast(1.04);
  opacity: 0.9;
}

.home-page.premium-electric .logo-item:hover img {
  filter: grayscale(0) saturate(1.05) contrast(1.02);
}

.home-page.premium-electric .quote-form label {
  color: #f2e6d3;
}

.home-page.premium-electric .quote-form input,
.home-page.premium-electric .quote-form select,
.home-page.premium-electric .quote-form textarea {
  border-color: rgba(242, 166, 61, 0.28);
  background: rgba(12, 12, 13, 0.76);
  color: #fff9ef;
}

.home-page.premium-electric .quote-form input::placeholder,
.home-page.premium-electric .quote-form textarea::placeholder {
  color: #ab9877;
}

.home-page.premium-electric .quote-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, #cf9b53 50%),
    linear-gradient(135deg, #cf9b53 50%, transparent 50%);
}

.home-page.premium-electric .quote-form input:focus,
.home-page.premium-electric .quote-form select:focus,
.home-page.premium-electric .quote-form textarea:focus {
  border-color: rgba(242, 166, 61, 0.7);
  box-shadow: 0 0 0 3px rgba(242, 166, 61, 0.2);
}

.home-page.premium-electric .map-wrap {
  border-color: rgba(242, 166, 61, 0.24);
}

.home-page.premium-electric .site-footer {
  border-top: 1px solid rgba(242, 166, 61, 0.24);
  background: rgba(12, 12, 14, 0.9);
}

.home-page.premium-electric .footer-inner p,
.home-page.premium-electric .footer-reg-list {
  color: #cbb99b;
}

.home-page.premium-electric .footer-reg {
  border-top: 1px solid rgba(242, 166, 61, 0.2);
  background: rgba(10, 10, 11, 0.95);
}

@media (max-width: 820px) {
  .home-page.premium-electric .main-nav {
    border-color: rgba(242, 166, 61, 0.3);
    background: rgba(16, 16, 19, 0.98);
  }

  .home-page.premium-electric .hero {
    min-height: 70vh;
    background-position: 52% center;
  }

  .home-page.premium-electric .trust-panel {
    padding: 0.85rem;
  }
}

@media (max-width: 640px) {
  .home-page.premium-electric .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }

  .home-page.premium-electric .project-card img {
    height: 186px;
  }
}
