/* ==========================================================================
   SSix Technologies — style.css
   Palette: refined olive green, warm browns, tans and cream
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Greens */
  --green-950: #1B2318;
  --green-900: #242D1F;
  --green-800: #303A27;
  --green-700: #414C2E;
  --green-600: #525D30;
  --green-500: #67733D;
  --green-200: #D2D7BE;
  --green-100: #EBEDE0;

  /* Browns */
  --brown-800: #43332A;
  --brown-700: #533F30;
  --brown-600: #63482F;
  --brown-500: #7A5A3A;
  --brown-400: #9C7650;

  /* Tans & neutrals */
  --tan-400: #C4AD7F;
  --tan-300: #D8C7A0;
  --tan-200: #ECE2CB;
  --tan-100: #F6F1E6;
  --cream: #FCFAF5;
  --white: #FFFFFF;

  /* Text */
  --ink: #1E2018;
  --ink-soft: #3A3D30;
  --muted: #64665A;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1800px;
  --gutter: clamp(20px, 3.5vw, 72px);
  --logo-h: clamp(72px, 8.5vw, 150px);
  --header-h: calc(var(--logo-h) + 40px);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(31, 36, 20, 0.06), 0 1px 3px rgba(31, 36, 20, 0.08);
  --shadow: 0 6px 20px rgba(31, 36, 20, 0.08), 0 2px 6px rgba(31, 36, 20, 0.05);
  --shadow-lg: 0 24px 48px rgba(31, 36, 20, 0.16), 0 8px 16px rgba(31, 36, 20, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: 0.25s var(--ease);
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--green-900);
}

p {
  color: var(--ink-soft);
}

::selection {
  background: var(--tan-300);
  color: var(--green-900);
}

:focus-visible {
  outline: 3px solid var(--tan-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--green-700);
  color: var(--cream);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- 3. Typography Helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-500);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

.section {
  padding-block: 112px;
}

.section-head {
  max-width: 980px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
}

/* ---------- 4. Logo ---------- */
.logo {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(216, 199, 160, 0.2), 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: box-shadow var(--transition), transform var(--transition);
}

.logo-img {
  display: block;
  height: var(--logo-h);
  width: auto;
  transition: height var(--transition);
}

.logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(216, 199, 160, 0.45), 0 8px 22px rgba(0, 0, 0, 0.28);
}

.site-header.scrolled .logo-img {
  height: 60px;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn:active {
  transform: translateY(1px);
}

.btn-lg {
  padding: 17px 30px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brown-500);
  color: var(--cream);
  box-shadow: 0 4px 14px rgba(122, 90, 58, 0.28);
}

.btn-primary:hover {
  background: var(--brown-600);
  box-shadow: 0 8px 22px rgba(122, 90, 58, 0.36);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(232, 220, 192, 0.45);
}

.btn-ghost:hover {
  background: rgba(232, 220, 192, 0.1);
  border-color: var(--tan-300);
  transform: translateY(-2px);
}

/* ---------- 6. Header & Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background-color var(--transition), box-shadow var(--transition),
    height var(--transition);
}

.site-header.scrolled {
  height: 80px;
  background: rgba(36, 45, 31, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(250, 247, 240, 0.85);
  padding-block: 6px;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--tan-300);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--cream);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  white-space: nowrap;
  background: rgba(216, 199, 160, 0.08);
  border: 1px solid rgba(216, 199, 160, 0.28);
  border-radius: 999px;
  transition: color var(--transition), background-color var(--transition),
    border-color var(--transition);
}

.nav-phone svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  fill: var(--green-900);
  background: var(--tan-300);
  border-radius: 50%;
  transition: background-color var(--transition);
}

.nav-phone:hover {
  background: rgba(216, 199, 160, 0.16);
  border-color: var(--tan-300);
  color: var(--tan-200);
}

.nav-phone:hover svg {
  background: var(--tan-200);
}

/* Hamburger: hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(216, 199, 160, 0.3);
  background: rgba(216, 199, 160, 0.08);
  z-index: 1101;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 32px) 0 96px;
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 45%, var(--brown-800) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(216, 199, 160, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 199, 160, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(156, 118, 80, 0.32) 0%, rgba(96, 107, 51, 0.15) 40%, transparent 70%);
  filter: blur(20px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(48px, 6vw, 120px);
  align-items: center;
}

.hero .eyebrow {
  color: var(--tan-300);
}

.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  color: var(--cream);
  margin-bottom: 24px;
}

.hero-title .accent {
  display: block;
  color: var(--tan-300);
}

.hero-sub {
  max-width: 760px;
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(250, 247, 240, 0.78);
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(216, 199, 160, 0.18);
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(250, 247, 240, 0.85);
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  fill: var(--tan-300);
  flex-shrink: 0;
}

.hero-card {
  position: relative;
  padding: 36px 32px;
  background: rgba(250, 247, 240, 0.06);
  border: 1px solid rgba(216, 199, 160, 0.2);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--tan-300), var(--brown-400));
  border-radius: 0 0 3px 3px;
}

.hero-card-title {
  font-size: 1.55rem;
  color: var(--cream);
  margin-bottom: 24px;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-card-list li {
  display: flex;
  gap: 16px;
}

.hc-bullet {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--tan-300);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(216, 199, 160, 0.14);
}

.hero-card-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}

.hero-card-list p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(250, 247, 240, 0.68);
}

/* ---------- 8. Our Standard ---------- */
.standard {
  background: var(--tan-100);
  border-bottom: 1px solid var(--tan-200);
  padding-block: 88px;
}

