:root{
  --bg: #0b1220;
  --panel: rgba(255,255,255,0.06);
  --panel-strong: rgba(255,255,255,0.10);
  --text: #e9eefc;
  --muted: rgba(233,238,252,0.72);
  --line: rgba(233,238,252,0.14);
  --accent: #6ea8ff;
  --accent-2: #89f0c1;
  --shadow: 0 18px 45px rgba(0,0,0,0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(110,168,255,0.22), transparent 60%),
    radial-gradient(700px 500px at 85% 20%, rgba(137,240,193,0.14), transparent 60%),
    radial-gradient(900px 600px at 50% 90%, rgba(110,168,255,0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height:1.55;
}

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

.container{ width: min(100% - 32px, var(--max)); margin-inline:auto; }

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 14px;
  background:#111a2f; border:1px solid var(--line); border-radius:10px;
  z-index:9999;
}

.site-header{
  position: sticky; top:0; z-index:100;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,0.75);
  border-bottom: 1px solid var(--line);
}

.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap:16px;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand__mark{
  width:42px; height:42px; border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(110,168,255,0.95), rgba(137,240,193,0.70));
  color:#06101f;
  font-weight:800;
  letter-spacing:0.5px;
  box-shadow: var(--shadow);
}
.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__name{ font-weight:800; letter-spacing:0.3px; }
.brand__tag{ font-size: 12px; color: var(--muted); }

.nav{ display:flex; align-items:center; gap:14px; }
.nav__link{
  font-size:14px; color: var(--muted);
  padding:10px 10px;
  border-radius: 10px;
}
.nav__link.is-active{ color: var(--text); background: rgba(255,255,255,0.06); }

.nav__cta{
  font-size:14px;
  padding:10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(110,168,255,0.45);
  background: rgba(110,168,255,0.12);
}
.nav__cta:hover{ text-decoration:none; background: rgba(110,168,255,0.18); }

.nav__toggle{
  display:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding:10px 12px;
}
.nav__toggle-bar{
  display:block;
  width:22px; height:2px;
  background: var(--text);
  margin:4px 0;
  border-radius: 2px;
}

.site-main{ padding: 34px 0 70px; }

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

.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__left{ padding: 28px; }
.hero__right{ padding: 22px; display:flex; flex-direction:column; gap:14px; }

.kicker{ color: var(--muted); font-size: 13px; letter-spacing:0.14em; text-transform:uppercase; }
.h1{ font-size: clamp(30px, 4vw, 44px); line-height:1.15; margin:10px 0 10px; }
.lead{ color: var(--muted); font-size: 16px; margin: 0 0 18px; max-width: 62ch; }

.btns{ display:flex; gap:12px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  font-weight:700;
}
.btn:hover{ text-decoration:none; background: rgba(255,255,255,0.08); }
.btn--primary{
  border: 1px solid rgba(137,240,193,0.45);
  background: rgba(137,240,193,0.14);
}
.btn--primary:hover{ background: rgba(137,240,193,0.18); }

.pills{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.pill{
  font-size:13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.section{ margin-top: 22px; }
.section__title{ font-size: 18px; margin: 0 0 10px; }
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.grid .col-4{ grid-column: span 4; }
.grid .col-6{ grid-column: span 6; }
.grid .col-12{ grid-column: span 12; }

.feature{ padding: 18px; }
.feature h3{ margin: 0 0 8px; font-size: 16px; }
.feature p{ margin:0; color: var(--muted); font-size: 14px; }

.list{
  margin:0; padding-left: 18px; color: var(--muted);
}
.list li{ margin: 8px 0; }

.form{
  padding: 18px;
}
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
label{ font-size: 13px; color: var(--muted); }
input, textarea, select{
  font: inherit;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 12px 12px;
  border-radius: 12px;
  outline: none;
}
input:focus, textarea:focus, select:focus{ border-color: rgba(110,168,255,0.55); }
textarea{ min-height: 140px; resize: vertical; }

.notice{
  border: 1px solid rgba(110,168,255,0.30);
  background: rgba(110,168,255,0.10);
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer{
  border-top: 1px solid var(--line);
  background: rgba(11,18,32,0.65);
  backdrop-filter: blur(10px);
  padding: 24px 0 18px;
}
.footer__inner{ display:flex; flex-direction:column; gap:18px; }
.footer__brand{ display:flex; align-items:center; gap:12px; }
.footer__name{ font-weight:800; }
.footer__small{ color: var(--muted); font-size: 13px; }

.footer__cols{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}
.footer__title{ font-weight:800; margin-bottom:8px; }
.footer__list{ list-style:none; padding:0; margin:0; color: var(--muted); }
.footer__list li{ margin: 8px 0; }
.footer__bottom{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  color: var(--muted); font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.footer__bottom-links a{ color: var(--text); }

/* Responsive */
@media (max-width: 920px){
  .hero{ grid-template-columns: 1fr; }
  .grid .col-4{ grid-column: span 6; }
  .footer__cols{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .nav__toggle{ display:inline-block; }
  .nav{
    position: absolute;
    right: 16px;
    top: 66px;
    width: min(340px, calc(100vw - 32px));
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding: 12px;
    border-radius: 18px;
    border:1px solid var(--line);
    background: rgba(11,18,32,0.92);
    box-shadow: var(--shadow);
  }
  .nav.is-open{ display:flex; }
  .nav__cta{ text-align:center; }
  .grid .col-6, .grid .col-4{ grid-column: span 12; }
}

/* ---------------------------------
   Image Placeholder Styling
---------------------------------- */

.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9; /* keeps layout stable before images */
  border-radius: 14px;
  border: 1px dashed rgba(233,238,252,0.25);
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Subtle shimmer effect (professional, not flashy) */
.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255,255,255,0.08) 45%,
    transparent 70%
  );
  animation: placeholder-shimmer 2.5s infinite;
}

/* Icon-style hint text */
.image-placeholder::after {
  content: "Image goes here";
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233,238,252,0.55);
  z-index: 1;
}

/* Animation */
@keyframes placeholder-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* When real images are used */
figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}

