/* ============================================
   Cozzette Accounting — Stylesheet v4

   TABLE OF CONTENTS:
   1. Variables
   2. Reset & Base
   3. Navigation
   4. Hero
   5. Services Grid
   6. Split Section
   7. EA Strip
   8. CTA Section
   9. Services Page
   10. About Page
   11. Contact Page
   12. Footer
   13. Utilities
   14. Responsive
   ============================================ */

/* === 1. Variables === */
:root {
  --bg:    #F9F8F5;
  --white: #FFFFFF;
  --s2:    #F2F0EC;
  --dark:  #111110;
  --rule:  #E4E1D9;
  --text:  #111110;
  --t2:    #514E47;
  --t3:    #9C9890;
  --red:   #B11018;
  --gold:  #D4A017;

  --px:      clamp(20px, 5vw, 80px);
  --section: clamp(80px, 10vw, 128px);
  --nav-h:   68px;
  --radius:  8px;
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === 2. Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 3rem); }
h3 { font-size: 1.125rem; }

p { color: var(--t2); line-height: 1.75; font-size: 1rem; }

/* === 3. Navigation === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(249, 248, 245, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 1px;
  border: 1.5px solid var(--dark);
  padding: 3px 4px;
  border-radius: 3px;
  flex-shrink: 0;
}

.logo-mark-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--dark);
  border: 1px solid var(--dark);
  border-radius: 2px;
  letter-spacing: 0;
  line-height: 1;
}

.logo-text { display: flex; flex-direction: column; gap: 1px; }

.logo-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.logo-tagline {
  font-size: 0.62rem;
  color: var(--t3);
  font-style: italic;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--t2);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dark); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--dark);
  color: #fff !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border-radius: 6px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: transform 0.3s var(--ease), opacity 0.3s;
  transform-origin: center;
}

.nav-burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Drawer */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17,17,16,0.4);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-overlay.open { display: block; opacity: 1; }

.nav-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(300px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: 99;
  padding: calc(var(--nav-h) + 1.5rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: right 0.4s var(--ease);
  box-shadow: -8px 0 32px rgba(0,0,0,0.08);
}

.nav-drawer.open { right: 0; }

.nav-drawer a {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}

.nav-drawer a:hover { color: var(--red); }
.nav-drawer a:last-child { border-bottom: none; }

.nav-cta-drawer {
  margin-top: 1.5rem !important;
  display: block !important;
  text-align: center;
  background: var(--dark);
  color: #fff !important;
  border-radius: 6px !important;
  padding: 0.875rem !important;
  border: none !important;
}

/* === 4. Hero === */
.deadline-bar {
  margin-top: var(--nav-h);
  background: var(--s2);
  border-bottom: 1px solid var(--rule);
  padding: 0.625rem var(--px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.deadline-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--t3);
}

.deadline-date {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.8125rem;
}

.deadline-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--red);
  transition: opacity 0.2s;
}

.deadline-link:hover { opacity: 0.75; }

.deadline-sep { color: var(--rule); font-size: 0.875rem; }

/* Hero itself */
.hero {
  padding: clamp(72px, 10vw, 120px) var(--px) clamp(56px, 8vw, 96px);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  border: 1px solid var(--rule);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--t3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--t2);
  max-width: 48ch;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--rule); }
.btn-outline:hover { border-color: var(--dark); transform: translateY(-1px); }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { opacity: 0.9; transform: translateY(-1px); }

/* Stat row */
.hero-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}

.hero-stat {
  flex: 1;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--rule);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--t3);
  font-weight: 500;
  line-height: 1.4;
}

/* === 5. Services Grid === */
.section {
  padding: var(--section) var(--px);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--red);
}

.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-title { max-width: 20ch; }

.section-lead {
  max-width: 42ch;
  text-align: right;
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.2s;
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.service-card:hover { background: #FDFCFA; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2);
  margin-bottom: 1.25rem;
  transition: border-color 0.2s, color 0.2s;
}

.service-card:hover .service-icon { border-color: var(--red); color: var(--red); }

.service-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; }

.service-card h3 { margin-bottom: 0.5rem; font-size: 1.0625rem; }

.service-card p { font-size: 0.9rem; flex: 1; }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
  transition: gap 0.2s;
}

.service-card-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.service-card:hover .service-card-link { gap: 0.5rem; }

/* === 6. Split Section === */
.split-section {
  padding: var(--section) var(--px);
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.split-points {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.split-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  transition: background 0.2s;
}

.split-point:hover { background: #FDFCFA; }

.split-point-num {
  width: 24px;
  height: 24px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

.split-point-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.2rem;
  display: block;
}

.split-point p { font-size: 0.875rem; color: var(--t2); line-height: 1.6; }

/* Right visual panel */
.split-visual {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.split-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.split-visual-stat {
  padding: 2rem 1.75rem;
  background: rgba(17,17,16,0.9);
  text-align: center;
}

.split-visual-stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.split-visual-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.split-visual-badge {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(177,16,24,0.3);
  border-radius: 6px;
  background: rgba(177,16,24,0.08);
}

.split-visual-badge-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #e87070;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.split-visual-badge p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

/* === 7. EA Strip === */
.ea-strip {
  padding: clamp(48px, 6vw, 72px) var(--px);
  background: var(--s2);
  border-bottom: 1px solid var(--rule);
}

.ea-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.ea-strip-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.ea-badge {
  width: 60px;
  height: 60px;
  border: 2px solid var(--dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.ea-text h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.ea-text p { font-size: 0.9rem; max-width: 42ch; }

/* === 8. CTA === */
.cta-section {
  padding: clamp(72px, 9vw, 112px) var(--px);
  background: var(--dark);
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 { color: #fff; margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.5); font-size: 1.0625rem; margin-bottom: 2.5rem; }

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* === 9. Services Page === */
.page-hero {
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 80px)) var(--px) clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--rule);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero-inner h1 { margin-bottom: 1.25rem; max-width: 18ch; }
.page-hero-inner p { max-width: 52ch; }

.svc-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section) var(--px);
}

.svc-item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.svc-item:first-child { border-top: 1px solid var(--rule); }

.svc-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.svc-title { font-size: 1.375rem; font-weight: 700; color: var(--dark); margin-bottom: 0.875rem; }

.svc-body p { margin-bottom: 0.875rem; font-size: 0.9375rem; }

.svc-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.svc-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--t2);
}

.svc-feature::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* === 10. About Page === */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
}

