/* ============================================================
   AURORA PET CLINIC — Inner Pages CSS
   Supplements index.css for all sub-pages
   ============================================================ */

/* ========================= PAGE HERO BANNER ========================= */
.page-hero {
  background: linear-gradient(135deg, var(--slate) 0%, #3d5a65 50%, #4a7055 100%);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 80%, rgba(122, 158, 126, .2) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 10%, rgba(139, 94, 60, .12) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero .section-label {
  color: var(--sage-light);
  margin-bottom: 10px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 54px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--sage-light);
}

.page-hero p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255, 255, 255, .75);
  max-width: 580px;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .6);
  transition: color var(--ease);
}

.breadcrumb a:hover {
  color: var(--sage-light);
}

.breadcrumb-sep {
  opacity: .4;
}

/* ========================= SERVICE DETAIL CARDS ========================= */
.services-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 600px) {
  .services-full-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .services-full-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--sage-light);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--sage-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: background var(--ease);
  flex-shrink: 0;
}

.service-card:hover .service-card-icon {
  background: var(--sage);
}

.service-card-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-card h4 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 0;
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.service-card .service-tag {
  display: inline-flex;
  align-items: center;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

.service-card.featured {
  border-color: var(--sage);
  border-top: 3px solid var(--sage);
}

.service-card.featured .service-card-icon {
  background: var(--sage);
}

/* ========================= FEATURED BANNER (Services page) ========================= */
.eol-banner {
  background: linear-gradient(135deg, var(--slate) 0%, #3d5a65 100%);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.eol-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(122, 158, 126, .25) 0%, transparent 60%);
}

.eol-banner>* {
  position: relative;
  z-index: 1;
}

.eol-banner .section-label {
  color: var(--sage-light);
}

.eol-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0;
}

.eol-banner h3 em {
  font-style: italic;
  color: var(--sage-light);
}

.eol-banner p {
  font-size: 16px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.8;
  max-width: 640px;
}

.eol-banner-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .eol-banner {
    flex-direction: row;
    align-items: center;
    gap: 32px;
  }

  .eol-banner-text {
    flex: 1;
  }

  .eol-banner-btns {
    flex-direction: column;
    flex-shrink: 0;
  }
}

/* ========================= MAP CONTAINER ========================= */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--white);
}

.map-wrapper iframe {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
}

@media (min-width: 600px) {
  .map-wrapper iframe {
    height: 320px;
  }
}

@media (min-width: 768px) {
  .map-wrapper iframe {
    height: 380px;
  }
}

/* ========================= LOCATION INFO GRID ========================= */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: 5fr 4fr;
  }
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow var(--ease);
}

.location-detail-card:hover {
  box-shadow: var(--shadow-sm);
}

.location-detail-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--sage-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-detail-card h5 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 5px;
}

.location-detail-card p,
.location-detail-card a {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  display: block;
}

.location-detail-card a:hover {
  color: var(--brown);
}

/* Responsive info card grid below the map */
.location-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 560px) {
  .location-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ========================= CONTACT FORM ========================= */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 24px;
}

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

@media (min-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: .03em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 158, 126, .15);
  background: var(--white);
}

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

.form-submit {
  margin-top: 8px;
}

.form-submit .btn-primary {
  width: 100%;
  height: 48px;
  font-size: 15px;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

/* ========================= ABOUT PAGE ========================= */
.about-page-team {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0;
}

@media (min-width: 600px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: box-shadow var(--ease), transform var(--ease);
}

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

.value-card-icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

/* ========================= RESOURCES PAGE ========================= */
.resource-full-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}

.resource-full-card:hover {
  border-color: var(--brown);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.resource-full-card .resource-card-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.resource-full-card .resource-info {
  flex: 1;
}

.resource-full-card strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 4px;
}

.resource-full-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.resource-full-card .btn-outline-dark {
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .resource-full-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .resource-full-card .btn-outline-dark {
    width: 100%;
  }
}

/* ========================= TEAM PAGE ========================= */
.team-page-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .team-page-profile {
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
  }
}

.team-page-photo {
  text-align: center;
}

.team-page-photo img {
  width: 100%;
  max-width: 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.team-page-photo .caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: .04em;
}

.team-page-bio h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 6px;
}

.team-page-bio .title-tag {
  font-size: 13px;
  color: var(--sage-dark);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.team-page-bio p {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.85;
  color: #3d3d3d;
  margin-bottom: 14px;
  text-align: justify;
}

.team-page-bio h4 {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  color: var(--slate);
  margin: 24px 0 8px;
}

.team-page-bio ul {
  padding-left: 18px;
  margin: 8px 0 16px;
}

.team-page-bio li {
  font-size: clamp(15px, 1.6vw, 16px);
  color: var(--muted);
  margin-bottom: 7px;
}

/* ========================= ACTIVE NAV LINK ========================= */
.nav a.active {
  color: var(--slate);
}

.nav a.active::after {
  width: 100%;
}