/* ===========================
   CARLINA HOME REMODELING
   Premium Design System
   =========================== */

:root {
  --bg: #faf7f2;
  --bg-2: #f3ede3;
  --surface: #ffffff;
  --ink: #0f1b2d;
  --ink-2: #3a4558;
  --muted: #6b7280;
  --line: #e8e2d7;

  --accent: #0d4a3a;
  --accent-2: #d97706;
  --gold: #b45309;
  --rose: #c2410c;

  --grad-primary: linear-gradient(135deg, #0d4a3a 0%, #1e6b55 50%, #d97706 100%);
  --grad-hero: linear-gradient(135deg, #faf7f2 0%, #f3ede3 40%, #fef3c7 100%);
  --grad-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  --grad-deep: linear-gradient(135deg, #0f1b2d 0%, #0d4a3a 100%);

  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.04), 0 1px 3px rgba(15, 27, 45, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(15, 27, 45, 0.08), 0 8px 10px -6px rgba(15, 27, 45, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(15, 27, 45, 0.18);
  --shadow-glow: 0 10px 40px -10px rgba(217, 119, 6, 0.5);

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ============ FLOATING BACKGROUND ORBS ============ */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
  animation: floatOrb 20s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: #fef3c7; top: -10%; left: -10%; }
.orb-2 { width: 400px; height: 400px; background: #dcfce7; top: 40%; right: -5%; animation-delay: -5s; }
.orb-3 { width: 350px; height: 350px; background: #fde68a; bottom: 10%; left: 20%; animation-delay: -10s; }

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--ink-2); }

a { color: var(--accent); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--gold); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ============ NAVIGATION ============ */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 24px;
  transition: all 0.3s ease;
}

.navbar {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
}

.navbar.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-sm);
}

.nav-wrap.scrolled .navbar {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  padding: 10px 28px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  color: var(--gold);
  font-size: 1.3rem;
  animation: rotate 8s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.logo-accent { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-gold);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

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

.glow-btn {
  box-shadow: 0 0 0 0 rgba(13, 74, 58, 0.4);
}
.glow-btn:hover {
  box-shadow: 0 0 30px 5px rgba(217, 119, 6, 0.35);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(217, 119, 6, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(13, 74, 58, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner {
  max-width: 920px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.8s ease-out;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(217, 119, 6, 0); }
}

.hero-h1 {
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease-out 0.1s both;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.8s ease-out 0.3s both;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease-out 0.4s both;
}

.highlight-card {
  padding: 24px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}
.hl-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.highlight-card h4 { margin-bottom: 4px; }
.highlight-card p { font-size: 0.85rem; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.5s both;
}
.stat-pill {
  padding: 10px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
}
.stat-pill .counter { color: var(--accent-2); margin-right: 4px; }

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

/* ============ SECTIONS ============ */
section { padding: 100px 0; position: relative; }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-head .tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--gold);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; }

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

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

.service-feats {
  list-style: none;
  margin-bottom: 20px;
}
.service-feats li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-feats li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.service-cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}
.service-cta:hover { color: var(--gold); gap: 12px; }

/* ============ STATS ============ */
.stats-section {
  background: var(--grad-deep);
  color: #fff;
  border-radius: 48px;
  margin: 0 24px;
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-box {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
}

/* ============ PROCESS ============ */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}
.timeline-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-md);
}

.timeline-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-step p { font-size: 0.85rem; }

.timeline-connector {
  display: none;
}

/* ============ PORTFOLIO ============ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.port-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s ease;
}
.port-card:hover { transform: scale(1.02); }

.port-img {
  width: 100%; height: 100%;
  position: relative;
}

.abstract-1 {
  background:
    linear-gradient(135deg, #0d4a3a 0%, #1e6b55 40%, #d97706 100%);
}
.abstract-1::before {
  content: '';
  position: absolute;
  top: 20%; left: 20%;
  width: 60%; height: 60%;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  filter: blur(30px);
}
.abstract-1::after {
  content: '';
  position: absolute;
  bottom: 10%; right: 10%;
  width: 40%; height: 40%;
  background: rgba(251, 191, 36, 0.3);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.abstract-2 {
  background: linear-gradient(160deg, #1e293b 0%, #475569 60%, #cbd5e1 100%);
}
.abstract-2::before {
  content: '';
  position: absolute;
  top: 30%; left: 10%;
  width: 80%; height: 40%;
  background: linear-gradient(90deg, rgba(217,119,6,0.4), transparent);
  filter: blur(20px);
}

.abstract-3 {
  background: linear-gradient(200deg, #0f1b2d 0%, #0d4a3a 100%);
}
.abstract-3::before {
  content: '';
  position: absolute;
  top: 10%; right: 10%;
  width: 50%; height: 50%;
  background: radial-gradient(circle, #d97706 0%, transparent 70%);
  filter: blur(40px);
}
.abstract-3::after {
  content: '';
  position: absolute;
  bottom: 20%; left: 20%;
  width: 30%; height: 30%;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}

.abstract-4 {
  background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #fbbf24 100%);
}
.abstract-4::before {
  content: '';
  position: absolute;
  top: 20%; left: 30%;
  width: 40%; height: 60%;
  background: rgba(255,255,255,0.2);
  border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
  filter: blur(20px);
}

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,27,45,0.95) 0%, rgba(15,27,45,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}
.port-card:hover .port-overlay { opacity: 1; }
.port-overlay h4 { color: #fff; margin-bottom: 4px; }
.port-overlay p { color: rgba(255,255,255,0.85); font-size: 0.85rem; }

/* ============ ARTICLE ============ */
.article-section {
  background: var(--bg-2);
}

