/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --color-navy: #1a365d;
  --color-navy-light: #234a7a;
  --color-navy-dark: #122a4a;
  --color-teal: #2a7f8e;
  --color-teal-light: #3a9aab;
  --color-gold: #c9a84c;
  --color-gold-dark: #a88d3a;
  --color-cream: #faf8f4;
  --color-warm-white: #fffdf9;
  --color-blush: #f0e6e0;
  --color-text: #2c2c2c;
  --color-text-light: #5a5a5a;
  --color-border: #e8e4de;
  --color-error: #c45242;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 54, 93, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 54, 93, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 54, 93, 0.12);
  --shadow-hover: 0 12px 40px rgba(26, 54, 93, 0.16);

  /* Transitions */
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;

  /* Focus */
  --focus-ring: 0 0 0 3px rgba(42, 127, 142, 0.35);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h1, h2 {
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* ===== UTILITY CLASSES ===== */
.section--white { background: var(--color-warm-white); }
.section--cream { background: var(--color-cream); }
.section--center { text-align: center; }

/* ===== BETA BANNER ===== */
.beta-banner {
  background: var(--color-gold);
  color: var(--color-navy);
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.beta-banner a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: underline;
}

/* ===== HEADER ===== */
.site-header {
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.header-logo a {
  display: block;
}

.header-logo img {
  max-width: 180px;
  height: auto;
}

.header-center {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.header-center .company-name {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.header-center .tagline {
  color: var(--color-teal);
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 10px;
}

.call-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-teal);
  color: #fff;
  padding: 10px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.call-button:hover {
  background: var(--color-navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.call-button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.call-button:focus-visible {
  box-shadow: var(--focus-ring);
}

.call-button .phone-icon {
  font-size: 16px;
}

.header-right {
  text-align: right;
  min-width: 240px;
}

.header-right .quality-text {
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
}

.header-right .counties {
  color: var(--color-teal);
  font-size: 16px;
  font-style: italic;
  margin-top: 4px;
}

/* ===== NAVIGATION ===== */
.site-nav {
  background: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0;
}

.nav-links li a {
  display: block;
  color: #ffffff;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: background var(--transition-base);
  position: relative;
  white-space: nowrap;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--color-gold);
  transition: width var(--transition-base), left var(--transition-base);
}

.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
  left: 0;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 12px 20px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,54,93,0.55) 0%, rgba(26,54,93,0.15) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  width: 100%;
}

.hero-text-box {
  max-width: 460px;
  background: rgba(26,54,93,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 44px 40px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-text-box h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.15;
}

/* Hero entrance animation */
@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-text-box {
  animation: heroSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-text-box h2 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-gold);
  color: #fff;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-cta:hover {
  background: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.hero-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(201,168,76,0.3);
}

.hero-cta:focus-visible {
  box-shadow: var(--focus-ring);
}

/* ===== SECTIONS ===== */
.section {
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 16px auto 0;
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible .section-title::after,
.section-title.visible::after {
  width: 80px;
}

.section-intro {
  text-align: center;
  max-width: var(--max-width-narrow);
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border-top: 3px solid var(--color-gold);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  text-align: center;
}

.service-card-body p {
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  flex: 1;
}

.service-card-btn {
  display: block;
  margin-top: 18px;
  background: var(--color-gold);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base);
}

.service-card-btn::after {
  content: ' \2192';
  transition: transform var(--transition-base);
  display: inline-block;
}

.service-card:hover .service-card-btn {
  background: var(--color-navy);
}

.service-card:hover .service-card-btn::after {
  transform: translateX(4px);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background-color: var(--color-warm-white);
  background-image: radial-gradient(circle at 1px 1px, rgba(26,54,93,0.03) 1px, transparent 0);
  background-size: 24px 24px;
  padding: 60px 20px;
}

.testimonials-inner {
  max-width: 900px;
  margin: 0 auto;
}

.testimonials h2 {
  text-align: center;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 30px;
  position: relative;
}

.testimonials h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

.testimonial-card {
  background: #fff;
  border-left: 4px solid var(--color-teal);
  padding: 28px 32px 28px 54px;
  margin-bottom: 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--color-teal);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-card .testimonial-author {
  font-weight: 700;
  font-style: normal;
  color: var(--color-navy);
  font-size: 14px;
}

/* ===== FOOTER ===== */
.site-footer-nav {
  background: var(--color-navy);
  padding: 0;
}

.footer-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav-inner a {
  color: #fff;
  padding: 12px 20px;
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background var(--transition-base);
}

.footer-nav-inner a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  background-color: var(--color-navy);
  background-image: linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.03) 75%, transparent 75%);
  background-size: 40px 40px;
  padding: 40px 20px;
  color: #fff;
  border-top: 3px solid var(--color-gold);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h3 {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  color: var(--color-gold);
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col .phone-link {
  font-weight: 700;
  color: var(--color-gold);
}

.footer-col .email-link {
  font-weight: 700;
  color: var(--color-gold);
}

.footer-col .call-button {
  font-size: 13px;
  padding: 8px 20px;
}

.footer-bottom {
  background: #11253f;
  padding: 16px 20px;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.footer-bottom a {
  color: #fff;
  font-weight: 700;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  background: var(--color-warm-white);
  padding: 60px 20px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-col h2,
.contact-info-col h2 {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-form-col .form-note {
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.contact-form-col .required-note {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.contact-form-col .required-note span {
  color: var(--color-error);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.form-group label .req {
  color: var(--color-error);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--color-warm-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(42,127,142,0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-submit-btn {
  display: inline-block;
  background: var(--color-navy);
  color: #fff;
  padding: 14px 44px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.form-submit-btn:hover {
  background: var(--color-navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.form-submit-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.form-submit-btn:focus-visible {
  box-shadow: var(--focus-ring);
}

.contact-info-col p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.contact-info-col a {
  color: var(--color-teal);
}

.contact-info-col a:hover {
  text-decoration: underline;
}

.contact-info-col .office-hours {
  margin-top: 16px;
}

.contact-map {
  margin-top: 24px;
  width: 100%;
  height: clamp(250px, 40vw, 400px);
  border: 0;
  border-radius: var(--radius-md);
}

/* Form validation styling */
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: var(--color-teal-light);
}

.form-group input:invalid:not(:focus):not(:placeholder-shown) {
  border-color: var(--color-error);
}

/* ===== INNER PAGE HERO ===== */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,54,93,0.8) 0%, rgba(26,54,93,0.4) 60%, rgba(26,54,93,0.1) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  width: 100%;
}

.page-hero-content h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
}

.page-hero-content .page-hero-tagline {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 10px;
}

.page-hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-top: 10px;
  max-width: 600px;
}

.page-hero-content .cta-btn {
  margin-top: 20px;
}

/* ===== INNER PAGE CONTENT ===== */
.page-content {
  background: var(--color-warm-white);
  padding: 60px 20px;
}

.page-content-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-content-inner h2 {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 16px;
}

.page-content-inner h3 {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
}

.page-content-inner p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-content-inner ul {
  margin: 0 0 20px 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.8;
  list-style: none;
}

.page-content-inner ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 4px;
}

.page-content-inner ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 700;
  font-size: 14px;
}

.page-content-inner a:not(.cta-btn):not(.cta-btn-dark):not(.cta-btn-gold):not(.service-card-btn) {
  color: var(--color-teal);
  background-image: linear-gradient(var(--color-teal), var(--color-teal));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size var(--transition-base);
}

.page-content-inner a:not(.cta-btn):not(.cta-btn-dark):not(.cta-btn-gold):not(.service-card-btn):hover {
  background-size: 100% 1px;
  text-decoration: none;
}

/* Two-column layout: text + image */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.content-two-col img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Service detail page */
.service-detail-disclaimer {
  font-weight: 500;
  font-style: italic;
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--color-cream);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-light);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-teal);
  color: #fff;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  margin-top: 10px;
}

.cta-btn:hover {
  background: var(--color-navy);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.cta-btn:focus-visible {
  box-shadow: var(--focus-ring);
}

.cta-btn-dark {
  background: var(--color-navy);
}

.cta-btn-dark:hover {
  background: var(--color-navy-dark);
}

.cta-btn-gold {
  background: var(--color-gold);
}

.cta-btn-gold:hover {
  background: var(--color-gold-dark);
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.about-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-cream);
  transform: rotate(-1deg);
  transition: transform var(--transition-base);
}

.about-grid img:hover {
  transform: rotate(0deg);
}

.about-section {
  margin-bottom: 30px;
}

/* ===== GALLERY PAGE ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform var(--transition-slow);
  cursor: pointer;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 18px 14px;
  background: linear-gradient(transparent, rgba(26,54,93,0.85));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ===== GALLERY LIGHTBOX ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 85vh;
  cursor: default;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  transition: opacity 0.15s ease;
  object-fit: contain;
}

.lightbox-overlay img.lightbox-fade {
  opacity: 0;
}

.lightbox-caption {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  margin-top: 14px;
  padding: 0 20px;
  max-width: 600px;
  line-height: 1.5;
}

.lightbox-counter {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  font-weight: 300;
  z-index: 10;
  background: none;
  border: none;
  padding: 8px;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ===== REVIEWS PAGE ===== */
.reviews-list {
  max-width: 900px;
  margin: 0 auto;
}

.review-card {
  background: #fff;
  border-left: 4px solid var(--color-teal);
  padding: 28px 32px 28px 54px;
  margin-bottom: 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--transition-base);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-card::before {
  content: '\201C';
  position: absolute;
  left: 18px;
  top: 16px;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--color-teal);
  opacity: 0.3;
  line-height: 1;
}

.review-card p {
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}

.review-card .review-author {
  font-weight: 700;
  font-style: normal;
  color: var(--color-navy);
  font-size: 15px;
}

/* ===== JOIN US PAGE ===== */
.join-benefits {
  background-color: var(--color-navy);
  background-image: linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.03) 75%, transparent 75%);
  background-size: 40px 40px;
  color: #fff;
  padding: 60px 20px;
}

