/* ==========================================================================
   Arlington Veterinary Clinic — bespoke theme
   Pixel-targeted to arlingtonvetclinic.net
   Palette: red #d9002f / button #cc0000 / hover #a00000, ink #1a1a1a, white.
   Type: Playball (script accent) · Lora (headings) · Inter (body).
   Theme CSS is UNLAYERED → always beats framework @layer rules. No !important.
   ========================================================================== */

:root {
  /* Override framework fallback tokens so any framework section uses our palette */
  --color-primary:   #d9002f;
  --color-accent:    #cc0000;
  --color-secondary: #1a1a1a;
  --color-dark:      #1a1a1a;
  --color-dark-grey: #1a1a1a;

  /* Theme tokens */
  --avc-red:       #d9002f;
  --avc-red-btn:   #cc0000;
  --avc-red-deep:  #a00000;
  --avc-ink:       #1f2226;
  --avc-muted:     #5f6671;
  --avc-line:      #ececec;
  --avc-soft:      #fbf5f3;   /* warm off-white section bg */
  --avc-cream:     #f6f1ee;
  --avc-white:     #ffffff;

  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-script:  'Playball', cursive;

  --avc-radius:   14px;
  --avc-radius-lg: 22px;
  --avc-shadow:   0 12px 34px rgba(20,20,30,.10);
  --avc-shadow-sm:0 6px 18px rgba(20,20,30,.08);
  --avc-maxw:     1180px;
}

/* ---------- Base ---------- */
.avc-body {
  font-family: var(--font-body);
  color: var(--avc-ink);
  background: var(--avc-white);
  margin: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.avc-body h1, .avc-body h2, .avc-body h3, .avc-body h4 {
  font-family: var(--font-heading);
  color: var(--avc-ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 600;
}
.avc-body a { color: var(--avc-red); text-decoration: none; }
.avc-body img { max-width: 100%; display: block; }

.avc-container { width: 100%; max-width: var(--avc-maxw); margin: 0 auto; padding: 0 24px; }

.skip-to-content {
  position: absolute; left: -9999px; top: 0; background: var(--avc-red); color: #fff;
  padding: 10px 16px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-to-content:focus { left: 0; }

/* Eyebrow script accent */
.avc-eyebrow {
  font-family: var(--font-script);
  color: var(--avc-red);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1;
  margin: 0 0 .25em;
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.avc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  line-height: 1; text-align: center;
}
.avc-btn__icon { width: 18px; height: 18px; fill: currentColor; }
.avc-btn--primary { background: var(--avc-red-btn); color: #fff; box-shadow: 0 8px 20px rgba(204,0,0,.28); }
.avc-btn--primary:hover { background: var(--avc-red-deep); transform: translateY(-2px); color: #fff; }
.avc-btn--outline { background: transparent; color: var(--avc-ink); border-color: rgba(0,0,0,.18); }
.avc-btn--outline:hover { border-color: var(--avc-red); color: var(--avc-red); }
.avc-btn--white { background: #fff; color: var(--avc-red); }
.avc-btn--white:hover { transform: translateY(-2px); color: var(--avc-red-deep); }
.avc-btn--block { width: 100%; }

/* ---------- Header ---------- */
.avc-header {
  position: sticky; top: 0; z-index: 1000; background: #fff;
  border-bottom: 1px solid var(--avc-line);
  transition: box-shadow .2s ease, padding .2s ease;
}
.avc-header.is-scrolled { box-shadow: 0 6px 22px rgba(0,0,0,.08); }
.avc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.avc-header.is-scrolled .avc-header__inner { min-height: 70px; }
.avc-logo { display: inline-flex; align-items: center; }
.avc-logo img { height: clamp(46px, 6vw, 62px); width: auto; transition: height .2s ease; }
.avc-header.is-scrolled .avc-logo img { height: clamp(40px, 5vw, 52px); }

.avc-nav { margin-left: auto; }
.avc-nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.avc-nav__menu > li { position: relative; }
.avc-nav__menu > li > a {
  display: inline-flex; align-items: center; gap: .3em; padding: 10px 16px; border-radius: 8px;
  color: var(--avc-ink); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: color .15s ease, background .15s ease;
}
.avc-nav__menu > li > a:hover { color: var(--avc-red); background: var(--avc-soft); }
.avc-caret { font-size: .7em; opacity: .7; }

.avc-nav__submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--avc-line); border-radius: 12px;
  box-shadow: var(--avc-shadow); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; z-index: 50;
}
.avc-nav__menu > li.has-children:hover .avc-nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.avc-nav__submenu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--avc-ink); font-size: .94rem; font-weight: 500; }
.avc-nav__submenu a:hover { background: var(--avc-soft); color: var(--avc-red); }

.avc-header__cta { display: flex; align-items: center; gap: 12px; }
.avc-burger { display: none; background: none; border: none; cursor: pointer; color: var(--avc-ink); width: 42px; height: 42px; }
.avc-burger svg { width: 26px; height: 26px; }

/* ---------- Mobile drawer ---------- */
.avc-mobile-overlay {
  position: fixed; inset: 0; background: rgba(15,15,20,.5); opacity: 0; visibility: hidden;
  transition: opacity .25s ease; z-index: 1200;
}
.avc-mobile {
  position: fixed; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: #fff; z-index: 1300; transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.18);
}
.avc-nav-open .avc-mobile-overlay { opacity: 1; visibility: visible; }
.avc-nav-open .avc-mobile { transform: translateX(0); }
.avc-mobile__head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--avc-line); }
.avc-mobile__brand { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; }
.avc-mobile__close { background: none; border: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--avc-ink); }
.avc-mobile__list { list-style: none; margin: 0; padding: 10px 0; flex: 1; overflow-y: auto; }
.avc-mobile__list a { display: block; padding: 14px 22px; font-weight: 600; color: var(--avc-ink); font-size: 1.05rem; }
.avc-mobile__list a:hover { background: var(--avc-soft); color: var(--avc-red); }
.avc-mobile__cta { padding: 16px 20px; border-top: 1px solid var(--avc-line); }

