/* =========================================================
   Gursoy Bookkeeping Services — main stylesheet
   Brand: logo blue #1a82c4, navy #12344d, gold #d4a94a
   ========================================================= */

:root {
  --blue: #1a82c4;
  --blue-dark: #0f5f94;
  --navy: #12344d;
  --navy-deep: #0b2436;
  --gold: #d4a94a;
  --bg: #ffffff;
  --bg-soft: #f2f7fb;
  --text: #22313d;
  --text-muted: #5a6b78;
  --border: #dde6ec;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(18, 52, 77, 0.10);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; }

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

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

.container { width: min(1140px, 92%); margin-inline: auto; }

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

.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }

.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--gold); color: var(--navy-deep); }

.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #96281b; color: #fff; }

.btn-block { display: block; width: 100%; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo { width: 48px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); letter-spacing: 0.04em; }
.brand-text small { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--blue); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  font-weight: 500;
  color: var(--navy);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 0.55rem 1.3rem !important;
  border-radius: 999px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: 0.25s; }

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

.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue-dark) 100%);
  color: #dbe9f4;
  padding: 5rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.2rem; }
.hero h1 .accent { color: var(--gold); }
.hero p { max-width: 34rem; margin-bottom: 1.8rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.8rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; }
.hero-badges li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #eaf3fa;
}

.hero-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.4rem 2rem;
  text-align: center;
}
.hero-card img { width: 130px; margin: 0 auto 1rem; }
.hero-card h3 { margin-bottom: 0.3rem; }
.hero-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ---------------- Sections ---------------- */

.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.6rem; }
.section-head p { color: var(--text-muted); }

.section-cta { text-align: center; margin-top: 2.5rem; }

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

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.1rem; margin: 1rem 0 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.94rem; }

/* Icon chips (CSS-only, no external icon set) */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  position: relative;
}
.card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #fff;
  -webkit-mask: var(--icon) center / 26px 26px no-repeat;
  mask: var(--icon) center / 26px 26px no-repeat;
}
.card-icon.large { width: 72px; height: 72px; border-radius: 18px; }
.card-icon.large::after { -webkit-mask-size: 36px 36px; mask-size: 36px 36px; }

.card-icon[data-icon="bank"]     { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2 2 8h20L12 2zM4 10v8h3v-8H4zm6.5 0v8h3v-8h-3zM17 10v8h3v-8h-3zM2 20v2h20v-2H2z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="receipt"]  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M5 2v20l2-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l2-1.5L19 22V2H5zm3 6h8v2H8V8zm0 4h8v2H8v-2z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="report"]   { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M3 3h2v18H3V3zm18 18H7v-2h14v2zM9 13h3v4H9v-4zm5-6h3v10h-3V7z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="inventory"]{ --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 4h16v4H4V4zm1 6h14v10H5V10zm4 3v2h6v-2H9z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="balance"]  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M11 3h2v3h5l2 7a4 4 0 0 1-8 0l1.7-6H13v11h4v2H7v-2h4V7h-.7L12 13a4 4 0 0 1-8 0l2-7h5V3zM6 8.4 4.8 13h2.4L6 8.4zm12 0L16.8 13h2.4L18 8.4z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="statement"]{ --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6 2h9l5 5v15H6V2zm8 1.5V8h4.5L14 3.5zM8 12h8v2H8v-2zm0 4h8v2H8v-2z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="stock"]    { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2 3 7v10l9 5 9-5V7l-9-5zm0 2.3L18.5 8 12 11.7 5.5 8 12 4.3zM5 9.7l6 3.4v6.2l-6-3.3V9.7zm14 0v6.3l-6 3.3v-6.2l6-3.4z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="payroll"]  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 12c4.4 0 8 2.2 8 5v3H4v-3c0-2.8 3.6-5 8-5z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="vat"]      { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9 3a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm6 12a3 3 0 1 1 0 6 3 3 0 0 1 0-6zM19.5 3 21 4.5l-16.5 16L3 19 19.5 3z'/%3E%3C/svg%3E"); }
.card-icon[data-icon="default"]  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2l2.4 7.2H22l-6 4.5 2.3 7.3-6.3-4.6-6.3 4.6L8 13.7 2 9.2h7.6L12 2z'/%3E%3C/svg%3E"); }

/* ---------------- Split / About ---------------- */

.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.split h2 { margin-bottom: 1rem; }
.split p { margin-bottom: 1rem; color: var(--text); }

.check-list { list-style: none; margin: 0 0 1.8rem; }
.check-list li {
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  position: relative;
  color: var(--text);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-box {
  background: var(--navy);
  color: #dbe9f4;
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.quote-box blockquote { font-size: 1.08rem; font-style: italic; margin-bottom: 1.2rem; }
.quote-box cite { color: var(--gold); font-style: normal; font-weight: 600; }

.profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
}
.profile-logo { width: 110px; margin: 0 auto 1rem; }
.profile-role { display: block; color: var(--blue); font-size: 0.9rem; font-weight: 600; margin: 0.3rem 0 1.2rem; }
.profile-facts { list-style: none; text-align: left; margin-bottom: 1.5rem; }
.profile-facts li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-bottom: 1px dashed var(--border);
  position: relative;
}
.profile-facts li::before { content: '•'; color: var(--gold); position: absolute; left: 0.3rem; font-weight: 700; }
.profile-facts li:last-child { border-bottom: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.chip {
  background: #fff;
  border: 1px solid var(--blue);
  color: var(--blue-dark);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

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

.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 3.4rem 0;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.page-hero p { color: #b9cfdf; margin-top: 0.4rem; }

/* ---------------- Services page ---------------- */

.services-list { display: flex; flex-direction: column; gap: 1.4rem; }

.service-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.6rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: box-shadow 0.2s ease;
}
.service-row:hover { box-shadow: var(--shadow); }
.service-row h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.service-row p { color: var(--text-muted); }

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

.cta-band {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 3.4rem 0;
}
.cta-band-inner { text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.6rem; }
.cta-band p { color: #d8ebf7; margin-bottom: 1rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.4rem; }
.cta-band .btn-primary { background: var(--navy-deep); }
.cta-band .btn-primary:hover { background: var(--gold); color: var(--navy-deep); }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.contact-grid h2 { margin-bottom: 0.8rem; }

.contact-details { list-style: none; margin: 1.4rem 0; }
.contact-details li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}
.contact-label { font-weight: 600; color: var(--navy); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 1.6rem;
}
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem;
}

/* ---------------- Forms ---------------- */

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--navy); margin-bottom: 0.35rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: #fbfdfe;
  transition: border-color 0.15s ease;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); background: #fff; }

