/* AstroAndes La Paz — style.css */

/* RESET & NORMALIZERS */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #FAFCFB;
  color: #222E41;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #486280;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #B6D6B7;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* ------ BRAND COLORS & PASTEL PALETTE ------ */
:root {
  --primary: #222E41;
  --secondary: #F7C873;
  --accent: #B6D6B7;
  --pastel-blue: #c9ddfc;
  --pastel-pink: #f9e0e6;
  --pastel-lavender: #e6eafb;
  --pastel-mint: #e5f7ef;
  --pastel-orange: #ffecd2;
  --card-bg: #fffdfb;
  --text-dark: #232a36;
  --shadow: 0 2px 16px 0 rgba(50,64,89,.07);
}

/* ------ TYPOGRAPHY ------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', 'Times New Roman', serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, li, span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
}

.text-section h2 {
  font-size: 2rem;
}
.text-section h1 {
  font-size: 2.2rem;
}

strong {
  font-weight: 700;
  color: var(--primary);
}

/* ------ CONTAINER & LAYOUT ------ */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  /* Used for interior spacing */
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 40px;
    padding: 32px 6px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ------ HEADER & NAVIGATION ------ */
header {
  background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--pastel-mint) 100%);
  box-shadow: 0 2px 8px 0 rgba(70, 105, 150, 0.06);
  padding: 0;
  min-height: 68px;
  position: relative;
  z-index: 10;
}
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 20px;
  gap: 22px;
}
header > a {
  display: flex;
  align-items: center;
  height: 68px;
}
header > nav.desktop-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex: 1 1 0%;
  justify-content: flex-end;
  padding-right: 15px;
}
.desktop-nav a {
  font-weight: 500;
  color: var(--primary);
  font-size: 1.05rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.16s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.desktop-nav .cta-primary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(247, 200, 115, 0.11);
  border-radius: 24px;
  padding: 8px 22px;
  transition: background 0.19s, color 0.18s, box-shadow 0.19s;
}
.desktop-nav .cta-primary:hover, .desktop-nav .cta-primary:focus {
  background: var(--accent);
}

/* MOBILE MENU BUTTONS */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--primary);
  z-index: 1040;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
}

@media (max-width: 1023px) {
  header > nav.desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
  }
  header {
    justify-content: space-between;
  }
}

/* MOBILE SLIDE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 360px;
  height: 100vh;
  background: linear-gradient(115deg, var(--pastel-mint) 60%, var(--pastel-lavender));
  box-shadow: -2px 0 18px 0 rgba(100,140,130,0.13), 0 1px 8px 0 rgba(0,0,0,0.03);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.6,.5,0,1), box-shadow 0.22s;
  padding: 0 0 0 0;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--primary);
  font-size: 2rem;
  padding: 18px 20px 12px 0;
  align-self: flex-end;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.14s;
  border-radius: 8px;
  z-index: 2010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: flex-start;
  padding: 10px 0 30px 24px;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: var(--primary);
  padding: 12px 8px 12px 0;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
  width: 95%;
  display: block;
}
.mobile-nav .cta-primary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border-radius: 20px;
  padding: 10px 22px;
  margin-top: 10px;
  text-align: center;
  width: 85%;
  box-shadow: 0 1px 6px 0 rgba(216, 180, 60,0.10);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
}

/* MOBILE MENU OVERLAY */
.mobile-menu.open {
  box-shadow: -2px 0 32px 0 rgba(111, 162, 143, 0.13), 0 6px 18px 0 rgba(0,0,0,0.10);
}

/* Hide mobile menu on desktop */
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ------ MAIN LAYOUT SECTION SPACING ------ */
main {
  min-height: 75vh;
  padding-bottom: 60px;
  width: 100%;
}
section {
  width: 100%;
  background: none;
}
.section {
  background: none;
}

/* ------ FEATURE/CARD FLEX GRIDS ------ */

