/* ==========================================================================
   Brownweb Agency — Design System
   Palette: espresso black + roasted brown + warm caramel, cream for contrast
   Type: Space Grotesk (display) / Inter (body) / JetBrains Mono (labels)
   Glass: used only on nav, hero panel, dark-section cards, CTA & modal —
   never as a whole-page treatment.
   ========================================================================== */

:root {
  /* Core palette */
  --void: #0d0906;
  --espresso: #17110c;
  --espresso-2: #1f1712;
  --panel: #241a13;
  --coffee: #6b4226;
  --coffee-strong: #4d2f1a;
  --coffee-mid: #9c6a3e;
  --caramel: #d3985c;
  --caramel-soft: rgba(211, 152, 92, 0.16);
  --cream: #f4ece1;
  --cream-2: #ece0cf;
  --paper: #fbf7f0;
  --ink: #1c140d;
  --ink-soft: #5c4c3e;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(28, 20, 13, 0.1);

  /* Glass tokens — reserved for a small set of components */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-strong: rgba(255, 255, 255, 0.11);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-nav: rgba(13, 9, 6, 0.55);
  --glass-blur: blur(18px);
  --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--espresso);
  color: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--caramel);
  display: inline-block;
}

::selection { background: var(--coffee-mid); color: var(--cream); }

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

/* ==========================================================================
   Layout sections — mostly SOLID color, no glass, for rhythm/contrast
   ========================================================================== */

section { padding: 6.5rem 0; position: relative; }

.section-dark   { background: var(--espresso); color: var(--cream); }
.section-panel  { background: var(--panel); color: var(--cream); }
.section-coffee { background: linear-gradient(160deg, var(--coffee-strong) 0%, var(--coffee) 100%); color: var(--cream); }
.section-cream  { background: var(--cream); color: var(--ink); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.25rem; }
.section-head.left { text-align: left; margin: 0 0 3.25rem; }

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section-dark .section-subtitle,
.section-panel .section-subtitle,
.section-coffee .section-subtitle {
  color: rgba(244, 236, 225, 0.7);
}

/* ==========================================================================
   Liquid glass — the ONE recurring texture, used sparingly & deliberately
   ========================================================================== */

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Ambient color blobs that glass panels sit on top of, so the blur has
   something to refract instead of flat color. Scoped to hero + CTA only. */
.blob-field { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.blob-1 { width: 460px; height: 460px; background: var(--coffee-mid); top: -120px; right: -80px; }
.blob-2 { width: 360px; height: 360px; background: var(--caramel); bottom: -100px; right: 18%; opacity: 0.35; }
.blob-3 { width: 300px; height: 300px; background: var(--coffee); top: 30%; left: -100px; opacity: 0.5; }

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 1.1rem 0;
  background: var(--glass-nav);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}

.navbar.scrolled { padding: 0.65rem 0; background: rgba(13, 9, 6, 0.82); }

.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--caramel); display: inline-block; }

.nav-links { display: flex; align-items: center; gap: 2.1rem; list-style: none; }

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(244, 236, 225, 0.72);
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--caramel);
  transition: width 0.25s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--cream); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--cream);
  align-items: center; justify-content: center;
  font-size: 1.1rem;
}

@media (max-width: 991px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 1rem; right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(13, 9, 6, 0.94);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 0.5rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  }
  .nav-links.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .nav-link { width: 100%; padding: 0.85rem 0.9rem; }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--caramel); }
  .nav-cta { margin: 0.4rem; width: calc(100% - 0.8rem); text-align: center; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.85rem 1.7rem;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coffee-mid), var(--coffee));
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(107, 66, 38, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(107, 66, 38, 0.45); }

.btn-outline {
  background: transparent;
  border-color: var(--coffee-mid);
  color: var(--ink);
}
.section-dark .btn-outline, .section-panel .btn-outline, .section-coffee .btn-outline { color: var(--cream); border-color: var(--glass-border); }
.btn-outline:hover { border-color: var(--caramel); transform: translateY(-3px); }

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border);
  color: var(--cream);
}
.btn-glass:hover { background: var(--caramel-soft); border-color: var(--caramel); transform: translateY(-3px); }

