html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --gray: #6b7280;
  --gray-light: #f9fafb;
  --dark: #111827;
  --white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  padding: 0.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: block;
  flex-shrink: 0;
}

.logo-mark-img {
  height: 50px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-word {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--dark);
  text-transform: lowercase;
}

.logo-word .logo-line2 {
  padding-left: 1.5em;   /* nudge "digital" to the right */
  margin-top: 0.12em;    /* and below */
  color: var(--blue);
}

/* ── NAV TABS ── */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s;
}

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

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.nav-links a.nav-cta { color: var(--white); }
.nav-cta:hover { background: var(--blue-dark); color: var(--white); }
.nav-links a.nav-cta:hover { color: var(--white); }
.nav-links a.nav-cta.active::after { display: none; }

/* current page: darker fill with white text (distinct but readable) */
.nav-links a.nav-cta.active {
  background: var(--blue-dark);
  color: var(--white);
  border: 1.5px solid var(--blue-dark);
  padding: calc(0.5rem - 1.5px) calc(1.25rem - 1.5px);
}

.nav-links a.nav-cta.active:hover {
  background: var(--blue);
  color: var(--white);
}

@media (max-width: 720px) {
  nav { flex-direction: column; gap: 0.85rem; align-items: center; }
  .nav-links { gap: 1.1rem; justify-content: center; }
}

/* ── PAGE HEADER (inner pages) ── */
.page-head {
  position: relative;
  overflow: hidden;
  background: #1e3a8a;
  color: var(--white);
  text-align: center;
  padding: 3.5rem 2rem;
}

/* blurred background photo */
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?w=1600&q=80") center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.08);
  z-index: 0;
}

/* blue tint so the text stays readable */
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,138,0.82) 0%, rgba(37,99,235,0.74) 100%);
  z-index: 0;
}

.page-head > * { position: relative; z-index: 1; }

.page-head .hero-badge { margin-bottom: 1rem; }

.page-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.page-head p {
  font-size: 1.08rem;
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto;
}

/* ── CLICKABLE CARD (home quick links) ── */
a.card { text-decoration: none; color: inherit; display: block; }
a.card .card-go {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}
a.card:hover .card-go { text-decoration: underline; }

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  background: #1e3a8a;
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem 4rem;
}

/* blurred background photo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?w=1600&q=80") center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.08);
  z-index: 0;
}

/* blue tint so the text stays readable */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,58,138,0.82) 0%, rgba(37,99,235,0.74) 100%);
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 span { color: #93c5fd; }

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--white);
  color: var(--blue);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s;
}

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

/* ── SECTIONS ── */
section { padding: 4rem 2rem; }

.container { max-width: 1000px; margin: 0 auto; }

.section-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto 3rem;
}

