/* PawCare Veterinary Clinic demo · shared theme
   Medical teal + warm white + soft amber accents (white-logo friendly) */

:root {
  --bg: #f7fafa;
  --bg-2: #eef4f5;
  --panel: #ffffff;
  --line: #dce7e9;
  --text: #22333b;
  --muted: #5f7278;
  --accent: #0e7c86;        /* medical teal */
  --accent-dark: #0a5c64;
  --accent-soft: #e0f1f2;
  --header-bg: #0f4c52;     /* deep teal surface for white logo */
  --header-bg-deep: #0a3a3f;
  --amber: #f2a541;
  --amber-soft: #fdf3e3;
  --shadow: 0 14px 34px rgba(10, 92, 100, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

::selection { background: var(--accent); color: #fff; }

.container { width: 90%; max-width: 1140px; margin: auto; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; }

/* ----- top utility bar ----- */
.topbar {
  background: var(--header-bg-deep);
  color: #d5e6e8;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 42px; gap: 14px; flex-wrap: wrap;
}
.topbar-contact span { margin-right: 18px; }
.topbar-urgent { color: var(--amber); font-weight: 600; }
.topbar-hours { white-space: nowrap; }

/* ----- header / nav (deep teal, single-line menu) ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  box-shadow: 0 6px 22px rgba(10, 58, 63, 0.28);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 16px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; display: block; }
.brand-name { font-weight: 700; font-size: 19px; line-height: 1.25; color: #ffffff; }
.brand-name small { display: block; font-weight: 400; font-size: 10.5px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.5px; }

.menu {
  display: flex; align-items: center; gap: 15px;
  flex-wrap: nowrap; white-space: nowrap;
}
.menu > li { position: relative; }
.menu a {
  font-size: 13.5px; font-weight: 500; color: #e9f4f5;
  padding: 8px 0; display: inline-flex; align-items: center;
  white-space: nowrap; transition: color 0.25s;
}
.menu a:hover { color: var(--amber); }
.menu a[aria-current="page"] { color: var(--amber); font-weight: 600; }

.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); color: #3d2c0a;
  font-size: 13.5px; font-weight: 700;
  padding: 11px 22px; border-radius: 10px; white-space: nowrap;
  transition: 0.25s; flex: 0 0 auto;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242, 165, 65, 0.35); }

.hamburger {
  display: none; width: 44px; height: 44px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: #ffffff; border-radius: 2px; }

/* ----- hero (split with photo) ----- */
.hero-split { padding: 72px 0 64px; background: var(--bg); }
.hero-split-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
.hero .kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; line-height: 1.22; color: var(--text); }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero p { color: var(--muted); max-width: 520px; margin: 18px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media img {
  border-radius: 20px; box-shadow: var(--shadow);
  width: 100%; height: 100%; max-height: 460px; object-fit: cover; display: block;
}
.hero-stats {
  display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 24px; font-weight: 800; color: var(--accent-dark); line-height: 1.2; }
.hero-stats span { font-size: 12.5px; color: var(--muted); }
.hero-stats-left { margin-top: 22px; }

/* ----- inner page hero ----- */
.page-head { padding: 58px 0 10px; text-align: center; }
.page-head .eyebrow {
  color: var(--accent-dark); font-size: 12.5px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
}
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; margin: 8px 0 10px; color: var(--text); }
.page-head p { color: var(--muted); font-size: 15px; max-width: 620px; margin: 0 auto; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: 15px; transition: 0.25s; border: none;
}
.btn-large { padding: 16px 30px; font-size: 16px; }
.btn-primary { background: var(--accent); color: #ffffff; box-shadow: 0 8px 20px rgba(14, 124, 134, 0.28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.text-link { color: var(--accent-dark); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

/* ----- sections ----- */
section { padding: 64px 0; }
.section-tight { padding: 34px 0 10px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow {
  color: var(--accent-dark); font-size: 12.5px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
}
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; margin: 8px 0 10px; color: var(--text); }
.section-head p { color: var(--muted); font-size: 15px; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ----- quick highlights (homepage) ----- */
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.highlight {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 18px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: 0.25s;
}
.highlight:hover { border-color: rgba(14, 124, 134, 0.45); box-shadow: var(--shadow); }
.highlight .h-icon { font-size: 24px; line-height: 1.3; }
.highlight h3 { font-size: 14.5px; color: var(--text); }
.highlight p { font-size: 12.5px; color: var(--muted); }

/* ----- summary / service cards ----- */
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.summary-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.summary-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 124, 134, 0.45);
  box-shadow: var(--shadow);
}
.summary-card .s-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid rgba(14, 124, 134, 0.28);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 6px;
}
.summary-card h3 { font-size: 17.5px; color: var(--text); }
.summary-card p { color: var(--muted); font-size: 13.5px; flex: 1; }
.summary-card .text-link { font-size: 14px; margin-top: 6px; }

/* ----- info cards ----- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.info-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: 0.25s;
}
.info-card:hover { border-color: rgba(14, 124, 134, 0.45); box-shadow: var(--shadow); }
.info-card .c-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--accent-soft); border: 1px solid rgba(14, 124, 134, 0.28);
  display: grid; place-items: center; font-size: 23px; margin-bottom: 4px;
}
.info-card h3 { font-size: 17px; color: var(--text); }
.info-card p { color: var(--muted); font-size: 13.5px; flex: 1; }
.info-card .meta { font-size: 12.5px; color: var(--accent-dark); font-weight: 600; }
.info-card .quote { font-size: 14px; color: var(--text); font-style: italic; }

/* ----- split media sections ----- */
.split-media {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.split-media-reverse .split-media-img { order: 2; }
.split-media-img img {
  width: 100%; height: 100%; max-height: 420px; object-fit: cover;
  border-radius: 18px; box-shadow: var(--shadow); display: block;
}
.split-media .eyebrow {
  color: var(--accent-dark); font-size: 12.5px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
}
.split-title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin: 6px 0 14px; color: var(--text); }
.split-media > div > p { color: var(--muted); font-size: 14.5px; }

/* ----- team cards ----- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; transition: 0.25s;
  display: flex; flex-direction: column;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(14, 124, 134, 0.45); }
.team-card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.team-info { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.team-info h3 { font-size: 15.5px; color: var(--text); }
.team-role { font-size: 12px; font-weight: 600; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.6px; }
.team-info p { font-size: 12.5px; color: var(--muted); flex: 1; }

/* ----- emergency band ----- */
.emergency-band {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 165, 65, 0.22), transparent 55%),
    var(--panel);
  border: 1px solid var(--line); border-left: 4px solid var(--amber);
  border-radius: 16px; padding: 28px 32px; box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.emergency-band h3 { font-size: 19px; color: var(--text); margin-bottom: 6px; }
