/* ==========================================================================
   Klock's Electric — static site styles
   Theme: deep navy + electric amber
   ========================================================================== */

:root {
  --ink: #0a1222;
  --ink-2: #0f1c33;
  --ink-3: #16274a;
  --accent: #ffb400;
  --accent-strong: #f5a800;
  --accent-soft: #fff4d6;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #35415e;
  --muted: #66738c;
  --line: #e5e9f2;
  --shadow-sm: 0 2px 10px rgba(10, 18, 34, 0.06);
  --shadow-md: 0 14px 40px rgba(10, 18, 34, 0.10);
  --shadow-lg: 0 30px 70px rgba(10, 18, 34, 0.22);
  --radius: 18px;
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-cta, .btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(255, 180, 0, 0.35);
}
.btn-cta:hover, .btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 180, 0, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-badge svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.topbar-item a { color: var(--accent); font-weight: 600; }
.topbar-item a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .topbar-hide-sm { display: none; }
  .topbar-inner { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-bolt {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), #ff8a00);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(255, 150, 0, 0.35);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-text span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 24px; }
.nav-list a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.22s ease;
}
.nav-list a:hover, .nav-list a.active { color: var(--ink); }
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }

.nav-cta { padding: 10px 18px; font-size: 14px; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--ink);
}
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.open .icon-open { display: none; }
.menu-toggle.open .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(255, 180, 0, 0.22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(31, 64, 140, 0.45), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, #08111f 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  padding-block: 84px 96px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 180, 0, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 180, 0, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(255, 180, 0, 0.05); }
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}
.grad-text {
  background: linear-gradient(100deg, var(--accent), #ffb84d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.hero-trust svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.hero-trust strong { color: #fff; font-family: var(--font-head); }

.hero-visual { position: relative; }
.hero-photo-wrap {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-photo-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transform: scale(1.02);
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.float-card strong { font-family: var(--font-head); font-size: 14.5px; display: block; line-height: 1.3; }
.float-card span { font-size: 12.5px; color: var(--muted); }
.float-card .float-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  flex: none;
}
.float-card .float-icon svg { width: 20px; height: 20px; }
.float-card-top { top: 22px; right: -18px; }
.float-card-bottom { bottom: 26px; left: -20px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ink-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-block: 26px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
}
.trust-item svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.trust-item strong { font-family: var(--font-head); font-size: 15px; display: block; }
.trust-item span { font-size: 13px; color: rgba(255, 255, 255, 0.62); }

/* ---------- Sections ---------- */
.section { padding-block: 92px; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.section-head p:not(.eyebrow) { font-size: 16.5px; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d98f00;
  margin-bottom: 12px;
}

/* ---------- Services ---------- */
.services { background: var(--bg); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 180, 0, 0.5);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(140deg, #fff7e0, #ffe9b3);
  color: #e08e00;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 25px; height: 25px; }

.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card > p { font-size: 14.5px; margin-bottom: 14px; }

.card-list { margin-bottom: 18px; display: grid; gap: 7px; }
.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--muted);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.card-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card-link:hover svg { transform: translateX(4px); }
.card-link:hover { color: #d98f00; }

.services-cta {
  margin-top: 52px;
  text-align: center;
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-3) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 44px 30px;
}
.services-cta p {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  max-width: 620px;
  margin: 0 auto 22px;
  line-height: 1.4;
}

/* ---------- Why us ---------- */
.why { background: var(--card); }

.why-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.why-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.why-photo-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.since-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 18, 34, 0.92);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 180, 0, 0.35);
  backdrop-filter: blur(6px);
}
.since-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.since-badge span:last-child { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); margin-top: 4px; }

.why-content h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 16px; }
.lead { font-size: 16.5px; margin-bottom: 26px; }

.why-list { display: grid; gap: 18px; margin-bottom: 30px; }
.why-list li { display: flex; gap: 14px; }
.why-list .check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #d98f00;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}
.why-list .check svg { width: 14px; height: 14px; }
.why-list strong { font-family: var(--font-head); color: var(--ink); font-size: 16px; display: block; }
.why-list p { font-size: 14.5px; color: var(--muted); }

.why-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Story / gallery ---------- */
.story { background: var(--bg); }

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 18px 14px;
  background: linear-gradient(transparent, rgba(10, 18, 34, 0.82));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}

.story-quote {
  margin: 52px auto 0;
  max-width: 780px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 42px 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.story-quote > svg { width: 40px; height: 40px; color: var(--accent); margin: 0 auto 14px; }
.story-quote blockquote {
  font-family: var(--font-head);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 600;
}
.story-quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Charity ---------- */
.charity {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 70%, #101f3c 100%);
  color: rgba(255, 255, 255, 0.82);
}
.charity .section-head h2 { color: #fff; }
.charity .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, 0.72); }

