:root {
  --turquoise-500: #00acbb;
  --turquoise-600: #0098a5;
  --gray-900: #3a4753;
  --gray-700: #5d6a78;
  --gray-200: #dbe3ea;
  --gray-100: #f4f5f6;
  --gray-50: #fdfdfd;
  --footer: #deeaee;
  --brand: var(--turquoise-500);
  --brand-dark: var(--turquoise-600);
  --text: var(--gray-900);
  --muted: var(--gray-700);
  --bg-soft: var(--gray-100);
  --card-border: var(--gray-200);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Raleway", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid #edf2f4;
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.2px;
}

.auth-buttons {
  display: flex;
  gap: 12px;
}

.topbar .auth-buttons {
  display: none !important;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.96rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-fill {
  background: var(--brand);
  color: #fff;
}

.btn-fill:hover {
  background: var(--brand-dark);
}

.btn-outline {
  border: 2px solid var(--brand);
  background: #fff;
  color: var(--brand);
}

.btn-outline:hover {
  background: #ebf9fb;
}

.hero-wrap {
  margin-top: 24px;
}

.hero-banner {
  border-radius: 14px;
  height: 360px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  background: #dfe8ec;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-track {
  height: 100%;
  display: flex;
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  margin: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(43, 56, 68, 0.12), rgba(43, 56, 68, 0.05));
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto !important;
  height: auto !important;
  padding: 0 8px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--brand);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: none !important;
}

.hero-arrow i {
  display: none;
}

.hero-arrow::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand);
}

.hero-arrow-prev::before {
  content: "‹";
}

.hero-arrow-next::before {
  content: "›";
}

.hero-arrow:hover {
  color: var(--brand-dark);
  transform: translateY(-50%);
}

.hero-arrow:focus,
.hero-arrow:focus-visible {
  outline: none;
}

.hero-arrow-prev {
  left: 12px;
}

.hero-arrow-next {
  right: 12px;
}

.hero-card {
  margin: 24px auto 0;
  max-width: 900px;
  border-radius: 22px;
  background: #eef1f2;
  text-align: center;
  padding: 18px 20px 22px;
}

.hero-indicators {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #c6d4de;
  cursor: pointer;
}

.hero-indicator-dot.is-active {
  background: var(--brand);
}

.hero-card h1 {
  margin: 0;
  color: var(--brand);
  font-size: 2.85rem;
  line-height: 1;
  font-weight: 900;
}

.hero-card p {
  margin: 8px 0 16px;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta .btn {
  min-width: 290px;
}

.features {
  margin-top: 48px;
  background: var(--bg-soft);
  padding: 70px 0 80px;
}

.blog-section {
  margin-top: 0;
  background: #ffffff;
}

.news-section {
  background: #eef3f6;
}

.section-heading {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}

.section-heading h2 {
  font-size: 2.95rem;
  margin: 0;
  font-weight: 900;
  line-height: 1.17;
}

.section-heading h2 span {
  color: var(--brand);
}

.section-heading p {
  margin: 14px auto 0;
  font-size: 1.12rem;
  color: #3d4d5b;
  max-width: 790px;
}

.quick-access-title {
  color: var(--text);
}

.quick-access-title span {
  color: var(--brand);
}

.notipets-title {
  color: var(--brand);
}

.notipets-subtitle {
  font-weight: 800;
  line-height: 1.4;
}

.notipets-subtitle span {
  display: block;
}

.notipets-subtitle span:last-child {
  color: var(--brand);
}

.news-grid-three {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card:hover {
  box-shadow: 0 8px 18px rgba(58, 71, 83, 0.12);
}

.news-card:focus-visible {
  outline: 3px solid #b4edf2;
  outline-offset: 2px;
}

.news-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

.news-go-btn {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(0, 172, 187, 0.92);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  margin-top: auto;
  align-self: flex-start;
}

.blog-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.blog-mini-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-mini-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-mini-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  display: block;
}

.blog-mini-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.blog-mini-card p {
  margin: 0 0 6px;
  color: var(--muted);
}

.blog-more-btn {
  align-self: flex-start;
  padding: 8px 14px;
  font-size: 0.86rem;
  margin-top: auto;
  background: var(--brand);
  color: #fff;
  border: none;
}

.blog-more-btn:hover {
  background: var(--brand-dark);
}

.adopcion-highlight {
  color: var(--brand);
}

.blog-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 170px 1fr;
}

.blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-content {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  flex: 1;
}

.news-meta {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.news-content h3 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.25;
  font-weight: 900;
}

.news-content p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.quick-access {
  background: #fff;
  padding: 72px 0;
}

.quick-access .section-heading p {
  font-weight: 800;
}

.quick-carousel {
  margin-top: 28px;
  overflow: hidden;
}

.quick-carousel-track {
  --scroll-distance: 0px;
  display: flex;
  width: max-content;
  will-change: transform;
  animation: quick-carousel-scroll 42s linear infinite;
}