.emergency-band p { color: var(--muted); font-size: 14px; max-width: 560px; }

/* ----- CTA box ----- */
.cta-box {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(14, 124, 134, 0.12), transparent 60%),
    var(--panel);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 46px 32px; box-shadow: var(--shadow);
}
.cta-box h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--text); }
.cta-box p { color: var(--muted); font-size: 15px; margin: 10px 0 26px; }

/* ----- forms ----- */
.form-card {
  max-width: 760px; margin: 0 auto;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; padding: 34px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 14px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 14px; transition: border-color 0.25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ----- lists ----- */
.check-list { margin: 14px 0; }
.check-list li { padding: 6px 0 6px 32px; position: relative; font-size: 14.5px; color: var(--muted); }
.check-list li strong { color: var(--text); }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

/* ----- hours table & map ----- */
.hours-table {
  max-width: 520px; margin: 40px auto 0;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 30px;
}
.hours-table h3 { font-size: 16px; margin-bottom: 12px; color: var(--text); }
.hours-table table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 9px 4px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child { text-align: right; color: var(--text); font-weight: 600; }

.map-box { max-width: 860px; margin: 0 auto; }
.map-placeholder {
  height: 260px; border-radius: 18px; border: 1px dashed var(--line);
  background: var(--bg-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--muted); text-align: center;
}
.map-placeholder span { font-size: 40px; }
.map-placeholder p { font-size: 14px; color: var(--text); }
.map-placeholder small { font-size: 12px; }

/* ----- footer (deep teal) ----- */
footer { border-top: 4px solid var(--amber); background: var(--header-bg); padding: 46px 0 0; color: #dfecee; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px;
  padding-bottom: 36px;
}
.footer-grid h4 { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.footer-grid li { color: #dfecee; font-size: 13.5px; margin-bottom: 8px; }
.footer-grid p, .footer-grid a { color: #dfecee; font-size: 13.5px; }
.footer-grid a:hover { color: #ffffff; }
.footer-grid .brand-name { color: #ffffff; }
.footer-grid .brand-name small { color: rgba(255, 255, 255, 0.7); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: #b4c9cc;
}
.footer-bottom a { color: var(--amber); font-weight: 600; }

/* ----- demo notice & toast ----- */
.demo-note {
  position: fixed; bottom: 18px; left: 18px; z-index: 90;
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 12px; padding: 10px 16px;
  font-size: 12px; color: var(--muted);
  box-shadow: var(--shadow);
}
.demo-note a { color: var(--accent-dark); font-weight: 600; }
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  background: var(--panel); border: 1px solid var(--accent);
  color: var(--text); border-radius: 12px; padding: 14px 20px;
  font-size: 14px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: 0.3s;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ----- responsive ----- */
@media (max-width: 1080px) {
  .menu { gap: 12px; }
  .menu a { font-size: 12.5px; }
  .brand-name small { display: none; }
  .header-cta { padding: 10px 16px; font-size: 12.5px; }
}

@media (max-width: 1024px) {
  .summary-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-split-grid, .split-media { grid-template-columns: 1fr; gap: 34px; }
  .split-media-reverse .split-media-img { order: 0; }
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--header-bg); border-bottom: 3px solid var(--amber);
    box-shadow: 0 20px 40px rgba(10, 58, 63, 0.35);
    flex-direction: column; align-items: stretch; gap: 0; padding: 14px 5%;
    white-space: normal;
  }
  .menu.is-open { display: flex; }
  .menu a { padding: 12px 4px; font-size: 14.5px; color: #e9f4f5; }
  .topbar-contact { display: none; }
}

@media (max-width: 620px) {
  .summary-grid, .card-grid, .card-grid.cols-2, .team-grid { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 44px; }
  section { padding: 50px 0; }
  .page-head { padding: 42px 0 6px; }
  .form-grid { grid-template-columns: 1fr; }
}
