/*
Theme Name: American Pet Hospital
Theme URI: https://americanpethospital.al
Author: American Pet Hospital
Author URI: https://americanpethospital.al
Description: Custom veterinary hospital theme for American Pet Hospital (americanpethospital.al). Teal & coral palette, homepage with hero, quick actions, services, feature highlights, pet health tabs and contact section.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: americanpethospital
Tags: custom-menu, custom-logo, featured-images, translation-ready
*/

/* =====================================================
   PALETTE
   --aph-teal     #8acbbe  (primary ~50%)
   --aph-coral    #f27e81  (accent / CTA ~30%)
   --aph-mint     #d0ebe5  (soft backgrounds ~20%)
   ===================================================== */

:root {
  --aph-teal: #8acbbe;
  --aph-teal-dark: #5fa99a;
  --aph-teal-deep: #2f6b5e;
  --aph-coral: #f27e81;
  --aph-coral-dark: #e05e62;
  --aph-mint: #d0ebe5;
  --aph-ink: #243733;
  --aph-body: #44615a;
  --aph-white: #ffffff;
  --aph-radius: 14px;
  --aph-shadow: 0 8px 24px rgba(47, 107, 94, 0.12);
  --aph-font-display: "Montserrat", "Segoe UI", sans-serif;
  --aph-font-body: "Montserrat", "Segoe UI", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--aph-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--aph-body);
  background: var(--aph-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aph-teal-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--aph-coral-dark); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--aph-font-display);
  color: var(--aph-ink);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }
.container { width: min(1180px, 92%); margin-inline: auto; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
:focus-visible { outline: 3px solid var(--aph-coral); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  display: inline-block;
  font-family: var(--aph-font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn-coral, button[type="submit"], input[type="submit"] {
  background: var(--aph-coral);
  color: #fff;
  box-shadow: 0 6px 16px rgba(242, 126, 129, .35);
}
.btn-coral:hover, button[type="submit"]:hover, input[type="submit"]:hover {
  background: var(--aph-coral-dark); color: #fff; transform: translateY(-2px);
}
.btn-teal { background: var(--aph-teal); color: var(--aph-ink); box-shadow: var(--aph-shadow); }
.btn-teal:hover { background: var(--aph-teal-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--aph-teal-deep); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--aph-teal-deep);
  color: #e7f5f1;
  font-size: .85rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--aph-mint); }
.topbar span + span { margin-left: 18px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  transition: background .2s ease, transform .15s ease;
}
.topbar-ig:hover { background: var(--aph-coral); transform: translateY(-1px); }
.topbar-ig svg { display: block; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-family: var(--aph-font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease;
}
.lang-current:hover { background: var(--aph-coral); border-color: var(--aph-coral); }
.lang-caret { font-size: .7rem; transition: transform .2s ease; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--aph-shadow);
  list-style: none;
  margin: 0;
  padding: 8px;
  display: none;
  z-index: 200;
}
.lang-switch.open .lang-list { display: block; }
.lang-list li { margin: 0; }
.lang-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--aph-ink) !important;
  font-size: .88rem;
  font-weight: 600;
}
.lang-list a:hover { background: var(--aph-mint); color: var(--aph-teal-deep) !important; }
.lang-list a.active { background: var(--aph-teal); color: var(--aph-ink) !important; }
.lang-list strong {
  font-size: .72rem;
  background: var(--aph-mint);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--aph-teal-deep);
}
.lang-list a.active strong { background: rgba(255,255,255,.6); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--aph-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(36, 55, 51, .08);
  border-bottom: 4px solid var(--aph-teal);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img { max-height: 58px; width: auto; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-logo-text .site-title {
  font-family: var(--aph-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--aph-teal-deep);
  margin: 0;
}
.site-logo-text .site-title span { color: var(--aph-coral); }
.site-logo-text .site-tagline { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aph-body); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav li { position: relative; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  font-family: var(--aph-font-display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--aph-ink);
  border-radius: 8px;
}
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--aph-mint); color: var(--aph-teal-deep); }
.main-nav ul ul {
  position: absolute; top: 100%; left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--aph-shadow);
  flex-direction: column;
  padding: 8px;
  display: none;
}
.main-nav li:hover > ul, .main-nav li:focus-within > ul { display: flex; }
.header-cta { display: flex; gap: 10px; white-space: nowrap; }
.header-cta .btn { padding: 12px 22px; font-size: .88rem; }

.menu-toggle {
  display: none;
  background: var(--aph-teal);
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1.2rem;
  color: var(--aph-ink);
  cursor: pointer;
}

