/*
Theme Name: Pets de Cardecan - Luxury Boutique
Theme URI: https://petsdecardecan.es
Author: Antigravity Atelier
Author URI: https://petsdecardecan.es
Description: Tema premium a medida para Criadero Pets de Cardecan. Diseño editorial, minimalista, modo claro y oscuro, animación de contadores, catálogo dinámico de cachorros y WhatsApp concierge.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: cardecan
*/

/* ==========================================================================
   PETS DE CARDECAN - LUXURY BOUTIQUE CRIADERO DESIGN SYSTEM
   Editorial, Minimalist, Generous White Space & High Trust
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Palette */
  --color-primary: #1e6c93;
  --color-primary-dark: #15506e;
  --color-primary-light: #2884b2;
  --color-accent: #3ba4d1;
  --color-accent-soft: rgba(59, 164, 209, 0.12);
  --color-cyan: #49aad4;
  --color-gold: #c59d5f;
  --color-gold-light: #f5eedf;
  --color-gold-dark: #9a783e;
  
  /* WhatsApp Brand Color */
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #128c7e;
  --color-whatsapp-hover: #22bf5b;

  /* Theme: LIGHT MODE (Default) */
  --bg-page: #fbfcfd;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f3f6f9;
  --bg-subtle-accent: #edf4f8;
  --bg-nav: rgba(251, 252, 253, 0.85);
  --bg-nav-scrolled: rgba(255, 255, 255, 0.94);
  --bg-card-overlay: rgba(255, 255, 255, 0.9);
  --bg-modal: rgba(17, 24, 39, 0.55);

  --text-main: #141b24;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-inverse: #ffffff;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(30, 108, 147, 0.16);
  --border-card: rgba(15, 23, 42, 0.06);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.09), 0 8px 16px -4px rgba(15, 23, 42, 0.03);
  --shadow-luxury: 0 25px 60px -15px rgba(30, 108, 147, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.03);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max: 1240px;
  --container-narrow: 920px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   DARK THEME TOKENS
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --bg-page: #080d12;
  --bg-surface: #0e151c;
  --bg-surface-elevated: #141e28;
  --bg-subtle: #121a22;
  --bg-subtle-accent: #112330;
  --bg-nav: rgba(8, 13, 18, 0.85);
  --bg-nav-scrolled: rgba(14, 21, 28, 0.94);
  --bg-card-overlay: rgba(14, 21, 28, 0.9);
  --bg-modal: rgba(0, 0, 0, 0.75);

  --text-main: #f3f5f8;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --text-inverse: #080d12;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(59, 164, 209, 0.22);
  --border-card: rgba(255, 255, 255, 0.06);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
  --shadow-luxury: 0 25px 60px -15px rgba(30, 108, 147, 0.28), 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Section Common Spacing */
