/* RESET & NORMALIZE */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #1C4234;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
*,*::before,*::after {
  box-sizing: inherit;
}

/* BRAND VARIABLES FALLBACKS */
:root {
  --primary: #1C4234;
  --secondary: #F2A950;
  --accent: #F5F3EC;
  --body-font: 'Roboto', Arial, sans-serif;
  --display-font: 'Montserrat', Arial, sans-serif;
}

/* TYPOGRAPHY */
body {
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--primary);
  background: #fff;
  min-height: 100dvh;
}
h1, h2, h3, h4 {
  font-family: var(--display-font);
  color: var(--primary);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.4rem;
  font-weight: 500;
}
h4 {
  font-size: 1.15rem;
  font-weight: 700;
}
p, ul, ol, blockquote {
  font-size: 1rem;
  margin-bottom: 16px;
}
p {
  color: #263C33;
}
strong {
  font-weight: bold;
  color: var(--primary);
}

/* LINKS */
a {
  color: var(--primary);
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--secondary);
  text-decoration: underline;
}

/* LAYOUT */
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 992px) {
  .container {
    max-width: 90vw;
    padding: 0 12px;
  }
  .section {
    padding: 32px 8px;
  }
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 4px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  /* No absolute positioning; only for icons if needed */
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(28, 66, 52, 0.08);
  margin-bottom: 20px;
  max-width: 700px;
  transition: box-shadow 0.18s;
  border: 1px solid #e4e4df;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px rgba(28, 66, 52, 0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #EEE;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 32px;
  font-size: 1rem;
}
.main-nav a {
  position: relative;
  padding: 7px 0;
  color: var(--primary);
  font-family: var(--body-font);
  font-weight: 500;
  transition: color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--secondary);
}
.btn-primary {
  padding: 9px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 32px;
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 8px rgba(28,66,52,0.07);
  border: none;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  outline: none;
  margin-left: 24px;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(242,169,80, 0.10);
}

/* HAMBURGER MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  margin-left: 18px;
  color: var(--primary);
  cursor: pointer;
  outline: none;
  z-index: 62;
}
@media (max-width: 960px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: 100vw;
  background: rgba(28,66,52,0.93);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.68, -0.3, 0.32, 1.3);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 20px 26px;
  align-self: flex-end;
  z-index: 92;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  margin-top: 28px;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--display-font);
  font-size: 1.17rem;
  padding: 10px 0;
  border-radius: 25px;
  transition: background 0.18s, color 0.18s;
  min-width: 60vw;
  text-align: center;
  font-weight: 500;
  outline: none;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (min-width:961px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO/MAIN CTA */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 24px 0;
  }
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0 8px 0;
  justify-content: flex-start;
}
.feature-grid > li,
.feature-grid > div {
  flex: 1 1 230px;
  min-width: 210px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(28,66,52,0.07);
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid #EFEFE9;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.2s;
}
.feature-grid > li:hover,
.feature-grid > div:hover {
  box-shadow: 0 4px 26px rgba(242,169,80,0.14);
  border: 1px solid var(--secondary);
}
.feature-grid img {
  height: 38px;
  width: 38px;
}
.feature-grid strong, .feature-grid h3 {
  margin-bottom: 2px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.12rem;
}

@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > li, .feature-grid > div {
    min-width: 0;
    width: 100%;
  }
}

/* ARTICLE PREVIEW */
.article-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 10px 0;
}
.article-preview article {
  flex: 1 1 250px;
  min-width: 255px;
  background: #fff;
  border-radius: 12px;
  padding: 26px 22px 24px 22px;
  box-shadow: 0 2px 12px rgba(28,66,52,0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  border: 1px solid #EFEEE7;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s;
}
.article-preview article:hover {
  box-shadow: 0 6px 26px rgba(242,169,80,0.13);
  border: 1px solid var(--secondary);
}
.article-preview h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  color: var(--primary);
  font-weight: 600;
}
.article-preview p {
  margin-bottom: 11px;
  color: #263C33;
}
.article-preview a {
  font-size: 0.99rem;
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s;
  padding: 2px 0;
  border-radius: 6px;
  outline: none;
}
.article-preview a:hover,
.article-preview a:focus {
  color: var(--primary);
  text-decoration: underline;
  background: #fdedc6;
}
@media (max-width: 900px) {
  .article-preview {
    flex-direction: column;
    gap: 12px;
  }
  .article-preview article {
    min-width: 0;
    width: 100%;
  }
}

/* CATEGORY LIST/LINKS */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.category-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  background: var(--accent);
  color: var(--primary);
  padding: 11px 20px;
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(28,66,52,0.06);
  font-weight: 500;
  border: 1px solid #F0EEE5;
}
.category-list img {
  width: 24px; height: 24px;
}
@media (max-width: 700px) {
  .category-list {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }
}
.category-links, .filter-by-topic, .filter-by-species {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.99rem;
  margin: 10px 0 0 0;
}
.category-links a, .filter-by-topic a, .filter-by-species a {
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.18s;
}
.category-links a:hover,
.filter-by-topic a:hover,
.filter-by-species a:hover {
  color: var(--primary);
}

/* MISC FLEX LAYOUTS */
.contact-details,
.business-hours,
.map-location {
  margin-bottom: 20px;
  background: var(--accent);
  padding: 16px 18px;
  border-radius: 9px;
  box-shadow: 0 1px 8px rgba(28,66,52,0.05);
}
.contact-details ul, .business-hours ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.contact-details li, .business-hours li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.contact-details img, .business-hours img {
  width: 20px;
  height: 20px;
}