.join-benefits-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.join-benefits h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}

.join-benefits h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.join-benefits ul {
  list-style: disc;
  margin-left: 24px;
  font-size: 16px;
  line-height: 2;
}

/* ===== APPLY / BOOK APPOINTMENT FORMS ===== */
.apply-form-section {
  background: var(--color-warm-white);
  padding: 60px 20px;
}

.apply-form-inner {
  max-width: 800px;
  margin: 0 auto;
}

.apply-form-inner h2 {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 20px;
}

.apply-form-inner .form-group {
  margin-bottom: 18px;
}

.apply-form-inner label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.apply-form-inner input,
.apply-form-inner textarea,
.apply-form-inner select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--color-warm-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.apply-form-inner input:focus,
.apply-form-inner textarea:focus,
.apply-form-inner select:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(42,127,142,0.12);
}

.apply-form-inner textarea {
  min-height: 120px;
  resize: vertical;
}

.apply-form-inner .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.apply-form-inner .checkbox-group {
  margin-bottom: 18px;
  background: var(--color-cream);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.apply-form-inner .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  margin-bottom: 8px;
  cursor: pointer;
}

.apply-form-inner .checkbox-group input[type="checkbox"] {
  width: auto;
}

.apply-form-inner .section-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-gold);
}

.apply-form-inner .required-note {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.apply-form-inner .required-note .req,
.apply-form-inner .req {
  color: var(--color-error);
}

/* ===== CARE TIPS PAGE ===== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.tip-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.tip-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.tip-card:hover img {
  transform: scale(1.05);
}

.tip-card-body {
  padding: 20px 24px;
}

.tip-card-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.tip-card-body .tip-author {
  font-size: 13px;
  color: #7a7a7a;
}

/* ===== VET ASSIST PAGE ===== */
.vet-banner {
  width: 100%;
  max-height: 400px;
  min-height: 250px;
  object-fit: cover;
}

.vet-cta-section {
  text-align: center;
  padding: 40px 20px;
  background: var(--color-warm-white);
}

.vet-cta-section h2 {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
  position: relative;
}

.vet-cta-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

.vet-cta-section p {
  font-size: 16px;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SERVICES NAV SIDEBAR ===== */
.services-sidebar {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 24px;
}

.services-sidebar h3 {
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 12px;
}

.services-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-sidebar ul li {
  margin-bottom: 0;
}

.services-sidebar ul li a {
  display: block;
  padding: 10px 14px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-base), color var(--transition-base);
}

.services-sidebar ul li a:hover,
.services-sidebar ul li a.active {
  background: var(--color-navy);
  color: #fff;
  text-decoration: none;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .header-right {
    text-align: center;
    min-width: unset;
  }

  .header-right .counties {
    font-size: 11px;
  }

  .header-logo img {
    max-width: 140px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-inner .footer-col:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .content-two-col {
    grid-template-columns: 1fr;
  }

  .content-two-col img {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item .gallery-caption {
    transform: translateY(0);
    position: relative;
    background: var(--color-warm-white);
    color: var(--color-text);
    padding: 10px 14px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .apply-form-inner .form-row {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    width: 100%;
    text-align: left;
    transition: transform var(--transition-base);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    max-height: 600px;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links li a {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links li a::after {
    display: none;
  }

  .nav-links li a:hover,
  .nav-links li a.active {
    background: rgba(255,255,255,0.12);
  }

  .hero {
    min-height: 400px;
  }

  .hero-text-box {
    max-width: 100%;
    padding: 32px 28px;
  }

  .hero-text-box h1 {
    font-size: 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit-btn {
    width: 100%;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }

  .lightbox-content {
    max-width: 95vw;
  }

  .lightbox-overlay img {
    max-width: 95vw;
    max-height: 70vh;
  }

  .lightbox-caption {
    font-size: 13px;
    margin-top: 10px;
  }

  .lightbox-counter {
    font-size: 12px;
    top: 16px;
  }

  .page-hero {
    min-height: 200px;
  }

  .page-hero-content h1 {
    font-size: 28px;
  }

  .beta-banner {
    font-size: 13px;
    padding: 8px 15px;
  }

  .footer-nav-inner {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-inner .footer-col:last-child {
    grid-column: auto;
  }

  .reveal {
    transform: translateY(16px);
  }

  .testimonial-card::before,
  .review-card::before {
    font-size: 36px;
  }

  .testimonial-card,
  .review-card {
    padding-left: 46px;
  }

  /* Horizontal scroll-snap testimonials on mobile */
  .testimonials-inner {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    flex-wrap: nowrap;
  }

  .testimonials-inner h2 {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .testimonial-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    margin-bottom: 0;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
