/* ============================================================
   FORTE WEB DESIGN — Main Stylesheet
   ============================================================
   Table of Contents:
   1.  Tokens / Variables
   2.  Base & Typography
   3.  Layout Utilities
   4.  Buttons
   5.  Navigation
   6.  Hero
   7.  Section: Trust Bar
   8.  Section: Services Cards
   9.  Section: Process
   10. Section: Case Studies / Portfolio Preview
   11. Section: Testimonials
   12. Section: Guarantees
   13. Section: CTA Strip
   14. Footer
   15. Page Hero (inner pages)
   16. About Page
   17. Service Pages
   18. Portfolio Page
   19. Contact Page
   20. FAQ Page
   21. Blog Page
   22. Animations
   23. Responsive
   ============================================================ */

/* ── 1. Tokens ─────────────────────────────────────────────── */
:root {
  /* Colours */
  --navy:       #1A1A2E;
  --navy-mid:   #16213E;
  --navy-light: #0F3460;
  --accent:     #E85D26;      /* CTA orange */
  --accent-h:   #CF4E1A;      /* hover */
  --light:      #F5F7FA;
  --white:      #FFFFFF;
  --text:       #1A1A2E;
  --muted:      #6B7280;
  --border:     #E5E7EB;

  /* Typography */
  --font:       'Inter', system-ui, sans-serif;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;

  /* Spacing */
  --section-y:  90px;
  --container:  1160px;
  --gap:        32px;

  /* Radius */
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;

  /* Shadow */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);

  /* Transition */
  --ease:       0.22s ease;
}

/* ── 2. Base & Typography ───────────────────────────────────── */
body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: var(--fw-bold);
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { color: var(--muted); line-height: 1.75; }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 640px;
}

strong { font-weight: var(--fw-semi); color: var(--text); }

/* ── 3. Layout Utilities ────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: var(--section-y); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: var(--fw-semi);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header p {
  margin-top: 16px;
}

.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap { gap: 24px; }

.bg-light { background: var(--light); }
.bg-navy  { background: var(--navy); }
.bg-navy-mid { background: var(--navy-mid); }

/* ── 4. Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: var(--fw-semi);
  transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,93,38,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-inline: 0;
  font-weight: var(--fw-semi);
}
.btn-ghost:hover { gap: 12px; }
.btn-ghost svg { transition: transform var(--ease); }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ── 5. Navigation ──────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--ease), box-shadow var(--ease);
  padding-block: 20px;
}

#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  padding-block: 14px;
}

#navbar.scrolled .nav-logo { color: var(--navy); }
#navbar.scrolled .nav-links a { color: var(--text); }
#navbar.scrolled .nav-links a:hover { color: var(--accent); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  letter-spacing: -.02em;
  transition: color var(--ease);
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.88);
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }
#navbar.scrolled .nav-links a:hover { background: var(--light); }

.nav-links .has-dropdown { position: relative; }

.nav-links .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  vertical-align: middle;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--ease), transform var(--ease);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 14px !important;
  font-size: .875rem !important;
  color: var(--text) !important;
  border-radius: var(--radius-sm);
  background: transparent !important;
}

.dropdown a:hover {
  background: var(--light) !important;
  color: var(--navy) !important;
}

.nav-cta { margin-left: 8px; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
#navbar.scrolled .nav-hamburger span { background: var(--navy); }

/* ── 6. Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232,93,38,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255,255,255,.04) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: var(--fw-semi);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,93,38,.12);
  border: 1px solid rgba(232,93,38,.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lead { color: rgba(255,255,255,.72); margin-bottom: 36px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero-stat { text-align: center; }
.hero-stat .num {
  display: block;
  font-size: 1.6rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}

.hero-visual {
  position: relative;
}

.hero-browser {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.1);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
}

.hero-browser-bar {
  background: #F0F0F0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hero-browser-dot:nth-child(1) { background: #FF5F57; }
.hero-browser-dot:nth-child(2) { background: #FFBD2E; }
.hero-browser-dot:nth-child(3) { background: #28C840; }

.hero-browser-url {
  flex: 1;
  background: var(--white);
  border-radius: 4px;
  height: 22px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: .7rem;
  color: var(--muted);
}

.hero-browser-content {
  aspect-ratio: 16/10;
  background: linear-gradient(160deg, var(--light) 0%, #E8EDF5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-mockup-lines { width: 100%; }
.mockup-line {
  height: 10px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 10px;
}
.mockup-line.short { width: 55%; }
.mockup-line.med   { width: 75%; }
.mockup-line.accent { background: var(--accent); width: 35%; }

/* ── 7. Trust Bar ───────────────────────────────────────────── */
.trust-bar {
  padding-block: 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: var(--fw-medium);
  color: var(--text);
}

.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ── 8. Services Cards ──────────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(232,93,38,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: .9rem; margin-bottom: 20px; }