/* FAQ */
.content-wrapper ul > li {
  margin-bottom: 18px;
  line-height: 1.7;
  color: #263C33;
}
.content-wrapper ul > li strong {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

/* CALLOUT/CTA */
.content-wrapper a.btn-primary {
  align-self: flex-start;
}

/* FOOTER */
footer {
  background: var(--accent);
  border-top: 1px solid #EEE;
  padding-top: 38px;
  padding-bottom: 20px;
  margin-top: 68px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 8px 0;
  font-size: 0.99rem;
}
.footer-nav a {
  color: var(--primary);
  opacity: 0.77;
  transition: color 0.18s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
.contact-snippet {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.99rem;
  color: #1C4234;
}
.contact-snippet img {
  width: 17px; height: 17px; margin-right: 2px;
}
.contact-snippet a {
  color: var(--secondary);
  transition: color 0.18s;
}
.contact-snippet a:hover { color: var(--primary); }
.social-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.social-links img {
  width: 30px;
  height: 30px;
  filter: grayscale(0%);
  opacity: 0.90;
  transition: filter 0.2s, opacity 0.2s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: grayscale(30%) brightness(120%);
  opacity: 1;
}
footer p {
  width: 100%;
  font-size: 0.93rem;
  color: #555;
  margin-top: 16px;
  text-align: left;
}
@media (max-width: 960px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* TESTIMONIAL CARD TEXT CONTRAST */
.testimonial-card blockquote {
  font-size: 1.13rem;
  font-style: italic;
  color: #1C4234;
  margin-bottom: 6px;
}
.testimonial-card p {
  color: #555;
  font-size: 1rem;
  font-style: normal;
  margin-bottom: 0;
  margin-left: 12px;
}

/* UTILITY CLASSES */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(252, 252, 249, 0.99);
  color: #222;
  border-top: 1px solid #ececec;
  padding: 18px 20px 18px 20px;
  box-shadow: 0 -2px 20px rgba(28,66,52,0.06);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  z-index: 3000;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(0.68, -0.3, 0.32, 1.3), opacity 0.25s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-text {
  flex: 1 1 60%;
  color: #263C33;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  padding: 7px 16px;
  font-size: 1rem;
  border-radius: 18px;
  border: 1px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-family: var(--display-font);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
  outline: none;
  min-width: 110px;
}
.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid #bbb;
}
.cookie-btn.settings {
  background: var(--accent);
  border: 1px solid var(--secondary);
  color: var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--secondary);
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 8px 12px 8px;
    font-size: 0.98rem;
  }
  .cookie-consent-actions {
    flex-direction: column;
    width: 100%;
    gap: 9px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 4100;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(28,66,52,0.20);
  align-items: center;
  justify-content: center;
  transition: opacity 0.30s;
  opacity: 0;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #21221C;
  border-radius: 17px;
  box-shadow: 0 10px 38px 0 rgba(28,66,52, 0.20);
  padding: 34px 30px 26px 30px;
  max-width: 390px;
  width: 92vw;
  position: relative;
  animation: cookie-modal-in 0.38s cubic-bezier(0.4,0,0.2,1);
}
@keyframes cookie-modal-in {
  from { 
    opacity: 0;
    transform: translateY(70px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--primary);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #F0EEE5;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-category label {
  font-weight: 500;
  flex: 1 1 auto;
  color: #263C33;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-top: 1px;
}
.cookie-modal-category input[disabled] {
  accent-color: #bbb;
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 20px;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 1.7rem;
  background: none;
  color: #393;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  z-index: 5200;
}
.cookie-modal-close:hover { color: var(--secondary); }
@media (max-width: 500px) {
  .cookie-modal {
    padding: 14px 8px 14px 8px;
  }
  .cookie-modal-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* VISUAL EFFECTS */
.card,
.feature-grid > li,
.feature-grid > div,
.article-preview article,
.testimonial-card,
.category-list li,
.contact-details,
.business-hours,
.map-location {
  transition: box-shadow 0.18s, border 0.2s, background 0.2s;
}
.card:hover,
.feature-grid > li:hover,
.feature-grid > div:hover,
.article-preview article:hover,
.testimonial-card:hover,
.category-list li:hover {
  box-shadow: 0 8px 28px rgba(242,169,80,0.12);
  border-color: var(--secondary);
}

/* SPACING OVERRIDES */
.card-container > * { margin-bottom: 20px; }
.content-wrapper > * + * { margin-top: 0; }

/* ANIMATIONS FOR INTERACTIVE ELEMENTS */
.btn-primary,
.cookie-btn {
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, border 0.16s;
}

/* RESPONSIVE FLEX DIRECTION FOR KEY SECTIONS */
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* FOCUS STATES */
a:focus, .btn-primary:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* FORMS (if any in future) */
input, textarea, select {
  font-family: var(--body-font);
  font-size: 1rem;
  border: 1px solid #DDD;
  border-radius: 7px;
  padding: 10px;
  outline: none;
  transition: border 0.14s;
  margin-bottom: 12px;
  width: 100%;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
}

/* PRINT OVERRIDES */
@media print {
  header, .main-nav, .mobile-menu, .btn-primary, .cookie-consent-banner, .cookie-modal-overlay, footer { display: none !important; }
}

/* END STYLE - MascotaSabia Minimalist Brand UI */