/* ── SERVICES ── */
.services { background: var(--gray-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover { box-shadow: 0 8px 28px rgba(37,99,235,0.1); transform: translateY(-3px); }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { color: var(--gray); font-size: 0.95rem; }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.price-card:hover { box-shadow: 0 10px 30px rgba(37,99,235,0.12); transform: translateY(-4px); }
.price-card.featured { border: 2px solid var(--blue); box-shadow: 0 12px 34px rgba(37,99,235,0.18); }
.price-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; }
.price-tagline { color: var(--gray); font-size: 0.9rem; margin-bottom: 1.25rem; }
.price-amount { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.price-amount span { font-size: 0.95rem; font-weight: 600; color: var(--gray); }
.price-note { font-size: 0.8rem; color: var(--gray); margin-top: 0.4rem; }
.price-features { list-style: none; margin: 1.5rem 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; color: #374151; }
.price-features svg { flex-shrink: 0; margin-top: 3px; }
.price-cta {
  display: block;
  text-align: center;
  background: #111827;
  color: #fff;
  padding: 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.price-cta:hover { background: #000; transform: translateY(-2px); }
.price-card.featured .price-cta { background: var(--blue); }
.price-card.featured .price-cta:hover { background: var(--blue-dark); }
.pricing-disclaimer { text-align: center; color: var(--gray); font-size: 0.85rem; margin-top: 2.25rem; }
.local-pitch {
  max-width: 680px;
  margin: 2.5rem auto 0;
  background: var(--blue-light);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  text-align: center;
}
.local-pitch p { color: #1e3a8a; font-size: 1rem; line-height: 1.6; margin: 0; }
.local-pitch strong { color: var(--blue-dark); }

/* ── SECTION BACKGROUNDS ── */
/* clean, neutral light sections; white cards provide the contrast */
.glass-section { background: var(--gray-light); }

/* HOME quick-links: symmetrical 2×2 layout */
.quick-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
  gap: 1.5rem;
}

@media (max-width: 620px) {
  .quick-grid { grid-template-columns: 1fr; max-width: 360px; }
}

/* PHOTO-FX sections (home quick-links + services): hovering a card fills the
   WHOLE section with that card's photo, and the hovered card becomes a
   seamless lighter window onto the same image */
.photofx { position: relative; overflow: hidden; isolation: isolate; }

/* full-section photo layers — one per card. Each layer keeps its OWN image
   loaded at all times and only fades its opacity, so on exit the photo can
   genuinely linger ~0.5s and then fade (it never blanks instantly). LIGHT at
   the top keeps the heading readable, DARKER over the cards. */
.ql-photos {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ql-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  /* on the way OUT: hold the photo ~0.5s, then fade back to white */
  transition: opacity 0.45s ease 0.5s;
}
.photofx > .container { position: relative; z-index: 1; }

.ql-photo-1 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1517292987719-0369a794ec0f?w=1600&q=80"); }
.ql-photo-2 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1531403009284-440f080d1e12?w=1600&q=80"); }
.ql-photo-3 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1600&q=80"); }
.ql-photo-4 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1600&q=80"); }
.ql-photo-5 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1551434678-e076c223a692?w=1600&q=80"); }
.ql-photo-6 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1600&q=80"); }

/* EXAMPLES page: each sample card fills the section with its OWN photo */
.examples .ql-photo-1 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1509440159596-0249088772ff?w=1600&q=80"); }
.examples .ql-photo-2 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80"); }
.examples .ql-photo-3 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1516035069371-29a1b244cc32?w=1600&q=80"); }
.examples .ql-photo-4 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1600&q=80"); }
.examples .ql-photo-5 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1560066984-138dadb4c035?w=1600&q=80"); }
.examples .ql-photo-6 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600&q=80"); }

/* light up the matching photo when its example card is hovered */
.examples:has(.examples-grid .example-card:nth-child(1):hover) .ql-photo-1,
.examples:has(.examples-grid .example-card:nth-child(2):hover) .ql-photo-2,
.examples:has(.examples-grid .example-card:nth-child(3):hover) .ql-photo-3,
.examples:has(.examples-grid .example-card:nth-child(4):hover) .ql-photo-4,
.examples:has(.examples-grid .example-card:nth-child(5):hover) .ql-photo-5,
.examples:has(.examples-grid .example-card:nth-child(6):hover) .ql-photo-6 {
  opacity: 1;
  transition: opacity 0.25s ease 0s;
}

/* SERVICES page uses its own distinct set of 6 photos (no overlap with home) */
.services .ql-photo-1 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?w=1600&q=80"); }
.services .ql-photo-2 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1600&q=80"); }
.services .ql-photo-3 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1600&q=80"); }
.services .ql-photo-4 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1559136555-9303baea8ebd?w=1600&q=80"); }
.services .ql-photo-5 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1551434678-e076c223a692?w=1600&q=80"); }
.services .ql-photo-6 { background-image: linear-gradient(to bottom, rgba(249,250,251,0.97) 0%, rgba(249,250,251,0.9) 20%, rgba(249,250,251,0.4) 30%, rgba(15,23,42,0.5) 42%, rgba(15,23,42,0.58) 100%), url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1600&q=80"); }

/* on the way IN: appear promptly (no hold) and light up the matching photo */
.photofx:has(.photofx-grid .card:nth-child(1):hover) .ql-photo-1,
.photofx:has(.photofx-grid .card:nth-child(2):hover) .ql-photo-2,
.photofx:has(.photofx-grid .card:nth-child(3):hover) .ql-photo-3,
.photofx:has(.photofx-grid .card:nth-child(4):hover) .ql-photo-4,
.photofx:has(.photofx-grid .card:nth-child(5):hover) .ql-photo-5,
.photofx:has(.photofx-grid .card:nth-child(6):hover) .ql-photo-6 {
  opacity: 1;
  transition: opacity 0.25s ease 0s;
}

/* hovered card = a LIGHTER frosted panel (lighter than the photo around it,
   so its dark text reads) with a black frame; lingering fade on the way OUT */
.photofx-grid .card {
  outline: 3px solid transparent;
  outline-offset: 0;
  transition: background 0.45s ease 0.5s, border-color 0.45s ease 0.5s,
              outline-color 0.45s ease 0.5s, box-shadow 0.45s ease 0.5s;
}
.photofx-grid .card:hover {
  background: rgba(255, 255, 255, 0.82);
  border-color: transparent;
  outline-color: #111827;        /* black box around the hovered square */
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transform: none;
  transition: background 0.25s ease 0s, border-color 0.25s ease 0s,
              outline-color 0.25s ease 0s, box-shadow 0.25s ease 0s;
}

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}

.step {
  text-align: center;
  counter-increment: steps;
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.step-num::before { content: counter(steps); }

.step h3 { font-weight: 700; margin-bottom: 0.4rem; }
.step p { color: var(--gray); font-size: 0.9rem; }

/* ── CONTACT ── */
.contact { background: var(--blue); color: var(--white); text-align: center; }

.contact .section-title { color: var(--white); }
.contact .section-sub { color: rgba(255,255,255,0.8); }

.contact-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 480px;
  margin: 0 auto;
}

.phone-display {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0.5rem 0 0.25rem;
}

.phone-display a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.15s;
}

.phone-display a:hover { opacity: 0.85; }

.phone-note {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 1.75rem;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--blue);
  padding: 0.9rem 2.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.call-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }

/* ── CONTACT FORM ── */
.form-divider {
  max-width: 480px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.contact-form { max-width: 480px; margin: 1.5rem auto 0; text-align: left; }
.form-row { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }
.form-row input { flex: 1; min-width: 0; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
}
.contact-form textarea { margin-bottom: 0.85rem; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.6); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.18); }
.form-submit {
  width: 100%;
  background: #fff;
  color: var(--blue);
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.form-note { text-align: center; font-size: 0.85rem; opacity: 0.75; margin-top: 0.9rem; }
@media (max-width: 480px) { .form-row { flex-direction: column; gap: 0.75rem; } }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.875rem;
}

footer span { color: rgba(255,255,255,0.85); }

/* ── EXAMPLES ── */

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

.example-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.example-card:hover { box-shadow: 0 10px 32px rgba(37,99,235,0.12); transform: translateY(-4px); }

.example-card:hover .example-view {
  opacity: 1;
  transform: translateY(0);
}

.example-view {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.example-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.example-info { padding: 1.25rem 1.5rem; }
.example-niche {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.3rem;
}
.example-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.example-desc { font-size: 0.88rem; color: var(--gray); }

/* ── FLIP CARDS ── */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.flip-card {
  perspective: 1000px;
  cursor: pointer;
  height: 200px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4,0.2,0.2,1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  text-align: center;
}

.flip-card-front {
  background: var(--white);
  border: 1px solid #e5e7eb;
}

.flip-card-front:hover { border-color: var(--blue); }

.flip-card-front h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.flip-hint {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--blue);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
}

.flip-card-back {
  background: var(--blue);
  color: var(--white);
  transform: rotateY(180deg);
}

.flip-card-back h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.55rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  width: 100%;
}

.flip-card-back p {
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.95;
}

/* ── ABOUT BRANDON ── */
.about-brandon { background: var(--white); }
.about-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.about-photo-ph {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-light), #dbeafe);
  border: 2px dashed #bfdbfe;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  text-align: center;
  padding: 1rem;
}
.about-photo-ph span { font-size: 0.8rem; font-weight: 600; opacity: 0.85; margin-top: 0.6rem; }
.about-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.about-text p { color: #374151; margin-bottom: 1rem; }
.about-text p a { color: var(--blue); font-weight: 600; }
.about-text .about-sign { font-weight: 700; color: var(--dark); margin-bottom: 0; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.about-tag {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #dbeafe;
}
@media (max-width: 680px) {
  .about-wrap { grid-template-columns: 1fr; gap: 1.75rem; max-width: 420px; }
}

/* ── INTRO: laptop boot-up (homepage, once per session) ── */
.intro-skip #intro { display: none !important; }

#intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 44%, #1e293b 0%, #020617 100%);
  opacity: 1;
  animation: introFade 0.5s ease 3.3s forwards;
}

#intro .laptop {
  position: relative;
  width: min(460px, 78vw);
  perspective: 1200px;
  transform-style: preserve-3d;
  transform-origin: 50% 40%;
  animation: introZoom 0.9s cubic-bezier(0.7, 0, 0.84, 0) 2.4s forwards;
}

#intro .screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0b1220;
  border: 8px solid #1e293b;
  border-radius: 14px 14px 0 0;
  transform-origin: bottom center;
  transform: rotateX(-88deg);
  overflow: hidden;
  animation: lidOpen 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

#intro .screen-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  opacity: 0;
  animation: screenOn 0.5s ease 1.1s forwards;
}

#intro .boot {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  opacity: 0;
  transform: translateY(10px);
  animation: bootIn 0.6s ease 1.5s forwards;
}

#intro .boot-mark {
  width: auto;
  height: 110px;
  display: block;
  filter: invert(1);
}

#intro .boot-name {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

#intro .boot-name .boot-line2 {
  padding-left: 1.5em;
  margin-top: 0.12em;
  color: #bfdbfe;
}

#intro .base {
  width: 116%;
  margin-left: -8%;
  height: 20px;
  background: linear-gradient(#e2e8f0, #94a3b8);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

@keyframes lidOpen {
  from { transform: rotateX(-88deg); }
  to   { transform: rotateX(0deg); }
}

@keyframes screenOn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes introZoom {
  from { transform: scale(1); }
  to   { transform: scale(11); }
}

@keyframes introFade {
  to { opacity: 0; visibility: hidden; }
}
