/* ============================================================
   AURORA PET CLINIC — Fully Responsive
   Breakpoints:
     xs:  < 480px   (small phones)
     sm:  480–767px (large phones)
     md:  768–1023px (tablets / iPads portrait)
     lg:  1024–1279px (iPads landscape / small laptops)
     xl:  1280px+   (laptops / desktops)
   ============================================================ */

/* =========================
   CSS VARIABLES
========================= */
:root {
  --cream:        #faf7f2;
  --cream-dark:   #f4f1ec;
  --sage:         #7a9e7e;
  --sage-dark:    #5c7d60;
  --sage-light:   #d4e4d5;
  --brown:        #8b5e3c;
  --brown-dark:   #6e4a2d;
  --slate:        #2f3e46;
  --slate-light:  #4a5e67;
  --text:         #2b2b2b;
  --text-muted:   #6b7280;
  --white:        #ffffff;
  --border:       #e8e2d9;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:       12px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.13);
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* =========================
   PAGE LOADER
========================= */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.loaded { opacity: 0; visibility: hidden; }

.loader-paw {
  font-size: 40px;
  color: var(--sage);
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.2); opacity: 0.6; }
}

/* =========================
   SCROLL REVEAL
========================= */
.reveal, .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible, .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }
.delay-3 { transition-delay: 0.45s; }

/* =========================
   LAYOUT
========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive container padding */
@media (min-width: 480px)  { .container { padding: 0 24px; } }
@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }
@media (min-width: 1280px) { .container { padding: 0 24px; } }

.narrow { max-width: 780px; }

/* =========================
   SECTION LABEL
========================= */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

/* =========================
   TOP BAR
========================= */
.top-bar {
  background: var(--slate);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 9px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-bar a { color: inherit; transition: color var(--transition); }
.top-bar a:hover { color: var(--sage-light); }
.top-bar .divider { opacity: 0.3; }

/* Hide top bar on very small phones */
@media (max-width: 380px) {
  .top-bar { display: none; }
}

/* =========================
   HEADER
========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

/* =========================
   LOGO
========================= */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.logo img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.logo-text h2 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--slate);
  line-height: 1.2;
  white-space: nowrap;
}

.logo-text span {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .logo img      { height: 56px; }
  .logo-text h2  { font-size: 19px; }
  .logo-text span{ font-size: 11px; }
}

@media (min-width: 1024px) {
  .logo img      { height: 64px; }
  .logo-text h2  { font-size: 20px; }
}

/* =========================
   DESKTOP NAV
========================= */
.nav {
  display: none; /* hidden by default, shown on lg+ */
  gap: 24px;
}

.nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate-light);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--sage);
  transition: width var(--transition);
}
.nav a:hover { color: var(--slate); }
.nav a:hover::after { width: 100%; }

@media (min-width: 1024px) {
  .nav { display: flex; }
}

/* =========================
   DROPDOWN
========================= */
.dropdown {
  position: relative;
  flex-shrink: 0;
  display: none; /* shown on lg+ */
}

@media (min-width: 1024px) {
  .dropdown { display: block; }
}

.dropdown-btn {
  background: var(--brown);
  color: var(--white);
  border: none;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 230px;
  display: none;
  z-index: 2000;
  border: 1px solid var(--border);
  overflow: hidden;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--cream-dark); color: var(--brown); }
.dropdown-menu.show { display: block; animation: dropIn 0.2s ease; }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   BUTTONS
========================= */
.btn-primary,
.btn-outline,
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  border: none;
}

.btn-primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(139,94,60,0.28);
}
.btn-primary:hover {
  background: var(--brown-dark);
  box-shadow: 0 4px 16px rgba(139,94,60,0.36);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.7);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--white);
}

.btn-outline-dark {
  border: 1.5px solid var(--brown);
  color: var(--brown);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--brown);
  color: var(--white);
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

/* =========================
   MOBILE NAV DRAWER
========================= */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--cream);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  padding: 64px 28px 40px;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }

.mobile-nav-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  font-size: 22px; cursor: pointer;
  color: var(--slate-light);
  padding: 4px;
}

.mobile-link {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--slate);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
  display: block;
}
.mobile-link:hover { color: var(--sage-dark); }

.mobile-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-cta .btn-primary,
.mobile-cta .btn-outline-dark {
  width: 100%;
  height: 48px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: -20%;
  background: linear-gradient(135deg, var(--slate) 0%, #3d5a65 40%, #4a7055 100%);
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 70%, rgba(122,158,126,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(139,94,60,0.15) 0%, transparent 50%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 100px 0 80px;
}

.hero-content {
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 66px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

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

.hero-sub {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}

/* Hero responsive */
@media (max-width: 479px) {
  .hero-overlay { padding: 80px 0 60px; }
  .hero h1      { font-size: 30px; }
  .hero-sub     { font-size: 14px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline { width: 100%; }
  .hero-scroll-hint { display: none; }
}

@media (min-width: 480px) and (max-width: 767px) {
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline { min-width: 180px; }
}

/* =========================
   TRUST BAR
========================= */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--slate-light);
  white-space: nowrap;
}

.trust-icon { color: var(--sage); font-size: 13px; }
.trust-sep  { width: 1px; height: 18px; background: var(--border); }

@media (max-width: 479px) {
  .trust-item { font-size: 11px; }
  .trust-sep  { display: none; }
  .trust-bar-inner { gap: 8px 14px; }
}

@media (max-width: 360px) {
  .trust-item:nth-child(n+6) { display: none; } /* hide last items on tiny screens */
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 64px 0;
}

@media (min-width: 768px)  { .section { padding: 80px 0; } }
@media (min-width: 1024px) { .section { padding: 96px 0; } }

.section.light { background: var(--cream-dark); }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 24px;
  line-height: 1.2;
}

.section h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 500;
  color: var(--slate);
  margin: 28px 0 10px;
}