.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card-container {
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(154,168,184,0.14);
  transform: translateY(-4px) scale(1.025);
}
.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: 900px) {
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ------ FEATURE ITEM FLEX & SHADOW ------ */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

/* ------ TESTIMONIALS ------ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--pastel-blue);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 8px 0 rgba(135,170,176,0.11);
  flex-direction: column;
  align-items: flex-start;
  color: #152022;
  font-size: 1.07rem;
  max-width: 630px;
}
.testimonial-card p {
  color: #222E41;
  font-size: 1.08rem;
  font-family: 'Lora', 'Times New Roman', serif;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: var(--primary);
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 13px;
    font-size: 1rem;
    gap: 11px;
  }
}

/* ------ CTA BUTTONS ------ */
.cta-primary {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 26px;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 11px 32px;
  text-align: center;
  margin-top: 14px;
  box-shadow: 0 2px 10px 0 rgba(247, 200, 115, 0.09);
  letter-spacing: 0.02em;
  transition: background .16s, color .16s, box-shadow .14s, transform 0.16s;
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 28px 0 rgba(182,214,183,0.10);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  border-radius: 24px;
  font-weight: 600;
  font-size: 1.04rem;
  padding: 9px 28px;
  margin-top: 8px;
  text-align: center;
  transition: background .13s, color .15s, box-shadow .14s, transform 0.15s;
  border: none;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 5px 20px 0 rgba(249,224,230,0.10);
  transform: translateY(-1.5px) scale(1.015);
}

/* ------ LISTS ------ */
ul {
  margin-bottom: 8px;
  padding-left: 18px;
}
ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  position: relative;
  padding-left: 16px;
}
ul li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 7px;
  position: absolute;
  left: 0;
  top: 7px;
}

ul li img {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: bottom;
}

/* ------ CARDS (Service Cards, Feature Cards, etc.) ------ */
.feature-grid > div, .content-grid > div {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 24px 18px;
  box-shadow: var(--shadow);
  min-width: 225px;
  min-height: 225px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
  flex: 1 1 250px;
  align-items: flex-start;
  transition: box-shadow 0.19s, background 0.14s, transform 0.22s;
}
.feature-grid > div:hover, .content-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(224,200,216,0.14);
  background: var(--pastel-pink);
  transform: translateY(-3px) scale(1.018);
}
.feature-grid img, .content-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 3px;
  padding: 0;
}
.feature-grid h3, .content-grid h3 {
  font-size: 1.13rem;
  color: var(--primary);
  font-family: 'Lora', serif;
  margin-bottom: 6px;
}
.feature-grid p, .content-grid p {
  font-size: 0.97rem;
  color: var(--text-dark);
}
@media (max-width: 600px) {
  .feature-grid > div, .content-grid > div {
    min-width: 0;
    min-height: 140px;
    padding: 15px 10px;
  }
}

/* ------ CONTACT & INFO LIST CARDS ------ */
.text-section ul li {
  margin-bottom: 12px;
  padding-left: 12px;
  font-size: 1.01rem;
}
.text-section ul li img {
  width: 17px;
  height: 17px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ------ FORMS (For cookie modal only, can adapt as needed) ------ */
input[type='checkbox'] {
  accent-color: var(--accent);
}

/* ------ FOOTER ------ */
footer {
  width: 100%;
  background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--pastel-mint) 100%);
  padding: 42px 0 22px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img {
  width: 50px;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--primary);
  font-size: 0.97rem;
  opacity: 0.86;
  transition: opacity .14s, color .14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  opacity: 1;
}
.footer-contact {
  color: #3B4F6A;
  font-size: 0.92rem;
  opacity: 0.74;
  text-align: center;
}
@media (max-width: 800px) {
  footer {
    border-radius: 24px;
    padding: 29px 0 16px 0;
    gap: 12px;
  }
  footer nav {
    gap: 14px;
  }
}

