/* ===========================================================
   Reeta R Enterprises — premium industrial/IT supplier theme
   =========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lato:wght@400;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --navy-950: #071a3a;
  --navy-800: #0a2c63;
  --blue-600: #0f66c2;
  --cyan-500: #17a9e9;
  --brass-500: #c99a45;
  --brass-100: #f4e9d3;
  --ink: #101d33;
  --slate: #5c6b82;
  --line: #dfe7f2;
  --paper: #ffffff;
  --mist: #f5f9fd;
  --mist-2: #eef4fb;
  --shadow-sm: 0 10px 28px rgba(7, 26, 58, 0.08);
  --shadow-md: 0 22px 54px rgba(7, 26, 58, 0.14);
  --shadow-lg: 0 34px 90px rgba(7, 26, 58, 0.22);
  --radius: 14px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
   font-family: 'Poppins', sans-serif;
    font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: 'Poppins', sans-serif;
    font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-800);
}

p { margin: 0 0 1em; color: var(--slate); }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.wrap { max-width: var(--container); margin: 0 auto; }

.eyebrow {
  /* display: inline-flex; */
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
   color: var(--navy-800);
  font-family: "Poppins", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brass-500);
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 2px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand { display: flex; align-items: center; }
.brand img { width: min(320px, 60vw); height: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }

.site-nav a {
  position: relative;
  padding: 10px 16px;
  color: var(--navy-800);
  font-family: "Poppins", sans-serif;
  font-size: 1.23rem;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--brass-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--navy-950); }

.nav-cta {
  margin-left: 6px;
  padding: 10px 18px !important;
  color: var(--paper) !important;
  background: var(--navy-800);
  border-radius: 999px;
}

.nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  place-items: center;
}

.menu-toggle span { display: block; width: 20px; height: 2px; margin: 3px auto; background: var(--navy-800); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  height: 500px;
  min-height: 500px;
  max-height: 500px;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px);
  color: var(--paper);
  /* background: var(--navy-950); */
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: none;
}

.hero-blueprint {
  display: none;
}

.hero-slider { position: absolute; inset: 0; z-index: -2; overflow: hidden; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1100ms ease;
  background: var(--hero-img) center / 100% 100% no-repeat;
}

.hero-slide.active { opacity: 1; }

.hero-content {
  position: relative;
  max-width: 800px;
}

.hero-brand-title {
  margin: 0 0 22px;
  color: var(--paper);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-content .eyebrow { color: var(--cyan-500); }
.hero-content .eyebrow::before { background: var(--cyan-500); }
.hero-content .eyebrow {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: 0.02em;
}

.hero-content h1 {
  max-width: 760px;
  margin-top: 12px;
  margin-bottom: 18px;
}

h1 {
  max-width: 820px;
  margin: 14px 0 22px;
  color: var(--paper);
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  color: var(--navy-950);
  background: linear-gradient(120deg, var(--brass-500), #e2bd76);
  box-shadow: 0 18px 34px rgba(201, 154, 69, 0.28);
}

.btn-secondary { color: var(--paper); border-color: rgba(255, 255, 255, 0.55); }

.hero-panel {
  position: relative;
  display: grid;
  gap: 16px;
  align-self: start;
  margin-top: 48px;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.hero-panel .stat { padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.hero-panel .stat:last-child { padding-bottom: 0; border-bottom: 0; }
.hero-panel strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.7rem; color: var(--paper); }
.hero-panel span { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.68); font-size: 0.86rem; }

/* trusted-by strip */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 34px;
  padding: 26px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.trust-strip .trust-label {
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.trust-marks { display: flex; flex-wrap: wrap; gap: 26px 38px; }

.trust-marks span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-800);
  letter-spacing: 0.01em;
  opacity: 0.78;
}

/* ---------------- Sections (general) ---------------- */

.section { padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 64px); }
.section-heading {
  max-width: 100%;
  margin: 0 auto 28px;
  text-align: center;
}
.section-heading h2 { font-size: 1.5rem; line-height: 1.14; }
.section-heading h2 {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}
.section-heading .eyebrow {
  font-size: 2.3rem;
  
}

/* ---------------- Intro / vision-mission ---------------- */

.intro { background: var(--mist); }

