/* =====================
   LAGUNA GUSTOSA CSS v1.0
   Playful, Dynamic, Brand-Compliant, Mobile-First, Flexbox ONLY
   ============================ */

/* === RESET & NORMALIZE === */
html, body, div, section, article, nav, main, header, footer, address, ul, ol, li, h1, h2, h3, h4, h5, h6, p, a, img, button, figure, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
footer address {
  color: white;
}
html { font-size: 16px; } /* base size */
body {
  min-height: 100vh;
  background: #D0E4E7;
  color: #255C6C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  outline: none;
}

/* === BRAND VARIABLES for fallback === */
:root {
  --color-primary: #255C6C;
  --color-secondary: #D0E4E7;
  --color-accent: #F2B572;
  --color-accent-strong: #C28133;
  --color-light: #fff;
  --color-dark: #182E34;
  --color-warning: #FFDD57;
  --color-success: #77D49A;
  --shadow-card: 0 4px 24px rgba(36, 92, 108, 0.10);
  --shadow-hover: 0 8px 24px rgba(36, 92, 108, 0.14);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --gap-section: 60px;
  --gap-card: 24px;
  --gap-content: 20px;
  --gap-list: 12px;
}

/* === TYPOGRAPHY --- playful dynamic === */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  color: #255C6C;
  font-weight: 900;
  text-shadow: 1px 2px 0px #F2B57233;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; font-weight: 700; color: var(--color-accent-strong); }
h4 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; }

.subheadline {
  font-family: 'Montserrat', 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-accent-strong);
  margin-bottom: 26px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
p, address, li {
  font-size: 1rem;
}
address {
  font-style: normal;
  color: #255C6C;
}

@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
}

/* ===== STRUCTURE & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 7px;
  }
  .container { padding: 0 7px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.22s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.02) rotate(-1deg);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffdf8;
  border-left: 6px solid var(--color-accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 7px #0001;
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* === TESTIMONIALS & REVIEW CARD === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #182E34;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px #255C6C0F;
  margin-bottom: 21px;
  border: 2px dashed var(--color-accent);
  position: relative;
  min-width: 210px;
  max-width: 490px;
  transition: box-shadow 0.18s, transform 0.18s;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
}
.testimonial-card p {
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2c373d;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--color-accent-strong);
  align-self: flex-end;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px #255C6C33;
  transform: scale(1.025) rotate(1deg);
}

/* ===== MAIN NAVIGATION BAR ==== */
header {
  width: 100%;
  background: var(--color-primary);
  box-shadow: 0 4px 18px #0002;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 20px;
  gap: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  background: none;
}
.main-nav img {
  height: 44px;
  margin-right: 24px;
  display: block;
  filter: drop-shadow(1px 2px 0px var(--color-accent));
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.2s, transform 0.13s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent-strong);
  color: #fff;
  transform: scale(1.04) rotate(-2deg);
}
.cta-primary {
  background: var(--color-accent);
  color: #255C6C;
  border-radius: var(--radius-md);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  padding: 8px 26px;
  margin-left: 16px;
  box-shadow: 0 2px 6px #C2813320;
  border: 2px solid var(--color-accent-strong);
  transition: filter 0.2s, background 0.18s, color 0.15s, border 0.18s, transform 0.13s;
  letter-spacing: 0.01em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-success);
  color: #1C4254;
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 15px #C2813333;
  filter: brightness(1.09);
  transform: scale(1.03) rotate(1deg);
}

/* Hide mobile nav on desktop */
.mobile-menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1020px) {
  .main-nav {
    font-size: 0.99rem;
    gap: 10px;
  }
  .main-nav img { margin-right: 11px; height: 39px; }
}
@media (max-width: 820px) {
  .main-nav {
    font-size: 0.89rem;
    gap: 6px;
    padding: 8px 7px;
  }
  .main-nav img { height: 34px; margin-right: 6px; }
  .cta-primary { margin-left: 5px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 12px;
    right: 16px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 2rem;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    box-shadow: 0 2px 8px #f2b57233;
    z-index: 201;
    border: 2px solid var(--color-primary);
    text-align: center;
    transition: background 0.17s, color 0.18s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--color-warning);
    color: var(--color-dark);
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: var(--color-secondary);
    box-shadow: -4px 0 28px #1c425488;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.7,.2,.4,1.1);
    padding-top: 36px;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    color: var(--color-primary);
    font-size: 2.2rem;
    margin-right: 18px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--color-accent);
    width: 44px;
    height: 44px;
    transition: background 0.19s, color 0.18s;
    border: 1.5px solid var(--color-primary);
    box-shadow: 0 2px 8px #f2b57233;
  }
  .mobile-menu-close:active, .mobile-menu-close:hover { background: var(--color-warning); color: #233; }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    margin: 40px 0 0 35px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.23rem;
  }
  .mobile-nav a {
    color: var(--color-primary);
    background: #fff;
    padding: 10px 24px;
    margin-right: 10px;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    min-width: 150px;
    box-shadow: 0 2px 8px #d0e4e755;
    font-weight: 600;
    transition: background 0.13s, color 0.14s, transform 0.12s;
    letter-spacing: 0.01em;
    display: inline-block;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-accent);
    color: #1c4254;
    transform: translateX(10px) scale(1.03) rotate(-2deg);
  }
}

