/* ===== Vueuv Technologies — design system ===== */

:root {
  --color-bg: #eef3f9;
  --color-bg-alt: #e3ecf6;
  --color-white: #ffffff;
  --color-ink: #0f2440;
  --color-ink-soft: #3d5169;
  --color-muted: #64748b;
  --color-orange: #f0740f;
  --color-orange-dark: #d9640a;
  --color-orange-soft: #fdece0;
  --color-blue: #1479c2;
  --color-blue-dark: #0d5e9c;
  --color-border: #d9e2ee;
  --color-dark: #0b1c33;
  --color-dark-soft: #13294a;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-card: 0 10px 30px rgba(20, 20, 20, 0.06);
  --shadow-card-hover: 0 16px 40px rgba(20, 20, 20, 0.1);

  --container: 1240px;
  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue);
}

section {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--color-orange);
}

.section-head p {
  margin-top: 12px;
  font-size: 17px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(240, 116, 15, 0.35);
}

.btn-primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(240, 116, 15, 0.42);
}

.btn-dark {
  background: var(--color-ink);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-border);
}

.btn-block {
  width: 100%;
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 28, 51, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .brand-word {
  color: #fff;
}

.site-header .brand-sub {
  color: #8fa3bd;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 36px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo {
  width: 42px;
  height: 46px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.brand-mark span {
  color: var(--color-orange);
}

.brand-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand-word .accent {
  color: inherit;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #c4d1e1;
  transition: color 0.15s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 3px;
  background: var(--color-orange);
  border-radius: var(--radius-pill);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ===== Hero ===== */

.hero {
  position: relative;
  background: linear-gradient(180deg, #dfe9f5 0%, #e9f0f8 100%);
  overflow: hidden;
  padding: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 40px;
  align-items: center;
  min-height: 540px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.hero-copy h1 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
}

.hero-copy p {
  margin-top: 20px;
  font-size: 18px;
  max-width: 460px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-trust {
  margin-top: 44px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
  flex-shrink: 0;
}

/* Full-bleed hero photo, fading into the page on the left */
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  overflow: hidden;
  border-bottom-left-radius: 28px;
}

.hero-media img,
.hero-media .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  z-index: 1;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, #e2ebf6 0%, rgba(226, 235, 246, 0) 46%);
}

/* ===== Solar camera callout ===== */

.solar-wrap {
  position: relative;
  height: 0;
  z-index: 40;
}

.solar-callout {
  position: absolute;
  right: clamp(20px, 3.5vw, 64px);
  top: -195px;
  width: min(470px, calc(100vw - 40px));
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(11, 28, 51, 0.3);
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.solar-callout.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.solar-callout.dismissed {
  display: none;
}

.solar-callout.no-photo {
  grid-template-columns: 1fr;
}

.solar-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(11, 28, 51, 0.18);
}

.solar-close svg {
  width: 15px;
  height: 15px;
}

.solar-body {
  position: relative;
  z-index: 2;
  padding: 22px 22px 20px;
}

.solar-cutout-m {
  display: none;
}

.solar-cutout {
  position: absolute;
  right: 22px;
  top: -40px;
  height: calc(100% + 34px);
  width: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 14px 26px rgba(11, 28, 51, 0.25));
}

.solar-pill {
  display: inline-block;
  background: var(--color-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.solar-body h3 {
  font-size: 21px;
  font-weight: 800;
  margin-top: 12px;
}

.solar-name {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1.1;
}

.solar-tag {
  font-weight: 700;
  color: var(--color-ink);
  font-size: 13.5px;
  margin-top: 4px;
}

.solar-feats {
  margin-top: 13px;
  display: grid;
  gap: 8px;
}

.solar-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.solar-ico {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 1.8px solid var(--color-orange);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solar-ico svg {
  width: 14px;
  height: 14px;
}

.solar-form {
  margin-top: 14px;
  display: flex;
  gap: 8px;
}

.solar-form input {
  flex: 1;
  min-width: 0;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 13.5px;
  background: var(--color-bg);
}

.solar-form input:focus {
  outline: none;
  border-color: var(--color-orange);
}

.solar-form .btn {
  padding: 9px 15px;
  font-size: 12.5px;
}

.solar-photo {
  position: relative;
}

.solar-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Below 1240px the floating card would collide with page text — switch to in-flow */
@media (max-width: 1240px) {
  .solar-wrap {
    height: auto;
  }

  .solar-callout {
    position: relative;
    top: auto;
    right: auto;
    width: min(520px, calc(100% - 40px));
    margin: 32px auto 0;
  }

  /* full cutout on the right, panel poking above the card, pole ending above the form */
  .solar-cutout {
    right: -6px;
    top: -60px;
    height: calc(100% - 32px);
  }

}

@media (max-width: 480px) {
  .solar-form {
    flex-direction: column;
  }

  .solar-form input {
    font-size: 16px; /* prevents iPhone auto-zoom */
    text-align: center;
  }

  .solar-form .btn {
    width: 100%;
  }
}

/* ===== Services grid ===== */

#services {
  position: relative;
  overflow: hidden;
}

.services-watermark {
  position: absolute;
  top: 30px;
  right: -70px;
  width: 360px;
  height: 360px;
  color: #cfdcec;
  opacity: 0.55;
  pointer-events: none;
}

#services .container {
  position: relative;
}

.section-head .eyebrow {
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.24em;
}

.section-head h2 .accent {
  color: var(--color-orange);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  background: #10233f;
  border: none;
  border-radius: var(--radius-md);
  padding: 0;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--color-blue);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.service-photo {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #2a2e37, #3a3f4c);
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -30px auto 0;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-body {
  padding: 16px 22px 34px;
}

.service-card h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.service-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--color-orange);
}

.service-card p {
  font-size: 14px;
  color: #bfcbdc;
}

.service-card[data-service] {
  cursor: pointer;
}

.service-card.active {
  outline: 3px solid var(--color-orange);
  outline-offset: 2px;
}

.service-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-orange);
}