.intro .section-heading h2 {
  font-size: 1.5rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.intro-copy p { color: var(--ink); font-size: 1.06rem; font-weight:500; }

.intro-image {
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

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

.vm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.vm-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.vm-card .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  color: var(--navy-800);
  background: var(--brass-100);
}

.vm-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.vm-card p { font-size: 0.96rem; }

/* ---------------- Stat band ---------------- */

.stat-band {
  padding: clamp(40px, 6vw, 56px) clamp(20px, 5vw, 64px);
  color: var(--paper);
  background:
    linear-gradient(110deg, var(--navy-950) 0%, var(--navy-800) 100%);
}

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

.stat-item { display: flex; align-items: center; gap: 16px; }

.stat-item .icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: var(--navy-950);
  background-color:#ffffff;
}

.stat-item strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
}

.stat-item span { display: block; color: rgba(255, 255, 255, 0.68); font-size: 0.86rem; }

/* ---------------- Services ---------------- */

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.service-card .rank {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
  opacity: 0.55;
}

.service-card.featured {
  grid-column: span 2;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.16)),
    url("../images/Portfolio-img.jpg") center / cover no-repeat;
}

.service-card.muted { opacity: 0.92; }

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 12px;
  color: var(--navy-800);
  background: var(--mist-2);
}

.service-card.featured .service-icon {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.16);
}

.service-card.featured .rank { color: rgba(255, 255, 255, 0.6); }
.service-card.featured h3 { color: var(--paper); }
.service-card.featured p { color: rgba(255, 255, 255, 0.86); }

.service-card ul { padding-left: 20px; margin: 14px 0 0; color: var(--slate); }
.service-card.featured ul { color: rgba(255, 255, 255, 0.86); }
.service-card ul li + li { margin-top: 6px; }

/* ---------------- Brands ---------------- */

.brands { background: linear-gradient(180deg, var(--mist), var(--paper)); }

.brand-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brand-groups > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.brand-groups h3 { font-size: 1.02rem; margin-bottom: 6px; }
.brand-groups p { font-size: 0.94rem; }

.note { margin: 28px 0 0; color: var(--slate); font-size: 0.92rem; }

.partner-marquee { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.partner-marquee span {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-800);
  background: var(--paper);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.partner-marquee.static { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.partner-marquee.static span { text-align: center; }

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

.logo-card {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy-800);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.logo-card img,
.client-logo img {
  display: block;
  flex: none;
  object-fit: contain;
}

.logo-card img {
  width: 180px;
  height: 96px;
}

.client-logo img {
  width: min(100%, 240px);
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.logo-card:hover {
  border-color: var(--cyan-500);
  transform: translateY(-2px);
}

.logo-mark {
  display: grid;
  flex: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------------- Client proof / case studies ---------------- */

.client-proof {
    color: var(--paper);
    background: url("../images/reference-img-for-details.jpeg") center / cover no-repeat;
}

.client-proof.portfolio-background {
    background: url("../images/portfolio-segment.jpg") center / cover no-repeat;
}

.client-proof .section-heading h2,
.client-proof .eyebrow { color: var(--paper); }
.client-proof .eyebrow { color: var(--cyan-500); }
.client-proof .eyebrow::before { background: var(--cyan-500); }

.client-list.premium-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.premium-list span {
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  text-align: center;
}

.client-logo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-logo {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.client-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.client-feature article {
  padding: clamp(26px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.client-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--navy-800);
  background: var(--brass-100);
  font-size: 0.78rem;
  font-weight: 700;
}

.client-mark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.client-feature dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.client-feature dt { color: var(--slate); font-size: 0.82rem; font-weight: 600; }
.client-feature dd { margin: 4px 0 0; font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--navy-800); }

.client-feature ul { padding-left: 20px; margin: 18px 0 0; }
.client-feature ul li + li { margin-top: 6px; }

.pull-quote {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--brass-500);
  background: var(--mist);
  color: var(--ink);
  font-size: 0.92rem;
  font-style: italic;
}

/* ---------------- Testimonials ---------------- */

.testimonials { background: var(--mist); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.testimonial-grid article {
  display: grid;
  align-content: space-between;
  gap: 20px;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.testimonial-grid .quote-mark { color: var(--brass-500); font-family: "Space Grotesk", sans-serif; font-size: 2.2rem; line-height: 1; }
.testimonial-grid p { color: var(--ink); font-size: 1.02rem; }
.testimonial-grid strong { display: block; color: var(--navy-800); font-weight: 700; }
.testimonial-grid span { display: block; margin-top: 2px; color: var(--slate); font-size: 0.88rem; }

/* ---------------- Why us ---------------- */

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

.why-grid > div {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.why-grid .icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--navy-800);
  background: var(--mist-2);
}

.why-grid strong { display: block; color: var(--navy-800); font-family: "Space Grotesk", sans-serif; }
.why-grid p { margin-top: 4px; font-size: 0.92rem; }

/* ---------------- Documents ---------------- */

.documents { background: linear-gradient(180deg, var(--paper), var(--mist)); }

.documents-intro {
  max-width: 800px;
  margin: -18px auto 24px;
  color: var(--slate);
  text-align: center;
}

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

.document-grid span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy-800);
  background: var(--paper);
  font-weight: 600;
  font-size: 0.92rem;
}

.document-grid span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 999px;
  background: var(--cyan-500);
}

/* ---------------- Segments ---------------- */

.segments-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.segment-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.segment-image {
  height: 160px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.segment-government .segment-image {
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.36), rgba(17, 169, 233, 0.18)),
    url("../images/gov-of-ind.jpg") center / cover no-repeat;
}

