/* ==========================================================================
   PageOneBoost — Design system & styles
   ========================================================================== */

:root {
  --primary-dark: #1a1650;
  --primary: #4338ca;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --accent-warm: #f472b6;

  --bg: #ffffff;
  --bg-alt: #f7f7fc;
  --bg-dark: #14113a;

  --text: #1e1b3a;
  --text-muted: #5b5876;
  --text-on-dark: #eceafc;
  --text-on-dark-muted: #b4affd;

  --border: #e6e4f2;

  --gradient-main: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--secondary) 100%);
  --gradient-accent: linear-gradient(120deg, var(--accent) 0%, var(--primary) 100%);

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

  --shadow-sm: 0 2px 8px rgba(26, 22, 80, 0.06);
  --shadow: 0 12px 32px rgba(26, 22, 80, 0.1);
  --shadow-lg: 0 24px 64px rgba(26, 22, 80, 0.16);

  --container: 1160px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; }

p { margin: 0 0 1em; color: var(--text-muted); }

ul { padding: 0; margin: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(67, 56, 202, 0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow--light {
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.12);
}

h2.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 640px;
}

.section-lead {
  max-width: 620px;
  font-size: 1.05rem;
}

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

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center h2, .section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.28);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(6, 182, 212, 0.36); }

.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-dark {
  background: var(--primary-dark);
  color: #fff;
}

.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(26, 22, 80, 0.28); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header.is-scrolled .logo,
body:not(.is-dark-hero) .site-header .logo { color: var(--text); }

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.logo span { background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

body:not(.is-dark-hero) .site-header .nav-links a,
.site-header.is-scrolled .nav-links a { color: var(--text-muted); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
body:not(.is-dark-hero) .site-header .nav-links a:hover,
body:not(.is-dark-hero) .site-header .nav-links a.active,
.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a.active { color: var(--primary); }

.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

body:not(.is-dark-hero) .nav-toggle,
.site-header.is-scrolled .nav-toggle { background: rgba(67, 56, 202, 0.08); }

.nav-toggle svg { width: 22px; height: 22px; stroke: var(--text-on-dark); }
body:not(.is-dark-hero) .nav-toggle svg,
.site-header.is-scrolled .nav-toggle svg { stroke: var(--text); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 190px 0 140px;
  background: var(--gradient-main);
  overflow: hidden;
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
}

.hero::before {
  width: 480px; height: 480px;
  background: var(--accent);
  top: -180px; right: -120px;
  filter: blur(90px);
}

.hero::after {
  width: 420px; height: 420px;
  background: var(--accent-warm);
  bottom: -200px; left: -140px;
  filter: blur(100px);
  opacity: 0.25;
}

.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  color: #fff;
  max-width: 620px;
}

.hero h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: var(--text-on-dark-muted);
  font-size: 1.12rem;
  max-width: 520px;
  margin-bottom: 32px;
}

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

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }

.hero-stats div strong { display: block; font-size: 1.7rem; color: #fff; }
.hero-stats div span { font-size: 0.85rem; color: var(--text-on-dark-muted); }

.hero-visual {
  position: relative;
  perspective: 1400px;
}

.hero-visual .tilt-frame {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 18px;
  backdrop-filter: blur(6px);
  transform: rotateY(-10deg) rotateX(6deg) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  box-shadow: 0 40px 80px -20px rgba(6, 4, 40, 0.55);
}

.hero-visual .browser-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 0 6px;
}

.hero-visual .browser-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hero-visual .photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.hero-visual .photo-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transform: translateZ(30px) scale(1.02);
}

.hero-badge {
  position: absolute;
  bottom: -22px;
  right: 8px;
  background: #fff;
  color: var(--text);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateZ(70px);
}

.hero-glow {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--gradient-accent);
  filter: blur(70px);
  opacity: 0.5;
  top: -40px;
  left: -40px;
  z-index: -1;
}

.hero-badge .dot {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}

/* ---------- Logos / trust strip ---------- */

.trust-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.trust-strip p { margin: 0; font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* ---------- Cards / services ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0);
  will-change: transform;
}

.card:hover { box-shadow: var(--shadow); border-color: transparent; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 22px;
  font-size: 1.3rem;
}

.card h3 { font-size: 1.2rem; }

.card ul { margin-top: 14px; }

.card ul li {
  padding-left: 22px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--gradient-accent);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 18px;
  font-size: 0.9rem;
}

.card-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

.bg-alt { background: var(--bg-alt); }

/* ---------- Process ---------- */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-item { position: relative; padding-top: 8px; }

.process-item .num {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  display: block;
}

.process-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-item p { font-size: 0.9rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--gradient-main);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  right: -80px; top: -100px;
}

.cta-band h2 { color: #fff; margin-bottom: 8px; max-width: 460px; position: relative; z-index: 1; }
.cta-band p { color: var(--text-on-dark-muted); margin-bottom: 0; position: relative; z-index: 1; }
.cta-band .actions { position: relative; z-index: 1; }

/* ---------- Testimonial / value strip ---------- */

.value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.value-row .value {
  padding: 28px 20px;
}

.value-row strong { display: block; font-size: 2rem; color: var(--primary); margin-bottom: 6px; }
.value-row span { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--gradient-main);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  top: -160px; right: -100px;
}