/* Mobile CTA buttons inside the hamburger menu */
.mobile-cta { display: none; }
@media (max-width: 980px) {
  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 10px 8px;
    margin-top: 10px;
    border-top: 2px solid var(--aph-mint);
  }
  .mobile-cta .btn { text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--aph-teal) 0%, var(--aph-teal-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(208, 235, 229, .25);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0;
  position: relative;
  z-index: 1;
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero p.lead { font-size: 1.15rem; color: #eefaf6; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-img {
  border-radius: var(--aph-radius);
  box-shadow: 0 18px 40px rgba(36,55,51,.25);
  overflow: hidden;
}
.hero-img img { width: 100%; object-fit: cover; }

/* Hero carousel */
.hero-carousel { position: relative; aspect-ratio: 10/7; }
.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-carousel .hero-slide.active { opacity: 1; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: var(--aph-teal-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background .2s ease;
}
.hero-arrow:hover { background: var(--aph-coral); color: #fff; }
.hero-arrow.prev { left: 14px; }
.hero-arrow.next { right: 14px; }
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.hero-dot.active { background: var(--aph-coral); transform: scale(1.25); }
.hero-badge {
  display: inline-block;
  background: var(--aph-coral);
  color: #fff;
  font-family: var(--aph-font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Quick actions ---------- */
.quick-actions { margin-top: -38px; position: relative; z-index: 5; }
.quick-actions .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.qa-card {
  background: #fff;
  border-radius: var(--aph-radius);
  box-shadow: var(--aph-shadow);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 4px solid var(--aph-teal);
  transition: transform .15s ease;
}
.qa-card:hover { transform: translateY(-4px); }
.qa-card.coral { border-top-color: var(--aph-coral); }
.qa-icon { font-size: 1.9rem; line-height: 1; }
.qa-card h3 { font-size: 1rem; margin: 0 0 2px; }
.qa-card p { margin: 0; font-size: .85rem; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-mint { background: var(--aph-mint); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow {
  font-family: var(--aph-font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--aph-coral-dark);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.service-card {
  background: #fff;
  border-radius: var(--aph-radius);
  padding: 30px 26px;
  box-shadow: var(--aph-shadow);
  transition: transform .15s ease;
  border-bottom: 4px solid transparent;
}
.service-card:hover { transform: translateY(-5px); border-bottom-color: var(--aph-coral); }
.service-card .icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--aph-mint);
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.service-card p { font-size: .94rem; margin-bottom: 0; }
.service-card .service-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--aph-coral-dark);
}
a.service-card { color: inherit; }
a.service-card:hover { color: inherit; }

/* ---------- Services price list ---------- */
.svc-toolbar { margin-bottom: 26px; }
.svc-search {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--aph-teal);
  border-radius: 999px;
  font-size: 1rem;
  font-family: var(--aph-font-body);
}
.svc-search:focus { outline: none; border-color: var(--aph-coral); }
.svc-note { font-size: .85rem; color: var(--aph-body); margin: 12px 4px 0; }
.svc-accordion { display: flex; flex-direction: column; gap: 12px; }
.svc-cat {
  border-radius: var(--aph-radius);
  background: #fff;
  box-shadow: var(--aph-shadow);
  overflow: hidden;
}
.svc-cat-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--aph-mint);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--aph-font-display);
}
.svc-cat-head:hover { background: #c2e6dd; }
.svc-cat-title { flex: 1; font-weight: 700; font-size: 1.05rem; color: var(--aph-ink); }
.svc-cat-icon { margin-right: 4px; }
.svc-cat-count {
  background: var(--aph-teal);
  color: var(--aph-ink);
  font-size: .78rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
}
.svc-cat-caret { color: var(--aph-teal-deep); font-size: 1rem; transition: transform .25s ease; }
.svc-cat.open .svc-cat-caret { transform: rotate(180deg); }
.svc-cat-body { display: none; }
.svc-cat.open .svc-cat-body { display: block; }
.svc-table { width: 100%; border-collapse: collapse; }
.svc-table tr { border-bottom: 1px solid var(--aph-mint); }
.svc-table tr:last-child { border-bottom: none; }
.svc-table tr:hover { background: #f3faf8; }
.svc-name { padding: 13px 22px; font-size: .94rem; }
.svc-empty { text-align: center; padding: 30px; color: var(--aph-body); font-weight: 600; }
mark.svc-hit { background: #ffe08a; padding: 0 2px; border-radius: 3px; }
@media (max-width: 480px) {
  .svc-name { padding: 12px 14px; }
}

/* ---------- Services carousel (homepage) ---------- */
.svc-carousel { position: relative; }
.svc-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 18px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.svc-track::-webkit-scrollbar { display: none; }
.svc-slide {
  flex: 0 0 clamp(240px, 30%, 300px);
  scroll-snap-align: start;
  margin: 0;
}
.svc-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--aph-shadow);
  color: var(--aph-teal-deep);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background .2s ease, color .2s ease;
}
.svc-arrow:hover { background: var(--aph-coral); color: #fff; }
.svc-arrow.prev { left: -10px; }
.svc-arrow.next { right: -10px; }
@media (max-width: 700px) {
  .svc-arrow.prev { left: 2px; }
  .svc-arrow.next { right: 2px; }
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  text-align: center;
}
.why-item .why-icon {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--aph-teal);
  display: grid; place-items: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 10px 22px rgba(138, 203, 190, .5);
}
.why-item:nth-child(even) .why-icon { background: var(--aph-coral); box-shadow: 0 10px 22px rgba(242,126,129,.4); }
.why-item h3 { font-size: 1.05rem; }
.why-item p { font-size: .92rem; }

/* ---------- Health info tabs ---------- */
.tabs-nav { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn {
  font-family: var(--aph-font-display);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid var(--aph-teal);
  background: #fff;
  color: var(--aph-teal-deep);
  cursor: pointer;
  transition: all .2s ease;
}
.tab-btn.active, .tab-btn:hover { background: var(--aph-teal); color: var(--aph-ink); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.health-link {
  background: #fff;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: var(--aph-shadow);
  font-weight: 700;
  font-family: var(--aph-font-display);
  color: var(--aph-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.health-link::after { content: "→"; color: var(--aph-coral); font-size: 1.1rem; }
.health-link:hover { color: var(--aph-teal-deep); transform: translateX(4px); transition: transform .15s ease; }

/* ---------- Veterinarians ---------- */
.vets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.vet-card {
  background: #fff;
  border-radius: var(--aph-radius);
  box-shadow: var(--aph-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform .15s ease;
  border-bottom: 4px solid var(--aph-teal);
}
.vet-card:hover { transform: translateY(-5px); border-bottom-color: var(--aph-coral); color: inherit; }
.vet-photo { aspect-ratio: 4/4.4; background: var(--aph-mint); }
.vet-photo img { width: 100%; height: 100%; object-fit: cover; }
.vet-body { padding: 20px 22px 24px; text-align: center; }
.vet-body h3 { margin-bottom: 4px; font-size: 1.12rem; }
.vet-role {
  color: var(--aph-coral-dark);
  font-family: var(--aph-font-display);
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.vet-more { font-size: .85rem; font-weight: 700; color: var(--aph-teal-deep); }
.vet-profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}
.vet-profile-photo img {
  width: 100%;
  border-radius: var(--aph-radius);
  box-shadow: var(--aph-shadow);
}
@media (max-width: 760px) {
  .vet-profile-grid { grid-template-columns: 1fr; }
  .vet-profile-photo { max-width: 320px; margin-inline: auto; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--aph-coral) 0%, var(--aph-coral-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe9ea; max-width: 540px; margin: 0 auto 26px; }

/* ---------- Blog / archive / content ---------- */
.page-hero {
  background: var(--aph-teal);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin: 0; }
.content-area { padding: 60px 0; }
.content-area .container { max-width: 860px; }
.entry-content a { text-decoration: underline; }
.entry-content img { border-radius: var(--aph-radius); }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.post-card {
  background: #fff;
  border-radius: var(--aph-radius);
  box-shadow: var(--aph-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card .thumb { aspect-ratio: 16/9; background: var(--aph-mint); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px; flex: 1; }
.post-card h3 { font-size: 1.1rem; }
.post-card .meta { font-size: .8rem; color: var(--aph-teal-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers {
  display: inline-block; padding: 8px 16px; margin: 0 3px;
  border-radius: 8px; background: var(--aph-mint); font-weight: 700;
}
.pagination .current { background: var(--aph-coral); color: #fff; }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--aph-mint);
  border-radius: 10px;
  font-family: var(--aph-font-body);
  font-size: 1rem;
  color: var(--aph-ink);
  background: #fff;
  transition: border-color .2s ease;
}
input:focus, textarea:focus { border-color: var(--aph-teal); outline: none; }

/* ---------- Appointment form ---------- */
.appt-form {
  background: var(--aph-mint);
  border-radius: var(--aph-radius);
  padding: 36px;
  box-shadow: var(--aph-shadow);
}
.appt-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.appt-form .form-field { margin-bottom: 18px; }
.appt-form label {
  display: block;
  font-family: var(--aph-font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--aph-teal-deep);
  margin-bottom: 6px;
}
.appt-form input, .appt-form textarea { background: #fff; }
.appt-form .form-note { font-size: .85rem; color: var(--aph-body); }
.appt-form .aph-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.appt-notice {
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-weight: 700;
  font-family: var(--aph-font-display);
}
.appt-success { background: var(--aph-mint); color: var(--aph-teal-deep); border: 2px solid var(--aph-teal); }
.appt-error { background: #fdecec; color: var(--aph-coral-dark); border: 2px solid var(--aph-coral); }
.appt-emergency {
  margin-top: 28px;
  text-align: center;
  background: #fff;
  border: 2px dashed var(--aph-coral);
  border-radius: 12px;
  padding: 18px;
}
.appt-emergency a { color: var(--aph-coral-dark); font-weight: 700; }
@media (max-width: 560px) {
  .appt-form { padding: 24px 18px; }
  .appt-form .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--aph-teal-deep);
  color: #cfe8e1;
  padding: 64px 0 0;
  margin-top: 0;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
}
.site-footer a { color: #cfe8e1; }
.site-footer a:hover { color: var(--aph-coral); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: .93rem; }
.footer-about p { font-size: .93rem; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  font-size: 1rem;
}
.footer-social a:hover { background: var(--aph-coral); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 18px 0;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; padding: 56px 0; }
  .hero-img { order: -1; max-height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    box-shadow: var(--aph-shadow);
    padding: 14px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul ul { position: static; display: flex; box-shadow: none; padding-left: 18px; }
  .header-cta { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-left, .topbar-right { justify-content: center; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