.section {
  padding-top: 110px;
  padding-bottom: 110px;
  position: relative;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & HEADINGS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  background-color: var(--color-accent-soft);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

[data-theme="dark"] .section-badge {
  color: var(--color-cyan);
  background-color: rgba(73, 170, 212, 0.14);
}

.section-title {
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  margin-bottom: 18px;
  font-weight: 700;
}

.section-description {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 108, 147, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 108, 147, 0.45);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--color-whatsapp) 0%, var(--color-whatsapp-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-outline {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-smooth);
  background-color: var(--bg-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: var(--bg-nav-scrolled);
  border-bottom-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

[data-theme="dark"] .nav-link:hover {
  color: var(--color-cyan);
}
[data-theme="dark"] .nav-link:hover::after {
  background: var(--color-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Theme Switcher Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background-color: var(--color-accent-soft);
  color: var(--color-primary);
  transform: rotate(18deg);
}

.theme-icon-sun, .theme-icon-moon {
  width: 19px;
  height: 19px;
}

[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 170px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(59, 164, 209, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(30, 108, 147, 0.05) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

[data-theme="dark"] .hero-subtitle-badge {
  color: var(--color-cyan);
}

.hero-title {
  font-size: clamp(2.6rem, 4.4vw, 4.1rem);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .title-accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

[data-theme="dark"] .trust-item svg {
  color: var(--color-cyan);
}

/* Hero Media / Image Collage */
.hero-media {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.hero-main-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--bg-card-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}

.hero-floating-badge .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-badge .badge-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.hero-floating-badge .badge-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero-experience-chip {
  position: absolute;
  top: 24px;
  right: -16px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-experience-chip .chip-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.hero-experience-chip .chip-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   7. STATS & METRICS BAR
   -------------------------------------------------------------------------- */
.stats-bar {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 0;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

[data-theme="dark"] .stat-number {
  color: var(--color-cyan);
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 200px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   8. QUIÉNES SOMOS SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-images-wrapper {
  position: relative;
}

.about-img-primary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  border: 1px solid var(--border-subtle);
}

.about-img-primary img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about-quote-box {
  position: absolute;
  bottom: -30px;
  right: -24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
}

.about-quote-box p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 8px;
}

.about-quote-box span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.about-content .about-tagline {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.35;
}

[data-theme="dark"] .about-content .about-tagline {
  color: var(--color-cyan);
}

.about-paragraph {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  margin-bottom: 36px;
}

.highlight-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.highlight-pill svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

[data-theme="dark"] .highlight-pill svg {
  color: var(--color-cyan);
}

/* --------------------------------------------------------------------------
   9. LOS 4 PILARES DEL BIENESTAR (Salud & Cuidados)
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.pillar-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-luxury);
}

.pillar-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform var(--transition-fast);
}

[data-theme="dark"] .pillar-icon-wrapper {
  color: var(--color-cyan);
  background-color: rgba(73, 170, 212, 0.15);
}

.pillar-card:hover .pillar-icon-wrapper {
  transform: scale(1.08) rotate(3deg);
}

.pillar-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.pillar-step-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--border-subtle);
  transition: color var(--transition-fast);
}

.pillar-card:hover .pillar-step-number {
  color: var(--color-accent-soft);
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. NUESTRAS RAZAS (Interactive Breed Explorer)
   -------------------------------------------------------------------------- */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-tab {
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 108, 147, 0.3);
}

[data-theme="dark"] .filter-tab.active {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
  color: #080d12;
}

.breeds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.breed-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.breed-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-luxury);
}

.breed-media-container {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.breed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.breed-card:hover .breed-img {
  transform: scale(1.06);
}

.breed-badge-corner {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-dark);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.breed-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.breed-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.breed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.breed-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.breed-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.breed-specs-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 14px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breed-spec-item strong {
  display: block;
  color: var(--text-main);
  font-size: 0.85rem;
}

.breed-card-actions {
  display: flex;
  gap: 8px;
}

.breed-card-actions .btn {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   11. GARANTÍAS SANITARIAS & PROTOCOLO LEGAL
   -------------------------------------------------------------------------- */
.guarantees-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  box-shadow: var(--shadow-luxury);
  position: relative;
  overflow: hidden;
}

.guarantees-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 170, 212, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.guarantees-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px auto;
  position: relative;
  z-index: 1;
}

.guarantees-header .badge-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.guarantees-header h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 16px;
}

.guarantees-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.guarantee-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition-fast);
}

.guarantee-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.guarantee-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.guarantee-card h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.guarantee-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. FAMILIAS FELICES (Testimonials & Community Gallery)
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.testimonial-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-luxury);
}

.stars-rating {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 18px;
}

.stars-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
}

.author-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Photo Gallery Strip */
.community-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 108, 147, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: #ffffff;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   13. PREGUNTAS FRECUENTES (Interactive FAQ Accordion)
   -------------------------------------------------------------------------- */
.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* --------------------------------------------------------------------------
   14. CONTACTO DIRECTO & UBICACIÓN
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-cards-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.contact-card:hover {
  transform: translateX(4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-card-icon {
  color: var(--color-cyan);
}

.contact-card-details h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card-details a, .contact-card-details p {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Contact Form */
.contact-form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-luxury);
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--border-focus);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0b1218;
  color: #a0aec0;
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-col p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-top: 18px;
  margin-bottom: 24px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  font-size: 0.92rem;
  color: #a0aec0;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-cyan);
}

.footer-social-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   16. FLOATING CONCIERGE & MODALS
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--color-whatsapp) 0%, var(--color-whatsapp-dark) 100%);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

.whatsapp-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.9; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.9; }
}