.segment-psu .segment-image {
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.42), rgba(15, 102, 194, 0.2)),
    url("../images/psu.jpg") center / cover no-repeat;
}

.segment-industrial .segment-image {
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.38), rgba(201, 154, 69, 0.18)),
    url("../images/industrial-unit.jpg") center / cover no-repeat;
}

.segment-epc .segment-image {
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.38), rgba(17, 169, 233, 0.2)),
    url("../images/epc.jpg") center / cover no-repeat;
}

.segment-contractors .segment-image {
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.34), rgba(201, 154, 69, 0.16)),
    url("../images/contactor-img.jpg") center / cover no-repeat;
}

.segment-corporate .segment-image {
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.34), rgba(15, 102, 194, 0.18)),
    url("../images/Portfolio-img.jpg") center / cover no-repeat;
}

.segment-card h3 {
  margin: 0;
  padding: 18px 18px 20px;
  color: var(--navy-800);
  font-size: 1.04rem;
  line-height: 1.35;
  font-weight: 700;
}

/* ---------------- Page hero (interior pages) ---------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 64px);
  color: var(--paper);
  background:
    linear-gradient(105deg, rgba(7, 26, 58, 0.94), rgba(10, 44, 99, 0.82)),
    url("../images/reference-img-for-details.jpeg") center / cover no-repeat;
}

.client-hero {
  height: 500px;
  min-height: 500px;
  background: url("../images/portfolio-img2.jpeg") center / cover no-repeat;
}

.client-section-heading {
  margin: 0;
  padding: 36px clamp(20px, 5vw, 64px) 0;
}

.client-section-heading h1 {
  max-width: 800px;
  margin: 0 auto;
  color: var(--navy-800);
  font-size: 1.5rem;
}

.contact-hero {
  height: 500px;
  min-height: 500px;
  background: url("../images/contact-us.jpeg") center / cover no-repeat;
}

.page-hero .eyebrow { color: var(--cyan-500); }
.page-hero .eyebrow::before { background: var(--cyan-500); }
.page-hero h1 { max-width: 900px; font-size: clamp(2rem, 4.8vw, 3.6rem); color: var(--paper); }
.page-hero p:not(.eyebrow) { max-width: 700px; color: rgba(255, 255, 255, 0.84); font-size: 1.08rem; }

/* ---------------- Logo cloud (clients page) ---------------- */

.logo-cloud { background: var(--mist); }
.client-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.client-list span {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy-800);
  background: var(--paper);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.partners-page { background: var(--paper); }

/* ---------------- Contact ---------------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.contact-card, .quote-form {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.contact-card { background: linear-gradient(165deg, var(--navy-950), var(--navy-800)); color: var(--paper); border-color: transparent; box-shadow: var(--shadow-md); }
.contact-card h2, .contact-card .contact-subtitle { color: var(--paper); }
.contact-subtitle { color: rgba(255, 255, 255, 0.72); font-weight: 600; }

.contact-lines { display: grid; gap: 12px; margin-top: 26px; }

.contact-lines > * {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-lines .icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; background: rgba(255, 255, 255, 0.14); color: var(--cyan-500); }
.contact-lines strong { display: block; color: var(--paper); font-size: 0.82rem; font-weight: 600; }
.contact-lines span { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.78); }

.quote-form { display: grid; gap: 16px; }
.quote-form label { display: grid; gap: 7px; color: var(--navy-800); font-weight: 600; font-size: 0.92rem; }
.form-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.form-status-success { color: #155724; background: #d4edda; border: 1px solid #c3e6cb; }
.form-status-error { color: #721c24; background: #f8d7da; border: 1px solid #f5c6cb; }
.form-confirmation { display: grid; min-height: 52vh; place-items: center; }
.confirmation-card {
  width: min(100%, 700px);
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
  box-shadow: 0 18px 45px rgba(15, 35, 60, 0.08);
}
.confirmation-card h1 { margin-bottom: 14px; }
.confirmation-card p:not(.eyebrow) { margin: 0 auto 28px; color: var(--navy-700); }

input, select, textarea {
  width: 100%;
  border: 1px solid #ccd8e6;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--paper);
}

input:focus, select:focus, textarea:focus { border-color: var(--blue-600); }
textarea { resize: vertical; }

/* ---------------- Footer ---------------- */

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 44px clamp(20px, 5vw, 64px) 30px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--navy-950);
  font-weight: 500;
}