.form-select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: #fbfdfe;
}
.form-select:focus { outline: none; border-color: var(--blue); background: #fff; }

.table-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.table-actions form { display: inline; }

.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.alert { border-radius: 10px; padding: 0.9rem 1.2rem; margin-bottom: 1.2rem; font-size: 0.94rem; }
.alert ul { margin-left: 1.1rem; }
.alert-success { background: #e6f6ec; color: #1c6b38; border: 1px solid #bfe5cc; }
.alert-error { background: #fdecea; color: #92251a; border: 1px solid #f5c6c0; }

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

.site-footer { background: var(--navy-deep); color: #b9cfdf; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 3.2rem 0 2.2rem;
}

.footer-brand .brand-text strong { color: #fff; }
.footer-brand { margin-bottom: 1rem; }
.footer-col h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer-col a { color: #b9cfdf; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------------- Admin ---------------- */

.admin-body { background: var(--bg-soft); min-height: 100vh; }

.login-box {
  max-width: 400px;
  margin: 8vh auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.6rem 2.2rem;
  text-align: center;
}
.login-logo { width: 84px; margin: 0 auto 1rem; }
.login-box h1 { font-size: 1.4rem; margin-bottom: 1.4rem; }
.login-box form { text-align: left; }
.login-back { display: inline-block; margin-top: 1.2rem; font-size: 0.88rem; }

.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }

.admin-sidebar {
  background: var(--navy-deep);
  color: #fff;
  padding: 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.admin-brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 600; }
.admin-brand img { width: 38px; }

.admin-sidebar nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.admin-sidebar nav a {
  color: #b9cfdf;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-size: 0.94rem;
}
.admin-sidebar nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.admin-sidebar nav a.active { background: var(--blue); color: #fff; }

.badge {
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  margin-left: 0.3rem;
}

.logout-form .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.logout-form .btn-outline:hover { background: rgba(255,255,255,0.12); }

.admin-main { padding: 2rem 2.4rem; }

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}
.admin-topbar h1 { font-size: 1.5rem; }
.admin-topbar span { color: var(--text-muted); font-size: 0.9rem; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; margin-bottom: 1.8rem; }
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.stat-number { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--blue); }
.stat-label { color: var(--text-muted); font-size: 0.9rem; }

.admin-panel {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.8rem;
  margin-bottom: 1.6rem;
}
.admin-panel.narrow { max-width: 520px; }
.admin-panel h2 { font-size: 1.15rem; margin-bottom: 1rem; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--border); }
.admin-table th { color: var(--navy); font-family: var(--font-head); font-size: 0.85rem; }
.admin-table tr.unread { background: #eef6fc; }

.muted { color: var(--text-muted); }

.message-list { display: flex; flex-direction: column; gap: 1.1rem; }
.message-card { border: 1px solid var(--border); border-radius: 12px; padding: 1.3rem; }
.message-card.unread { border-left: 4px solid var(--blue); background: #f7fbfe; }
.message-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem; font-size: 0.92rem; margin-bottom: 0.5rem; }
.message-head time { color: var(--text-muted); font-size: 0.82rem; }
.message-subject { font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.message-body { font-size: 0.94rem; color: var(--text); margin-bottom: 0.9rem; }
.message-actions { display: flex; gap: 0.6rem; }

/* ---------------- Wavy section transitions (home page) ---------------- */

.has-wave-top,
.has-wave-bottom { position: relative; }
.has-wave-bottom { padding-bottom: 8rem; }
.has-wave-top { padding-top: 8rem; }

/* Inner page heroes are shorter, so the wave needs less clearance */
.page-hero.has-wave-bottom { padding-bottom: 6.5rem; }

.wave {
  position: absolute;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}
.wave svg { display: block; width: 100%; height: 72px; }
.wave-bottom { bottom: -1px; }
.wave-top { top: -1px; }

/* ---------------- Cursor trail (soft light streak following the mouse) ---------------- */

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

@media (prefers-reduced-motion: reduce) {
  .cursor-trail { display: none; }
}

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

@media (max-width: 900px) {
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 380px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { flex-direction: column; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 4%;
    gap: 0.3rem;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.7rem 0.4rem; border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 0.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .hero { padding: 3.2rem 0; }
  .admin-main { padding: 1.4rem 1.1rem; }
}