.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Grid helpers (lightweight, replaces bulk of bootstrap grid look)
   ========================================================================== */

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
@media (max-width: 991px) {
  .split { grid-template-columns: 1fr; }
}

.split-wide { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) {
  .split-wide { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  background: var(--void);
  overflow: hidden;
}

.hero-eyebrow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.4rem; flex-wrap: wrap; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  margin-bottom: 1.35rem;
}
.hero h1 em { font-style: normal; color: var(--caramel); }

.hero p.lead {
  font-size: 1.12rem;
  color: rgba(244, 236, 225, 0.72);
  max-width: 540px;
  margin-bottom: 2.1rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-meta { display: flex; gap: 2.6rem; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; padding-right: 0.4rem; }
.hero-meta strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; color: var(--cream); }
.hero-meta span { font-size: 0.8rem; color: rgba(244, 236, 225, 0.55); white-space: nowrap; }

/* Signature liquid-glass panel */
.hero-visual { position: relative; height: 460px; }

.hero-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: absolute;
}

.hero-card--main {
  width: 84%;
  top: 6%;
  left: 8%;
  height: 78%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card--float {
  width: 62%;
  padding: 1.1rem 1.3rem;
  bottom: 2%;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--caramel-soft);
  color: var(--caramel);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hero-card--main .tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.hero-card--main .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: rgba(244, 236, 225, 0.85);
}

.hero-card--main .status { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(244,236,225,0.65); }
.hero-card--main .status .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #7cd992;
  box-shadow: 0 0 0 0 rgba(124, 217, 146, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 217, 146, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(124, 217, 146, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 217, 146, 0); }
}

@media (max-width: 991px) {
  .hero-visual { height: 340px; margin-top: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-card--float { animation: none; }
  .hero-card--main .status .pulse { animation: none; }
}

/* ==========================================================================
   Cards — services / about / testimonials
   ========================================================================== */

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2.1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.section-dark .card, .section-panel .card, .section-coffee .card { background: var(--panel); border: 1px solid var(--line); }

.card:hover { transform: translateY(-6px); }

.service-card {
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-8px); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--caramel-soft);
  color: var(--caramel);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.4rem;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.service-card p { color: rgba(244, 236, 225, 0.68); margin-bottom: 1.3rem; }
.service-features { list-style: none; margin-bottom: 1.6rem; flex-grow: 1; }
.service-features li {
  font-size: 0.92rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
  color: rgba(244, 236, 225, 0.75);
  display: flex; align-items: center; gap: 0.6rem;
}
.service-features li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--caramel);
  flex-shrink: 0;
}

/* About */
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-media img { border-radius: var(--radius-lg); }
.about-stats { display: flex; gap: 1.2rem; margin: 1.6rem 0 1.8rem; }
.about-stats .stat-chip strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; color: var(--coffee-strong); }
.about-stats .stat-chip span { font-size: 0.82rem; color: var(--ink-soft); }
.section-dark .about-stats .stat-chip strong, .section-panel .about-stats .stat-chip strong { color: var(--caramel); }

/* Stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 640px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-block strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 2.4rem; color: var(--caramel); }
.stat-block span { font-size: 0.9rem; color: rgba(244, 236, 225, 0.6); }

/* Testimonials */
.testimonial-card { border-radius: var(--radius); padding: 2.2rem; height: 100%; }
.testimonial-text { font-size: 1rem; color: rgba(244, 236, 225, 0.85); margin-bottom: 1.6rem; position: relative; }
.testimonial-author { display: flex; align-items: center; gap: 0.9rem; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-info h5 { font-size: 0.98rem; margin-bottom: 0.15rem; }
.testimonial-info p { font-size: 0.82rem; color: rgba(244, 236, 225, 0.55); }

/* Portfolio preview / grid */
.work-item { border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.section-dark .work-item, .section-panel .work-item { background: var(--panel); border: 1px solid var(--line); }
.work-img { height: 230px; background-size: cover; background-position: center; position: relative; }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,9,6,0.85), rgba(13,9,6,0) 55%);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.work-item:hover .work-overlay { opacity: 1; }
.work-body { padding: 1.4rem 1.5rem 1.6rem; }
.work-body h4 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.work-body p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.section-dark .work-body p, .section-panel .work-body p { color: rgba(244,236,225,0.65); }
.tag-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: var(--caramel-soft);
  color: var(--coffee-strong);
}
.section-dark .tag-badge, .section-panel .tag-badge { color: var(--caramel); }

/* Filter buttons (portfolio page) */
.filter-row { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-bottom: 3rem; }
.filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: transparent;
  color: rgba(244, 236, 225, 0.65);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--caramel); color: var(--cream); }
.filter-btn.active { background: var(--caramel); border-color: var(--caramel); color: var(--void); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 991px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-item[hidden] { display: none; }

/* CTA */
.cta-panel {
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-panel h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.9rem; }
.cta-panel p { color: rgba(244, 236, 225, 0.72); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { margin-bottom: 1.35rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: rgba(244, 236, 225, 0.75);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 236, 225, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--caramel);
  background: rgba(255, 255, 255, 0.08);
}
.field select option { background: var(--espresso); color: var(--cream); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.form-panel { border-radius: var(--radius-lg); padding: 2.5rem; }

.contact-info-panel { border-radius: var(--radius-lg); padding: 2.5rem; height: 100%; }
.contact-row { display: flex; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: none; padding-top: 0; }
.contact-row .service-icon { margin-bottom: 0; flex-shrink: 0; width: 46px; height: 46px; font-size: 1.05rem; }
.contact-row h4 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.contact-row p { font-size: 0.88rem; color: rgba(244, 236, 225, 0.62); }
.contact-row a.link { font-size: 0.85rem; color: var(--caramel); font-weight: 600; }

.social-row { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
  color: var(--cream);
}
.social-row a:hover { background: var(--caramel); border-color: var(--caramel); color: var(--void); }

/* ==========================================================================
   Skills / experience / education / certifications (about.html)
   ========================================================================== */

.skill-item { margin-bottom: 1.25rem; }
.skill-name { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 0.5rem; }
.skill-name span:last-child { color: var(--caramel); font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; }
.skill-bar { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.skill-level { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--coffee-mid), var(--caramel)); }

.timeline-item { border-radius: var(--radius); padding: 1.9rem 2rem; height: 100%; }
.timeline-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--caramel);
  margin-bottom: 0.6rem;
  display: inline-block;
}
.timeline-item h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
.timeline-company { font-size: 0.88rem; color: rgba(244,236,225,0.55); margin-bottom: 0.8rem; }
.timeline-item p { font-size: 0.92rem; color: rgba(244, 236, 225, 0.68); }

.cert-item { border-radius: var(--radius); padding: 2rem; text-align: center; }
.cert-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--caramel-soft); color: var(--caramel); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin: 0 auto 1.1rem; }
.cert-item h4 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.cert-org { font-size: 0.82rem; color: var(--caramel); margin-bottom: 0.8rem; font-family: 'JetBrains Mono', monospace; }
.cert-item p { font-size: 0.88rem; color: rgba(244, 236, 225, 0.65); }

/* Process steps */
.process-step { text-align: center; padding: 1.5rem; }
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--caramel-soft);
  color: var(--caramel);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  border: 1px solid var(--glass-border);
}
.step-title { font-size: 1.1rem; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.9rem; color: rgba(244, 236, 225, 0.65); }