/* Caption spacing */
figure {
  margin: 0 0 14px;
}

figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(233,238,252,0.65);
}

/* ---------------------------------
   Center Alignment + Optional Refinements
   (Overrides placed at end intentionally)
---------------------------------- */

/* Center most page content for a premium, symmetrical look */
.site-main,
section,
.container {
  text-align: center;
}

/* Keep header/footer centered */
.header__inner,
.footer__inner {
  text-align: center;
}

/* Center navigation on desktop, keep layout stable */
.nav {
  justify-content: center;
}

/* If your header feels too wide, allow wrap gracefully */
.header__inner {
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 920px){
  .header__inner { justify-content: center; }
}

/* Center grid items (cards will stay same width but align centered) */
.hero,
.grid {
  justify-items: center;
}

/* Center text inside cards */
.card {
  text-align: center;
}

/* Center headings and primary text */
h1, h2, h3,
p,
.lead,
.section__title {
  text-align: center;
}

/* Readability refinements for centered text */
body { line-height: 1.6; }

.lead,
.feature p,
.notice,
.footer__small {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

/* Slightly tighter headline spacing for centered layouts */
.h1 { margin: 12px 0 14px; }
.section__title { margin: 0 0 14px; }

/* Center buttons & pills */
.btns,
.pills {
  justify-content: center;
}

/* Center lists but keep them readable */
.list {
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
  max-width: 70ch;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.list li { text-align: center; }

/* Center figures, captions, and media */
figure {
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
figcaption {
  text-align: center;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* Footer columns centered */
.footer__cols {
  justify-items: center;
  text-align: center;
}
.footer__bottom {
  justify-content: center;
  text-align: center;
}

/* Mobile menu: centered links */
@media (max-width: 720px){
  .nav{
    align-items: center;
    text-align: center;
  }
  .nav__link,
  .nav__cta{
    width: 100%;
    text-align: center;
  }
}

/* ---------------------------------
   Services Page Alternating Blocks (Optional)
   Use: add class="alt" to .card.feature blocks you want alternating
---------------------------------- */
.card.feature.alt {
  display: grid;
  gap: 14px;
  align-items: center;
  text-align: center;
}
@media (min-width: 921px){
  .card.feature.alt {
    grid-template-columns: 1fr 1fr;
    text-align: left; /* keeps long text easier to read */
  }
  .card.feature.alt > * { text-align: left; }
  .card.feature.alt figure { align-items: flex-start; }
  .card.feature.alt.is-reverse { direction: rtl; }
  .card.feature.alt.is-reverse > * { direction: ltr; }
}

/* ---------------------------------
   Image Placeholder Styling (kept here for convenience)
---------------------------------- */
.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9; /* keeps layout stable before images */
  border-radius: 14px;
  border: 1px dashed rgba(233,238,252,0.25);
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Subtle shimmer effect (professional, not flashy) */
.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255,255,255,0.08) 45%,
    transparent 70%
  );
  animation: placeholder-shimmer 2.5s infinite;
}

/* Icon-style hint text */
.image-placeholder::after {
  content: "Image goes here";
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233,238,252,0.55);
  z-index: 1;
}

/* Animation */
@keyframes placeholder-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* When real images are used */
figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  object-fit: cover;
}

/* ---------------------------------
   Scroll Reveal (Subtle Animation on Scroll)
   Usage: add class="reveal" to any element you want animated
---------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------
   Service Area Two-Column Layout
---------------------------------- */
.service-area-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-left: 0;
}

.service-area-list li{
  list-style: none;
  padding-left: 0;
}

/* Optional subtle dot (cleaner than default bullets) */
.service-area-list li::before{
  content: "•";
  color: rgba(233,238,252,0.6);
  margin-right: 6px;
}

@media (max-width: 380px){
  .service-area-list{
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

/* ---------------------------------
   Permanent Two-Column Service Area
   (HTML uses .service-area-columns + .service-area-col)
---------------------------------- */
.service-area-columns{
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 12px;
}

.service-area-col{
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 220px;
}

.service-area-col li{
  text-align: center;
  margin: 6px 0;
}

/* Keep two columns even on mobile; tighten gap only */
@media (max-width: 420px){
  .service-area-columns{
    gap: 24px;
  }
}

/* Header logo (Dad Proofed Services) */
.brand__logo{
  height: 56px;
  width: auto;
  display: block;
}

@media (max-width: 520px){
  .brand__logo{ height: 44px; }
}


/* ---------------------------------
   FIX: Header layout (logo larger + menu button to the right)
   These overrides are last so they win.
---------------------------------- */
.site-header .header__inner{
  text-align: center;           
  justify-content: space-between;/* keep logo left, menu right */
  flex-wrap: nowrap;             /* prevent stacking in header */
}

/* Keep brand left-aligned */
.site-header .brand{
  justify-content: flex-start;
}

/* Larger logo for better visibility */
.site-header .brand__logo{
  height: 72px;
  width: auto;
  display: block;
}

/* Push hamburger/menu button all the way right */
.site-header .nav__toggle{
  margin-left: auto;
}

/* Mobile sizing */
@media (max-width: 520px){
  .site-header .brand__logo{ height: 72px; }
}

/* Desktop sizing */
@media (min-width: 900px){
  .site-header .brand__logo{ height: 96px; }
}