/* expanding panel under the service cards */
.service-expand {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}

.service-expand.open {
  grid-template-rows: 1fr;
}

.service-expand-clip {
  overflow: hidden;
}

.service-expand-inner {
  margin-top: 22px;
  background: var(--color-dark);
  border-radius: var(--radius-md);
  padding: 30px 34px;
  border-left: 5px solid var(--color-orange);
}

.service-expand-inner h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-expand-inner p {
  color: #c7d2e0;
  font-size: 15px;
  max-width: 760px;
}

.service-expand-actions {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

.service-trust {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-trust li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 12px;
  border-left: 1px solid #c9d6e6;
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--color-ink);
  text-align: left;
}

.service-trust li:first-child {
  border-left: none;
}

.service-trust svg {
  width: 34px;
  height: 34px;
  color: var(--color-blue);
  flex-shrink: 0;
}

/* icon-tile kept for inner pages (about/values) */
.icon-tile {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.icon-tile svg {
  width: 56px;
  height: 56px;
}

/* ===== Why choose us ===== */

.why-us {
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: "";
  position: absolute;
  left: -220px;
  top: -220px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 121, 194, 0.12), transparent 68%);
  pointer-events: none;
}

.why-us .container {
  position: relative;
}

.why-us .eyebrow::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-orange);
  margin: 14px auto 0;
}

.why-us .section-head h2 {
  padding-bottom: 0;
}

.why-us .section-head h2::after {
  display: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
  align-items: stretch;
}

.why-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  border-top: 2px solid var(--color-orange);
  box-shadow: var(--shadow-card);
  padding: 52px 28px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.why-badge {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 20, 20, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
}

.why-badge svg {
  width: 30px;
  height: 30px;
}

.why-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14.5px;
  flex: 1;
}

.why-art {
  margin-top: 24px;
  width: 100%;
  height: 56px;
  color: var(--color-blue);
  opacity: 0.9;
}

.why-banner {
  margin-top: 44px;
  background: var(--color-dark);
  border-radius: var(--radius-md);
  padding: 26px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  flex-wrap: wrap;
}

.why-banner > svg {
  width: 42px;
  height: 42px;
  color: var(--color-orange);
  flex-shrink: 0;
}

.why-banner-left {
  flex-shrink: 0;
}

.why-banner-left strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.why-banner-left .accent {
  color: var(--color-orange);
  font-weight: 700;
  font-size: 16px;
}

.why-banner-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.16);
}

.why-banner p {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  flex: 1;
  min-width: 260px;
}

.why-banner .banner-white {
  color: #fff;
}

.why-banner p .accent {
  color: var(--color-orange);
}

/* ===== How it works ===== */

#how-it-works .eyebrow::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-orange);
  margin: 14px auto 0;
}

#how-it-works .section-head h2 {
  padding-bottom: 0;
}

#how-it-works .section-head h2::after {
  display: none;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  text-align: center;
  margin-top: 56px;
}

/* horizontal timeline through the circles, with end dots */
.how-grid::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  height: 9px;
  background-image:
    radial-gradient(circle, var(--color-blue) 4px, transparent 4.5px),
    radial-gradient(circle, var(--color-blue) 4px, transparent 4.5px),
    linear-gradient(rgba(20, 121, 194, 0.5), rgba(20, 121, 194, 0.5));
  background-size: 9px 9px, 9px 9px, 100% 1.5px;
  background-position: left center, right center, center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.how-step {
  background: none;
  border: none;
  padding: 0;
  position: relative;
}

