:root {
  color-scheme: light;
  --ink: #1B2B3A;
  --muted: #6e776d;
  --deep: #15334A;
  --deep-2: #10283b;
  --teal: #5E8A8C;
  --blue: #2E6E78;
  --copper: #C65A3B;
  --amber: #D98E5F;
  --mint: #e6eee6;
  --paper: #F3EDE2;
  --white: #ffffff;
  --line: rgba(27 43 58 / 14%);
  --shadow: 0 18px 50px rgb(27 43 58 / 12%);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

strong {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--deep);
  padding: .65rem .9rem;
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.site-hero {
  min-height: 82svh;
  padding: 1rem;
  color: var(--white);
  background:
    linear-gradient(90deg, rgb(21 51 74 / 96%) 0%, rgb(21 51 74 / 88%) 38%, rgb(21 51 74 / 46%) 68%, rgb(21 51 74 / 22%) 100%),
    url("/assets/hero-alicante-care.jpg") center right / cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
}

.site-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7rem;
  background: linear-gradient(180deg, rgb(251 248 241 / 0%), var(--paper));
  pointer-events: none;
}

.site-nav {
  width: min(var(--container), 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 10.8rem;
  height: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1rem;
  font-size: .92rem;
}

.nav-links a {
  color: rgb(255 255 255 / 84%);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links .nav-cta {
  min-height: 2.45rem;
  padding: .45rem .8rem;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 6px;
  color: var(--white);
  font-weight: 800;
}

.hero-content {
  width: min(var(--container), 100%);
  margin: auto auto 2.4rem;
  padding: 2.8rem 0 1.4rem;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--amber);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Fraunces, "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1.03;
}

h1 {
  max-width: 14ch;
  margin-top: .7rem;
  font-size: 2.65rem;
}

.hero-copy {
  max-width: 42rem;
  margin-top: .9rem;
  font-size: 1.15rem;
  color: rgb(255 255 255 / 88%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.15rem;
  padding: .8rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 850;
  text-align: center;
}

.button span {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-weight: 900;
}

.button-primary {
  color: var(--deep-2);
  background: var(--amber);
  box-shadow: 0 18px 36px rgb(0 0 0 / 20%);
}

.button-primary span {
  background: rgb(21 51 74 / 14%);
}

.button-secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 40%);
  background: rgb(255 255 255 / 8%);
}

.button-secondary span {
  background: rgb(255 255 255 / 14%);
}

.button-secondary.dark {
  color: var(--deep);
  border-color: var(--line);
  background: var(--white);
}

.hero-details {
  display: grid;
  gap: .7rem;
  width: min(100%, 45rem);
  margin-top: 2rem;
}

.hero-details div {
  padding: .85rem 0;
  border-top: 1px solid rgb(255 255 255 / 22%);
}

.hero-details dt {
  color: var(--amber);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-details dd {
  margin-top: .15rem;
  color: rgb(255 255 255 / 86%);
}

.intro-band {
  position: relative;
  z-index: 1;
  padding: 1.4rem 0 4rem;
}

.intro-grid {
  display: grid;
  gap: 1.4rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.intro-grid h2,
.section-header h2,
.why-layout h2,
.credentials-layout h2,
.emergency-layout h2,
.contact-layout h2 {
  margin-top: .45rem;
  color: var(--deep-2);
  font-size: 2rem;
}

.intro-grid p:last-child,
.section-copy,
.credentials-layout p,
.emergency-layout p,
.contact-layout p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section {
  padding: 4rem 0;
}

.section-header {
  max-width: 43rem;
  margin-bottom: 1.5rem;
}

.service-grid {
  display: grid;
  gap: .85rem;
}

.service-card {
  min-height: 15rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 8px;
  color: var(--deep);
  background: var(--mint);
  font-weight: 900;
  font-size: .88rem;
}

.service-card h3 {
  margin-top: 1.4rem;
  color: var(--deep-2);
  font-size: 1.35rem;
}

.service-card p {
  margin-top: .8rem;
  color: var(--muted);
}

.why-band {
  background:
    linear-gradient(180deg, rgb(217 238 230 / 68%), rgb(255 255 255 / 0%)),
    var(--mint);
}

.why-layout {
  display: grid;
  gap: 2rem;
}

.reason-list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reason-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .85rem;
  row-gap: .2rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgb(255 255 255 / 70%);
  border: 1px solid rgb(16 63 56 / 12%);
}

.reason-list li > span {
  width: .7rem;
  height: .7rem;
  margin-top: .45rem;
  border-radius: 999px;
  background: var(--copper);
}

.reason-list strong {
  color: var(--deep-2);
}

.reason-list p {
  grid-column: 2;
  color: var(--muted);
}

.credentials-band {
  background: var(--deep-2);
  color: var(--white);
}

.credentials-layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.credentials-layout h2 {
  color: var(--white);
}

.credentials-layout p {
  max-width: 46rem;
  color: rgb(255 255 255 / 84%);
}

.credential-stamp {
  display: grid;
  place-items: center;
  width: 8rem;
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 8px;
  background: linear-gradient(135deg, rgb(255 255 255 / 18%), rgb(255 255 255 / 5%));
}

.credential-stamp span {
  font-family: Charter, "Iowan Old Style", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.credential-stamp small {
  color: var(--amber);
  font-weight: 800;
  text-transform: uppercase;
}

.emergency-band {
  background: #fff3df;
}

.emergency-layout {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-left: 6px solid var(--copper);
  background: var(--white);
  border-radius: 8px;
}

.emergency-layout strong {
  color: #8a3d1e;
}

.final-cta {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.contact-actions {
  margin-top: 1.35rem;
}

.contact-card {
  display: grid;
  gap: .65rem;
  margin: 0;
  font-style: normal;
}

.contact-card a {
  display: grid;
  gap: .2rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--deep-2);
  text-decoration: none;
  font-weight: 850;
  box-shadow: var(--shadow);
}

.contact-card span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.site-footer {
  padding: 2rem 0 2.4rem;
  background: var(--deep-2);
  color: rgb(255 255 255 / 72%);
}

.footer-layout {
  display: grid;
  gap: .55rem;
}

.site-footer strong {
  color: var(--white);
}

.footer-logo {
  width: 10.5rem;
  height: auto;
  margin-bottom: .45rem;
}

@media (min-width: 700px) {
  .site-hero {
    min-height: 84svh;
    padding: 1.35rem;
  }

  .nav-links {
    display: flex;
  }

  h1 {
    max-width: 15ch;
    font-size: 3.55rem;
  }

  .hero-copy {
    font-size: 1.22rem;
  }

  .hero-details {
    grid-template-columns: repeat(4, 1fr);
  }

  .intro-grid,
  .why-layout,
  .emergency-layout,
  .contact-layout {
    grid-template-columns: .9fr 1.1fr;
  }

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

  .credentials-layout {
    grid-template-columns: auto 1fr;
  }

  .footer-layout {
    grid-template-columns: .75fr 1.25fr;
  }
}

@media (min-width: 1020px) {
  .site-hero {
    min-height: 82svh;
  }

  h1 {
    max-width: 15.5ch;
    font-size: 3.85rem;
  }

  .hero-content {
    margin-bottom: 2.7rem;
  }

  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .site-hero {
    background-position: center;
  }

  h1 {
    font-size: 2.45rem;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