/* === MAIN - SECTION SPACING / CARDS ==== */
main {
  margin-bottom: 48px;
  min-height: 60vh;
  background: var(--color-secondary);
  display: flex;
  flex-direction: column;
  gap: 0px;
}
section {
  width: 100%;
  margin-bottom: var(--gap-section);
  padding: 40px 0px;
  display: flex;
  flex-direction: column;
  background: none;
}
.decorative-dot {
  position: absolute;
  top: -14px; left: -22px;
  width: 38px; height: 38px;
  background: var(--color-warning);
  border-radius: 50%; opacity: 0.18;
  z-index: 1;
}

/* ============= LISTS ============= */
ul, ol {
  padding-left: 0;
  margin-top: 0.72em;
  margin-bottom: 0.9em;
}
ul li, ol li {
  position: relative;
  margin-left: 0;
  margin-bottom: 8px;
  padding-left: 25px;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
}
ul li:before {
  content: '\25CF';
  color: var(--color-accent);
  font-size: 1.07rem;
  position: absolute;
  left: 4px;
  top: 1px;
  line-height: 1;
  transition: color 0.15s;
}
ul li strong { color: #C28133; font-weight: bold; }

/* === BUTTONS (main, secondary, etc) ============ */
button, .btn, .cta-primary {
  cursor: pointer;
  transition: background 0.18s, color 0.15s, transform 0.14s, box-shadow 0.12s;
  outline: none;
}
.btn {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: 2px solid var(--color-accent);
  box-shadow: 0 2px 7px #c2813322;
}
.btn:hover, .btn:focus {
  background: var(--color-success);
  color: #255C6C;
  box-shadow: 0 4px 13px #255C6C22;
}

/* === TEXT BLOCKS & ADDRESS === */
.text-section {
  margin-bottom: 18px;
  font-size: 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 16px 16px 22px;
  box-shadow: 0 1.7px 7px #c2813311;
  color: #255C6C;
}
.text-section a { color: var(--color-accent-strong); font-weight: bold; }
.text-section a:hover { color: var(--color-primary); text-decoration: underline; }

/* === FOOTER === */
footer {
  background: #255C6C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 38px 0 18px 0;
  box-shadow: 0 -2px 12px #1c425435;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img {
  max-height: 51px;
  margin-bottom: 7px;
  filter: drop-shadow(1px 2px 0px #F2B57233);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
}
footer nav a {
  color: var(--color-accent);
  font-weight: 600;
  transition: color 0.18s, text-decoration 0.15s;
  margin: 0 3px;
  text-decoration: underline dotted rgba(242,181,114,0.05);
}
footer nav a:hover { color: #fff; text-decoration: underline solid #fff 2.4px; }
footer .text-section {
  background: none;
  color: #fff;
  box-shadow: none;
  padding: 0;
  font-size: 1rem;
  text-align: center;
}
footer address a {
  color: var(--color-warning);
}
footer address a:hover {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 768px) {
  footer .content-wrapper { gap: 14px; }
  footer img { max-height: 34px; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: #1C4254;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 20px 20px 20px;
  align-items: center;
  justify-content: center;
  z-index: 13000;
  box-shadow: 0 -3px 24px #182E3407;
  border-top: 4px solid var(--color-accent-strong);
  animation: slideUpAppear 0.32s cubic-bezier(.88, .21, .78, 1.11);
}
@keyframes slideUpAppear {
  0% { transform: translateY(100%); opacity: 0; }
  85% { transform: translateY(-9%); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.05rem;
  color: #233651;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 7px;
}
.cookie-banner button {
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 22px;
  transition: background 0.15s, color 0.13s, box-shadow 0.14s;
  border: 2.2px solid #C28133;
}
.cookie-accept {
  background: var(--color-accent-strong);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #255c6c;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #255C6C;
  border-color: #255C6C;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #FFE48D;
  color: #255C6C;
}
.cookie-settings {
  background: #fff;
  color: #C28133;
  border-color: #C28133;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #f2b572;
  color: #255C6C;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #255c6ccc;
  z-index: 15000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg 0.23s;
}
@keyframes fadeInModalBg { 0% { opacity: 0; } 100% { opacity: 1; } }
.cookie-modal {
  background: #fffbe7;
  border-radius: var(--radius-lg);
  box-shadow: 0 11px 34px #1c42546a;
  padding: 34px 32px;
  width: 97vw;
  max-width: 420px;
  z-index: 16000;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1C4254;
  animation: modalAppear 0.32s cubic-bezier(.88, .21, .78, 1.11);
}
@keyframes modalAppear {
  from { transform: scale(0.93); opacity: 0.2; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 13px;
  color: #255C6C;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--color-accent-strong);
}
.cookie-category label {
  font-size: 1.04rem;
  color: #1C4254;
  user-select: none;
}
.cookie-category .cookie-essential {
  color: #6a6a6a;
  font-size: 0.98rem;
  margin-left: 7px;
  font-style: italic;
}
.cookie-modal .cookie-banner-buttons {
  margin-top: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-accept { background: var(--color-primary); color: #fff; border: 2px solid var(--color-primary); }
.cookie-modal .cookie-accept:hover { background: var(--color-accent); color: #233651; border-color: var(--color-accent-strong); }

/* ==== ANIMATIONS MICRO INTERACTIONS === */
.cta-primary, .btn, .main-nav a, .mobile-nav a, button {
  will-change: transform, box-shadow;
}
.cta-primary:active { transform: scale(0.96) rotate(-1deg); }
.card:active, .testimonial-card:active, .btn:active {
  transform: scale(0.98) rotate(-1deg);
}

/* === MISC CLASSES === */
::-webkit-input-placeholder { color: #23365199; font-style: italic; }
::-moz-placeholder { color: #23365199; font-style: italic; }
:-ms-input-placeholder { color: #23365199; font-style: italic; }
::placeholder { color: #23365199; font-style: italic; }

/* =============== MEDIA QUERIES FOR RESPONSIVENESS ============= */
@media (max-width: 900px) {
  .container { max-width: 97vw; }
  .content-wrapper {
    gap: 13px;
  }
}
@media (max-width: 650px) {
  .testimonial-card, .card {
    min-width: 98vw;
    max-width: 97vw;
  }
  .section, section {
    padding: 18px 2px !important;
  }
}

/* === SCROLL BARS & SELECTION (PLAYFUL TOUCH) === */
::selection {
  background: #FFD394;
  color: #255C6C;
}
::-webkit-scrollbar {
  width: 11px;
  background: #D0E4E7;
}
::-webkit-scrollbar-thumb {
  background: #F2B57299;
  border-radius: 16px;
  border: 3px solid #fff;
}
::-webkit-scrollbar-thumb:hover {
  background: #C28133;
}

/* === FOCUS STYLES === */
a:focus, .btn:focus, .cta-primary:focus, button:focus {
  outline: 2px solid var(--color-accent-strong);
  outline-offset: 2px;
  box-shadow: 0 0 2px 3px #f2b5724b;
}

/* === Playful Dynamic Visual Elements with Energy === */
h1, h2, .cta-primary, .main-nav a, .mobile-nav a, .card, .testimonial-card {
  /* Fun drop shadow */
  text-shadow: 1px 2px 0 #F2B57222, 0px 2.7px 8px #f2b57219;
}
.cta-primary, .btn {
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-size: 1.19rem;
  text-transform: capitalize;
  letter-spacing: 0.01em;
}
/* Subtle fun background dots using after pseudo elements */
.card:after, .testimonial-card:after {
  content: '';
  display: block;
  position: absolute;
  top: 15px;
  left: -17px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(242,181,114,0.19);
  z-index: 0;
  pointer-events: none;
}
.testimonial-card:before, .card:before {
  content: '';
  display: block;
  position: absolute;
  bottom: -11px;
  right: -29px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(194,129,51,0.12);
  z-index: 0;
  pointer-events: none;
}

/* === Playful Animated Arrow on Buttons === */
.cta-primary:after {
  display: inline-block;
  content: '\2192';
  margin-left: 12px;
  font-size: 1.3em;
  color: var(--color-accent-strong);
  transition: transform 0.18s;
}
.cta-primary:hover:after { transform: translateX(7px) scale(1.1); }

/* ===== SPECIFIC PAGE FIXES (optional) ===== */
main > section:last-child {
  margin-bottom: 0;
}

/* === Accessibility: hide visually but keep accessible === */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* === END OF CSS FILE === */
