/* Palette sampled from the Frenchie Friend logo */
:root {
  --cream: #F4F3EF;
  --peach-wash: #F1E5DB;
  --ink: #3F3632;
  --ink-soft: #6B5D55;
  --terracotta: #BA7E64;
  --terracotta-deep: #A0634A;
  --terracotta-deeper: #8A5440;
  --sage: #A4AC9B;
  --sage-deep: #5E6B56;
  --peach: #DCBCA7;

  --radius-photo: clamp(12px, 2vw, 20px);
  --section-space: clamp(3.5rem, 8vw, 6rem);
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--terracotta-deep);
}

:focus-visible {
  outline: 3px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
}

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: var(--terracotta-deep);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn:hover {
  background: var(--terracotta-deeper);
}

.btn-small {
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
}

.btn-large {
  padding: 1.1rem 2rem;
  font-size: 1.15rem;
}

.text-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--peach);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

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

/* Header */

.site-header {
  padding-block: 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 52px;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--terracotta-deep);
}

@media (max-width: 760px) {
  .site-nav,
  .header-cta {
    display: none;
  }
}

/* Hero */

.hero {
  padding-block: clamp(0.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

/* The logo's cream background matches --cream, so it sits on the page without a box */
.hero-logo {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

.hero h1 {
  margin-top: clamp(1rem, 3vw, 2rem);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.015em;
}

.lead {
  max-width: 44ch;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

/* Paw-print trail: "La Huella de la Amistad" */

.trail {
  text-align: center;
}

.trail-prints {
  display: block;
  width: 100%;
  height: 84px;
}

.paw-left {
  fill: var(--peach);
}

.paw-right {
  fill: var(--sage);
}

.trail p {
  margin-top: 0.5rem;
  color: var(--sage-deep);
  font-weight: 700;
}

/* About */

.about {
  padding-block: var(--section-space);
}

.about-inner {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

/* Arch-topped frame; the vertical radius is 50% of the width expressed as a share of the 1100x1316 photo's height */
.about-photo {
  justify-self: center;
  width: 100%;
  max-width: 440px;
  border-radius: 50% 50% var(--radius-photo) var(--radius-photo) / 41.8% 41.8% var(--radius-photo) var(--radius-photo);
}

.about-text p {
  max-width: 56ch;
  margin-top: 1.1rem;
  color: var(--ink-soft);
}

.highlights {
  display: grid;
  gap: 0.9rem 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.highlights li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.highlights .icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--terracotta);
}

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

@media (min-width: 900px) {
  .about-inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
  }
}

/* Gallery */

.gallery {
  padding-block: 0 var(--section-space);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
}

.gallery-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 0.75rem;
}

.gallery-grid li {
  margin-bottom: 0.75rem;
  break-inside: avoid;
}

.gallery-grid img {
  width: 100%;
  border-radius: var(--radius-photo);
}

.gallery-cta {
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .gallery-grid {
    columns: 3;
    column-gap: 1.25rem;
  }

  .gallery-grid li {
    margin-bottom: 1.25rem;
  }
}

/* Services */

.services {
  padding-block: var(--section-space);
  background: var(--peach-wash);
}

.service-list {
  display: grid;
  gap: 2rem 4rem;
  margin: 0;
}

.service-list dt {
  font-size: 1.2rem;
  font-weight: 800;
}

.service-list dd {
  max-width: 44ch;
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

@media (min-width: 760px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact */

.contact {
  padding-block: clamp(4rem, 9vw, 7rem);
  text-align: center;
}

.contact h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
}

.contact p {
  max-width: 48ch;
  margin: 1rem auto 0;
  color: var(--ink-soft);
}

.contact .btn {
  margin-top: 2rem;
}

.contact .contact-alt {
  margin-top: 1.25rem;
}

.contact-alt a {
  font-weight: 700;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--ink);
  font-weight: 700;
}

/* Footer */

.site-footer {
  padding-bottom: 6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(63 54 50 / 0.12);
}

@media (min-width: 761px) {
  .site-footer {
    padding-bottom: 2rem;
  }
}

/* Floating WhatsApp button (mobile only; the header button covers desktop) */

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--terracotta-deep);
  color: #fff;
  box-shadow: 0 6px 18px rgb(63 54 50 / 0.25);
}

.wa-float .icon {
  width: 1.75rem;
  height: 1.75rem;
}

@media (min-width: 761px) {
  .wa-float {
    display: none;
  }
}