.standard-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(48px, 6vw, 120px);
  align-items: center;
}

.standard-title {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.02;
  color: var(--green-800);
  margin-bottom: 18px;
}

.standard-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 640px;
}

.standard-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--tan-200);
  border-left: 4px solid var(--brown-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.pillar-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-100);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--green-700);
}

.pillar-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- 9. Services ---------- */
.services {
  background: var(--cream);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.service-card {
  position: relative;
  flex: 0 1 calc((100% - 48px) / 3);
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--tan-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--brown-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tan-300);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--green-100);
  transition: background-color var(--transition);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--green-700);
  transition: fill var(--transition);
}

.service-card:hover .service-icon {
  background: var(--green-700);
}

.service-card:hover .service-icon svg {
  fill: var(--tan-300);
}

.service-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.97rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.service-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--tan-100);
}

.service-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--tan-300);
  transform: rotate(45deg);
}

/* ---------- 10. Process ---------- */
.process {
  background: var(--tan-100);
  border-block: 1px solid var(--tan-200);
}

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--tan-400) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--green-700);
  border: 4px solid var(--tan-100);
  box-shadow: 0 0 0 2px var(--tan-400);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--tan-200);
}

.process-step h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.94rem;
  color: var(--muted);
}

/* ---------- 11. About ---------- */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(56px, 7vw, 140px);
  align-items: start;
}

.about-head {
  position: sticky;
  top: 120px;
}

.about-head .section-title {
  margin-bottom: 32px;
}

.about-signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 20px;
  border-left: 3px solid var(--brown-500);
}

.about-signature-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-900);
}

.about-signature-role {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.about-content {
  padding-top: 8px;
}

.about-content p {
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content .about-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--green-900);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--tan-200);
}

/* ---------- 12. Contact ---------- */
.contact {
  background: var(--tan-100);
  border-top: 1px solid var(--tan-200);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 6vw, 120px);
  align-items: center;
}

.contact-info > p {
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cd-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--tan-200);
}

.cd-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--brown-500);
}

.cd-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-500);
  margin-bottom: 2px;
}

.cd-value {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--green-900);
}

.contact-panel {
  position: relative;
  padding: 44px 40px 36px;
  background: var(--white);
  border: 1px solid var(--tan-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--brown-500), var(--tan-400));
  border-radius: 0 0 4px 4px;
}

.contact-panel-title {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.contact-panel-text {
  color: var(--muted);
  margin-bottom: 28px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition), border-color var(--transition);
}

.contact-action-call {
  background: var(--brown-500);
  box-shadow: 0 6px 18px rgba(122, 90, 58, 0.28);
}

.contact-action-call:hover {
  background: var(--brown-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(122, 90, 58, 0.36);
}

.contact-action-email {
  background: var(--green-800);
  box-shadow: 0 6px 18px rgba(42, 48, 25, 0.25);
}

.contact-action-email:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(42, 48, 25, 0.34);
}

.ca-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(250, 247, 240, 0.14);
  border: 1px solid rgba(250, 247, 240, 0.25);
}

.ca-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--cream);
}

.ca-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.ca-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan-300);
}

.ca-value {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
}

/* Email always stays on one line; it scales down on narrow screens */
.ca-value-email {
  font-size: clamp(0.8rem, 1.25vw + 0.45rem, 1.12rem);
  letter-spacing: -0.005em;
}