.footer-brand img { width: clamp(200px, 22vw, 260px); padding: 8px; border-radius: 8px; background: var(--paper); }
.footer-brand p { margin: 16px 0 0; color: rgba(255, 255, 255, 0.6); max-width: 320px; font-size: 0.92rem; line-height: 1.5; }

.footer-col h4,
.footer-contact h4 {
  color: var(--paper);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col div {
  display: grid;
  gap: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-col a,
.footer-contact a,
.footer-contact > span,
.office-block strong {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-icon {
  display: inline-flex !important;
  width: 18px !important;
  height: 18px !important;
  margin-right: 0;
  vertical-align: middle;
  flex: 0 0 18px;
  color: inherit;
}

.footer-icon svg {
  display: block;
  width: 18px !important;
  height: 18px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact { display: grid; gap: 14px; align-content: start; min-width: 0; }
.footer-contact a,
.footer-contact span,
.footer-contact strong {
  min-width: 0;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.footer-col a > span:last-child,
.footer-contact a > span:last-child,
.footer-contact > span > span:last-child,
.office-block strong > span:last-child {
  display: inline-block;
  min-width: 0;
  line-height: 1.5;
}

.office-address {
  display: block;
  margin-left: 32px;
  white-space: normal;
  line-height: 1.5;
}

.footer-bottom {
  padding: 16px clamp(20px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  background: var(--navy-950);
  font-size: 0.82rem;
  text-align: center;
}

@media (min-width: 1081px) {
  .site-footer {
    grid-template-columns: 1.15fr 0.8fr 1.2fr 2fr;
    column-gap: 34px;
  }

  .footer-col a,
  .footer-contact a,
  .footer-contact > span,
  .office-block strong {
    gap: 18px;
    font-size: 1.1rem;
  }

  .footer-col h4,
  .footer-contact h4 {
    font-size: 1.2rem;
  }

  .footer-icon,
  .footer-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  .footer-icon {
    flex-basis: 24px;
  }

  .office-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .office-block strong {
    align-items: start;
  }

  .office-address {
    grid-column: 1;
    margin-left: 42px;
    font-size: 1.08rem;
    line-height: 1.5;
  }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-list.premium-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-marquee.static { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    height: 500px;
    min-height: 500px;
    max-height: 500px;
  }
  .hero-content { padding-top: 40px; }
  .hero-panel { max-width: 520px; margin-top: 0; }

  .service-grid, .brand-groups, .why-grid, .segments-grid,
  .document-grid, .client-list, .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-marquee.static { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card.featured { grid-column: span 2; }
  .intro-grid, .contact-layout { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header { min-height: 48px; }
  .brand img { width: min(220px, 52vw); }
  .menu-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 14px; }
  .nav-cta { margin-left: 0; text-align: center; }

  .hero, .page-hero { background-position: 62% center; }
  .contact-hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 1600 / 595;
    padding: 0;
    background-size: 100% 100%;
    background-position: center;
  }
  .hero {
    height: auto;
    min-height: auto;
    max-height: none;
    padding-top: 72px;
    padding-bottom: 64px;
  }
  .hero-content { max-width: none; padding-top: 0; }
  .hero-panel { width: 100%; max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .vm-cards { grid-template-columns: 1fr; }

  .trust-strip { flex-direction: column; align-items: flex-start; }

  .service-grid, .brand-groups, .why-grid, .segments-grid,
  .document-grid, .client-list, .client-list.premium-list,
  .client-feature, .testimonial-grid, .partner-marquee.static,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .service-card.featured { grid-column: span 1; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}

@media (max-width: 440px) {
  .site-header { padding-inline: 14px; }
  .section, .hero, .page-hero { padding-inline: 14px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }

  .service-card, .brand-groups > div, .why-grid > div,
  .segments-grid span, .document-grid span, .client-list span,
  .testimonial-grid article, .partner-marquee span {
    padding: 18px;
  }
}
