:root {
  --ink: #252634;
  --navy: #042740;
  --muted: #65707b;
  --cream: #fff4e3;
  --cream-2: #faf5ec;
  --orange: #ffa135;
  --orange-dark: #f18e16;
  --line: #f0dfc7;
  --panel: #ffffff;
  --shadow: 0 18px 42px rgba(4, 39, 64, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(255, 161, 53, 0.16), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(4, 39, 64, 0.1), transparent 24%),
    var(--cream-2);
  font-family: "Nunito Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px clamp(20px, 5vw, 70px) 24px;
  background: linear-gradient(180deg, rgba(255, 244, 227, 0.7), rgba(250, 245, 236, 0.96));
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -4px auto 2px;
}

.hero-logo img {
  display: block;
  width: 124px;
  height: auto;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(240px, 0.72fr) minmax(440px, 500px);
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}

.hero-copy { min-width: 0; }

.eyebrow,
.form-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(54px, 6.2vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 950;
}

h1 span { color: var(--orange); display: block; }

.since {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 950;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 { margin-bottom: 10px; color: var(--navy); font-size: 21px; }

.hero-text {
  max-width: 620px;
  color: #4d5763;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 600;
  line-height: 1.55;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  filter: drop-shadow(0 22px 26px rgba(4, 39, 64, 0.12));
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.trust-row span {
  padding: 9px 13px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.lead-card {
  width: 100%;
  padding: 16px;
  background: var(--panel);
  border: 1px solid rgba(255, 161, 53, 0.2);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.lead-card-head p,
.privacy-note,
.form-status,
.proof-band span,
.section p,
.steps li {
  color: var(--muted);
  line-height: 1.62;
}

.lead-card-head { margin-bottom: 6px; }

.lead-card h2 { margin-bottom: 10px; font-size: 28px; }

.lead-form { display: grid; gap: 8px; }

.lead-form label {
  display: grid;
  gap: 5px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

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

input, select, textarea {
  width: 100%;
  min-height: 39px;
  padding: 8px 11px;
  color: var(--ink);
  background: #fffaf2;
  border: 1px solid #ead8bd;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
}

input[type="date"].date-field {
  min-height: 39px;
  color-scheme: light;
  appearance: none;
  -webkit-appearance: none;
}

input[type="date"].date-field::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  padding: 4px;
  background-color: rgba(255, 161, 53, 0.18);
  border-radius: 999px;
  cursor: pointer;
}

textarea { resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: 4px solid rgba(255, 161, 53, 0.18);
  border-color: var(--orange);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 26px;
  color: #fff;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(255, 161, 53, 0.24);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.primary-btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.privacy-note,
.form-status { margin: 0; font-size: 11px; }
.form-status { min-height: 14px; color: var(--orange-dark); font-weight: 900; }

.primary-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.inline-thank-you {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 520px;
  gap: 10px;
  padding: 18px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 161, 53, 0.18), transparent 34%),
    linear-gradient(180deg, #fff, #fffaf2);
  border: 1px solid rgba(255, 161, 53, 0.2);
  border-radius: 22px;
}

.thank-you-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 118px;
  height: 92px;
  margin-bottom: 4px;
}

.thank-you-visual img {
  width: 86px;
  height: auto;
  opacity: 0.16;
}

.thank-you-mark {
  position: absolute;
  right: 10px;
  bottom: 2px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 14px 24px rgba(255, 161, 53, 0.3);
  font-size: 24px;
  font-weight: 1000;
}

.inline-thank-you h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
}

.inline-thank-you p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.thank-you-countdown {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 14px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.thank-you-countdown span {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(255, 161, 53, 0.42);
  animation: pulseDot 1s infinite;
}

@keyframes pulseDot {
  70% { box-shadow: 0 0 0 8px rgba(255, 161, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 161, 53, 0); }
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 clamp(20px, 5vw, 70px) 54px;
  background: var(--cream-2);
}

.proof-band div {
  display: grid;
  gap: 8px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.proof-band strong { color: var(--navy); font-size: 18px; }

.section {
  padding: clamp(58px, 8vw, 100px) clamp(20px, 5vw, 70px);
  background: #fff;
}

.section-intro { max-width: 760px; margin-bottom: 28px; }

.services-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 161, 53, 0.12), transparent 24%),
    linear-gradient(180deg, #fff, #fffaf2);
}

.services-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1220px;
  margin: 0 auto;
}

.service-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-left h2 {
  max-width: 430px;
  margin-bottom: 16px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.08;
}

.service-left p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
  font-weight: 700;
}

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.cert-row img {
  width: auto;
  height: 58px;
  max-width: 150px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 16px;
  object-fit: contain;
}

.services-cta {
  margin-top: 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(4, 39, 64, 0.07);
}

.service-grid h3 {
  margin-top: 18px;
  min-height: 52px;
}

.service-grid p {
  margin-bottom: 0;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--orange);
  background: #fff4e3;
  border: 1px solid rgba(255, 161, 53, 0.35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 1000;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 80px);
  background: var(--cream);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.step-label {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding-top: 2px;
}

.steps span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  font-weight: 950;
}

.steps strong { color: var(--navy); }

.steps p {
  margin: 0;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px clamp(20px, 5vw, 70px);
  color: #fff;
  background: var(--navy);
}

.cta-strip h2 { margin: 0; color: #fff; font-size: clamp(28px, 4vw, 42px); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 70px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.thank-you {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255, 244, 227, 0.97), rgba(255, 255, 255, 0.94)),
    url("../images/airpets-hero-pets.png") right bottom / min(46vw, 520px) auto no-repeat;
}

.thank-you h1 { max-width: 780px; color: var(--ink); }
.thank-you .hero-text { max-width: 680px; color: var(--muted); }

@media (max-width: 1080px) {
  .hero-content { grid-template-columns: 1fr minmax(330px, 430px); }
  .hero-media { display: none; }
}

@media (max-width: 820px) {
  .hero-content,
  .split-section,
  .services-shell {
    grid-template-columns: 1fr;
  }

  .lead-card { max-width: 580px; }
  .proof-band { grid-template-columns: 1fr; }
  .service-left {
    align-items: center;
    text-align: center;
  }
  .cert-row {
    justify-content: center;
  }
  .cta-strip,
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .hero-logo img { width: 92px; }
  .hero { padding-top: 24px; }
  h1 { font-size: 48px; }
  .form-grid,
  .steps li,
  .service-grid { grid-template-columns: 1fr; }
  .steps li { gap: 12px; }
  .step-label { grid-template-columns: 48px 1fr; }
  .steps span { width: 48px; height: 48px; }
  .lead-card { padding: 18px; border-radius: 22px; }
  .cert-row img { height: 56px; max-width: 170px; }
  .service-trust,
  .service-grid article { border-radius: 22px; padding: 22px; }
  .service-grid h3 { min-height: auto; }
}
