/* Pet Boarding Miami — visual fidelity to mobile mockups */

:root {
  --blue: #1e4fd6;
  --blue-deep: #163db0;
  --blue-ink: #12203f;
  --blue-muted: #4a5a78;
  --blue-soft: #e8eefc;
  --cream: #f6e9b4;
  --cream-deep: #efd98f;
  --cream-page: #faf7f0;
  --cream-band: #f5e9b8;
  --dog-pastel: #e6edf9;
  --cat-pastel: #e3efe6;
  --care-bg: #eef3fb;
  --about-bg: #f4f6fb;
  --line: #dde4f0;
  --white: #ffffff;
  --radius-card: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow: 0 14px 40px rgba(18, 32, 63, 0.12);
  --font: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --site-width: 100%; /* full bleed on phones */
  --max: 100%;
  --max-wide: 100%;
  --pad: clamp(1.35rem, 5vw, 2rem);
}

/* Desktop base: entire site sits at 80% viewport width */
@media (min-width: 768px) {
  :root {
    --site-width: 80%;
    --max: 80%;
    --max-wide: 80%;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--blue-ink);
  background: var(--cream-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.section-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 6.2vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--blue-ink);
}

.section-lead {
  margin: 0 0 1.5rem;
  color: var(--blue-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 36ch;
  font-weight: 400;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream-page);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(18, 32, 63, 0.06);
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(100%, var(--max-wide));
  margin-inline: auto;
  padding: 0.85rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--blue);
}

.brand-paw {
  flex-shrink: 0;
  color: var(--blue);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.brand-place {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-top: 0.2rem;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid rgba(18, 32, 63, 0.14);
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--blue-ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: var(--pad);
  left: var(--pad);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  z-index: 60;
}

.site-nav[hidden] {
  display: none;
}

.site-nav a {
  text-decoration: none;
  color: var(--blue-ink);
  font-weight: 600;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--blue-soft);
}

.nav-phone {
  color: var(--blue) !important;
  margin-top: 0.25rem;
  border-top: 1px solid var(--line);
  border-radius: 0 0 10px 10px !important;
}

/* ========== Hero ========== */
.hero {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 2.6rem var(--pad) 3rem;
  border-radius: 0 0 32px 32px;
}

.hero-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.96;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.35rem, 9vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-title-white {
  display: block;
  color: var(--white);
}

.hero-title-cream {
  display: block;
  color: var(--cream);
}

.hero-sub {
  margin: 0 auto 1.85rem;
  max-width: 32ch;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.93);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 1.45rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-cream {
  background: var(--cream);
  color: var(--blue-ink);
}

.btn-cream:hover {
  background: var(--cream-deep);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(30, 79, 214, 0.28);
}

.btn-blue:hover {
  background: var(--blue-deep);
}

.btn-arrow {
  font-weight: 500;
}

.btn-text-light {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}

/* Hero visual */
.hero-visual {
  padding: 0 var(--pad);
  margin-top: -1.5rem;
  margin-bottom: 0;
}

.hero-visual-inner {
  position: relative;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 58% 28%; /* keep tabby face/eyes in frame */
  border-radius: 28px 28px 22px 22px;
  box-shadow: var(--shadow);
}

.hero-bubble-card {
  position: absolute;
  left: 4%;
  top: 7%;
  background: var(--white);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  max-width: 11.2rem;
  box-shadow: 0 10px 28px rgba(18, 32, 63, 0.14);
}

.hero-bubble-title {
  margin: 0;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--blue-ink);
}

.hero-bubble-sub {
  margin: 0.35rem 0 0;
  font-size: 0.74rem;
  color: var(--blue-muted);
  line-height: 1.35;
}

.hero-bubble-circle {
  position: absolute;
  right: 2.5%;
  top: 3%;
  width: 6.6rem;
  height: 6.6rem;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--blue-ink);
  box-shadow: 0 8px 22px rgba(18, 32, 63, 0.12);
  padding: 0.55rem;
}

