/* ===== FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --primary: #4DB6AC;
  --primary-dark: #00897B;
  --primary-light: #B2DFDB;
  --secondary: #81C784;
  --secondary-light: #C8E6C9;
  --accent: #26A69A;
  --accent-glow: #80CBC4;
  --bg-body: #F0F9F7;
  --bg-card: #FFFFFF;
  --bg-hero: linear-gradient(135deg, #E0F2F1 0%, #C8E6C9 50%, #B2DFDB 100%);
  --text-main: #2E4A47;
  --text-light: #5D7B78;
  --text-muted: #8DA8A4;
  --border: #D5E8E5;
  --shadow: 0 2px 12px rgba(77,182,172,.12);
  --shadow-hover: 0 6px 24px rgba(77,182,172,.22);
  --radius: 14px;
  --radius-sm: 8px;
  --font-body: 'Nunito', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --max-width: 1200px;
  --transition: .3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: .3em;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ===== HEADER ===== */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.04);
}
.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}
.logo__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.logo span { color: var(--secondary); }

/* Search */
.search-box {
  flex: 1;
  max-width: 420px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: .95rem;
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-main);
  transition: border var(--transition), box-shadow var(--transition);
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(77,182,172,.15);
}
.search-box__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

/* Nav */
.nav {
  background: var(--primary-dark);
  border-radius: 0;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  transition: background var(--transition);
  position: relative;
}
.nav__link:hover,
.nav__link--active {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--accent-glow);
  border-radius: 3px 3px 0 0;
}
.nav__icon { font-size: 1.1rem; }

/* Mobile menu */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  padding: 10px 16px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  background: var(--bg-hero);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(77,182,172,.18) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(129,199,132,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.hero__text { flex: 1; }
.hero__title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: .5em;
  color: var(--text-main);
}
.hero__title em {
  font-style: normal;
  color: var(--primary-dark);
}
.hero__desc {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
  max-width: 520px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,137,123,.25);
}
.btn--primary:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,137,123,.35);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.hero__image {
  flex-shrink: 0;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B2DFDB, #C8E6C9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  box-shadow: 0 12px 40px rgba(77,182,172,.2);
  position: relative;
}
.hero__image::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 3px dashed var(--primary-light);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SECTION ===== */
.section {
  padding: 50px 0;
}
.section--alt { background: #fff; }

/* ===== CARDS GRID ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card__img {
  height: 180px;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.04) 100%);
}
.card__body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.card__tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .75rem;
}
.card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: .4em;
  line-height: 1.3;
}
.card__title a { color: var(--text-main); }
.card__title a:hover { color: var(--primary-dark); }
.card__excerpt {
  color: var(--text-light);
  font-size: .92rem;
  flex: 1;
  margin-bottom: 12px;
}
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--text-muted);
}
.card__comments {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== BREEDS STRIP ===== */
.breeds-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0 16px;
  -webkit-overflow-scrolling: touch;
}
.breeds-strip::-webkit-scrollbar { height: 6px; }
.breeds-strip::-webkit-scrollbar-track { background: var(--primary-light); border-radius: 3px; }
.breeds-strip::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
.breed-chip {
  flex-shrink: 0;
  padding: 10px 22px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.breed-chip:hover,
.breed-chip--active {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__caption {
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}

/* ===== ADS ===== */
.ad-card {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-bottom: 18px;
}
.ad-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.ad-card__img {
  width: 200px;
  height: 160px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.ad-card__body { flex: 1; }
.ad-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: .3em;
}
.ad-card__price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: .4em;
}
.ad-card__desc {
  color: var(--text-light);
  font-size: .92rem;
  margin-bottom: .8em;
}
.ad-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ad-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
}

/* ===== TIPS / USEFUL ===== */
.tip-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.tip-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.tip-card__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.tip-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: .2em;
}
.tip-card__text {
  color: var(--text-light);
  font-size: .92rem;
}

/* ===== IMPORTANT ===== */
.important-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 5px solid;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.important-card:hover { transform: translateY(-2px); }
.important-card--red { border-left-color: #E57373; }
.important-card--orange { border-left-color: #FFB74D; }
.important-card--blue { border-left-color: #4FC3F7; }
.important-card--green { border-left-color: var(--secondary); }
.important-card__icon { font-size: 2rem; margin-bottom: 10px; }
.important-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: .3em;
}
.important-card__text {
  color: var(--text-light);
  font-size: .92rem;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination__link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-main);
  background: #fff;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.pagination__link:hover,
.pagination__link--active {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

/* ===== SIDEBAR ===== */
.layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
}
.sidebar__widget {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.sidebar__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}
.sidebar__item {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.sidebar__item:last-child { border-bottom: none; }
.sidebar__item a { color: var(--text-main); }
.sidebar__item a:hover { color: var(--primary-dark); }
.sidebar__date {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-main);
  color: rgba(255,255,255,.7);
  padding: 50px 0 0;
  margin-top: 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer__heading {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.footer__link {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__link:hover { color: var(--accent-glow); }
.footer__bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 18px 24px;
  box-shadow: 0 -2px 20px rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 200;
  font-size: .9rem;
  border-top: 3px solid var(--primary);
}
.cookie-banner.hidden { display: none; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox__content {
  max-width: 80vw;
  max-height: 80vh;
  text-align: center;
  color: #fff;
  font-size: 12rem;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--primary-light);
  border-radius: 50px;
  padding: 4px;
  width: fit-content;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  background: transparent;
  color: var(--text-light);
  transition: all var(--transition);
}
.tab-btn--active {
  background: var(--primary-dark);
  color: #fff;
}
.tab-content { display: none; }
.tab-content--active { display: block; }

/* ===== COUNTER STRIP ===== */
.counter-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.counter-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 16px;
  box-shadow: var(--shadow);
}
.counter-item__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.counter-item__label {
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: 4px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--bg-hero);
  padding: 40px 0;
  text-align: center;
}
.page-header__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: .3em;
}
.page-header__desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumbs {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .hero__inner { flex-direction: column; text-align: center; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__image { width: 240px; height: 240px; font-size: 7rem; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .counter-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__list { display: none; }
  .nav__list.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
  }
  .nav__toggle { display: block; }
  .nav { position: relative; }
  .hero__title { font-size: 1.8rem; }
  .ad-card { flex-direction: column; }
  .ad-card__img { width: 100%; height: 180px; }
  .cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .counter-strip { grid-template-columns: 1fr; }
}