/* =========================
   ABOUT
========================= */
.about p {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.85;
  color: #3d3d3d;
  margin-bottom: 16px;
  text-align: justify;
}

.about ul {
  padding-left: 18px;
  margin-bottom: 16px;
}

.about li {
  margin-bottom: 8px;
  font-size: clamp(13px, 1.6vw, 15px);
  color: #3d3d3d;
}

/* About cards — 3 col → 1 col */
.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 28px 0;
}

@media (min-width: 600px) {
  .about-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0; }
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.about-card-icon { font-size: 24px; margin-bottom: 12px; }

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

.about-card p {
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  color: var(--text-muted);
  margin: 0;
}

.about-quote {
  border-left: 3px solid var(--sage);
  padding: 18px 24px;
  margin: 32px 0 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--slate-light);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* =========================
   WAVE DIVIDERS
========================= */
.wave-divider { line-height: 0; background: var(--cream); }
.wave-divider svg { width: 100%; height: 48px; display: block; }
.wave-divider-reverse { background: var(--cream-dark); }

@media (min-width: 768px) {
  .wave-divider svg { height: 60px; }
}

/* =========================
   SERVICES
========================= */
#services h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* 1 col → 2 col */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

@media (min-width: 1024px) {
  .services-grid { gap: 22px; }
  #services h2   { margin-bottom: 52px; }
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

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

.service-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--sage-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.service-item:hover .service-icon-wrap { background: var(--sage); }

.service-icon-wrap img { width: 26px; height: 26px; object-fit: contain; }

.service-item h4 {
  font-family: var(--font-display);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 4px;
}

.service-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================
   TEAM
========================= */
.team-intro {
  text-align: center;
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Float layout — clears to stack on smaller screens */
.team-profile { display: block; }
.team-profile::after { content: ''; display: block; clear: both; }

.team-image {
  float: left;
  margin: 0 32px 20px 0;
}

.team-image img {
  width: 240px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  display: block;
}

.team-image-caption {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

@media (min-width: 1024px) {
  .team-image img { width: 280px; }
  .team-image     { margin: 0 40px 20px 0; }
}

/* Stack on tablet and below */
@media (max-width: 767px) {
  .team-image {
    float: none;
    margin: 0 auto 28px;
    text-align: center;
  }
  .team-image img {
    width: 200px;
    margin: 0 auto;
  }
}

.team-content h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 16px;
}

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

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

.team-points { padding-left: 18px; margin: 12px 0; }
.team-points li {
  margin-bottom: 7px;
  font-size: clamp(13px, 1.6vw, 14px);
  color: var(--text-muted);
}

/* =========================
   CERTIFICATION BADGE
========================= */
.cert-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.cert-badge:hover { box-shadow: var(--shadow-md); }

.cert-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .cert-logo { width: 68px; height: 68px; }
}

.cert-text { display: flex; flex-direction: column; gap: 4px; }

.cert-text strong {
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 600;
  color: var(--slate);
}

.cert-text span { font-size: 12px; color: var(--text-muted); }
.cert-meta      { font-size: 11px !important; color: #aaa !important; }

/* Stack badge on very small screens */
@media (max-width: 400px) {
  .cert-badge { flex-direction: column; align-items: flex-start; }
}

/* =========================
   PET SECTION
========================= */
.pet-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

@media (min-width: 600px) {
  .pet-section {
    flex-direction: row;
    align-items: flex-start;
    gap: 36px;
  }
}

.pet-image { flex-shrink: 0; }

.pet-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

@media (min-width: 600px) {
  .pet-image img { width: 220px; margin: 0; }
}

@media (min-width: 1024px) {
  .pet-image img { width: 260px; }
}

.pet-content h4 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--slate);
  margin-bottom: 12px;
}

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

/* =========================
   RESOURCES
========================= */
.resources { text-align: center; }

.resources-intro {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--text-muted);
  margin-bottom: 36px;
}

.resource-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

@media (min-width: 600px) {
  .resource-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  width: 100%;
  max-width: 340px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 600px) {
  .resource-card { width: auto; min-width: 220px; }
}

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

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

.resource-card strong {
  display: block;
  font-size: clamp(13px, 1.5vw, 14px);
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 3px;
}

.resource-card span { font-size: 12px; color: var(--text-muted); }

/* =========================
   CONTACT
========================= */
.contact-section h2 { margin-bottom: 36px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 0;
}

@media (min-width: 480px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.contact-icon { font-size: 26px; margin-bottom: 10px; }

.contact-card h5 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: block;
}
.contact-card a:hover { color: var(--brown); }

/* =========================
   FOOTER
========================= */
.footer {
  background: var(--slate);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 28px;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--sage-light); }

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
}

/* =========================
   CAETA STAMP
========================= */
.caeta-stamp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.88;
}
.caeta-stamp:hover {
  opacity: 1;
  transform: scale(1.08) rotate(-2deg);
}
.caeta-stamp img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

@media (min-width: 768px) {
  .caeta-stamp img { width: 96px; height: 96px; }
  .caeta-stamp { bottom: 24px; right: 24px; }
}

/* =========================
   BACK TO TOP
========================= */
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 998;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover   { background: var(--sage-dark); transform: translateY(-2px); }

@media (min-width: 768px) {
  .back-to-top { width: 44px; height: 44px; font-size: 22px; bottom: 24px; left: 24px; }
}