/* =========================================================
   BRIDGEVIEW VETERINARY — DESIGN TOKENS
   ========================================================= */
:root {
	--navy:        #0B1F3A;
	--navy-deep:   #071527;
	--navy-mid:    #14315C;
	--gold:        #C9A24B;
	--gold-light:  #E4C77E;
	--cream:       #FAF7F0;
	--white:       #FFFFFF;
	--charcoal:    #1C1E21;
	--gray:        #5B6270;
	--gray-light:  #E8E4DA;
	--success:     #3E7A4F;
	--error:       #A6402F;

	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--radius-sm: 6px;
	--radius-md: 14px;
	--radius-lg: 26px;
	--shadow-card: 0 12px 30px -14px rgba(11, 31, 58, 0.25);
	--container-w: 1180px;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--charcoal);
	background: var(--cream);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: 1rem; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 999;
	background: var(--gold); color: var(--navy-deep);
	padding: 10px 16px; border-radius: var(--radius-sm);
	width: auto; height: auto; clip: auto; font-weight: 600;
}
:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}

.container {
	max-width: var(--container-w);
	margin: 0 auto;
	padding: 0 24px;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--navy-deep);
	line-height: 1.15;
	margin: 0 0 0.5em;
	font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--gray); }

.eyebrow {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--font-body);
	text-transform: uppercase; letter-spacing: 0.14em;
	font-size: 0.78rem; font-weight: 600;
	color: var(--gold); margin-bottom: 14px;
}
.eyebrow-center { justify-content: center; }
.eyebrow .icon { width: 16px; height: 16px; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px;
	font-weight: 600; font-size: 0.95rem;
	border: 2px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 20px -8px rgba(201,162,75,0.55); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); box-shadow: 0 10px 20px -8px rgba(11,31,58,0.4); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--navy); font-weight: 600; font-size: 0.95rem;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.15s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* =========================================================
   TOPBAR + HEADER
   ========================================================= */
.topbar { background: var(--navy-deep); color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar-info { display: flex; align-items: center; gap: 14px; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.85); }
.topbar-info .icon { width: 14px; height: 14px; color: var(--gold); }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.25); }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a { color: rgba(255,255,255,0.75); }
.topbar-social .icon { width: 15px; height: 15px; }
.topbar-social a:hover { color: var(--gold); }

.site-header {
	background: var(--cream);
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid var(--gray-light);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--navy-deep); }

.nav-toggle {
	display: none; background: none; border: none; padding: 8px; color: var(--navy-deep);
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-menu-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu-close { display: block; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-menu-list { display: flex; align-items: center; gap: 26px; }
.primary-menu-list a {
	font-weight: 500; color: var(--navy-deep); position: relative; padding: 4px 0;
}
.primary-menu-list a::after {
	content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
	background: var(--gold); transition: width 0.2s ease;
}
.primary-menu-list a:hover::after,
.primary-menu-list li.current-menu-item a::after { width: 100%; }
.nav-cta { white-space: nowrap; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
	padding: 84px 24px 70px;
}
.hero-copy .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); }
.hero-lede { color: rgba(255,255,255,0.78); font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 20px; }
.hero-emergency { display: flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: 0.9rem; }
.hero-emergency .icon { width: 17px; height: 17px; }
.hero-art img { filter: drop-shadow(0 24px 40px rgba(0,0,0,0.35)); }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--gray-light); }
.trust-strip-inner {
	display: grid; grid-template-columns: repeat(4, 1fr);
	padding: 26px 24px; gap: 20px; text-align: center;
}
.trust-strip-inner > div { display: flex; flex-direction: column; gap: 2px; }
.trust-strip-inner strong { font-family: var(--font-display); color: var(--navy); font-size: 1.5rem; }
.trust-strip-inner span { font-size: 0.85rem; color: var(--gray); }

/* =========================================================
   SECTIONS / GRIDS / CARDS
   ========================================================= */
.section { padding: 76px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-title-center { text-align: center; margin-bottom: 40px; }

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

.card {
	background: var(--white); border-radius: var(--radius-md);
	padding: 30px 26px; box-shadow: var(--shadow-card);
	border: 1px solid var(--gray-light);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(11,31,58,0.3); }
.icon-badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 14px;
	background: rgba(201,162,75,0.14); color: var(--gold); margin-bottom: 16px;
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge-lg { width: 76px; height: 76px; border-radius: 20px; }
.icon-badge-lg .icon { width: 38px; height: 38px; }
.service-card p { font-size: 0.95rem; margin: 0; }

/* About preview */
.about-preview { background: var(--white); }
.about-preview-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--charcoal); }
.check-list .icon { color: var(--success); margin-top: 3px; }

/* Testimonials */
.quote-card {
	background: var(--white); border-radius: var(--radius-md);
	padding: 28px 26px; border: 1px solid var(--gray-light); margin: 0;
}
.quote-card .icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 10px; }
.quote-card blockquote { margin: 0 0 18px; font-style: italic; color: var(--charcoal); }
.quote-card figcaption { display: flex; flex-direction: column; }
.quote-card figcaption strong { color: var(--navy-deep); }
.quote-card figcaption span { font-size: 0.85rem; color: var(--gray); }