.ca-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: var(--tan-300);
  transition: transform var(--transition);
}

.contact-action:hover .ca-arrow {
  transform: translateX(4px);
}

.contact-tips {
  padding: 20px 22px;
  background: var(--tan-100);
  border-radius: var(--radius);
}

.contact-tips-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-500);
  margin-bottom: 12px;
}

.contact-tips ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-tips li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.contact-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--tan-400);
  transform: rotate(45deg);
}

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: rgba(250, 247, 240, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr 1.3fr;
  gap: 48px;
  padding-block: 80px 56px;
}

.logo-footer {
  margin-bottom: 24px;
}

.logo-footer .logo-img {
  height: 80px;
}

.footer-about {
  max-width: 360px;
  font-size: 0.93rem;
  color: rgba(250, 247, 240, 0.62);
  margin-bottom: 16px;
}

.footer-license {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tan-300);
  background: rgba(216, 199, 160, 0.08);
  border: 1px solid rgba(216, 199, 160, 0.2);
  border-radius: var(--radius-sm);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan-300);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col li {
  font-size: 0.93rem;
  white-space: nowrap;
}

.footer-col a {
  color: rgba(250, 247, 240, 0.7);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover {
  color: var(--cream);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(216, 199, 160, 0.12);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(250, 247, 240, 0.5);
}

.back-to-top {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--tan-300);
  transition: color var(--transition);
}

.back-to-top:hover {
  color: var(--cream);
}

/* ---------- 14. Scroll Reveal ----------
   Content only hides when JS is running (html.js), so the
   page stays fully visible if scripts fail or are blocked. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 15. Responsive ---------- */

/* Large tablets / small laptops */
@media (max-width: 1100px) {
  .nav-list {
    gap: 24px;
  }

  .main-nav {
    gap: 28px;
  }

  .hero-inner {
    gap: 48px;
  }

  .standard-inner {
    gap: 48px;
  }

  .service-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .about-grid {
    gap: 64px;
  }

  .contact-grid {
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Tablets: mobile navigation kicks in */
@media (max-width: 960px) {
  :root {
    --logo-h: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 32px;
    padding: 104px 28px 40px;
    background: var(--green-900);
    border-left: 1px solid rgba(216, 199, 160, 0.15);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
    overflow-y: auto;
    z-index: 1100;
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 10, 0.55);
    z-index: 999;
    animation: fadeIn 0.3s var(--ease);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(216, 199, 160, 0.12);
  }

  .nav-link {
    display: block;
    padding: 18px 4px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    color: var(--tan-300);
  }

  .nav-actions {
    justify-content: stretch;
  }

  .nav-phone {
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
    font-size: 1.05rem;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 64px) 0 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 560px;
  }

  .standard {
    padding-block: 72px;
  }

  .standard-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .standard-text {
    max-width: 640px;
  }

  .section {
    padding-block: 88px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }

  .process-steps::before {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-head {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Phones */
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  :root {
    --logo-h: 54px;
  }

  .site-header.scrolled {
    height: 68px;
  }

  .site-header.scrolled .logo-img {
    height: 46px;
  }

  .hero {
    padding: calc(var(--header-h) + 44px) 0 64px;
  }

  .hero-sub {
    font-size: 1.02rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  .hero-card {
    padding: 30px 24px;
  }

  .pillar {
    padding: 20px;
    gap: 16px;
  }

  .section {
    padding-block: 72px;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .service-card {
    flex-basis: 100%;
    padding: 30px 24px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-content .about-lead {
    font-size: 1.12rem;
  }

  .about-content p {
    font-size: 1.02rem;
  }

  .contact-panel {
    padding: 36px 16px 20px;
  }

  .contact-panel::before {
    left: 16px;
    right: 16px;
  }

  .contact-action {
    padding: 16px;
    gap: 14px;
  }

  .ca-icon {
    display: none;
  }

  .ca-value {
    font-size: 1.05rem;
  }

  .ca-value-email {
    font-size: clamp(0.78rem, 3.9vw, 1rem);
  }

  .footer-col li {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .ca-arrow {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 64px 40px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  :root {
    --logo-h: 48px;
  }
}

/* ---------- 16. Motion & Print ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .hero-bg,
  .back-to-top {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 24px 0;
    background: none;
  }

  .hero-title,
  .hero-sub,
  .hero-trust li,
  .hero-card-title,
  .hero-card-list strong,
  .hero-card-list p {
    color: #000;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}