/* ---------- Notification ---------- */
.avc-notification { background: var(--avc-red); color: #fff; text-align: center; padding: 9px 16px; font-size: .92rem; }
.avc-notification a { color: #fff; text-decoration: underline; }

/* ---------- Section scaffolding ---------- */
.avc-section { padding: clamp(56px, 8vw, 96px) 0; }
.avc-section--soft { background: var(--avc-soft); }
.avc-section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.avc-section__title { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.avc-section__title em { color: var(--avc-red); font-style: normal; }
.avc-section__lead { color: var(--avc-muted); font-size: 1.08rem; }

/* ---------- Hero ---------- */
.avc-hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--avc-soft) 100%); overflow: hidden; }
.avc-hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; padding: clamp(48px, 7vw, 92px) 0;
}
.avc-hero__copy { max-width: 560px; }
.avc-hero__title { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: .35em; }
.avc-hero__title em { color: var(--avc-red); font-style: normal; }
.avc-hero__lead { color: var(--avc-muted); font-size: 1.14rem; margin-bottom: 1.6em; }
.avc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.avc-hero__photo { position: relative; }
.avc-hero__photo img {
  width: 100%; border-radius: var(--avc-radius-lg); box-shadow: var(--avc-shadow);
  object-fit: cover; aspect-ratio: 16/13;
}
.avc-hero__badge {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 16px;
  box-shadow: var(--avc-shadow); padding: 14px 20px; display: flex; align-items: center; gap: 12px;
}
.avc-hero__badge strong { font-family: var(--font-heading); font-size: 1.5rem; color: var(--avc-red); display: block; }
.avc-hero__badge span { font-size: .82rem; color: var(--avc-muted); }