/* ========== Trust bar ========== */
.trust-bar {
  background: var(--cream-band);
  padding: 1.55rem var(--pad);
  margin-top: 1.85rem;
}

.trust-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(100%, var(--max));
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--blue-ink);
  letter-spacing: -0.01em;
}

.trust-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
}

/* ========== Boarding ========== */
.boarding {
  padding: 2.85rem 0 2.75rem;
  background: var(--cream-page);
}

.boarding-intro {
  margin-bottom: 0.25rem;
}

.boarding-grid {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.pet-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 6px 28px rgba(18, 32, 63, 0.07);
}

.pet-card-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.pet-card-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.pet-badge {
  position: absolute;
  top: 0.95rem;
  left: 0.95rem;
  z-index: 4;
  background: var(--white);
  color: var(--blue-ink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(18, 32, 63, 0.1);
  letter-spacing: -0.01em;
}

.pet-card-dog .pet-card-body {
  background: var(--dog-pastel);
  padding: 1.45rem 1.4rem 1.55rem;
}

.pet-card-cat .pet-card-body {
  background: var(--cat-pastel);
  padding: 1.45rem 1.4rem 1.55rem;
}

.pet-card-body h3 {
  margin: 0 0 0.55rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-ink);
}

.pet-card-body p {
  margin: 0 0 1.15rem;
  color: var(--blue-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.pet-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.pet-cta:hover {
  color: var(--blue);
}

.pet-cta-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
  text-decoration: underline;
  font-weight: 700;
  color: var(--blue-ink);
}

/* Designed Coming Soon overlay */
.pet-card.is-coming-soon .pet-card-media {
  pointer-events: none;
  user-select: none;
}

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  background:
    linear-gradient(
      165deg,
      rgba(18, 32, 63, 0.42) 0%,
      rgba(22, 61, 176, 0.62) 45%,
      rgba(18, 32, 63, 0.78) 100%
    );
  backdrop-filter: blur(1.5px);
}

.coming-soon-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.coming-soon-headline {
  margin: 0;
  font-size: clamp(1.75rem, 7vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--cream);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.coming-soon-note {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  font-weight: 500;
  max-width: 24ch;
  line-height: 1.4;
}

.coming-soon-inline {
  margin: 0.9rem 0 0 !important;
  font-size: 0.86rem !important;
  font-weight: 600;
  color: var(--blue) !important;
}

/* ========== Care bridge ========== */
.care-bridge {
  background: var(--care-bg);
  padding: 2.85rem var(--pad) 2.6rem;
  text-align: center;
}

.care-arch {
  background: var(--blue);
  color: var(--white);
  border-radius: 999px 999px 28px 28px;
  padding: 2.15rem 1.6rem 1.9rem;
  width: min(100%, 380px);
  margin: 0 auto 1.85rem;
  box-shadow: var(--shadow);
}

.care-paw {
  color: var(--cream);
  margin-bottom: 0.85rem;
}

.care-arch-title {
  margin: 0 0 0.7rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.care-arch-sub {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.92;
}

.care-bridge-heading {
  margin: 0 auto;
  max-width: 15ch;
  font-size: clamp(1.75rem, 5.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--blue-ink);
}

/* ========== About ========== */
.about {
  background: var(--cream-page);
  padding: 3rem 0;
}

.about-inner {
  max-width: min(100%, 38rem);
}

.about-lead,
.about p {
  margin: 0 0 1.2rem;
  color: var(--blue-ink);
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 400;
}

.about-lead {
  font-weight: 500;
}

.about-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.6rem 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--blue-ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}

.text-link:hover {
  color: var(--blue);
}

/* ========== FAQ ========== */
.faq {
  background: var(--cream-page);
  padding: 2.75rem 0 2.5rem;
}

.faq-all-link {
  margin-bottom: 0.35rem;
}

.faq-list {
  margin-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blue-ink);
  text-align: left;
  letter-spacing: -0.015em;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

/* + icon */
.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 10px;
  left: 4px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 4px;
  left: 10px;
}

