/* ===== Fontana Print Company Theme ===== */
:root {
  --blue: #315CA8;        /* logo royal blue */
  --blue-dark: #244a8a;
  --navy: #1A2940;        /* logo dark text */
  --ink: #0D141A;
  --gold: #FFB947;        /* accent from brand gradient */
  --gold-dark: #f0a52e;
  --sky: #F3F8FF;         /* light brand background */
  --white: #ffffff;
  --gray: #5b6675;
  --line: #e3eaf5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(26, 41, 64, 0.10);
  --shadow-lg: 0 24px 60px rgba(26, 41, 64, 0.18);
  --maxw: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Anton", "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: .2px;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(49,92,168,.35); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(26,41,64,.25); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand img { width: 180px; height: auto; }

.primary-nav ul { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  color: var(--navy); font-weight: 600; transition: color .2s, background .2s;
}
.primary-nav a:hover { color: var(--blue); background: var(--sky); }
.nav-cta { background: var(--blue); color: #fff !important; }
.nav-cta:hover { background: var(--blue-dark) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,185,71,.18), transparent 60%),
    linear-gradient(180deg, var(--sky) 0%, #ffffff 100%);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 700;
  color: var(--blue); margin: 0 0 14px;
}
.eyebrow.light { color: var(--gold); }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.02; letter-spacing: .5px; text-transform: uppercase;
  color: var(--navy); margin: 0 0 20px;
  text-wrap: balance;
}
.accent { color: var(--blue); position: relative; }
.lead { font-size: 1.12rem; color: var(--gray); max-width: 540px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art img {
  border-radius: 22px; box-shadow: var(--shadow-lg);
  transform: rotate(2deg); border: 6px solid #fff;
}

/* ===== Trust bar ===== */
.trust { background: var(--navy); color: #fff; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 28px 24px;
}
.trust-grid div { display: flex; flex-direction: column; }
.trust-grid strong { font-size: 1.05rem; }
.trust-grid span { color: #b9c4d8; font-size: .9rem; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--sky); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .5px;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.06; color: var(--navy); margin: 0 0 16px;
  text-wrap: balance;
}
.section-sub { color: var(--gray); font-size: 1.08rem; margin: 0; }
.section-sub.light { color: #c7d2e6; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 60px; height: 60px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: var(--sky); margin-bottom: 18px;
}
.card h3 { font-size: 1.4rem; color: var(--navy); margin: 0 0 10px; }
.card p { color: var(--gray); margin: 0; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.gallery-item img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(13,20,26,.88));
  color: #fff; padding: 26px 16px 14px; font-size: .9rem; font-weight: 600;
}

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-copy h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.04; color: var(--navy); margin: 0 0 18px;
}
.about-copy p { color: var(--gray); margin: 0 0 22px; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--navy); font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: .8rem; font-weight: 700;
  display: grid; place-items: center;
}

/* ===== Local / Areas Served ===== */
.areas { text-align: center; }
.areas h3 {
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--blue); margin: 0 0 22px;
}
.area-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.area-list li {
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  box-shadow: 0 4px 12px rgba(26,41,64,.05); transition: transform .15s, border-color .2s, color .2s;
}
.area-list li:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--blue); }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px; box-shadow: var(--shadow); transition: border-color .2s;
}
.faq-item[open] { border-color: var(--blue); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-weight: 700; font-size: 1.08rem; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--blue);
  line-height: 1; transition: transform .2s;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--gray); margin: 0 0 18px; }

/* ===== Contact ===== */
.contact { background: var(--navy); color: #fff; }
.contact .section-head h2 { color: #fff; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  display: flex; flex-direction: column; gap: 8px; transition: transform .2s, background .2s, border-color .2s;
}
.contact-card:hover { transform: translateY(-5px); background: rgba(255,185,71,.12); border-color: var(--gold); }
.contact-label { text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; color: var(--gold); font-weight: 700; }
.contact-value { color: #fff; font-size: 1.2rem; font-weight: 700; word-break: break-word; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #c7d2e6; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 40px; padding: 56px 24px 40px; }
.footer-logo-badge {
  display: inline-block; background: #fff; padding: 14px 18px;
  border-radius: 14px; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.footer-brand img { width: 180px; height: auto; display: block; }
.footer-brand p { max-width: 300px; color: #94a3bf; margin: 0; }
.footer-col h4 { color: #fff; font-size: 1rem; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #c7d2e6; }
.footer-col a:hover { color: var(--gold); }
.footer-col a[href^="mailto"] { white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 20px 24px; font-size: .85rem; color: #7e8aa3;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #aeb9d0; text-decoration: underline; }
.footer-bottom a:hover { color: var(--gold); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-art img { transform: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-media { max-width: 460px; }
  .contact-cards { grid-template-columns: 1fr; max-width: 460px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 72px 0 auto 0;
    background: #fff; border-bottom: 0 solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: none;
  }
  .primary-nav.open { max-height: 360px; border-bottom-width: 1px; box-shadow: var(--shadow); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px; }
  .primary-nav a { padding: 14px 16px; border-radius: var(--radius-sm); }
  .nav-cta { text-align: center; margin-top: 6px; }
}

@media (max-width: 540px) {
  .section { padding: 60px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