/* ------ COOKIE BANNER ------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-pink), var(--pastel-mint));
  color: var(--primary);
  box-shadow: 0 -2px 10px 0 rgba(130,130,140,.10);
  padding: 22px 7vw 18px 7vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  z-index: 4000;
  font-size: 1rem;
  transition: transform 0.30s cubic-bezier(.72,.32,.25,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner-message {
  flex: 1 1 0%;
  color: var(--primary);
  font-size: 1.06rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner button {
  border-radius: 18px;
  background: var(--accent);
  color: var(--primary);
  padding: 7px 16px;
  font-size: 0.98rem;
  margin: 0 2px;
  border: none;
  font-weight: 600;
  transition: background 0.14s, color 0.13s;
  box-shadow: 0 1px 6px rgba(182,214,183,0.07);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner button.cookie-banner-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner button.cookie-banner-settings {
  background: var(--pastel-mint);
  color: var(--primary);
}
.cookie-banner button.cookie-banner-reject {
  background: var(--pastel-pink);
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 18px 7vw 12px 6vw;
    font-size: 0.97rem;
  }
  .cookie-banner-message {
    margin-bottom: 8px;
    text-align: left;
  }
}

/* COOKIE MODAL OVERLAY/PANEL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 4030;
  background: rgba(60,92,83,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .13s;
}
@keyframes fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: linear-gradient(120deg, var(--pastel-lavender) 80%, var(--pastel-pink) 100%);
  border-radius: 20px;
  padding: 36px 32px 22px 32px;
  box-shadow: 0 10px 38px rgba(60,104,153,0.19);
  min-width: 340px;
  max-width: 96vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  z-index: 4050;
  animation: modalpop 0.24s cubic-bezier(.82,.01,.19,1);
}
@keyframes modalpop {
  0% { transform: scale(0.93) translateY(60px); opacity: 0; }
  90% { opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-family: 'Lora', serif;
  font-size: 1.43rem;
  margin-bottom: 7px;
  color: var(--primary);
}
.cookie-modal-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-category {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 13px 9px 10px 13px;
  box-shadow: 0 0.5px 5px 0 rgba(140,170,140,0.06);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
}
.cookie-modal-category input[type='checkbox'] {
  accent-color: var(--accent);
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  width: 100%;
  justify-content: flex-end;
  margin-top: 9px;
}
.cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  color: var(--primary);
  font-size: 1.3rem;
  border: none;
  padding: 3px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.11s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--pastel-mint);
}
@media (max-width: 530px) {
  .cookie-modal {
    padding: 24px 7px;
    min-width: unset;
    width: 94vw;
  }
}

/* ------ MESSAGES, ALERTS ------ */
.alert {
  background: var(--pastel-orange);
  color: var(--primary);
  border-radius: 12px;
  padding: 11px 20px;
  margin-bottom: 18px;
  font-size: 1rem;
}

/* ------ MISC UTILITIES ------ */
.mt-2 { margin-top: 12px; }
.mb-3 { margin-bottom: 22px; }
.text-center { text-align: center; }

/* ------ SCROLLBAR FOR MODALS / MENU ------ */
.mobile-menu, .cookie-modal {
  scrollbar-color: var(--accent) #fff;
  scrollbar-width: thin;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 7px;
  background: #edeff2;
}
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

/* ------ RESPONSIVE MEDIA QUERIES ------ */
@media (max-width: 950px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.39rem; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  .footer-contact, footer nav a { font-size: 0.89rem; }
}

@media (max-width: 500px) {
  .container { padding: 0 2px; }
  .card, .feature-item, .feature-grid > div, .content-grid > div {
    padding: 12px 7px;
    border-radius: 12px;
  }
}

/* ------ MICRO-INTERACTIONS ------ */
.card, .feature-grid > div, .content-grid > div, .cta-primary, .cta-secondary {
  transition: box-shadow 0.2s, background 0.19s, transform 0.19s;
}

/* ------ FOCUS STATES (A11Y) ------ */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 3px dashed var(--accent);
  outline-offset: 2px;
}

/* ----- Prevent Overlapping & Ensure Gaps ----- */
section, .content-wrapper {
  margin-bottom: 22px;
}
.card, .feature-item, .feature-grid > div, .content-grid > div, .testimonial-card {
  margin-bottom: 20px;
}

/* SAFETY: No absolute positioning of content cards — only decorative elements allowed, all content is inside flex containers and spaced with margin/gap. */

/* ==== END AstroAndes La Paz Pastel Dreamy UI === */