/* Pricing */
.pricing-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  background: var(--paper);
}
.pricing-card.popular { border: 1.5px solid var(--coffee-mid); position: relative; transform: scale(1.03); box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.pricing-card.popular::after {
  content: 'MOST POPULAR';
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  background: var(--coffee-mid);
  color: var(--cream);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}
.pricing-title { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.pricing-price { font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; color: var(--ink); margin-bottom: 0.2rem; }
.pricing-period { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.7rem; }
.pricing-features { list-style: none; flex-grow: 1; margin-bottom: 1.8rem; }
.pricing-features li { padding: 0.55rem 0; font-size: 0.9rem; border-top: 1px solid var(--line-soft); color: var(--ink-soft); display: flex; gap: 0.6rem; align-items: center; }
.pricing-features li::before { content: '\2713'; color: var(--coffee-mid); font-weight: 700; }

/* FAQ / accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--cream);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}
.faq-q .icon { transition: transform 0.3s var(--ease); color: var(--caramel); flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a p { padding-bottom: 1.4rem; color: rgba(244, 236, 225, 0.68); font-size: 0.95rem; max-width: 640px; }

/* Map */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; height: 100%; min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.3) contrast(1.05); }
.hours-list { list-style: none; margin: 1rem 0 1.6rem; }
.hours-list li { display: flex; justify-content: space-between; padding: 0.55rem 0; border-top: 1px solid var(--glass-border); font-size: 0.9rem; }
.hours-list li:first-child { border-top: none; }

/* Modal (custom, replaces bootstrap look) */
.pm-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(13, 9, 6, 0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.pm-overlay.open { opacity: 1; pointer-events: auto; }
.pm-dialog {
  width: 100%; max-width: 640px; max-height: 85vh; overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 2rem;
  transform: translateY(16px);
  transition: transform 0.3s var(--ease);
}
.pm-overlay.open .pm-dialog { transform: translateY(0); }
.pm-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.2rem; gap: 1rem; }
.pm-head h3 { font-size: 1.35rem; }
.pm-close { background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--cream); width: 34px; height: 34px; border-radius: 8px; cursor: pointer; flex-shrink: 0; }
.pm-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 1.4rem; border-radius: var(--radius-sm); overflow: hidden; }
.pm-gallery img { height: 130px; object-fit: cover; width: 100%; }
.pm-dialog h4 { font-size: 0.92rem; color: var(--caramel); margin: 1rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; font-family: 'JetBrains Mono', monospace; }
.pm-dialog ul { list-style: none; margin-bottom: 0.4rem; }
.pm-dialog ul li { font-size: 0.9rem; padding: 0.3rem 0; color: rgba(244,236,225,0.75); display: flex; gap: 0.5rem; }
.pm-dialog ul li::before { content: '\2013'; color: var(--caramel); }
.pm-dialog p { font-size: 0.9rem; color: rgba(244,236,225,0.75); }
.pm-foot { display: flex; gap: 0.8rem; margin-top: 1.6rem; flex-wrap: wrap; }

/* ==========================================================================
   Footer — solid, not glass
   ========================================================================== */

footer { background: var(--void); padding: 4.5rem 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h3 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(244, 236, 225, 0.6); max-width: 300px; }
.footer-col h5 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--caramel); margin-bottom: 1.1rem; font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; font-size: 0.9rem; }
.footer-col a { color: rgba(244, 236, 225, 0.65); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--caramel); }
.footer-col li i { color: var(--caramel); margin-right: 0.5rem; width: 14px; }
.copyright {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(244, 236, 225, 0.45);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.6rem; }
.max-w { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Page sub-hero (about/services/portfolio/contact) */
.page-hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  background: var(--void);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); margin-bottom: 1.1rem; }
.page-hero p.lead { font-size: 1.05rem; color: rgba(244, 236, 225, 0.7); max-width: 560px; margin-bottom: 1.8rem; }
.page-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }

@media (max-width: 576px) {
  section { padding: 4.5rem 0; }
  .hero, .page-hero { padding-top: 6rem; }
  .form-panel, .contact-info-panel, .cta-panel { padding: 1.8rem; }
}