.article-container {
  max-width: 860px;
}

.prose {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.article-meta {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.meta-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--grad-gold);
  color: #fff;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.article-meta h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
  line-height: 1.25;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.prose h2 {
  margin-top: 48px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  position: relative;
}
.prose h2::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 60px; height: 3px;
  background: var(--grad-primary);
}
.prose h2:first-of-type { margin-top: 0; border-top: none; }
.prose h2:first-of-type::before { display: none; }

.prose h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 1.2rem;
}

.prose p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.prose p.lead {
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.75;
}

.prose a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px dashed var(--gold);
}
.prose a:hover { color: var(--gold); border-bottom-style: solid; }

.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.prose li {
  margin-bottom: 8px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* Callouts & Boxes */
.callout, .warning-box, .tip-box {
  padding: 24px 28px;
  border-radius: var(--radius);
  margin: 28px 0;
  border-left: 4px solid;
}

.callout.info {
  background: rgba(13, 74, 58, 0.05);
  border-left-color: var(--accent);
}
.callout-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.warning-box {
  background: rgba(194, 65, 12, 0.08);
  border-left-color: var(--rose);
  color: var(--ink-2);
}
.warning-box strong { color: var(--rose); }

.tip-box {
  background: rgba(217, 119, 6, 0.08);
  border-left-color: var(--gold);
}
.tip-box strong { color: var(--gold); }

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
thead {
  background: var(--ink);
  color: #fff;
}
th, td {
  padding: 14px 20px;
  text-align: left;
}
th { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
tbody tr {
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}
tbody tr:hover { background: var(--bg-2); }

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.benefit {
  padding: 20px;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.benefit h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}
.benefit p { font-size: 0.9rem; margin: 0; }

/* Checklist */
.checklist {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}
.check-item {
  padding: 10px 0;
  font-size: 0.98rem;
  border-bottom: 1px dashed var(--line);
}
.check-item:last-child { border-bottom: none; }

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: var(--gold); }
.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
}
.faq-q span {
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-q span { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-a {
  max-height: 300px;
  padding: 0 26px 22px;
}
.faq-a p { font-size: 0.95rem; line-height: 1.7; }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--bg-2); }

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.test-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  transition: all 0.4s ease;
}
.test-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.test-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.test-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--ink-2);
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.test-initials {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.test-author strong { display: block; font-size: 0.95rem; color: var(--ink); }
.test-author span { font-size: 0.82rem; color: var(--muted); }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.contact-info, .contact-form {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: var(--shadow-md);
}

.contact-info h3, .contact-form h3 {
  margin-bottom: 28px;
  font-size: 1.5rem;
}

.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-of-type { border-bottom: none; }

.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
}

.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.info-row a, .info-row span {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}
.info-row a:hover { color: var(--accent); }

.contact-ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Form */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 74, 58, 0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }

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

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
  margin-top: 60px;
}

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

.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo-accent { color: var(--accent-2); }
.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.socials a:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.footer-col ul a { color: rgba(255,255,255,0.7); }
.footer-col ul a:hover { color: var(--accent-2); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a { color: rgba(255,255,255,0.6); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 80px; left: 16px; right: 16px;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-highlights { grid-template-columns: 1fr; }
  .timeline {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prose { padding: 40px 28px; }
  section { padding: 70px 0; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: center; }
  .hero-stats .stat-pill { width: 100%; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-section { border-radius: 24px; margin: 0 12px; padding: 50px 0; }
  .stat-number { font-size: 2.2rem; }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}