/* ====================================================================
   BASE — layout, componentes e responsividade
   ==================================================================== */

:root {
  /* Paleta extraída da ilustração publicitária da JePets. */
  --color-ink: #173b43;
  --color-paper: #fffdf8;
  --color-sage: #9cab97;
  --color-sage-light: #e7eee5;
  --color-muted: #405752;
  --color-border: #d3ddcf;
  --color-sand: #d1bba3;
  --color-sand-light: #f1e7d9;

  /* Tons usados sobre o azul-petróleo. */
  --color-ink-line: #476269;
  --color-on-ink: #e5e9e2;
  --color-on-ink-soft: #d0dacf;
  --color-on-ink-muted: #c6d5cb;

  --font-body: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Trebuchet MS", system-ui, "Segoe UI", Roboto, sans-serif;
  --page-width: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  /* O fundo escuro aparece apenas nas bordas; <main> repõe o creme. */
  background: var(--color-ink);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.08;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.25em;
}
a:hover {
  text-decoration: underline;
}
[tabindex="-1"]:focus {
  outline: none;
}
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 6px;
  border-radius: 3px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
section {
  scroll-margin-top: 32px;
}
.container {
  width: min(var(--page-width), calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 108px;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--filled {
  fill: currentColor;
  stroke: none;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 10px;
  left: 16px;
  padding: 12px 20px;
  background: var(--color-paper);
  color: var(--color-ink);
  border: 2px solid var(--color-ink);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 23px;
  min-height: 54px;
  background: var(--color-ink);
  color: white;
  border: 1px solid var(--color-ink);
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.button:hover {
  background: #293427;
  text-decoration: none;
}
.button:focus-visible {
  outline-color: var(--color-ink);
}
.button--small {
  padding: 12px 18px;
  min-height: 46px;
  font-size: 14px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}
.text-link .icon {
  width: 20px;
  height: 20px;
}
.announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 11px 24px;
  background: var(--color-sage);
  font-size: 12px;
}
.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.announcement .icon {
  width: 16px;
  height: 16px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 27px;
}
.brand {
  display: block;
  flex-shrink: 0;
  width: 143px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 74px;
  padding-block: 48px 65px;
}
.location-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  color: var(--color-muted);
  font-size: 13px;
}
.location-label .icon {
  width: 17px;
  height: 17px;
}
.hero h1 {
  max-width: 590px;
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.025;
}
.hero__period {
  color: #63755d;
}
.hero__lead {
  max-width: 380px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 25px;
}
.hero__description {
  max-width: 460px;
  margin-top: 16px;
  font-size: 15px;
  color: var(--color-muted);
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero__notice {
  max-width: 435px;
  margin-top: 21px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-muted);
}
.hero__visual {
  position: relative;
  min-width: 0;
  padding-left: 10px;
}
.hero__photo {
  background: var(--color-sage);
  border-radius: 46% 46% 22px 22px;
  overflow: hidden;
  aspect-ratio: 4 / 4.65;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__stamp {
  position: absolute;
  bottom: 55px;
  left: -27px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  padding: 19px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px #00000009;
  transform: rotate(-5deg);
}
.hero__stamp .icon {
  width: 36px;
  height: 36px;
  color: #53664e;
}
.hero__stamp span {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.hero__visual figcaption {
  font-size: 10px;
  text-align: right;
  color: var(--color-muted);
  margin-top: 9px;
}
.opening {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 28px 32px;
  background: var(--color-sage-light);
  border-radius: 14px;
}
.opening__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border: 1px solid #b8c4b3;
  border-radius: 50%;
}
.opening h2 {
  font-size: 20px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.opening p {
  font-size: 13px;
  max-width: 630px;
  color: var(--color-muted);
}
.opening > .text-link {
  margin-left: auto;
  flex-shrink: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 50px;
}
.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.045em;
}
.section-heading > p {
  max-width: 365px;
  color: var(--color-muted);
  font-size: 15px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service {
  padding: 0 28px;
  border-left: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.service__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--color-sage-light);
  border-radius: 18px;
  margin-bottom: 25px;
}
.service__icon .icon {
  width: 29px;
  height: 29px;
}
.service h3 {
  font-size: 22px;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.service p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 21px;
}
.service .text-link {
  margin-top: auto;
}
.about {
  background: var(--color-sage);
  padding-block: 78px;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: center;
}
.about__art {
  display: grid;
  place-items: center;
  padding: 0 20px;
}
.about__house {
  width: min(360px, 100%);
  min-height: 365px;
  position: relative;
  background: #eaf0e6;
  border-radius: 46% 46% 14px 14px;
  padding: 48px 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-4deg);
}
.about__paw {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
}
.about__house span {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.2;
}
.about__heart {
  position: absolute;
  right: -20px;
  bottom: 35px;
  width: 68px;
  height: 68px;
  padding: 15px;
  color: white;
  background: black;
  border-radius: 50%;
  transform: rotate(12deg);
}
.section-label {
  font-size: 14px;
  margin-bottom: 17px;
}
.about__copy > p:not(.section-label) {
  font-size: 15px;
  margin-top: 22px;
  max-width: 500px;
}
.about__copy .text-link {
  margin-top: 20px;
}
.reviews__rating > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.reviews__rating strong {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.stars {
  font-size: 17px;
  letter-spacing: 3px;
  color: #4e6546;
}
.reviews__rating p {
  font-size: 13px;
  margin-top: 7px;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.review {
  padding: 29px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.review blockquote {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 19px 0 28px;
}
.review figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.review__avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--color-sage-light);
  font-weight: 600;
}
.review figcaption strong,
.review figcaption a {
  display: block;
  font-size: 12px;
}
.review figcaption a {
  color: var(--color-muted);
  text-decoration: underline;
}
.reviews__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: 25px;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: black;
  color: white;
  border-radius: 23px;
  padding: 58px 64px;
  gap: 80px;
}
.contact__pin {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--color-sage);
  margin-bottom: 16px;
}
.contact__pin .icon {
  width: 40px;
  height: 40px;
}
.contact__intro p {
  margin: 22px 0 27px;
  color: #c4cdc0;
  font-size: 15px;
}
.contact__status {
  display: inline-block;
  color: #dce6d7;
  border: 1px solid #475043;
  border-radius: 7px;
  padding: 10px 13px;
  margin-bottom: 31px;
  font-size: 12px;
}
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-block: 23px;
  border-bottom: 1px solid #30342e;
}
.contact__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.contact__item > .icon {
  color: var(--color-sage);
  width: 21px;
  height: 21px;
}
.contact__item h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}
.contact__item p,
.contact__item address {
  font-style: normal;
  font-size: 14px;
  color: #d0d5cd;
}
.contact__item .contact__note {
  color: #abb6a5;
  font-size: 12px;
  margin-top: 7px;
}
.contact__tel {
  color: inherit;
  text-decoration: underline;
}
.contact__phone {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.social-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 75px;
}
.social-cta h2 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}
.social-cta p {
  color: var(--color-muted);
  font-size: 14px;
}
.social-cta .button {
  flex-shrink: 0;
}
.site-footer {
  background: black;
  color: white;
  padding-block: 46px 20px;
}
.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.footer__main p {
  font-size: 12px;
  color: #b8c1b2;
  margin-top: 16px;
}
.footer__links {
  display: flex;
  gap: 29px;
  flex-wrap: wrap;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 13px;
}
.footer__links .icon {
  width: 19px;
  height: 19px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 23px;
  border-top: 1px solid #30342e;
  margin-top: 32px;
  color: #aeb6a9;
  font-size: 11px;
}
@media (min-width: 1500px) {
  .hero {
    gap: 100px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .main-nav {
    gap: 17px;
    font-size: 13px;
  }
  .header-contact {
    padding-inline: 12px;
  }
  .hero {
    gap: 38px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .hero__stamp {
    left: -15px;
  }
  .opening {
    flex-wrap: wrap;
    gap: 18px;
  }
  .opening > div {
    flex: 1;
  }
  .opening > .text-link {
    margin-left: 72px;
  }
  .service {
    padding-inline: 20px;
  }
  .service h3 {
    font-size: 20px;
  }
  .about__grid {
    gap: 55px;
  }
  .contact {
    gap: 45px;
    padding: 45px;
  }
}
@media (max-width: 800px) {
  .announcement {
    gap: 4px;
    flex-direction: column;
    padding-block: 8px;
  }
  .site-header {
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 22px;
  }
  .brand {
    width: 130px;
  }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--color-border);
    padding-top: 10px;
  }
  .hero {
    gap: 30px;
    padding-top: 30px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero__lead {
    font-size: 18px;
  }
  .hero__description {
    font-size: 14px;
  }
  .hero__stamp {
    padding: 13px;
    gap: 9px;
    bottom: 34px;
  }
  .hero__stamp span {
    font-size: 14px;
  }
  .hero__stamp .icon {
    width: 26px;
    height: 26px;
  }
  .section {
    padding-block: 75px;
  }
  .section-heading {
    gap: 28px;
  }
  .section-heading > p {
    max-width: 280px;
    font-size: 14px;
  }
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 0;
  }
  .about {
    padding-block: 60px;
  }
  .about__grid {
    gap: 36px;
  }
  .about__art {
    padding: 0;
  }
  .about__house {
    min-height: 310px;
    padding-inline: 15px;
  }
  .about__house span {
    font-size: 25px;
  }
  .about__heart {
    right: -8px;
    width: 55px;
    height: 55px;
  }
  .reviews__grid {
    gap: 12px;
  }
  .review {
    padding: 20px;
  }
  .review blockquote {
    font-size: 16px;
  }
  .review figcaption {
    gap: 8px;
  }
  .review__avatar {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }
  .contact {
    padding: 35px;
    gap: 30px;
  }
  .contact h2 {
    font-size: 34px;
  }
  .footer__links {
    gap: 17px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 64px;
  }
  .announcement {
    font-size: 11px;
    padding-inline: 12px;
  }
  .site-header {
    column-gap: 10px;
  }
  .brand {
    width: 119px;
  }
  .header-contact {
    font-size: 12px;
    padding: 10px 12px;
    gap: 8px;
  }
  .header-contact .icon {
    width: 19px;
    height: 19px;
  }
  .main-nav {
    font-size: 11px;
    gap: 4px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 19px;
    padding-bottom: 38px;
  }
  .location-label {
    margin-bottom: 20px;
    font-size: 12px;
  }
  .hero h1 {
    max-width: 410px;
    font-size: clamp(46px, 12.7vw, 66px);
  }
  .hero__lead {
    font-size: 20px;
    max-width: 350px;
    margin-top: 23px;
  }
  .hero__description {
    max-width: 430px;
  }
  .hero__actions {
    gap: 12px 18px;
    margin-top: 24px;
  }
  .hero__notice {
    font-size: 11px;
    margin-top: 17px;
  }
  .hero__visual {
    padding-inline: 12px;
  }
  .hero__photo {
    aspect-ratio: 1 / 1;
  }
  .hero__photo img {
    object-position: center 48%;
  }
  .hero__stamp {
    left: 0;
    bottom: 38px;
    padding: 15px 19px;
  }
  .hero__stamp span {
    font-size: 16px;
  }
  .opening {
    padding: 24px;
    gap: 16px;
    align-items: flex-start;
  }
  .opening__icon {
    width: 42px;
    height: 42px;
  }
  .opening > div {
    flex-basis: calc(100% - 60px);
  }
  .opening h2 {
    font-size: 18px;
    line-height: 1.25;
  }
  .opening p {
    font-size: 12px;
  }
  .opening > .text-link {
    margin-left: 0;
    font-size: 12px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 36px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .section-heading > p {
    max-width: 100%;
  }
  .services__grid {
    gap: 32px 0;
  }
  .service {
    padding-inline: 16px;
  }
  .service__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 20px;
  }
  .service h3 {
    font-size: 21px;
    line-height: 1.18;
  }
  .service p {
    font-size: 13px;
  }
  .service .text-link {
    font-size: 13px;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .about__house {
    width: 260px;
    min-height: 290px;
  }
  .about__copy h2 {
    font-size: 38px;
  }
  .about__copy > p:not(.section-label) {
    font-size: 14px;
  }
  .reviews__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 15px;
  }
  .reviews__rating strong {
    font-size: 30px;
  }
  .reviews__rating p {
    margin: 0;
  }
  .reviews__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .review {
    padding: 25px;
  }
  .review blockquote {
    font-size: 19px;
    margin-block: 13px 22px;
  }
  .reviews__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 29px 25px;
    gap: 36px;
    border-radius: 17px;
  }
  .contact h2 {
    font-size: 39px;
  }
  .contact__status {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .contact__item {
    gap: 14px;
  }
  .contact__item h3 {
    font-size: 13px;
  }
  .contact__item address,
  .contact__item p {
    font-size: 13px;
  }
  .social-cta {
    padding-block: 54px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .social-cta h2 {
    font-size: 29px;
  }
  .footer__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer__links {
    gap: 20px;
  }
  .footer__links a {
    font-size: 12px;
    gap: 6px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .container {
    width: calc(100% - 32px);
  }
  .brand {
    width: 105px;
  }
  .header-contact {
    padding-inline: 9px;
  }
  .main-nav {
    font-size: 10px;
  }
  .services__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact h2 {
    font-size: 35px;
  }
  .footer__links {
    gap: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ====================================================================
   TEMA — direcao visual ilustrada (sempre depois da base)
   ==================================================================== */

main {
  background: var(--color-paper);
}
.announcement {
  background: var(--color-ink);
  color: var(--color-paper);
  font-size: 14px;
  font-weight: 600;
  padding-block: 10px;
}
.site-header {
  color: var(--color-paper);
  padding-block: 30px;
}
.brand {
  width: 151px;
}
.brand--header {
  width: 184px;
  padding: 10px 21px;
}
.main-nav {
  font-size: 16px;
  font-weight: 600;
}
.header-contact:focus-visible {
  outline-color: var(--color-paper);
}
.button {
  border-radius: 100px;
  padding: 17px 26px;
  border-width: 2px;
  font-size: 16px;
  font-weight: 700;
}
.button:hover {
  background: #284d54;
}
.button--small {
  padding: 11px 20px;
}
/* Botão claro. Os dois modificadores pintam igual; o que muda é o anel de
   foco, porque a superfície ao redor é diferente. */
.button--on-dark,
.button--on-light {
  color: var(--color-ink);
  background: var(--color-paper);
  border-color: var(--color-ink);
}
.button--on-dark:hover,
.button--on-light:hover {
  background: var(--color-sand-light);
}
.button.header-contact {
  color: var(--color-ink);
  background: var(--color-paper);
  border-color: var(--color-paper);
}
.button.header-contact:hover {
  color: var(--color-ink);
  background: var(--color-sand-light);
  border-color: var(--color-sand-light);
}
/* Sobre o azul-petróleo o anel precisa ser claro para aparecer.
   --on-light não declara nada: herda o anel escuro de .button. */
.button--on-dark:focus-visible {
  outline-color: var(--color-paper);
}
.text-link {
  font-size: 15px;
  font-weight: 700;
}
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  align-items: center;
  gap: 20px;
  padding: 34px max(48px, calc((100% - var(--page-width)) / 2)) 95px;
  background: var(--color-sage);
}
.hero::after {
  position: absolute;
  content: "";
  z-index: -1;
  inset: auto 0 -1px;
  height: 38px;
  background: var(--color-sand-light);
  border-radius: 50% 55% 0 0 / 100% 100% 0 0;
}
.hero__copy {
  padding-block: 15px;
}
.location-label {
  width: fit-content;
  color: var(--color-ink);
  border: 1px solid #3b5747;
  border-radius: 100px;
  padding: 7px 13px;
  margin-bottom: 23px;
  font-size: 14px;
  font-weight: 600;
}
.hero h1 {
  max-width: 590px;
  font-size: clamp(54px, 5.5vw, 79px);
  line-height: 1.035;
  letter-spacing: -0.06em;
}
.hero__period {
  color: inherit;
}
.hero__lead {
  max-width: 420px;
  font-size: 22px;
  font-weight: 600;
}
.hero__description {
  color: var(--color-ink);
  max-width: 465px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}
.hero__actions {
  gap: 18px;
}
.hero__notice {
  color: var(--color-ink);
  max-width: 430px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}
.hero__visual {
  padding: 0;
  margin-right: -22px;
}
.hero__photo {
  aspect-ratio: 1024 / 939;
  border-radius: 39% 44% 5% 32% / 30% 30% 8% 26%;
  background: var(--color-sage);
}
.hero__photo img {
  height: auto;
  object-fit: contain;
}
.hero__stamp {
  bottom: -25px;
  left: 20px;
  color: var(--color-ink);
  padding: 16px 23px;
  border-radius: 48% 44% 47% 42%;
  background: var(--color-sand-light);
  box-shadow: none;
  transform: rotate(-9deg);
}
.hero__stamp .icon {
  color: var(--color-ink);
}
.opening {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 25px max(48px, calc((100% - var(--page-width)) / 2)) 42px;
  border-radius: 0;
  background: var(--color-sand-light);
}
.opening__icon {
  background: var(--color-sand);
  border: 0;
  border-radius: 40% 55% 42% 48%;
  width: 62px;
  height: 62px;
}
.opening h2 {
  font-size: 24px;
}
.opening p {
  max-width: 620px;
  font-size: 16px;
  font-weight: 500;
}
.opening > .text-link {
  font-size: 15px;
}
.services .section-heading {
  display: block;
  text-align: center;
  margin-bottom: 48px;
}
.services .section-heading h2 {
  font-size: clamp(35px, 3.6vw, 50px);
}
.services .section-heading > p {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.65;
}
.services__grid {
  gap: 20px;
}
.service {
  position: relative;
  padding: 31px 25px 25px;
  border: 0;
  border-radius: 35px 35px 22px 22px;
  background: var(--color-sage-light);
}
.service:nth-child(even) {
  background: var(--color-sand-light);
  border-radius: 22px 22px 35px 35px;
}
.service__icon {
  background: var(--color-paper);
  border-radius: 46% 54% 42% 48%;
  width: 66px;
  height: 66px;
  margin-bottom: 25px;
}
.service h3 {
  font-size: 23px;
}
.service p {
  font-size: 16px;
  line-height: 1.65;
}
.service .text-link {
  font-size: 15px;
  font-weight: 700;
}
.about {
  position: relative;
  padding-block: 95px;
  background: var(--color-sand-light);
  border-radius: 50% 25% 0 0 / 28px 35px 0 0;
}
.about__house {
  background: var(--color-sage);
  color: var(--color-ink);
  width: min(390px, 100%);
  min-height: 370px;
  border-radius: 43% 54% 42% 50%;
  transform: rotate(-6deg);
}
.about__house::before {
  content: "";
  position: absolute;
  width: 62px;
  height: 92px;
  top: -34px;
  right: 13px;
  background: var(--color-sand);
  border-radius: 80% 20% 65% 35%;
  transform: rotate(22deg);
}
.about__paw {
  color: var(--color-paper);
  width: 68px;
  height: 68px;
}
.about__house span {
  font-size: 34px;
}
.about__heart {
  background: var(--color-ink);
  right: -8px;
  bottom: 16px;
}
.about__copy h2 {
  font-size: clamp(35px, 3.8vw, 52px);
}
.section-label {
  font-size: 15px;
  font-weight: 700;
}
.about__copy > p:not(.section-label) {
  font-size: 17px;
  line-height: 1.7;
}
.about__copy .text-link {
  font-size: 15px;
  font-weight: 700;
}
.reviews .section-heading h2 {
  font-size: clamp(33px, 3.4vw, 47px);
}
.reviews__rating {
  padding: 20px 27px;
  border-radius: 28px 12px 28px 12px;
  background: var(--color-sand-light);
}
.reviews__rating p {
  font-size: 15px;
  font-weight: 600;
}
.reviews__rating small {
  font-size: 13px;
}
.stars {
  color: var(--color-ink);
}
.review {
  border: 0;
  background: var(--color-sage-light);
  border-radius: 25px 25px 25px 5px;
  padding: 32px;
}
.review blockquote {
  font-size: 20px;
  font-weight: 500;
}
.review figcaption strong,
.review figcaption a {
  font-size: 14px;
}
.review:nth-child(2) {
  background: var(--color-sand-light);
}
.review__avatar {
  background: var(--color-paper);
  color: var(--color-ink);
}
.reviews__footer .text-link {
  font-size: 15px;
  font-weight: 700;
}
.contact {
  background: var(--color-ink);
  border-radius: 50px 50px 20px 50px;
  color: var(--color-paper);
}
.contact__pin,
.contact__item > .icon {
  color: var(--color-sand);
}
.contact__status {
  color: var(--color-ink);
  background: var(--color-sand);
  border: 0;
  border-radius: 16px 6px 16px 6px;
  font-size: 14px;
  font-weight: 700;
}
.contact__item,
.contact__item:last-child {
  border-color: var(--color-ink-line);
}
.contact__item address,
.contact__item p,
.contact__intro p {
  color: var(--color-on-ink);
  font-size: 16px;
  line-height: 1.65;
}
.contact__item h3 {
  font-size: 16px;
  font-weight: 700;
}
.contact__item .contact__note {
  color: var(--color-on-ink-muted);
  font-size: 14px;
}
.contact__phone {
  font-size: 23px;
  font-weight: 700;
}
.social-cta {
  padding-block: 82px;
}
.social-cta h2 {
  font-size: 32px;
}
.social-cta p {
  font-size: 16px;
}
.site-footer {
  background: var(--color-ink);
  border-radius: 0;
}
.footer__bottom {
  border-color: var(--color-ink-line);
  color: var(--color-on-ink-soft);
  font-size: 13px;
}
.footer__main p {
  color: var(--color-on-ink-soft);
  font-size: 14px;
}
.footer__links a {
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 1100px) {
  .hero {
    padding-inline: 32px;
    gap: 22px;
  }
  .hero h1 {
    font-size: 61px;
  }
  .hero__visual {
    margin-right: 0;
  }
  .hero__lead {
    font-size: 20px;
  }
  .opening {
    padding-inline: 32px;
  }
  .services__grid {
    gap: 15px;
  }
  .service {
    padding-inline: 20px;
  }
  .service h3 {
    font-size: 21px;
  }
}
@media (max-width: 800px) {
  .site-header {
    padding-block: 22px;
  }
  .main-nav {
    border-color: #6b858b;
    font-size: 14px;
  }
  .hero {
    padding-top: 8px;
    padding-bottom: 85px;
    grid-template-columns: 1.05fr 1fr;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero__stamp {
    padding: 13px 17px;
    left: 8px;
    bottom: -37px;
  }
  .hero__stamp span {
    font-size: 14px;
  }
  .opening h2 {
    font-size: 21px;
  }
  .service {
    padding: 27px;
  }
  .about__house {
    min-height: 315px;
  }
  .about__house span {
    font-size: 28px;
  }
  .review {
    padding: 23px;
  }
}
@media (max-width: 600px) {
  .brand {
    width: 122px;
  }
  .brand--header {
    width: 145px;
    padding: 9px 16px;
  }
  .button--small {
    padding: 11px 15px;
  }
  .main-nav {
    font-size: 13px;
  }
  .hero {
    padding: 7px 20px 75px;
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  .hero h1 {
    font-size: clamp(48px, 12vw, 66px);
    max-width: 480px;
  }
  .location-label {
    margin-bottom: 22px;
  }
  .hero__lead {
    font-size: 21px;
  }
  .hero__description {
    font-size: 16px;
  }
  .hero__actions {
    gap: 10px 18px;
  }
  .hero__notice {
    font-size: 14px;
  }
  .hero__visual {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    padding: 0;
  }
  .hero__stamp {
    left: 5px;
    bottom: -19px;
  }
  .hero::after {
    height: 25px;
  }
  .opening {
    padding: 18px 24px 35px;
    gap: 17px;
  }
  .opening__icon {
    width: 44px;
    height: 44px;
  }
  .opening h2 {
    font-size: 21px;
  }
  .services .section-heading {
    text-align: left;
    margin-bottom: 30px;
  }
  .services .section-heading h2 {
    font-size: 35px;
  }
  .service {
    padding: 24px 19px;
  }
  .service h3 {
    font-size: 22px;
  }
  .service p {
    font-size: 15px;
  }
  .about {
    padding-block: 80px 60px;
  }
  .about__house {
    width: 280px;
    min-height: 300px;
  }
  .about__copy h2 {
    font-size: 38px;
  }
  .reviews__rating {
    padding: 18px 22px;
  }
  .review {
    padding: 27px;
  }
  .contact {
    border-radius: 35px 35px 12px 35px;
  }
  .social-cta {
    padding-block: 58px;
  }
}
@media (max-width: 360px) {
  .brand {
    width: 103px;
  }
  .brand--header {
    width: 126px;
    padding: 8px 13px;
  }
  .button--small {
    padding-inline: 11px;
  }
  .main-nav {
    gap: 3px 10px;
    justify-content: center;
    font-size: 13px;
  }
  .hero {
    padding-inline: 16px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .about__house {
    width: 250px;
  }
}