.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  color: var(--text-on-dark-muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: #fff; }

.page-hero h1 { color: #fff; max-width: 640px; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: var(--text-on-dark-muted); max-width: 560px; font-size: 1.05rem; margin-bottom: 0; }

/* ---------- Service detail blocks ---------- */

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child { border-bottom: none; }

.service-block.reverse .service-visual { order: 2; }

.service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 22px;
}

.service-block h2 { font-size: 1.7rem; }

.service-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.service-visual .photo-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  box-shadow: 0 30px 60px -18px rgba(26, 22, 80, 0.35);
}

.service-block.reverse .photo-frame { transform: perspective(1200px) rotateY(8deg) rotateX(4deg); }

.service-visual .photo-frame img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.service-visual .photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(67, 56, 202, 0.15), rgba(20, 17, 58, 0.35));
}

.service-visual .photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transform: translateZ(40px);
}

.service-visual .photo-badge .sw { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-accent); }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text);
}

.checklist svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 420px;
  padding: 0 28px 60px 0;
}

.about-visual .about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-4deg);
}

.about-visual .about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual .quote-card {
  position: absolute;
  left: 32px;
  bottom: 0;
  right: -28px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-lg);
}

.about-visual .quote-mark { font-size: 2.4rem; opacity: 0.5; line-height: 1; margin-bottom: 8px; }
.about-visual .quote-card p { color: var(--text-on-dark-muted); font-size: 1rem; margin-bottom: 0; }
.about-visual .signature { color: #fff; font-weight: 700; margin-top: 16px; }

.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.mini-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.mini-card .card-icon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; margin-bottom: 16px; }
.mini-card h3 { font-size: 1.05rem; }
.mini-card p { font-size: 0.9rem; margin: 0; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--gradient-main);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
}

.contact-info-card h3 { color: #fff; font-size: 1.3rem; }
.contact-info-card p { color: var(--text-on-dark-muted); }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 24px 0;
}

.contact-detail .ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-detail .ic svg { width: 20px; height: 20px; color: #fff; }

.contact-detail strong { display: block; color: #fff; font-size: 0.95rem; margin-bottom: 2px; }
.contact-detail span { font-size: 0.88rem; color: var(--text-on-dark-muted); }

.map-embed {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.map-embed iframe { width: 100%; height: 200px; border: none; display: block; filter: grayscale(0.2) contrast(1.05); }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}

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

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

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

.field-error {
  display: none;
  color: #e11d48;
  font-size: 0.8rem;
  margin-top: 6px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #e11d48; }

.field.has-error .field-error { display: block; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.form-status.show { display: block; }
.form-status.success { background: rgba(6, 182, 212, 0.12); color: #0e7490; }
.form-status.error { background: rgba(225, 29, 72, 0.1); color: #be123c; }

/* ---------- FAQ ---------- */

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

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .chev {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] summary .chev { transform: rotate(45deg); background: var(--gradient-accent); color: #fff; }

.faq-item summary .chev svg { width: 12px; height: 12px; }

.faq-item p { margin-top: 14px; font-size: 0.94rem; }

/* ---------- Legal page ---------- */

.legal-content h2 { font-size: 1.3rem; margin-top: 44px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 0.95rem; }
.legal-content ul { margin: 12px 0; }
.legal-content li { padding-left: 20px; position: relative; margin-bottom: 8px; }
.legal-content li::before { content: '—'; position: absolute; left: 0; color: var(--primary); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 32px;
}

.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.legal-table td:first-child { color: var(--text-muted); font-weight: 500; width: 40%; }
.legal-table td:last-child { color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid .logo { margin-bottom: 16px; color: #fff; }
.footer-grid p { font-size: 0.9rem; max-width: 280px; }

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col ul li a:hover { color: #fff; }

.footer-col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a:hover { color: #fff; }

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 150;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ----------
   Visible by default so content never depends on JS running.
   JS adds .pre-reveal just before observing, then removes it on intersect. */

.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.pre-reveal { opacity: 0; transform: translateY(24px); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .about-visual { padding: 0 0 60px; }
  .about-visual .quote-card { left: 16px; right: 0; }
  .grid-3, .value-row, .process-list, .value-cards { grid-template-columns: repeat(2, 1fr); }
  .service-block, .service-block.reverse { grid-template-columns: 1fr; }
  .service-block.reverse .service-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 64px 0; }
  .hero { padding: 150px 0 90px; }
  .page-hero { padding: 130px 0 60px; }
  .grid-3, .grid-2, .value-row, .process-list, .value-cards, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 28px; text-align: center; justify-content: center; }
  .cta-band .actions { width: 100%; display: flex; justify-content: center; }
  .form-card { padding: 28px 22px; }
  .contact-info-card { padding: 32px 24px; }
  .hero-visual .tilt-frame,
  .service-visual .photo-frame,
  .service-block.reverse .photo-frame,
  .about-visual .about-photo { transform: none; }
  .about-visual .quote-card { position: static; margin-top: -40px; margin-right: 20px; }

  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .nav-links.mobile-open a { color: var(--text); }
}