.charity-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.charity-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(4px);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

.charity-copy .lead { color: rgba(255, 255, 255, 0.85); }
.charity-list { display: grid; gap: 13px; }
.charity-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.charity-list .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 180, 0, 0.18);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.charity-list .check svg { width: 13px; height: 13px; }

.charity-photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.charity-photo { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.charity-photo:nth-child(1) { grid-column: span 2; }
.charity-photo:nth-child(2) { grid-column: span 2; }
.charity-photo:nth-child(3) { grid-column: span 2; }
.charity-photo:nth-child(4) { grid-column: span 3; }
.charity-photo:nth-child(5) { grid-column: span 3; }
.charity-photo img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.charity-photo:hover img { transform: scale(1.05); }

/* ---------- Areas ---------- */
.areas { background: var(--bg); }

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto 34px;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.area-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 180, 0, 0.6);
  box-shadow: var(--shadow-md);
}
.area-chip svg { width: 16px; height: 16px; color: #d98f00; }

.areas-note { text-align: center; font-size: 14.5px; color: var(--muted); }
.areas-note a { color: #d98f00; font-weight: 700; }
.areas-note a:hover { text-decoration: underline; }

/* ---------- Reviews ---------- */
.reviews { background: var(--card); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 17px; height: 17px; color: var(--accent); }

.review-card blockquote {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 20px;
  flex: 1;
}
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.review-card .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--ink), var(--ink-3));
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}
.review-card figcaption strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 14.5px; }
.review-card figcaption span span { font-size: 12.5px; color: var(--muted); }

.reviews-note {
  margin-top: 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
  flex-wrap: wrap;
}
.reviews-note svg { width: 18px; height: 18px; color: var(--accent); }
.reviews-note strong { color: var(--ink); }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 16px; }

.contact-list { display: grid; gap: 16px; margin: 30px 0 34px; }
.contact-list li { display: flex; align-items: center; gap: 15px; }
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--card);
  border: 1px solid var(--line);
  color: #d98f00;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: var(--shadow-sm);
}
.contact-icon svg { width: 21px; height: 21px; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 14px; }
.contact-list a, .contact-list span { font-size: 15.5px; font-weight: 600; color: var(--text); }
.contact-list a:hover { color: #d98f00; }

.hours-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.hours-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.hours-head svg { width: 20px; height: 20px; color: #d98f00; }
.hours-list { display: grid; gap: 10px; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.hours-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-list .closed span { color: var(--muted); }
.hours-list .closed .hours-val { color: #b91c1c; font-weight: 600; }
.hours-val { font-weight: 600; color: var(--ink); }
.payment-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

.contact-form-wrap { position: relative; }
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 24px; margin-bottom: 6px; }
.form-sub { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-field .opt { color: var(--muted); font-weight: 500; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 180, 0, 0.18);
  background: #fff;
}
.form-field textarea { resize: vertical; }
.form-field .error-msg { display: none; color: #b91c1c; font-size: 12.5px; margin-top: 5px; }
.form-field.invalid input, .form-field.invalid textarea { border-color: #dc2626; }
.form-field.invalid .error-msg { display: block; }

.form-footnote { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 60px 30px;
}
.form-success.show { display: block; }
.form-success svg { width: 54px; height: 54px; color: #16a34a; margin: 0 auto 18px; }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 15px; }
.form-success a { color: #d98f00; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 44px;
  padding-block: 64px 48px;
}

.footer-brand .brand { margin-bottom: 18px; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text span { color: rgba(255, 255, 255, 0.55); }
.footer-brand > p { max-width: 320px; margin-bottom: 22px; }
.footer-cta { font-size: 14px; padding: 11px 18px; }

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a:hover { color: var(--accent); }

.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
  .gallery-item img, .charity-photo img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .charity-photos { grid-template-columns: repeat(3, 1fr); }
  .charity-photo:nth-child(1),
  .charity-photo:nth-child(2),
  .charity-photo:nth-child(3),
  .charity-photo:nth-child(4),
  .charity-photo:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 60px 72px; }
  .hero-photo-wrap img { height: 420px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 44px; }
  .why-photo-frame img { height: 420px; }
  .charity-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 18px 24px 26px;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a { display: block; padding: 12px 6px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 18px; justify-content: center; }
}

@media (max-width: 720px) {
  .container { width: min(1160px, 100% - 32px); }
  .section { padding-block: 64px; }
  .card-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr; }
  .charity-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float-card-top { right: 8px; }
  .float-card-bottom { left: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-photo-wrap img { height: 340px; }
  .why-photo-frame img { height: 340px; }
  .charity-photos { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 460px) {
  .charity-stats { grid-template-columns: 1fr; }
  .brand-text span { display: none; }
  .hero-title { font-size: 30px; }
}