/* × when open */
.faq-trigger[aria-expanded="true"] .faq-icon::before {
  transform: rotate(45deg);
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  width: 14px;
  height: 2px;
  top: 10px;
  left: 4px;
  transform: rotate(-45deg);
}

.faq-panel {
  padding: 0 0 1.25rem;
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel p {
  margin: 0;
  color: var(--blue-muted);
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.55;
}

.faq-panel a {
  font-weight: 600;
  color: var(--blue);
}

/* ========== Final CTA ========== */
.final-cta {
  background: var(--cream-band);
  padding: 3rem 0 3.25rem;
}

.cta-lead {
  color: var(--blue-ink);
  opacity: 0.88;
}

.inquiry-form {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 26rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-ink);
}

.form-row input,
.form-row select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1.5px solid rgba(18, 32, 63, 0.14);
  background: var(--white);
  color: var(--blue-ink);
}

.form-row input:focus,
.form-row select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.form-hint {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.92rem;
  color: var(--blue-ink);
}

.form-hint a {
  font-weight: 700;
  color: var(--blue);
}

.contact-block {
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--blue-ink);
}

.contact-block a {
  font-weight: 600;
  color: var(--blue);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--blue);
  color: var(--white);
  padding: 2.85rem 0 2.15rem;
}

.footer-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.brand-footer {
  color: var(--white);
  margin-bottom: 1.35rem;
}

.brand-footer .brand-paw,
.brand-footer .brand-name,
.brand-footer .brand-place {
  color: var(--white);
}

.footer-blurb {
  margin: 0 0 1.75rem;
  line-height: 1.55;
  font-size: 1rem;
  opacity: 0.96;
  font-weight: 400;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.45rem;
  margin-bottom: 1.75rem;
}

.footer-nav a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

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

.footer-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  margin: 0 0 1.25rem;
}

.footer-copy,
.footer-meta {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.9;
}

.footer-meta {
  margin-top: 0.35rem;
}

/* ========== Desktop ========== */
@media (min-width: 768px) {
  .header-inner {
    padding-block: 1.05rem;
    width: var(--site-width);
    max-width: var(--site-width);
    margin-inline: auto;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 0.2rem 1.35rem;
    background: transparent;
    box-shadow: none;
    padding: 0;
    left: auto;
    right: auto;
    width: auto;
  }

  .site-nav[hidden] {
    display: flex !important;
  }

  .site-nav a {
    padding: 0.35rem 0.1rem;
    font-size: 0.95rem;
  }

  .site-nav a:hover {
    background: transparent;
    text-decoration: underline;
  }

  .nav-phone {
    border: none !important;
    margin: 0 !important;
    padding: 0.55rem 1rem !important;
    background: var(--blue-soft);
    border-radius: 999px !important;
  }

  .hero {
    border-radius: 0 0 44px 44px;
    padding: 3.75rem var(--pad) 4.25rem;
  }

  .hero-inner,
  .hero-visual-inner,
  .section-inner,
  .trust-list,
  .footer-inner,
  .boarding-inner {
    width: var(--site-width);
    max-width: var(--site-width);
    margin-inline: auto;
  }

  .trust-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 1.5rem;
  }

  .trust-list li {
    flex: 1 1 auto;
    font-size: 0.95rem;
  }

  .boarding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .pet-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .pet-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .pet-card-body .pet-cta,
  .pet-card-body .pet-cta-disabled {
    margin-top: auto;
  }

  .care-arch {
    width: min(100%, 420px);
    padding: 2.5rem 2rem 2.15rem;
  }

  .about-inner,
  .faq .section-inner,
  .final-cta .section-inner {
    width: var(--site-width);
    max-width: var(--site-width);
    margin-inline: auto;
  }
}

@media (min-width: 1100px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-photo {
    aspect-ratio: 16 / 10;
    max-height: none; /* don’t crop faces with a hard height cap */
    object-position: 55% 30%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover {
    transform: none;
  }
}