/* CTA band */
.cta-band { background: var(--navy); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band-inner h2 { color: var(--white); margin-bottom: 6px; }
.cta-band-inner p { color: rgba(255,255,255,0.75); margin: 0; }

/* =========================================================
   INNER PAGE HERO
   ========================================================= */
.page-hero { padding: 64px 0 56px; }
.page-hero-navy { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.page-hero-navy h1 { color: var(--white); max-width: 22ch; }
.page-hero-navy .eyebrow { color: var(--gold-light); }
.page-hero-lede { color: rgba(255,255,255,0.78); max-width: 60ch; font-size: 1.05rem; margin-top: 12px; }
.content-narrow { max-width: 760px; }
.content-narrow p, .content-narrow li { color: var(--charcoal); }

/* About page */
.about-story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.about-story-copy p { color: var(--charcoal); }
.values-section { background: var(--white); }

/* Services page */
.service-row { display: flex; gap: 26px; align-items: flex-start; padding: 30px 0; border-bottom: 1px solid var(--gray-light); }
.service-row:last-child { border-bottom: none; }
.service-row.is-reverse { flex-direction: row-reverse; text-align: right; }
.service-row-icon {
	flex-shrink: 0; width: 60px; height: 60px; border-radius: 16px;
	background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.service-row-icon .icon { width: 28px; height: 28px; }
.service-row-copy p { color: var(--charcoal); margin: 0; }

/* Team page */
.team-grid { margin-bottom: 18px; }
.team-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--gray-light); padding: 24px; text-align: center; }
.team-photo-placeholder {
	width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px;
	background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.team-photo-placeholder .icon { width: 34px; height: 34px; }
.team-role { color: var(--gold); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.team-bio { font-size: 0.9rem; margin: 0; }
.team-photo-note { text-align: center; font-size: 0.85rem; color: var(--gray); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info-card {
	background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-md);
	padding: 22px 24px; margin-bottom: 18px;
}
.contact-info-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 10px; }
.contact-info-card h3 .icon { color: var(--gold); }
.contact-info-card p { margin: 0; color: var(--charcoal); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-light); }
.contact-map iframe { width: 100%; height: 240px; border: 0; display: block; }

.contact-form-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-card); }
.form-row { margin-bottom: 18px; }
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy-deep); }
.form-row input, .form-row textarea {
	width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
	border: 1.5px solid var(--gray-light); background: var(--cream);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold); outline: none; }
.form-honeypot { position: absolute; left: -9999px; }
.form-fineprint { font-size: 0.82rem; margin-top: 14px; }
.form-notice { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.92rem; }
.form-notice-success { background: rgba(62,122,79,0.12); color: var(--success); }
.form-notice-error { background: rgba(166,64,47,0.12); color: var(--error); }

/* Blog */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; }
.blog-card { display: flex; gap: 22px; background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 22px; }
.blog-card-thumb { width: 220px; flex-shrink: 0; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-thumb-fallback { color: var(--gold); }
.blog-card-thumb-fallback .icon { width: 40px; height: 40px; }
.blog-card-body { padding: 22px 22px 22px 0; }
.blog-card-meta { font-size: 0.8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.blog-card h2 { font-size: 1.3rem; margin-bottom: 8px; }
.widget { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-md); padding: 22px; margin-bottom: 20px; }
.widget-title { font-size: 1.05rem; }

/* 404 */
.error-404-inner { text-align: center; max-width: 520px; margin: 0 auto; }
.error-404-inner .hero-actions { justify-content: center; }
.error-404-inner .btn-outline { color: var(--navy); border-color: var(--navy); }
.error-404-inner .btn-outline:hover { background: rgba(11,31,58,0.06); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding: 64px 24px 40px; }
.footer-brand h3 { color: var(--white); font-size: 1.2rem; margin: 14px 0 8px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.footer-social .icon { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); }
.footer-col h4, .footer-widget-title { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col p { display: flex; align-items: flex-start; gap: 8px; font-size: 0.92rem; margin-bottom: 10px; }
.footer-col .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--gold); flex-shrink: 0; }
.footer-hours { display: flex; gap: 8px; }
.footer-hours .icon { margin-top: 3px; color: var(--gold); flex-shrink: 0; }
.footer-emergency { font-size: 0.85rem; margin-top: 8px; }
.footer-menu-list li { margin-bottom: 8px; }
.footer-menu-list a { font-size: 0.92rem; color: rgba(255,255,255,0.7); }
.footer-menu-list a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 20px 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 8px; }
.footer-credit a { color: var(--gold); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
	.hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
	.hero-art { order: -1; max-width: 360px; margin: 0 auto 20px; }
	.trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
	.grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
	.about-preview-inner, .about-story, .contact-grid { grid-template-columns: 1fr; }
	.about-preview-art, .about-story-art { max-width: 320px; margin: 0 auto; }
	.blog-layout { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	.topbar-info span:nth-child(2) { display: none; }
	.topbar-divider { display: none; }
	.nav-toggle { display: block; }
	.primary-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		background: var(--cream); border-bottom: 1px solid var(--gray-light);
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 10px 24px 20px; display: none;
	}
	.primary-nav.is-open { display: flex; }
	.primary-menu-list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
	.primary-menu-list li { width: 100%; border-bottom: 1px solid var(--gray-light); }
	.primary-menu-list a { display: block; padding: 14px 0; }
	.nav-cta { margin-top: 14px; justify-content: center; }
	.grid-3, .grid-4 { grid-template-columns: 1fr; }
	.trust-strip-inner { grid-template-columns: 1fr 1fr; }
	.service-row, .service-row.is-reverse { flex-direction: column; text-align: left; }
	.form-row-2col { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; padding: 48px 24px 30px; }
	.footer-bottom-inner { flex-direction: column; text-align: center; }
	.cta-band-inner { flex-direction: column; text-align: center; }
	.section { padding: 56px 0; }
}
