/* ============================================================
   The Georgia Dish — Red / White / Blue modern theme
   ============================================================ */

:root {
  --navy:       #1f3251;   /* matches logo */
  --navy-dark:  #15233a;
  --navy-light: #2c4a78;
  --red:        #c8102e;
  --red-dark:   #a30d26;
  --blue:       #2563eb;
  --peach:      #f08a4b;   /* logo accent */
  --bg:         #f7f8fb;
  --white:      #ffffff;
  --border:     #e4e8f0;
  --text:       #27324a;
  --muted:      #68748c;
  --radius:     14px;
  --shadow:     0 4px 18px rgba(31, 50, 81, .08);
  --shadow-lg:  0 12px 34px rgba(31, 50, 81, .14);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--navy); line-height: 1.25; }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Top bar + Nav ---------- */

.topbar {
  height: 5px;
  background: linear-gradient(90deg, var(--red) 33%, var(--white) 33% 66%, var(--navy) 66%);
}

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(31, 50, 81, .05);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; font-family: 'Poppins', sans-serif; font-size: 1.18rem; color: var(--navy); font-weight: 600; }
.brand img { height: 52px; width: 52px; object-fit: contain; }
.brand strong { color: var(--red); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links > a { color: var(--navy); font-weight: 500; font-size: .95rem; }
.nav-links > a:hover { color: var(--red); }
.nav-links .nav-admin { color: var(--red); font-weight: 600; }
.nav-count {
  display: inline-block;
  background: var(--red); color: var(--white);
  font-size: .68rem; font-weight: 700; font-family: 'Poppins', sans-serif;
  min-width: 20px; padding: 1px 6px; border-radius: 20px;
  text-align: center; vertical-align: 2px; line-height: 1.5;
}
.nav-user { color: var(--muted); font-size: .9rem; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

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

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .18s ease;
  text-align: center;
}
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { filter: brightness(.92); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-danger { background: transparent; border-color: var(--red); color: var(--red); }
.btn-danger:hover { background: var(--red); color: var(--white); }

/* ---------- Flash alerts ---------- */

.flash-zone { margin-top: 14px; }
.alert { padding: 13px 18px; border-radius: 10px; margin-bottom: 10px; font-size: .93rem; font-weight: 500; }
.alert-success { background: #e7f6ec; color: #166534; border: 1px solid #b5e2c4; }
.alert-error   { background: #fdebee; color: var(--red-dark); border: 1px solid #f5c2cb; }
.alert-info    { background: #e8effd; color: #1d4ed8; border: 1px solid #c3d5f7; }

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

.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(37, 99, 235, .35), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(200, 16, 46, .28), transparent 55%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 84px 0 110px;
  text-align: center;
  position: relative;
}
.hero.hero-video { overflow: hidden; }
.hero .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero .hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(37, 99, 235, .40), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(200, 16, 46, .34), transparent 55%),
    linear-gradient(135deg, rgba(21, 35, 58, .88) 0%, rgba(31, 50, 81, .82) 55%, rgba(44, 74, 120, .78) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero .hero-bg { display: none; }
}
.hero h1 { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; margin-bottom: 14px; }
.hero h1 .accent-red { color: #ff5a72; }
.hero p.sub { font-size: 1.15rem; color: rgba(255, 255, 255, .82); max-width: 640px; margin: 0 auto 38px; }

.search-card {
  background: var(--white);
  border-radius: 60px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  max-width: 780px;
  margin: 0 auto;
}
.search-card input[type=text], .search-card select {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 18px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: transparent;
  color: var(--text);
  min-width: 0;
}
.search-card select { flex: 0 0 195px; border-left: 1px solid var(--border); cursor: pointer; }
.search-card .btn { flex-shrink: 0; }

.hero-stats { display: flex; justify-content: center; gap: 54px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: 'Poppins', sans-serif; font-size: 1.7rem; }
.hero-stats .stat span { font-size: .85rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }

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

.section { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 12px; }
.section-head h2 { font-size: 1.85rem; font-weight: 700; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 8px; background: linear-gradient(90deg, var(--red), var(--blue)); }
.section-head p { color: var(--muted); }

/* ---------- Map ---------- */

.map-wrap {
  margin-top: -56px;
  position: relative;
  z-index: 5;
}
.map-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.map-toolbar { display: flex; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; align-items: center; }
.map-toolbar .field { flex: 1; min-width: 170px; }
.map-toolbar input, .map-toolbar select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .93rem;
  outline: none;
}
.map-toolbar input:focus, .map-toolbar select:focus { border-color: var(--blue); }
#homeMap { height: 480px; width: 100%; }
.map-count { font-size: .88rem; color: var(--muted); white-space: nowrap; }

.leaflet-popup-content { font-family: 'Inter', sans-serif; }
.map-pop b { font-family: 'Poppins', sans-serif; color: var(--navy); font-size: 1rem; }
.map-pop .map-pop-img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin: 6px 0; display:block; }

/* ---------- Restaurant cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }

.r-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.r-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.r-card .r-img { height: 185px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.r-card .r-img img { width: 100%; height: 100%; object-fit: cover; }
.r-card .badge-cuisine {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: var(--white);
  font-size: .73rem; font-weight: 600; padding: 5px 13px; border-radius: 30px;
  font-family: 'Poppins', sans-serif; letter-spacing: .02em;
}
.r-card .badge-unclaimed {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--blue); color: var(--white);
  font-size: .7rem; font-weight: 600; padding: 4px 12px; border-radius: 30px;
  font-family: 'Poppins', sans-serif; letter-spacing: .02em;
}
.claim-box { border-top: 4px solid var(--blue); }
.r-card .badge-votes {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.93); color: var(--navy);
  font-size: .75rem; font-weight: 600; padding: 5px 11px; border-radius: 30px;
}
.r-card .r-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.r-card h3 { font-size: 1.12rem; font-weight: 600; }
.r-card .r-loc { color: var(--muted); font-size: .87rem; }
.r-card .r-rating { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-top: auto; padding-top: 8px; }

/* Stars */
.stars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; }
.stars-bg { color: #d8dde8; }
.stars-fill { color: #f6a623; position: absolute; top: 0; left: 0; white-space: nowrap; overflow: hidden; }

/* ---------- How it works / CTA ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); text-align: center; border-top: 4px solid var(--red);
}
.step:nth-child(2) { border-top-color: var(--blue); }
.step:nth-child(3) { border-top-color: var(--navy); }
.step .ico { font-size: 2.1rem; margin-bottom: 12px; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; }

.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 60%, var(--navy) 140%);
  border-radius: var(--radius);
  color: var(--white);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.85); }

/* ---------- Filters bar (restaurants page) ---------- */

.filter-bar {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px; display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px;
}
.filter-bar input, .filter-bar select {
  padding: 11px 15px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: .94rem; outline: none;
}
.filter-bar input { flex: 2; min-width: 200px; }
.filter-bar select { flex: 1; min-width: 160px; cursor: pointer; }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--blue); }

/* ---------- Detail page ---------- */

.detail-hero { background: var(--navy); color: var(--white); padding: 46px 0; }
.detail-hero .crumb { color: rgba(255,255,255,.6); font-size: .85rem; margin-bottom: 10px; }
.detail-hero .crumb a { color: rgba(255,255,255,.8); }
.detail-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.detail-hero .meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; color: rgba(255,255,255,.85); font-size: .95rem; }
.detail-hero .badge-cuisine { background: var(--red); padding: 5px 14px; border-radius: 30px; font-size: .8rem; font-weight: 600; }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; margin-top: 34px; }
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-bottom: 26px; }
.panel h2 { font-size: 1.25rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--bg); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery a img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; transition: transform .15s; }
.gallery a img:hover { transform: scale(1.03); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.video-grid .vid { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #000; }
.video-grid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.hours-table td { padding: 8px 4px; border-bottom: 1px solid var(--bg); }
.hours-table td:last-child { text-align: right; color: var(--muted); }
.hours-table tr.today td { font-weight: 600; color: var(--navy); }
.hours-table .closed { color: var(--red); font-weight: 500; }

.menu-list a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  background: var(--bg); border-radius: 10px; margin-bottom: 8px;
  color: var(--navy); font-weight: 500; font-size: .93rem;
}
.menu-list a:hover { background: #edf1f8; }

#detailMap { height: 220px; border-radius: 10px; margin-top: 12px; }

.vote-box { text-align: center; }
.vote-box .vote-count { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--red); }
.vote-box p { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }

/* Reviews */
.review { border-bottom: 1px solid var(--bg); padding: 16px 0; }
.review:last-child { border-bottom: none; }
.review .rev-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review .rev-author { font-weight: 600; color: var(--navy); font-size: .95rem; }
.review .rev-date { color: var(--muted); font-size: .8rem; }
.review p { margin-top: 6px; font-size: .94rem; }

.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; font-size: 1.7rem; }
.rating-input input { display: none; }
.rating-input label { color: #d8dde8; cursor: pointer; transition: color .1s; }
.rating-input label:hover, .rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: #f6a623; }

/* ---------- Recipe of the Day ---------- */

.rotd {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.rotd-img { position: relative; min-height: 280px; }
.rotd-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rotd-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: var(--white);
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .8rem;
  padding: 7px 16px; border-radius: 30px; box-shadow: var(--shadow);
}
.rotd-body { padding: 36px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rotd-date { color: var(--blue); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.rotd-body h2 { font-size: 1.7rem; }
.rotd-meta { color: var(--muted); font-size: .92rem; }
.rotd-body p { color: var(--muted); font-size: .96rem; }
.rotd-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.rotd-tags a { background: var(--bg); color: var(--navy); font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.rotd-tags a:hover { background: var(--red); color: var(--white); }
.rotd-body .btn { margin-top: 8px; }

@media (max-width: 800px) {
  .rotd { grid-template-columns: 1fr; }
  .rotd-img { min-height: 220px; }
  .rotd-body { padding: 26px 24px; }
}

/* ---------- Home Cooking ---------- */

.vid-caption { margin-top: 8px; font-size: .88rem; }
.vid-caption a { color: var(--navy); font-weight: 600; }
.vid-caption a:hover { color: var(--red); }
.vid-caption span { color: var(--muted); display: block; font-size: .8rem; }

.cookbook-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.cookbook-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; display: flex; gap: 16px; align-items: flex-start;
  border-left: 4px solid var(--peach);
}
.cookbook-card .cb-ico { font-size: 2.2rem; line-height: 1; }
.cookbook-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.cookbook-card .cb-author { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.cookbook-card p { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }

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

.auth-wrap { max-width: 480px; margin: 56px auto; }
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 38px; }
.form-card h1 { font-size: 1.55rem; margin-bottom: 6px; }
.form-card .form-sub { color: var(--muted); font-size: .93rem; margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: .95rem; outline: none; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }

.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.role-pick input { display: none; }
.role-pick label {
  border: 2px solid var(--border); border-radius: 12px; padding: 16px 14px; text-align: center;
  cursor: pointer; font-weight: 600; color: var(--muted); transition: all .15s; font-size: .92rem;
}
.role-pick label .ico { display: block; font-size: 1.5rem; margin-bottom: 4px; }
.role-pick input:checked + label { border-color: var(--red); color: var(--red); background: #fdf2f4; }

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

.dash-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 36px 0 24px; }
.dash-head h1 { font-size: 1.7rem; }

.status-pill { display: inline-block; padding: 5px 15px; border-radius: 30px; font-size: .8rem; font-weight: 600; font-family: 'Poppins', sans-serif; }
.status-pending  { background: #fef3cd; color: #92600a; }
.status-approved { background: #e7f6ec; color: #166534; }
.status-rejected { background: #fdebee; color: var(--red-dark); }

.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 26px; flex-wrap: wrap; }
.tabs a {
  padding: 11px 20px; font-weight: 600; font-size: .92rem; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -2px; font-family: 'Poppins', sans-serif;
}
.tabs a.active { color: var(--red); border-bottom-color: var(--red); }
.tabs a:hover { color: var(--navy); }

.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.thumb-grid .thumb { position: relative; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.thumb-grid .thumb img { width: 100%; height: 120px; object-fit: cover; display: block; }
.thumb-grid .thumb .thumb-actions { display: flex; gap: 6px; padding: 8px; background: var(--white); }
.thumb-grid .thumb .thumb-actions form { flex: 1; }
.thumb-grid .thumb button { width: 100%; font-size: .72rem; padding: 6px 4px; border-radius: 7px; border: 1px solid var(--border); background: var(--white); cursor: pointer; font-weight: 600; color: var(--navy); }
.thumb-grid .thumb button:hover { background: var(--bg); }
.thumb-grid .thumb button.del { color: var(--red); border-color: #f5c2cb; }
.thumb-grid .thumb .is-cover { position: absolute; top: 8px; left: 8px; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }

.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th { background: var(--navy); color: var(--white); text-align: left; padding: 13px 16px; font-family: 'Poppins', sans-serif; font-size: .82rem; font-weight: 600; letter-spacing: .03em; }
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--bg); font-size: .92rem; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.data-table .actions form { display: inline; }

.hours-editor { width: 100%; border-collapse: collapse; }
.hours-editor td { padding: 7px 6px; }
.hours-editor td:first-child { font-weight: 600; color: var(--navy); font-size: .92rem; width: 120px; }
.hours-editor input[type=time] { padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Inter', sans-serif; }

.empty-state { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty-state .ico { font-size: 3rem; margin-bottom: 12px; }
.empty-state h3 { margin-bottom: 8px; }

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

.footer { background: var(--navy-dark); color: rgba(255,255,255,.75); margin-top: 70px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding: 52px 0 40px; }
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.65); font-size: .9rem; padding: 4px 0; }
.footer-col a:hover { color: var(--white); }
.footer-brand img { height: 74px; background: var(--white); border-radius: 50%; padding: 4px; margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .84rem; color: rgba(255,255,255,.5); }

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

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 18px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .search-card { flex-direction: column; border-radius: var(--radius); padding: 14px; gap: 10px; }
  .search-card input[type=text], .search-card select { width: 100%; border-left: none; flex: none; }
  .search-card .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  #homeMap { height: 360px; }
}