/* ── 9. Process ─────────────────────────────────────────────── */
.process-section { background: var(--navy); }
.process-section h2, .process-section .section-label { color: var(--white); }
.process-section .lead { color: rgba(255,255,255,.6); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2px;
  margin-top: 56px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step {
  background: var(--navy);
  padding: 40px 36px;
  position: relative;
  transition: background var(--ease);
}
.process-step:hover { background: var(--navy-mid); }

.step-number {
  font-size: 3rem;
  font-weight: var(--fw-bold);
  color: rgba(255,255,255,.08);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.process-step h3 { color: var(--white); margin-bottom: 10px; }
.process-step p  { color: rgba(255,255,255,.55); font-size: .875rem; }

/* ── 10. Case Studies Preview ───────────────────────────────── */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: .72rem;
  font-weight: var(--fw-semi);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
}

.case-card-body { padding: 28px; }
.case-card-body h3 { margin-bottom: 8px; }
.case-card-body p { font-size: .875rem; margin-bottom: 20px; }

.case-metrics {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.metric .val {
  display: block;
  font-size: 1.3rem;
  font-weight: var(--fw-bold);
  color: var(--accent);
}
.metric .key {
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── 11. Testimonials ───────────────────────────────────────── */
.testimonials-section { background: var(--light); }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; }

.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  color: var(--white);
  font-size: .875rem;
  flex-shrink: 0;
}
.author-name { font-weight: var(--fw-semi); font-size: .9rem; color: var(--text); }
.author-biz  { font-size: .8rem; color: var(--muted); }

/* ── 12. Guarantees ─────────────────────────────────────────── */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.guarantee-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: rgba(232,93,38,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}

.guarantee-item h4 { font-size: .9rem; margin-bottom: 2px; }
.guarantee-item p  { font-size: .8rem; }

/* ── 13. CTA Strip ──────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding-block: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(232,93,38,.15) 0%, transparent 70%);
}

.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { color: var(--white); margin-bottom: 16px; }
.cta-strip p  { color: rgba(255,255,255,.65); margin-bottom: 36px; }

/* ── 14. Footer ─────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding-block: 64px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p { font-size: .875rem; margin-top: 12px; max-width: 280px; }
.footer-logo { font-size: 1.15rem; font-weight: var(--fw-bold); color: var(--white); }
.footer-logo span { color: var(--accent); }

.footer-heading {
  font-size: .75rem;
  font-weight: var(--fw-semi);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--white); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  margin-bottom: 12px;
  color: rgba(255,255,255,.55);
}
.footer-contact svg { color: var(--accent); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}

/* ── 15. Page Hero (inner pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.65); max-width: 580px; margin-inline: auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.45); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: .4; }

/* ── 16. About Page ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  font-size: .875rem;
}

.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--accent);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge .num { font-size: 2rem; font-weight: var(--fw-bold); line-height: 1; }
.about-badge .lbl { font-size: .75rem; opacity: .85; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.value-item {
  background: var(--light);
  border-radius: var(--radius);
  padding: 20px;
}
.value-item h4 { font-size: .9rem; margin-bottom: 4px; }
.value-item p  { font-size: .8rem; }

/* ── 17. Service Pages ──────────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-sticky-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.sidebar-card h3 { margin-bottom: 16px; }

.include-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text);
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
}
.include-list li:last-child { border-bottom: none; }
.include-list svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ── 18. Portfolio Page ─────────────────────────────────────── */
.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: var(--fw-medium);
  border: 1.5px solid var(--border);
  color: var(--muted);
  transition: all var(--ease);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ── 19. Contact Page ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 8px; }
.contact-info p  { margin-bottom: 32px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(232,93,38,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-detail h4 { font-size: .875rem; margin-bottom: 2px; }
.contact-detail p  { font-size: .875rem; color: var(--muted); }
.contact-detail a  { color: var(--accent); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: var(--fw-medium);
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── 20. FAQ Page ───────────────────────────────────────────── */
.faq-list { max-width: 760px; margin-inline: auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  font-weight: var(--fw-semi);
  color: var(--text);
  background: transparent;
  transition: color var(--ease);
}
.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), transform var(--ease);
}

.faq-item.open .faq-icon {
  background: var(--accent);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner { padding-bottom: 20px; }
.faq-answer-inner p { font-size: .9rem; }

/* ── 21. Blog Page ──────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  font-size: .8rem;
}

.blog-card-body { padding: 28px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.blog-cat {
  color: var(--accent);
  font-weight: var(--fw-semi);
}

.blog-card-body h3 { margin-bottom: 10px; font-size: 1.05rem; }
.blog-card-body p  { font-size: .875rem; margin-bottom: 20px; }

/* ── 22. Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }

/* ── 23. Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  :root { --section-y: 64px; }

  .hero-grid         { grid-template-columns: 1fr; }
  .hero-visual       { display: none; }
  .hero              { min-height: auto; padding-block: 120px 72px; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .about-grid        { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    padding: 80px 32px 40px;
    gap: 4px;
    z-index: 999;
    align-items: flex-start;
  }

  .nav-links.open a {
    font-size: 1.2rem;
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    width: 100%;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .hero-social-proof { flex-wrap: wrap; }
  .about-values { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}