/* ---------- About / intro ---------- */
.avc-about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.avc-about__media img { border-radius: var(--avc-radius-lg); box-shadow: var(--avc-shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.avc-about__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.avc-about__text { color: var(--avc-muted); font-size: 1.06rem; }
.avc-about__text p { margin: 0 0 1em; }
.avc-about__actions { margin-top: 1.4em; }

/* ---------- Veterinarians ---------- */
.avc-vets__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; max-width: 760px; margin: 0 auto; }
.avc-vet {
  background: #fff; border: 1px solid var(--avc-line); border-radius: var(--avc-radius-lg);
  overflow: hidden; box-shadow: var(--avc-shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.avc-vet:hover { transform: translateY(-6px); box-shadow: var(--avc-shadow); }
.avc-vet__photo { aspect-ratio: 1/1; background: var(--avc-cream); }
.avc-vet__photo img { width: 100%; height: 100%; object-fit: cover; }
.avc-vet__body { padding: 22px 24px 26px; text-align: center; }
.avc-vet__name { font-size: 1.35rem; margin-bottom: .15em; }
.avc-vet__role { color: var(--avc-red); font-weight: 600; font-size: .95rem; }
.avc-vet__meta { color: var(--avc-muted); font-size: .9rem; margin-top: .3em; }

/* ---------- Services grid ---------- */
.avc-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.avc-service {
  background: #fff; border: 1px solid var(--avc-line); border-radius: var(--avc-radius);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.avc-service:hover { transform: translateY(-5px); box-shadow: var(--avc-shadow); border-color: transparent; }
.avc-service__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--avc-soft); color: var(--avc-red); margin-bottom: 16px;
}
.avc-service__icon svg { width: 28px; height: 28px; fill: currentColor; }
.avc-service__name { font-size: 1.18rem; margin-bottom: .35em; }
.avc-service__desc { color: var(--avc-muted); font-size: .96rem; margin: 0; }

/* ---------- CTA banner ---------- */
.avc-cta { background: var(--avc-red); color: #fff; text-align: center; }
.avc-cta .avc-container { padding-top: clamp(54px, 7vw, 86px); padding-bottom: clamp(54px, 7vw, 86px); }
.avc-cta__title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .35em; }
.avc-cta__text { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 600px; margin: 0 auto 1.6em; }
.avc-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.avc-footer { background: var(--avc-ink); color: rgba(255,255,255,.78); padding: clamp(48px, 6vw, 72px) 0 28px; }
.avc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.avc-footer__brand img { height: 56px; width: auto; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 16px; }
.avc-footer__brand p { font-size: .96rem; color: rgba(255,255,255,.65); max-width: 320px; }
.avc-footer__col h4 { color: #fff; font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 16px; }
.avc-footer__col ul { list-style: none; margin: 0; padding: 0; }
.avc-footer__col ul li { margin-bottom: 10px; }
.avc-footer__col a { color: rgba(255,255,255,.78); font-size: .96rem; }
.avc-footer__col a:hover { color: #fff; }
.avc-footer__hours li { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.avc-footer__hours span:first-child { color: rgba(255,255,255,.6); }
.avc-footer__contact { display: flex; flex-direction: column; gap: 12px; }
.avc-footer__contact a, .avc-footer__addr { display: inline-flex; align-items: flex-start; gap: .6em; color: rgba(255,255,255,.82); font-size: .96rem; }
.avc-footer__contact svg { width: 18px; height: 18px; fill: var(--avc-red); flex-shrink: 0; margin-top: 2px; }
.avc-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .88rem; color: rgba(255,255,255,.55); }
.avc-footer__bottom a { color: rgba(255,255,255,.8); text-decoration: underline; }

/* ---------- Reveal ---------- */
.avc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.avc-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .avc-nav, .avc-header__cta .avc-btn__label { display: none; }
  .avc-burger { display: inline-flex; }
  .avc-hero__inner, .avc-about__inner { grid-template-columns: 1fr; }
  .avc-hero__photo { order: -1; }
  .avc-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .avc-container { padding: 0 18px; }
  .avc-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .avc-hero__actions { flex-direction: column; align-items: stretch; }
  .avc-hero__actions .avc-btn { width: 100%; }
}

/* ==========================================================================
   Inner pages (Pages Mendol — show.blade.php uses framework chrome classes)
   ========================================================================== */
.inner-page-wrapper { background: #fff; }
.inner-hero { position: relative; min-height: 340px; display: grid; }
.inner-hero-banner { position: absolute; inset: 0; }
.inner-hero-banner img { width: 100%; height: 100%; object-fit: cover; }
.inner-hero-overlay {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: 340px; padding: 40px 0;
  background: linear-gradient(180deg, rgba(26,26,30,.45), rgba(160,0,0,.55));
  color: #fff;
}
.inner-hero-overlay h1 { color: #fff; font-family: var(--font-heading); font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 0; }
.inner-hero-overlay p { color: rgba(255,255,255,.92); }

.inner-content { max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 24px; }
.page-content { color: var(--avc-ink); font-size: 1.06rem; line-height: 1.75; }
.page-content h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 1.4em 0 .5em; }
.page-content h3 { font-family: var(--font-heading); font-size: 1.35rem; margin: 1.2em 0 .4em; }
.page-content h4 { font-size: 1.1rem; margin: 1em 0 .35em; }
.page-content p { margin: 0 0 1.1em; color: var(--avc-muted); }
.page-content a { color: var(--avc-red); font-weight: 600; }
.page-content ul, .page-content ol { margin: 0 0 1.2em; padding-left: 1.3em; color: var(--avc-muted); }
.page-content li { margin-bottom: .5em; }
.page-content img { border-radius: var(--avc-radius); margin: 1em 0; }

/* Info card used in Contact page content */
.avc-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 8px 0 4px; }
.avc-info__card { background: var(--avc-soft); border-radius: var(--avc-radius); padding: 22px 24px; }
.avc-info__card h3 { margin: 0 0 .4em; font-size: 1.15rem; }
.avc-info__card p, .avc-info__card a { color: var(--avc-muted); margin: 0; }
.avc-info__card a { color: var(--avc-red); font-weight: 600; }
.avc-hours-list { list-style: none; margin: 0; padding: 0; }
.avc-hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; color: var(--avc-muted); }