.about-hero-text {
  padding: clamp(48px, 8vw, 96px) var(--px) clamp(48px, 8vw, 96px) var(--px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--rule);
}

.about-hero-text h1 { margin-bottom: 1.25rem; }
.about-hero-text p { max-width: 44ch; margin-bottom: 2rem; }

.about-hero-visual {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.about-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 70%, rgba(177,16,24,0.12) 0%, transparent 60%);
}

.about-years {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-years-num {
  font-size: clamp(6rem, 12vw, 9rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-years-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-ea-note {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  text-align: left;
}

.about-ea-note-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.about-ea-note p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* About detail */
.about-detail {
  padding: var(--section) var(--px);
  border-bottom: 1px solid var(--rule);
}

.about-detail-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.about-detail-right {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  align-self: start;
}

.ea-row {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.ea-row:last-child { border-bottom: none; }
.ea-row:nth-child(even) { background: var(--s2); }

.ea-row-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.ea-row p { font-size: 0.9rem; line-height: 1.6; }

/* Values */
.about-values {
  padding: var(--section) var(--px);
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.about-values-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.value-card {
  padding: 2rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
}

.value-card:hover { border-color: var(--dark); background: var(--white); }

.value-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.value-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; }

/* === 11. Contact === */
.contact-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section) var(--px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
}

.contact-sidebar {}

.contact-sidebar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.contact-value {
  font-size: 0.9375rem;
  color: var(--t2);
  line-height: 1.6;
}

.contact-value a { color: var(--t2); transition: color 0.2s; }
.contact-value a:hover { color: var(--dark); }

.contact-hours {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.contact-hours-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--t2);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
}

.contact-hours-row:last-child { border-bottom: none; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-form-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.contact-form-sub {
  font-size: 0.875rem;
  color: var(--t3);
  margin-bottom: 2rem;
}

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

.form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.03em;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.7rem 0.875rem;
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  background: var(--bg);
  color: var(--dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--dark); background: var(--white); }

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

.form-submit { margin-top: 1.5rem; }
.form-submit .btn { width: 100%; justify-content: center; padding: 0.875rem; font-size: 0.9375rem; }
.form-note { margin-top: 0.75rem; font-size: 0.8rem; color: var(--t3); text-align: center; }

/* Location bar */
.location-bar {
  background: var(--s2);
  border-top: 1px solid var(--rule);
  padding: 1.5rem var(--px);
}

.location-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.location-bar-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--t3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.location-bar-address {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

/* === 12. Footer === */
.footer {
  background: var(--dark);
  padding: clamp(3rem, 5vw, 4.5rem) var(--px) 2rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo-mark {
  border-color: rgba(255,255,255,0.15);
  background: transparent;
}

.footer-logo-mark .logo-mark-letter {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}

.footer-logo-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer-logo-tagline {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.25);
  font-style: italic;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
  max-width: 28ch;
  margin-bottom: 1.25rem;
}

.footer-ea-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col-links { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-col-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  line-height: 1.5;
}

.footer-col-links a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.2); }

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.2); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* === 13. Utilities === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.hero > * { animation: fadeUp 0.7s var(--ease) both; }
.hero .hero-tag   { animation-delay: 0s; }
.hero h1          { animation-delay: 0.08s; }
.hero .hero-sub   { animation-delay: 0.14s; }
.hero .hero-actions { animation-delay: 0.2s; }
.hero .hero-stats { animation-delay: 0.28s; }

.page-hero-inner h1 { animation: fadeUp 0.7s 0.05s var(--ease) both; }
.page-hero-inner .section-tag { animation: fadeUp 0.7s 0s var(--ease) both; }
.page-hero-inner p  { animation: fadeUp 0.7s 0.12s var(--ease) both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* === 14. Responsive === */
@media (max-width: 1024px) {
  .split-inner { grid-template-columns: 1fr; gap: 3rem; }
  .split-visual { order: -1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-item { grid-template-columns: 60px 1fr; }
  .svc-item > .svc-body { grid-column: 2; }
  .about-hero { grid-template-columns: 1fr; min-height: auto; }
  .about-hero-text { border-right: none; border-bottom: 1px solid var(--rule); }
  .about-hero-visual { min-height: 380px; }
  .about-detail-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-body { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .logo-tagline { display: none; }
  .section-header { grid-template-columns: 1fr; }
  .section-lead { text-align: left; }
  .services-grid { grid-template-columns: 1fr; }
  .ea-strip-inner { flex-direction: column; align-items: flex-start; }
  .split-visual-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .deadline-bar { gap: 0.5rem; flex-direction: column; text-align: center; }
  .deadline-sep { display: none; }
}

@media (max-width: 540px) {
  .hero-stats { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--rule); }
  .hero-stat:last-child { border-bottom: none; }
  .svc-item { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}
