/* ===============================
   RESET & NORMALIZE
   =============================== */

html {
  box-sizing: border-box;
  font-size: 16px; /* base font size */
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body, html {
  height: 100%;
  min-height: 100vh;
}
body {
  background: #F7DFB4; /* retro light base */
  color: #25405A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100%;
}

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

ul, ol {
  padding-left: 1.4em;
}

a {
  color: #305671;
  text-decoration: underline;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #C1A86E;
}

button, .cta {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: 8px;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.15s, box-shadow 0.18s, border 0.15s;
  padding: 14px 32px;
  background: #25405A;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(48,86,113,0.10);
}
button.cta, a.cta {
  display: inline-block;
  min-width: 180px;
  margin-top: 16px;
}
.cta.primary {
  background: #C1A86E;
  color: #25405A;
  border: 2px solid #25405A;
  box-shadow: 0 2px 8px 0 rgba(193,168,110,0.07);
}
button:hover, .cta:hover, .cta:focus {
  background: #305671;
  color: #F7DFB4;
  box-shadow: 0 2px 24px 0 rgba(48,86,113,0.17);
  text-decoration: none;
}
button.cta.primary:hover, a.cta.primary:hover {
  background: #25405A;
  color: #fff;
  border-color: #C1A86E;
}

/* ===============================
  VINTAGE RETRO PALETTE & FONTS
   =============================== */
:root {
  --primary: #25405A;
  --secondary: #F7DFB4;
  --accent: #C1A86E;
  --brand-dark: #18324a;
  --text-main: #25405A;
  --text-lg: 2.25rem;
  --text-md: 1.5rem;
  --text-reg: 1.0625rem;
  --radius: 14px;
  --shadow-card: 0 8px 40px 0 rgba(48,86,113,.08);
  --pattern-stripes: repeating-linear-gradient(135deg,#F7DFB4, #F7DFB4 7px, #fff 7px, #fff 18px);
}

h1, h2, h3, .logo {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: .03em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.1;
  color: #25405A;
  text-shadow: 1px 2px 0 #C1A86E, 0 1px 16px #fff4;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #305671;
  text-shadow: 0 1px 0 #C1A86E;
}
h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: #C1A86E;
  margin-bottom: 8px;
}
p, li {
  font-size: 1.0625rem;
  color: #25405A;
}
strong {
  font-weight: 700;
  color: #305671;
}

/* ===============================
   LAYOUT HELPERS
   =============================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 320px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: #fff;
  color: #25405A;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(48,86,113,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin: 0 0 20px 0;
  min-width: 270px;
  position: relative;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** Custom Retro Patterns *****/
.hero, .features-overview, .features-dog, .features-cat, .features-bird, .features-health, .features-nutrition-training {
  background: var(--pattern-stripes);
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  background: #fff8e3;
  border-bottom: 3px solid #C1A86E;
  box-shadow: 0 1px 8px 0 #d7be9540;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.logo img {
  width: 126px;
  height: auto;
  display: block;
  margin-right: 18px;
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #305671;
  font-weight: 700;
  font-size: 1.06rem;
  background: none;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
.main-nav a.cta {
  background: #C1A86E;
  color: #25405A;
  border: 2px solid #25405A;
  padding: 7px 22px;
  margin-left: 18px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F7DFB4;
  color: #C1A86E;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #305671;
  color: #fff;
  border-color: #C1A86E;
}

/* Burger Icon Only on Mobile */
.mobile-menu-toggle {
  display: none;
  background: #C1A86E;
  color: #25405A;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1010;
  transition: background 0.18s;
  margin-left: 16px;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #F7DFB4;
  color: #305671;
  outline: 2px solid #305671;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff8e3;
  border-right: 4px solid #C1A86E;
  box-shadow: 2px 0 30px 0 rgba(48,86,113,.12);
  z-index: 2000;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.45,.2,.47,1.1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  font-size: 2.25rem;
  color: #305671;
  border: none;
  z-index: 2010;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C1A86E;
}
.mobile-nav {
  margin: 70px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 0 42px;
}
.mobile-nav a, .mobile-nav a.cta {
  font-size: 1.35rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  padding: 14px 10px 14px 0;
  background: none;
  border: none;
  color: #305671;
  border-radius: 8px;
  transition: background 0.16s, color 0.14s;
  text-decoration: none;
  display: block;
}
.mobile-nav a.cta {
  background: #C1A86E;
  color: #25405A;
  border: 2px solid #25405A;
  margin-top: 10px;
  padding-left: 13px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C1A86E;
  background: #F7DFB4;
}
.mobile-nav a.cta:hover,.mobile-nav a.cta:focus {
  background: #305671;
  color: #fff;
  border-color: #C1A86E;
  outline: none;
}

/* Hide mobile menu by default on desktop */
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}
/* Show burger on mobile, hide desktop nav */
@media (max-width: 991px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* ===============================
   HERO & STRIPES
   =============================== */
.hero {
  background: var(--pattern-stripes);
  min-height: 330px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  min-height: 200px;
  justify-content: center;
}
.hero h1 {
  color: #25405A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  margin-bottom: 10px;
  font-size: 2.5rem;
}
.hero p {
  color: #305671;
  font-size: 1.28rem;
  margin-bottom: 18px;
}
.hero .cta {
  margin-top: 14px;
}

/***** Features Overview & Grids *****/
.features-overview {
  background: var(--pattern-stripes);
  border-bottom: 2px dashed #C1A86E;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 24px;
  margin-top: 16px;
  justify-content: flex-start;
  list-style: none;
}
.feature-grid li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px 0 rgba(48,86,113,0.09);
  padding: 26px 18px 20px 18px;
  min-width: 220px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.16s, box-shadow 0.16s;
}
.feature-grid li:hover {
  transform: translateY(-8px) scale(1.03) rotate(-0.5deg);
  box-shadow: 0 8px 36px 0 rgba(48,86,113,0.21);
  background: #FFF8E3;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  filter: drop-shadow(0px 1px 3.5px #C1A86E77);
}

/***** Services List/Service Cards *****/
.service-list {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-list li {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2.5px 16px 0 rgba(48,86,113,0.13);
  margin-bottom: 0;
  padding: 18px 20px 17px 20px;
  color: #305671;
  font-size: 1.12rem;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: box-shadow 0.18s, border 0.19s;
  border: 1.5px solid #f6ede0;
  position: relative;
}
.service-list li:hover {
  box-shadow: 0 5px 28px 0 #C1A86E33;
  border: 1.5px solid #C1A86E70;
  background: #fffaed;
}
.service-list .service-price {
  color: #C1A86E;
  font-weight: bold;
  font-size: 1.08em;
}

/***** Articles Preview *****/
.articles-preview ul {
  padding-left: 0;
  list-style: disc inside;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 10px;
}

/***** Team Section *****/
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-profile {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2.5px 18px 0 rgba(48,86,113,0.13);
  padding: 27px 18px 19px;
  min-width: 220px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 0;
  border: 1.5px solid #f6ede0;
}

/***** Testimonials *****/
.testimonials .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  color: #25405A;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(48,86,113,0.13);
  padding: 24px 22px 22px;
  margin-bottom: 0;
  min-width: 275px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 16px;
}
.testimonial-card p {
  color: #25405A;
  font-size: 1.0625rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card .testimonial-meta {
  color: #305671;
  font-size: .98rem;
  font-weight: 700;
  opacity: .82;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  font-size: 2.7rem;
  color: #C1A86E44;
  left: 13px;
  top: 7px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  pointer-events: none;
  z-index: 0;
}

/***** Contact & Info Blocks *****/
.contact-info, .contact-block, .route-service-notes {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2.5px 14px 0 #30567121;
  margin-bottom: 60px;
  padding: 36px 20px 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.text-section {
  margin-bottom: 24px;
}
.text-section:last-child, .cta-section:last-child {
  margin-bottom: 0;
}
.cta-section .cta.primary {
  margin-top: 14px;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #fff8e3;
  border-top: 3px solid #C1A86E;
  box-shadow: 0 -1px 8px 0 #d7be9540;
  padding: 34px 0 20px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
footer .footer-nav a {
  color: #305671;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border-radius: 6px;
  padding: 5px 13px;
  transition: background 0.12s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  background: #F7DFB4;
  color: #C1A86E;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-links img {
  width: 52px;
  height: 52px;
  border-radius: 100%;
  box-shadow: 0 2px 8px 0 #30567122;
  background: #fff;
}
.legal-links {
  color: #305671;
  font-size: .92rem;
  margin-top: 7px;
  opacity: 0.8;
}

/* ===============================
   TYPOGRAPHY & RETRO DETAILS
   =============================== */
/***** Retro Divider and Bullet *****/
ul li::marker, .articles-preview ul li::marker {
  color: #C1A86E;
}
ul li {
  margin-bottom: 5px;
}
hr {
  border: 0;
  border-top: 2px dashed #C1A86E;
  margin: 40px 0;
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  width: 100vw;
  background: #fff8e3;
  border-top: 3px solid #C1A86E;
  box-shadow: 0 -2px 16px 0 rgba(48,86,113,0.10);
  padding: 30px 18px 22px 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(.31,.46,.47,1.09);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner__message {
  font-size: 1.06rem;
  color: #25405A;
  flex: 1 1 260px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid #C1A86E;
  background: #fff;
  color: #25405A;
  padding: 11px 22px;
  margin-right: 0;
  transition: background 0.15s, color 0.12s, border 0.15s;
  cursor: pointer;
}
.cookie-banner__btn.accept {
  background: #C1A86E;
  color: #25405A;
  border-color: #25405A;
}
.cookie-banner__btn.accept:hover {
  background: #305671;
  color: #F7DFB4;
  border-color: #C1A86E;
}
.cookie-banner__btn.reject {
  border-color: #C1A86E;
  color: #C1A86E;
  background: #fff;
}
.cookie-banner__btn.reject:hover {
  background: #F7DFB4;
  color: #305671;
}
.cookie-banner__btn.settings {
  background: none;
  color: #305671;
  border: none;
  text-decoration: underline;
  padding: 11px 12px;
}
.cookie-banner__btn.settings:hover {
  color: #c18f3e;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 4000;
  background: rgba(49,53,56,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__dialog {
  background: #fff8e3;
  border-radius: 16px;
  min-width: 350px;
  max-width: 96vw;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 8px 40px 0 rgba(48,86,113,.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__close {
  position: absolute;
  right: 20px;
  top: 16px;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: #305671;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #C1A86E;
}
.cookie-modal__header {
  font-size: 1.23rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #25405A;
  margin-bottom: 13px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 18px 0 10px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal__category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #C1A86E;
  margin-right: 7px;
}
.cookie-modal__category label {
  font-size: 1.07rem;
  color: #25405A;
  font-weight: 600;
}
.cookie-modal__category.essential label {
  color: #305671;
}
.cookie-modal__category.essential input[type="checkbox"]:disabled {
  opacity: 0.7;
  accent-color: #C1A86E;
}
.cookie-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 17px;
}
.cookie-modal__footer button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 7px;
  padding: 8px 18px;
  border: 2px solid #C1A86E;
  background: #fff;
  color: #25405A;
  cursor: pointer;
  transition: background 0.14s, color 0.12s, border 0.13s;
}
.cookie-modal__footer button.save {
  background: #C1A86E;
  color: #25405A;
  border-color: #25405A;
}
.cookie-modal__footer button.save:hover {
  background: #305671;
  color: #fff;
  border-color: #C1A86E;
}
.cookie-modal__footer button.cancel:hover {
  background: #F7DFB4;
  color: #305671;
}

/* ===============================
   PAGES: DETAILS & ALIGNMENTS
   =============================== */
.privacy-section, .gdpr-section, .cookie-policy-section, .terms-section {
  background: #fff;
  border-radius: 15px;
  padding: 40px 20px 35px 20px;
  margin-bottom: 50px;
  box-shadow: 0 2px 14px 0 #30567122;
}
.text-section {
  padding: 0 0 0 0;
  margin-bottom: 22px;
}
.text-section ul {
  margin-top: 10px;
  gap: 7px;
}

/***** Responsive FLEX ADJUSTMENTS *****/
@media (max-width: 991px) {
  .container {
    max-width: 97vw;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 800px) {
  .feature-grid, .testimonial-cards, .team-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .hero .container,
  .content-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .hero {
    min-height: 200px;
    margin-bottom: 38px;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 7px;
  }
  .testimonial-card {
    min-width: 79vw;
  }
  .contact-info, .contact-block, .route-service-notes,
  .privacy-section, .cookie-policy-section, .gdpr-section, .terms-section{
    padding: 24px 6px 16px 6px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 7px; padding-right: 7px;
  }
  .feature-grid li, .team-profile, .card {
    min-width: 90vw;
    padding-left: 8px; padding-right: 8px;
  }
  .footer-nav, .social-links {
    gap: 12px;
  }
  footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}

/***** Utility & Microinteractions *****/
@media (hover: hover) {
  .feature-grid li:hover, .team-profile:hover, .card:hover {
    transform: translateY(-5px) scale(1.02) rotate(-0.5deg);
    box-shadow: 0 8px 30px 0 rgba(193,168,110,0.16);
  }
  .service-list li:hover {
    transform: scale(1.02) rotate(-1deg);
    border-color: #C1A86E;
  }
}

/***** Accessibility - Focus style *****/
a:focus, button:focus, .cta:focus {
  outline: 2.5px solid #C1A86E;
  outline-offset: 2px;
  z-index: 10;
}

/* ===============================
   PRINT STYLES
   =============================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #25405A; }
}

/* ===============================
   END STYLESHEET
   =============================== */