.how-num {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(20, 20, 20, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-num::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px solid rgba(20, 121, 194, 0.18);
  border-top-color: var(--color-blue);
  transform: rotate(40deg);
}

.how-num span {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 600;
  color: var(--color-blue);
}

.how-connector {
  width: 1.5px;
  height: 28px;
  background: rgba(20, 121, 194, 0.5);
  margin: 0 auto;
}

.how-icon {
  display: block;
  width: 46px;
  height: 46px;
  color: var(--color-blue);
  margin: 12px auto 16px;
}

.how-step h4 {
  font-size: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.how-step h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 2px;
  background: var(--color-orange);
  border-radius: 2px;
}

.how-step p {
  font-size: 14.5px;
  max-width: 300px;
  margin: 0 auto;
}

/* ===== Testimonials ===== */

.testimonials-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.testimonials-intro h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  text-align: left;
  padding-bottom: 0;
}

.testimonials-intro h2::after {
  left: 0;
  transform: none;
}

.testimonials-intro p {
  margin-top: 14px;
  font-size: 15px;
}

.grating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-ink);
}

.grating .stars {
  margin-bottom: 0;
}

.grating strong {
  font-weight: 800;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--color-orange);
  margin-bottom: 14px;
}

.stars svg {
  width: 16px;
  height: 16px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.testimonial-card p {
  font-size: 14.5px;
  font-style: italic;
  color: var(--color-ink);
}

.testimonial-person {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-orange-soft);
  color: var(--color-orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.testimonial-person strong {
  display: block;
  font-size: 14px;
}

.testimonial-person span {
  font-size: 12.5px;
  color: var(--color-muted);
}

/* ===== Trusted-by logos ===== */

.trusted-by {
  padding: 46px 0;
  background: var(--color-dark);
}

.trusted-head {
  text-align: center;
  margin-bottom: 28px;
}

.trusted-stars {
  display: inline-flex;
  gap: 4px;
  color: var(--color-orange);
}

.trusted-stars svg {
  width: 15px;
  height: 15px;
}

.trusted-title {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 72px;
}

.logo-strip img {
  height: 46px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.logo-strip a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.logo-strip .logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-ink-soft);
  letter-spacing: 0.01em;
}

.logo-strip svg {
  width: 20px;
  height: 20px;
}

/* ===== CTA banner ===== */

.cta-banner {
  background: var(--color-dark) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="200" height="200"%3E%3C/svg%3E');
  background-size: cover;
  background-position: center;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 28, 51, 0.97), rgba(11, 28, 51, 0.8));
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
}

.cta-inner .cta-highlight {
  font-family: "Caveat", cursive;
  color: var(--color-orange);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 38px);
  letter-spacing: 0;
}

.cta-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-phone {
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.cta-phone strong {
  font-size: 17px;
  font-weight: 700;
}

.cta-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-phone-row svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
}

/* ===== Footer ===== */

.site-footer {
  background: var(--color-dark);
  color: #c7d2e0;
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  color: #8fa3bd;
  font-size: 14px;
  margin-top: 14px;
  max-width: 240px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

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

.footer-social svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 13.5px;
  color: #8fa3bd;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #8fa3bd;
  margin-bottom: 12px;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--color-orange);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #7288a3;
}

/* ===== Inner page hero (Services/About/etc) ===== */

.page-hero {
  padding: 64px 0 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 800;
}

.page-hero p {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 17px;
}

.breadcrumb {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 18px;
}

.breadcrumb .accent {
  color: var(--color-orange);
}

/* Generic content blocks reused across inner pages */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-orange-soft);
  color: var(--color-orange-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-row strong {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--color-orange);
}

.stat-row span {
  font-size: 13.5px;
  color: var(--color-muted);
  font-weight: 600;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
}

.project-thumb {
  aspect-ratio: 16/11;
  background: linear-gradient(135deg, #1c1f26, #3a3f4c);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb svg {
  width: 46px;
  height: 46px;
  color: rgba(255, 255, 255, 0.6);
}

.project-body {
  padding: 20px 22px 24px;
}

.project-body h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-body p {
  font-size: 13.5px;
}

/* Contact page */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--color-bg);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.contact-info-card {
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-info-card h3 {
  font-size: 19px;
  margin-bottom: 20px;
}

.contact-info-card li {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #c7d2e0;
}

.contact-info-card svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 20px;
  aspect-ratio: 16/9;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Service detail blocks ===== */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reverse .service-visual {
  order: 2;
}

.service-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #20232b, #444a58);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual svg {
  width: 30%;
  height: 30%;
  color: rgba(255, 255, 255, 0.85);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--color-ink-soft);
  margin-bottom: 10px;
}

