/* CSS RESET & NORMALIZER */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #f7fafc;
  color: #233142;
  min-height: 100vh;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #30566B;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 {font-size: 2.5rem; margin-bottom: 18px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.375rem; margin-bottom: 12px;}
h4 {font-size: 1.125rem;}
h5, h6 {font-size: 1rem;}
p, ul, ol, li, blockquote {
  color: #234252;
  font-size: 1.0625rem;
  line-height: 1.6;
}

ul, ol {margin-left: 24px; margin-bottom: 16px;}
li {margin-bottom: 8px;}
a {
  color: #30566B;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F2B35E;
  outline: none;
}
strong {font-weight: bold;}
small {font-size: 0.92em;}
img {max-width: 100%; display: block;}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
}

.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: 18px;
  box-shadow: 0 4px 18px 0 rgba(38,48,69,0.11);
  padding: 32px;
  min-width: 260px;
  flex: 1 1 275px;
}

.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 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #1E2B33;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(38,66,105,0.08);
  min-width: 260px;
  max-width: 420px;
}

.testimonial-card .stars {
  color: #F2B35E;
  font-size: 1.35rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 13px 0 rgba(38,48,69,0.08);
  min-width: 220px;
  margin-bottom: 20px;
}

/* GENRIC FLEX UTILS */
.feature-grid, .article-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* GRADIENT & MODERN BACKGROUNDS */
.hero, .thankyou-hero {
  background: linear-gradient(140deg,#F2B35E 0%,#fff 60%,#b8d0e7 100%);
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
  padding-top: 52px;
  box-shadow: 0 4px 28px 0 rgba(48,86,107,0.08);
}
.callout-guides, .callout-guide, .callout-expert, .callout-consultation, .callout-contact, .callout-thankyou {
  background: linear-gradient(114deg,#b8d0e7 0%,#fff 70%,#F2B35E 100%);
  border-radius: 22px;
  margin-bottom: 60px;
}

.services, .services-dog, .services-cat, .services-bird, .services-grid {
  background: #f5f8fa;
  border-radius: 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 12px 0 rgba(48,86,107,0.06);
}

/* HEADER + MAIN NAV */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 17px rgba(48,86,107,0.10);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 30px;
}
.main-nav {
  display: flex;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  padding: 8px 10px 6px;
  font-weight: 600;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #30566B;
  color: #fff;
}
.btn-primary {
  display: inline-block;
  background: #30566B;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.055rem;
  border: none;
  border-radius: 100px;
  padding: 12px 28px;
  box-shadow: 0 3px 8px 0 rgba(48,86,107,0.10);
  transition: background .18s, box-shadow .2s, color .2s;
  cursor: pointer;
  text-align: center;
  margin-top: 16px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F2B35E;
  color: #30566B !important;
  box-shadow: 0 4px 13px rgba(242,179,94,0.10);
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  font-size: 2.05rem;
  background: transparent;
  border: none;
  color: #30566B;
  position: relative;
  z-index: 1010;
  cursor: pointer;
  align-self: center;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #f4f7fb;
  z-index: 2022;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 24px;
  box-shadow: 0 10px 40px rgba(48,86,107,0.20);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #30566B;
  align-self: flex-end;
  margin-bottom: 42px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  color: #30566B;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  padding: 10px 10px 10px 0;
  font-weight: 600;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2B35E;
  color: #fff;
}

@media (max-width: 1040px) {
  header .main-nav, header .btn-primary {display:none;}
  .mobile-menu-toggle {display:block;}
}
@media (min-width: 1041px) {
  .mobile-menu, .mobile-menu-toggle {display: none !important;}
  .main-nav {display: flex !important;}
}

/* HERO SECTION */
.hero .content-wrapper, .thankyou-hero .content-wrapper {
  align-items: flex-start;
  padding: 40px 0 32px 0;
}
.hero h1, .thankyou-hero h1 {
  color: #30566B;
  font-size: 2.35rem;
  font-weight: 700;
}
.hero p, .thankyou-hero p {font-size: 1.15rem; margin-bottom: 16px;}

/* FEATURES, SERVICES & CARDS */
.feature-grid {
  gap: 28px;
  margin-top: 10px;
}
.service-list {
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
}
.service-list li {
  margin-bottom: 18px;
  background: #f6fafb;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(38,66,105,.04);
  font-size: 1.075rem;
}
.service-list span {color: #30566B; font-weight: bold;}
.article-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.article-item {
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 320px;
  background: #fff;
  box-shadow: 0 2px 8px #cbd6e250;
  border-radius: 15px;
  padding: 22px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .2s;
}
.article-item a {
  color: #F2B35E;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  margin-top: 2px;
  transition: color .15s;
}
.article-item a:hover {
  color: #30566B;
}
.article-item:hover {
  box-shadow: 0 7px 26px rgba(48,86,107,0.13);
}

.search-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.search-bar input {
  border-radius: 25px;
  border: 1px solid #b8d0e7;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  width: 100%;
  max-width: 360px;
  background: #fff;
  transition: border-color .15s;
}
.search-bar input:focus {
  outline: none;
  border-color: #30566B;
}
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #30566B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
}
.categories span {
  background: #f5f8fa;
  border-radius: 12px;
  padding: 3px 14px;
  color: #30566B;
  font-weight: 600;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg,#30566B 65%,#F2B35E 100%);
  color: #fff;
  padding: 48px 0 0 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -12px 34px #dae7ee70;
  margin-top: 70px;
}
footer .container{
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 26px;
}
.footer-brand img {
  max-height: 62px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 26px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  opacity: 0.88;
  transition: opacity .18s, color .18s;
  padding: 3px 0;
}
.footer-nav a:hover,.footer-nav a:focus{
  opacity:1;
  color: #F2B35E;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1rem;
  color: #f1f1f1;
  margin-bottom: 13px;
}
.footer-contact a {color: #fff; font-weight: 600;}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 17px;
  align-items: center;
}
.footer-social a img {height: 28px;width: 28px;filter: brightness(97%) drop-shadow(1px 1px 2px #2221);}
.footer-privacy {
  font-size: 0.96rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-left: 4px;
}
.footer-privacy a {color:#fff; opacity:.8; transition:opacity .2s;}
.footer-privacy a:hover{opacity:1;}

/* TESTIMONIALS */
.testimonials, .testimonials-experts, .testimonials-services {
  background: #f5f8fa;
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 3px 18px rgba(48,86,107,0.07);
}
.testimonial-slider, .testimonials-experts ul, .testimonials-services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 32px 0 18px 0;
  background: #fff8ec;
  padding: 18px 22px;
  border-radius: 11px;
  color: #a47524;
  font-size: 1.13rem;
  box-shadow: 0 2px 8px #f2b35e24;
  position: relative;
}

/* FAQ, POLICY, TERMS, PRIVACY SECTIONS */
.privacy-policy, .gdpr-content, .cookie-policy, .terms-site {
  background: #fff;
  border-radius: 18px;
  padding: 32px 20px 40px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 16px 0 rgba(70,90,110,0.06);
}
.privacy-policy ul, .terms-site ul, .gdpr-content ul, .cookie-policy ul {margin-bottom: 26px;}

/* PRICES */
.price {
  color: #F2B35E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.16rem;
  margin-top: 18px;
}

/* CALL TO ACTION CARDS */
.callout-guides ul, .callout-guide ul, .callout-expert ul, .callout-consultation ul, .callout-contact ul,.callout-thankyou ul {
  list-style: disc inside;
  margin-bottom: 28px;
}

/* CONTACTS PAGE */
.contact-info .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 42px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.contact-details, .map {
  background: #f8fafd;
  border-radius: 14px;
  padding: 28px 18px;
  box-shadow: 0 2px 9px #b8d0e730;
  flex: 1 1 300px;
}
.contact-details h2 {margin-bottom: 16px;}
.contact-details div, .map p {margin-bottom: 12px; display: flex; align-items: center; gap: 10px;}

/* SERVICES GRID IN CONSULENZE */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
}
.service-item{
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px #b8d0e730;
  padding: 26px 20px;
  min-width: 230px;
  max-width: 320px;
  flex: 1 1 250px;
}
.service-item h3 {margin-bottom: 10px; color: #30566B;}

/* ANIMATION FOR BUTTONS & LINKS */
.btn-primary, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background .17s, color .17s, box-shadow .17s, border .16s;
}

/* SHADOWS & EFFECTS */
.card, .card-container > *,.service-item, .feature-item, .testimonial-card, .article-item {
  box-shadow: 0 2px 12px 0 rgba(38,66,105,0.06);
  transition: box-shadow .17s;
}
.card:hover, .article-item:hover, .service-item:hover, .feature-item:hover {
  box-shadow: 0 8px 28px 0 rgba(39,87,115,0.12);
}

/* SPACING AND GAPS */
.section:not(:last-of-type) {margin-bottom: 60px;}
.card:not(:last-child) {margin-bottom: 20px;}
.feature-item:not(:last-child) {margin-bottom: 20px;}

/* NICE SCROLLBAR */
body {
  scrollbar-width: thin;
  scrollbar-color: #F2B35E #cbe0f5;
}
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-thumb {
  background: #F2B35E;
  border-radius: 8px;
}
body::-webkit-scrollbar-track {
  background: #eaeff2;
  border-radius: 8px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: linear-gradient(90deg,#fff 65%,#fce2b8 100%);
  box-shadow: 0 -6px 22px #afbed930;
  z-index: 3030;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 18px 20px 18px;
  font-size: 1rem;
  color: #234252;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 24px 24px 0 0;
  animation: cookiefadein .6s;
}
@keyframes cookiefadein {from{opacity:0; transform: translateY(100px);} to{opacity:1; transform: none;}}
.cookie-banner-text {
  max-width: 520px;
  font-size: 1.04rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}
.cookie-btn {
  background: #30566B;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 2px;
  transition: background .18s, color .13s;
  box-shadow: 0 1px 9px rgba(48,86,107,0.08);
}
.cookie-btn.cookie-btn-alt {background: #F2B35E; color:#30566B;}
.cookie-btn:hover, .cookie-btn:focus {background: #F2B35E; color: #30566B;}
.cookie-btn.cookie-btn-alt:hover, .cookie-btn.cookie-btn-alt:focus {background: #30566B; color: #fff;}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  z-index: 3050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(48,86,107,0.14);
  transition: opacity .3s;
  pointer-events: none;
  opacity: 0;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 34px 28px 28px 28px;
  box-shadow: 0 8px 40px #30566b22;
  max-width: 420px;
  width: 90vw;
  position: relative;
  animation: modalfadein .29s;
}
@keyframes modalfadein {from{opacity:0; transform:scale(.95);} to{opacity:1; transform:scale(1);}}
.cookie-modal-content h2 {
  font-size: 1.44rem;
  margin-bottom: 12px;
  color: #30566B;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eef3fb;
}
.cookie-modal-category:last-child {border-bottom: none;}
.cookie-modal-category label {
  flex: 1;
  font-size: 1rem;
  color: #233142;
  font-weight: 500;
}
.cookie-switch {
  position: relative;
  width: 46px;
  height: 26px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #b8d0e7;
  border-radius: 34px;
  transition: .2s;
}
.cookie-switch input:checked + .cookie-slider {background: #F2B35E;}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 4px;
  bottom: 3.5px;
  background: #fff;
  border-radius: 50%;
  transition: .21s;
  box-shadow: 0 1px 4px #30566b19;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
  background: #fef5e4;
}
.cookie-modal-close {
  position: absolute;
  top:16px; right: 16px;
  font-size: 1.82rem;
  color: #c2cfd8;
  background: transparent;
  border:none;
  cursor: pointer;
  line-height: 1;
  transition: color .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {color: #30566B;}

/* RESPONSIVE LAYOUTS */
@media (max-width: 820px) {
  .container {padding: 0 7px;}
  .footer-nav {gap: 7px 11px;}
  .hero, .thankyou-hero {padding-top: 22px;}
  header .container{gap: 16px;}
}
@media (max-width: 768px) {
  .container {max-width: 98vw; padding: 0 2vw;}
  .content-wrapper, .card-container, .content-grid, .feature-grid, .article-grid, .service-grid, .testimonial-slider, .testimonials-experts ul, .testimonials-services ul {flex-direction: column; gap: 20px;}
  .section {padding: 24px 4vw;}
  .feature-item, .card, .testimonial-card, .article-item, .service-item {min-width: 0; max-width: 100vw;}
  footer .container {flex-direction: column; gap: 18px; align-items: flex-start;}
  nav.footer-nav {gap: 4px 7px;}
  .text-image-section {flex-direction: column; gap: 18px; align-items: center;}
  .contact-info .content-wrapper{flex-direction: column;gap: 20px;}
  .cookie-consent-banner {flex-direction: column;gap: 12px; padding: 20px 8px 15px 8px;}
  .cookie-banner-actions {margin-top:12px;}
}
@media (max-width: 500px) {
  h1 {font-size: 1.75rem;}
  h2 {font-size: 1.32rem;}
  p,li,a,small {font-size:1rem;}
  .section, .privacy-policy, .gdpr-content, .cookie-policy, .terms-site {padding: 16px 6px 18px 8px;}
  .container {padding: 0 1vw;}
}

/* VISUAL MICRO-INTERACTIONS */
.btn-primary:active {
  transform: scale(0.97);
}
.card:active, .article-item:active, .service-item:active, .feature-item:active {
  transform: scale(0.985);
}

/* ACCESSIBILITY FOCUS RINGS */
:focus-visible, .btn-primary:focus-visible, .cookie-btn:focus-visible, .main-nav a:focus-visible, .mobile-nav a:focus-visible {
  outline: 2px solid #F2B35E;
  outline-offset: 1.5px;
}

::-selection {
  background: #F2B35E;
  color: #fff;
}

/* Z-INDEX LAYERING */
header {z-index:100;}
.mobile-menu {z-index:2022;}
.cookie-consent-banner {z-index:3030;}
.cookie-modal {z-index:3050;}

/* FORM FIELDS (for future-proofing) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 10px;
  border: 1px solid #b8d0e7;
  padding: 10px 15px;
  font-size: 1rem;
  background: #fff;
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #30566B;
}

/* Hide visually but keep accessible (for cookie essential toggles) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