/* Breed Details Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--bg-modal);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-luxury);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.active .modal-content-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   17. SCROLL ANIMATIONS & REVEAL UTILITIES
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-main-card img {
    height: 380px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .breeds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .community-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-card:not(:last-child)::after {
    display: none;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .breeds-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .community-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 14px;
    border-radius: 50%;
  }
  .about-quote-box {
    position: static;
    margin-top: 20px;
    max-width: 100%;
  }
}


/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Navigation */
  .navbar {
    padding: 10px 0 !important;
  }
  .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  .brand-logo-img {
    width: 145px !important;
    height: 30px !important;
    display: block !important;
    flex-shrink: 0 !important;
  }
  .nav-links {
    display: none !important;
  }
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .nav-actions .btn-primary {
    display: none !important;
  }
  .theme-toggle-btn {
    width: 38px !important;
    height: 38px !important;
  }
  .mobile-toggle {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
  }
  #mobileDrawer.active {
    display: flex !important;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 100px !important;
    padding-bottom: 50px !important;
  }
  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
  }
  .hero-lead {
    font-size: 0.98rem !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
  }
  .hero-cta-group .btn {
    width: 100% !important;
  }
  .hero-trust-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .hero-main-card img {
    height: 280px !important;
  }
  .hero-floating-badge {
    position: static !important;
    margin-top: 14px !important;
    max-width: 100% !important;
  }
  .hero-experience-chip {
    top: 14px !important;
    right: 14px !important;
    padding: 8px 14px !important;
  }
  .hero-experience-chip .chip-number {
    font-size: 1.3rem !important;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .about-img-primary img {
    height: 280px !important;
  }
  .about-quote-box {
    position: static !important;
    margin-top: 14px !important;
    max-width: 100% !important;
  }
  .about-highlights-list {
    grid-template-columns: 1fr !important;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
  }
  .stat-card:not(:last-child)::after {
    display: none !important;
  }

  /* Pillars & Breeds */
  .pillars-grid {
    grid-template-columns: 1fr !important;
  }
  .breeds-grid {
    grid-template-columns: 1fr !important;
  }

  /* Guarantees */
  .guarantees-banner {
    padding: 36px 18px !important;
  }
  .guarantees-grid {
    grid-template-columns: 1fr !important;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }
  .community-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Contact & Footer */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
  .contact-form-card {
    padding: 24px 16px !important;
  }
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .footer-bottom-row {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
}


/* Overflow Protection */
html, body {
  max-width: 100vw !important;
  overflow-x: clip !important;
}

.hero-subtitle-badge {
  max-width: 100% !important;
  white-space: normal !important;
  text-align: center !important;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw !important;
  }

  .hero-subtitle-badge {
    font-size: 0.74rem !important;
    padding: 6px 12px !important;
    line-height: 1.4 !important;
  }

  .hero-title {
    font-size: 1.95rem !important;
    line-height: 1.2 !important;
  }

  .hero-title br {
    display: none !important;
  }

  .hero-experience-chip {
    right: 12px !important;
    top: 12px !important;
  }

  .about-quote-box {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 16px !important;
  }

  .guarantees-banner {
    overflow: hidden !important;
  }

  .navbar {
    width: 100vw !important;
    box-sizing: border-box !important;
  }

  .nav-container {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
}


/* --------------------------------------------------------------------------
   18. SINGLE PUPPY DETAILED SHEET (single-cachorro.php)
   -------------------------------------------------------------------------- */
.single-puppy-page {
  padding: 120px 0 80px 0;
  min-height: 80vh;
}

.puppy-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.puppy-breadcrumbs a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.puppy-breadcrumbs a:hover {
  color: var(--color-primary);
}

.puppy-breadcrumbs .bc-sep {
  opacity: 0.4;
}

.puppy-breadcrumbs .bc-current {
  color: var(--color-primary);
  font-weight: 600;
}

.single-puppy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .single-puppy-grid {
    grid-template-columns: 460px 1fr;
    gap: 48px;
    align-items: start;
  }
}

.puppy-media-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.puppy-main-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  aspect-ratio: 4 / 3;
}

.puppy-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.puppy-badge-flag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--bg-surface);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 1px solid var(--border-subtle);
}

.puppy-guarantees-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
}

.guarantees-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.guarantees-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guarantees-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.guarantees-card-list li svg {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
}

.puppy-info-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.puppy-origin-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.puppy-page-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

.puppy-specs-table-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-subtle);
}

.specs-table-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.specs-table-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 560px) {
  .specs-table-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.spec-cell {
  background: var(--bg-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.spec-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.spec-val {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 700;
}

.puppy-editorial-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-subtle);
}

.puppy-editorial-content h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.puppy-editorial-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.puppy-editorial-content p:last-child {
  margin-bottom: 0;
}

.puppy-actions-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.puppy-actions-subrow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