.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== FAQ accordion ===== */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-ink);
  cursor: pointer;
}

.faq-q svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q svg {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
}

.faq-a p {
  font-size: 14px;
  padding-bottom: 20px;
}

.faq-item.open .faq-a {
  max-height: 240px;
}

/* ===== Team / value cards ===== */

.value-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.value-card .icon-tile {
  margin: 0 0 16px;
}

.value-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
}

.timeline {
  display: grid;
  gap: 22px;
}

.timeline-item {
  display: flex;
  gap: 18px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-orange);
  margin-top: 6px;
  flex-shrink: 0;
}

.timeline-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 13.5px;
}

/* ===== Filter tabs (Projects page) ===== */

.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--color-ink);
  color: #fff;
  border-color: var(--color-ink);
}

/* ===== Our Story — modern newspaper article ===== */

.story {
  padding: 64px 0 96px;
}

.story-wrap {
  max-width: 840px;
}

.story-masthead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 3px solid var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
  padding: 11px 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

.story-masthead span:nth-child(2) {
  color: var(--color-orange-dark);
}

.story-headline {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  margin: 40px 0 18px;
  letter-spacing: 0;
}

.story-subhead {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 18.5px;
  color: var(--color-ink-soft);
  max-width: 640px;
  margin: 0 auto;
}

.story-byline {
  text-align: center;
  margin: 24px 0 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.story-byline strong {
  color: var(--color-ink);
}

.story-photo {
  margin: 0 0 38px;
}

.story-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.story-photo figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-muted);
  border-left: 3px solid var(--color-orange);
  padding-left: 10px;
}

.story-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17.5px;
  line-height: 1.85;
}

.story-body p {
  margin: 0 0 22px;
  color: #243449;
}

.dropcap::first-letter {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 62px;
  font-weight: 800;
  float: left;
  line-height: 0.85;
  padding: 7px 12px 0 0;
  color: var(--color-orange);
}

.pullquote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 3vw, 27px);
  line-height: 1.42;
  font-weight: 700;
  text-align: center;
  color: var(--color-ink);
  border-top: 1px solid var(--color-ink);
  border-bottom: 1px solid var(--color-ink);
  padding: 28px 14px;
  margin: 36px 0;
}

.story-signature {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.signature-svg {
  width: 280px;
  height: auto;
  color: var(--color-ink);
  transform: rotate(-2deg);
  margin-left: -16px;
}

.signature-name {
  font-weight: 700;
  font-size: 14.5px;
  margin-top: 10px;
}

.signature-title {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 2px;
}

/* ===== Reveal-on-scroll ===== */

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Mobile nav drawer ===== */

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 20, 0.5);
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 340px);
  background: #fff;
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer-close svg {
  width: 18px;
  height: 18px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-list a {
  padding: 14px 6px;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-list a.active {
  color: var(--color-orange);
}

.mobile-drawer-cta {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

/* ===== Responsive ===== */

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 960px) {
  section {
    padding: 64px 0;
  }

  .main-nav {
    display: none;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Mobile hero: photo behind copy with dark overlay */
  .hero .container {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-media {
    width: 100%;
    border-radius: 0;
  }

  .hero-fade {
    background: linear-gradient(180deg, rgba(16, 18, 22, 0.55), rgba(16, 18, 22, 0.78));
  }

  .hero-copy h1,
  .hero-copy p {
    color: #fff;
  }

  .hero-copy p {
    max-width: 420px;
  }

  .hero-trust {
    gap: 10px;
  }

  .hero-trust li {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
  }

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

  .service-trust {
    grid-template-columns: 1fr 1fr;
    gap: 20px 0;
  }

  .service-trust li:nth-child(3) {
    border-left: none;
  }

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

  .why-banner-divider {
    display: none;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how-grid::before {
    display: none;
  }

  .testimonials-wrap {
    grid-template-columns: 1fr;
  }

  .testimonials-intro {
    text-align: center;
  }

  .testimonials-intro h2 {
    text-align: center;
  }

  .testimonials-intro h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .logo-strip {
    justify-content: center;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-right {
    flex-direction: column;
  }

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

  .two-col,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .site-header .container {
    height: 72px;
  }

  .hero {
    padding: 0;
  }

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

  .service-trust {
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
  }

  .service-trust li {
    border-left: none;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 0;
    font-size: 13px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-trust {
    gap: 16px 22px;
  }
}