.quick-carousel-set {
  display: flex;
  gap: 18px;
  flex: 0 0 auto;
}

@keyframes quick-carousel-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--scroll-distance)));
  }
}

.quick-carousel-card {
  border-radius: 18px;
  overflow: hidden;
  min-height: 300px;
  width: 210px;
  flex: 0 0 210px;
  border: 1px solid var(--card-border);
  background: #fff;
  position: relative;
}

.quick-carousel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 172, 187, 0.1);
  z-index: 1;
  pointer-events: none;
}

.quick-carousel-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.quick-carousel-cta {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 999px;
}

.quick-carousel-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.site-footer {
  background: var(--footer);
  border-top: 1px solid #cfdee4;
}

.footer-main {
  display: grid;
  gap: 30px;
  grid-template-columns: 1.8fr 1fr;
  padding: 46px 0;
}

.footer-col h4,
.footer-col h5 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 1.2rem;
}

.footer-col p,
.footer-col a {
  display: block;
  margin: 0 0 8px;
  color: #3f4d5a;
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--brand-dark);
}

.footer-contact-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.footer-contact-link i {
  color: var(--brand);
  font-size: 1.05rem;
}

.footer-icon {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: 0 0 auto;
}

.footer-bottom {
  border-top: 1px solid #cfdee4;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 700;
  color: #495868;
  text-align: center;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  background: #d7e1e7;
}

.socials a:hover {
  background: #cad8e0;
}

.adoption-form-section {
  background: #fff;
  padding: 74px 0 84px;
}

.adoption-form {
  margin: 28px auto 0;
  max-width: 860px;
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(58, 71, 83, 0.08);
}

.adoption-form label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  margin-top: 2px;
}

.adoption-form small {
  color: var(--muted);
  font-size: 0.85rem;
}

.adoption-form .btn-fill {
  margin-top: 8px;
}

.adoption-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.adoption-form input,
.adoption-form select,
.adoption-form textarea {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 1rem;
  font-family: "Raleway", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

.adoption-form input:focus,
.adoption-form select:focus,
.adoption-form textarea:focus {
  outline: 2px solid #b4edf2;
  border-color: var(--brand);
}

.newsletter-modal[hidden] {
  display: none;
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 20px;
}

.newsletter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 56, 68, 0.55);
}

.newsletter-modal__dialog {
  position: relative;
  width: min(540px, 100%);
  border-radius: 18px;
  background: #fff;
  padding: 28px 24px;
  box-shadow: 0 20px 45px rgba(43, 56, 68, 0.2);
}

.newsletter-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: none;
  background: #ebf9fb;
  color: var(--brand-dark);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.newsletter-modal__dialog h2 {
  margin: 4px 0 10px;
  color: var(--brand);
  font-size: 1.75rem;
  font-weight: 900;
}

.newsletter-modal__dialog p {
  margin: 0 0 18px;
  color: var(--muted);
}

.news-modal[hidden] {
  display: none;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 20px;
}

.news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 56, 68, 0.55);
}

.news-modal__dialog {
  position: relative;
  width: min(540px, 100%);
  border-radius: 18px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(43, 56, 68, 0.2);
  text-align: center;
}

.news-modal__dialog h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.35rem;
}

.news-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1700;
  background: #1d9f67;
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(29, 159, 103, 0.3);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.newsletter-form {
  display: grid;
  gap: 10px;
}

.newsletter-form label {
  font-weight: 700;
  color: var(--text);
}

.newsletter-form input {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 1rem;
  font-family: "Raleway", Arial, sans-serif;
  color: var(--text);
}

.newsletter-form input:focus {
  outline: 2px solid #b4edf2;
  border-color: var(--brand);
}

.newsletter-form__message {
  min-height: 22px;
  margin: 0;
  font-weight: 700;
}

.newsletter-form__message.is-success {
  color: #1b8f66;
}

.newsletter-form__message.is-error {
  color: #b83b3b;
}

.bot-trap-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1024px) {
  .section-heading h2 {
    font-size: 2.4rem;
  }

  .news-grid-three,
  .blog-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-thumb {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .news-content h3 {
    font-size: 1.12rem;
    line-height: 1.2;
  }

  .news-content p {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .logo {
    font-size: 1.55rem;
  }

  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 14px 0;
  }

  .hero-banner {
    height: 260px;
    min-height: 260px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-card h1 {
    font-size: 2.1rem;
  }

  .hero-card p {
    font-size: 1rem;
  }

  .section-heading h2 {
    font-size: 1.9rem;
  }

  .news-grid-three,
  .blog-grid,
  .blog-mini-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta .btn {
    min-width: unset;
    width: 100%;
  }

  .newsletter-modal__dialog h2 {
    font-size: 1.45rem;
  }

  .quick-carousel-card,
  .quick-carousel-card img {
    min-height: 220px;
  }

  .quick-carousel-card {
    width: 170px;
    flex-basis: 170px;
  }

  .adoption-form {
    padding: 18px;
  }

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