/* RESET & BASE TYPOGRAPHY */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.6;
  background: #F3F6F4;
  color: #2F4858;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

* {
  box-sizing: inherit;
}

a {
  color: #B2654B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9D330A;
}
img {
  max-width: 100%;
  display: block;
}

ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1C2325;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.2rem; margin-bottom: 8px; }

p, address {
  margin-bottom: 12px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
}

strong { font-weight: 700; }

.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* GENERAL RETRO/VINTAGE PALETTE */
:root {
  --primary: #2F4858;
  --secondary: #F9DA8B;
  --accent: #F3F6F4;
  --retro-burnt: #B2654B;
  --retro-olive: #768948;
  --retro-blue: #83A0B3;
  --retro-coral: #F4715F;
}

/* SECTION SPACING & FLEXBOX LAYOUTS */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container, .content-grid, .services-list, .testimonials-grid, .service-preview-grid, .key-learning-list, .values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card, .service-card, .testimonial-card {
  background: #FFFCEF;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(47,72,88,0.05), 0 1.5px 1.5px 0 rgba(242, 181, 41, 0.15);
  margin-bottom: 20px;
  position: relative;
  border: 2.5px solid #F9DA8B;
  padding: 24px 22px;
  transition: box-shadow 0.22s, border-color 0.2s, transform 0.18s;
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(47,72,88,0.14);
  border-color: #B2654B;
  transform: translateY(-3px) scale(1.015);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFFCEF;
  border-left: 6px solid #B2654B;
  padding: 28px 24px 24px 24px;
  margin-bottom: 20px;
  color: #2F4858;
  font-size: 1.13rem;
}

/* Ensure testimonial text is readable */
.testimonial-card p, .testimonial-card span {
  color: #282E2B;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-list li {
  flex: 1 1 200px;
  min-width: 188px;
  background: #F3F6F4;
  border-radius: 11px;
  border: 2px solid #83A0B3;
  padding: 20px 18px 18px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 1px 7px 0 rgba(128, 98, 74, 0.06);
}
.feature-list img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}

.service-preview-grid, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.service-card {
  flex: 1 1 240px;
  min-width: 220px;
  background: #FEF5DB;
  border-radius: 14px;
  border: 2px solid #768948;
  box-shadow: 0 1.5px 10px 0 rgba(118,137,72,0.07);
  margin-bottom: 20px;
}
.service-card h3, .service-card h2 {
  font-size: 1.13rem;
  color: #B2654B;
  margin-bottom: 10px;
}
.service-card .price, .service-card .price {
  display: block;
  color: #2F4858;
  background: #F9DA8B;
  margin-top: 12px;
  font-weight: bold;
  border-radius: 7px;
  padding: 5px 13px;
  font-size: 1.07rem;
  font-family: 'Montserrat',sans-serif;
}

.key-learning-list {
  gap: 22px;
}
.key-learning-list li {
  background: #F0F2E4;
  padding: 18px 20px;
  border-radius: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.key-learning-list img {
  width: 26px;
  height: 26px;
}

.values-list li {
  background: #f5efe4;
  border-left: 6px solid #F4715F;
  border-radius: 7px;
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}
.values-list img {
  width: 32px;
  margin-bottom: 6px;
}

/* HERO Retro Styling */
.hero {
  background: repeating-linear-gradient(135deg,#FFE7A2 0 26px,#FFD07F 30px 48px);
  color: #2F4858;
  border-bottom: 6px double #768948;
  box-shadow: 0 2px 18px 0 rgba(47,72,88,0.10);
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero h1 {
  font-size: 2.3rem;
  color: #B2654B;
  text-shadow: 0 2px 0 #F9DA8B, 0 4px 6px #F3F6F4;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1.2px;
}
.hero .subheadline {
  font-size: 1.19rem;
  color: #2F4858;
  margin-bottom: 20px;
  font-family: 'Lato', Arial, sans-serif;
}

/* CTA Buttons */
.cta-main {
  padding: 13px 38px;
  background: #B2654B;
  color: #fffbe8;
  border-radius: 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(178,101,75,0.09);
  margin-top: 20px;
  margin-bottom: 10px;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.13s;
}
.cta-main:hover, .cta-main:focus {
  background: #a05a46;
  color: #fffbe8;
  box-shadow: 0 6px 20px 0 #F9DA8B58;
  transform: translateY(-1px) scale(1.03);
}
.cta-secondary {
  padding: 10px 26px;
  background: #F9DA8B;
  color: #6D3324;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-top: 14px;
  margin-bottom: 10px;
  box-shadow: 0 1.5px 6px 0 rgba(249,218,139,0.12);
  transition: background 0.18s, color 0.17s, box-shadow 0.18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FFE7A2;
  color: #2F4858;
}

/* Subtle Retro Patterns for sections */
.section {
  background: repeating-linear-gradient(-45deg, #fffcef 0px, #fffcef 8px, #f9da8b 13px, #fffcef 18px);
}

/* NAVIGATION & HEADER */
header {
  background: #2F4858;
  color: #FFE7A2;
  position: sticky;
  top: 0;
  z-index: 101;
  width: 100%;
  box-shadow: 0 1.5px 14px 0 rgba(60,48,23,0.10);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px 14px 20px;
}
.main-nav > a img {
  width: 120px;
  height: auto;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin-bottom: 0;
}
.main-nav li a {
  color: #FFE7A2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  padding: 7px 16px;
  border-radius: 16px;
  transition: background 0.15s, color 0.15s;
}
.main-nav li a:hover, .main-nav li a:focus, .main-nav li a.active {
  background: #F9DA8B;
  color: #2F4858;
}
.main-nav .cta-main {
  margin: 0 0 0 18px;
}

/* Mobile Navigation (Burger Menu) */
.mobile-menu-toggle {
  display: none;
  background: #F9DA8B;
  color: #2F4858;
  border: none;
  font-size: 2.16rem;
  border-radius: 10px;
  padding: 7px 18px;
  margin-right: 16px;
  align-self: center;
  z-index: 104;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  box-shadow: 0 2.5px 12px 0 rgba(249,218,139,0.14);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFE7A2;
  color: #B2654B;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 90vw;
  max-width: 335px;
  background: #FFE7A2;
  box-shadow: 3px 0 24px 0 rgba(47,72,88,0.07);
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(.77,.1,.24,.89);
  z-index: 9999;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #B2654B;
  color: #fff;
  border: none;
  font-size: 1.8rem;
  border-radius: 7px;
  padding: 7px 14px;
  margin: 16px 16px 0 0;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2F4858;
  color: #FFE7A2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  padding: 40px 26px 0 32px;
}
.mobile-nav a {
  color: #2F4858;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  padding: 12px 0 5px 0;
  font-weight: 600;
  border-radius: 11px;
  transition: background 0.13s, color 0.13s;
  margin-bottom: 3px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B2654B;
  color: #fffbe8;
}

/* Responsive Table for testimonial-slider and other flex layouts */
.testimonial-slider, .testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

/* FAQ Accordion */
.faq-accordion dt {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #B2654B;
  font-size: 1.12rem;
  font-weight: 700;
  margin-top: 21px;
  cursor: pointer;
}
.faq-accordion dd {
  margin-left: 0;
  background: #FEF5DB;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #2F4858;
}
.faq-accordion dt:first-child {
  margin-top: 0;
}


/* Footer */
footer {
  background: #2F4858;
  color: #FFE7A2;
  padding: 36px 0 14px 0;
  box-shadow: 0 -2px 11px 0 rgba(47,72,88,0.08);
}
footer .container {
  padding-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  margin-top: 6px;
}
.footer-nav a {
  color: #FFE7A2;
  font-size: 1.04rem;
  padding: 6px 12px;
  border-radius: 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F9DA8B;
  color: #2F4858;
}

.contact-footer-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}
.office-hours {
  font-size: 0.97rem;
  color: #FFE7A2;
}
.social-footer {
  margin-top: 8px;
}

.contact-footer-info a {
  color: #FFE7A2;
  text-decoration: underline;
  font-size: 0.98rem;
}
.contact-footer-info a:hover, .contact-footer-info a:focus {
  color: #F9DA8B;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 8888;
  background: #2F4858;
  color: #FFE7A2;
  padding: 22px 28px 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 -1.5px 13px 0 #2f485878;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  animation: banner-in 0.44s cubic-bezier(.62,.1,.33,.95) both;
}
@keyframes banner-in {
  0% { transform: translateY(100%); opacity:0.6; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 5px;
}
.cookie-banner button {
  background: #F9DA8B;
  color: #2F4858;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 18px;
  padding: 8px 19px;
  font-weight: 600;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.16s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #B2654B;
  color: #fffbe8;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(47,72,88,0.72);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: modal-in 0.29s cubic-bezier(.61,.1,.44,.96) both;
}
@keyframes modal-in {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
.cookie-modal {
  background: #FFFCEF;
  color: #2F4858;
  padding: 34px 32px 25px 32px;
  border-radius: 17px;
  min-width: 270px;
  max-width: 95vw;
  box-shadow: 0 4px 32px 0 #2f48582A;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  background: #B2654B;
  color: #fffbe8;
  border: none;
  font-size: 1.5rem;
  border-radius: 7px;
  padding: 7px 11px;
  cursor: pointer;
  position: absolute;
  right: 13px;
  top: 13px;
  transition: background 0.16s, color 0.15s;
}
.cookie-modal .cookie-modal-close:hover {
  background: #2F4858;
  color: #FFE7A2;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category input[type='checkbox'] {
  width: 21px;
  height: 21px;
  margin-right: 7px;
  accent-color: #B2654B;
}
.cookie-category .locked {
  color: #2F4858;
  font-size: 0.97rem;
}

/* Utility & Vintage Styling */
address {
  font-style: normal;
  color: #FFE7A2;
  font-size: 1rem;
}

/* Subtle drop shadows and borders to enhance the retro look */
.card, .service-card, .testimonial-card,
.testimonial-slider, .values-list li {
  box-shadow: 0 2px 12px 0 rgba(178,101,75,0.09);
}

/* Downloadable guides and books listing for recursos.html */
.downloadable-guides ul,
.recommended-books ul, .blog-articles ul {
  list-style: disc inside;
  margin-top: 6px;
  margin-bottom: 14px;
}

.practice-tips, .quick-exercises {
  margin-bottom: 17px;
}

.next-steps ul {
  margin-top: 10px;
  margin-bottom: 8px;
}

/* Retro Dotted underline */
.cta-main, .cta-secondary, .footer-nav a {
  position: relative;
}
.cta-main::after, .cta-secondary::after {
  content: '';
  display: block;
  border-bottom: 2px dotted #F9DA8B;
  margin: 0 auto;
  width: 70%;
  opacity: 0.45;
  margin-top: 6px;
}

/* Form & Contact styling for contacto.html */
.contact-direct-info, .location-map-preview, .contact-data {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.location-map-preview {
  align-items: flex-start;
  flex-direction: row;
  gap: 20px;
}
.location-map-preview img {
  width: 52px;
  height: 52px;
}

/*********************************
  RESPONSIVE STYLES (MOBILE FIRST)
**********************************/
@media (max-width: 1060px) {
  .container {
    max-width: 99vw;
    padding: 0 11px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    flex-direction: column;
    gap: 14px;
    padding-bottom: 16px;
  }
  .main-nav ul {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .section, section {
    padding: 30px 6px;
    margin-bottom: 40px;
  }
  .main-nav ul {
    display: none;
  }
  .main-nav .cta-main {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 16px; right: 18px;
  }
  .main-nav > a img {
    width: 95px;
    margin-left: 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-list, .service-preview-grid, .services-list,
  .key-learning-list, .testimonials-grid, .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .feature-list li, .service-card, .card, .testimonial-card, .values-list li {
    min-width: unset;
    width: 99%;
    margin-right: 0;
  }
  .hero {
    padding-top: 38px;
    padding-bottom: 38px;
  }
  .hero h1 { font-size: 1.25rem; }
  .hero .subheadline { font-size: 1rem; }
  .testimonial-card {
    padding: 19px 10px 17px 15px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    text-align: left;
  }
  .location-map-preview {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .text-image-section { flex-direction: column; gap: 15px; }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  .cookie-banner { padding: 12px 6px 9px 6px; }
  .cookie-modal { padding: 15px 9px 10px 9px; }
  .main-nav { padding: 8px 4px 7px 8px; }
}

/*********************************
  ANIMATIONS & MICROINTERACTIONS
**********************************/
.card, .service-card, .testimonial-card, .cta-main, .cta-secondary, .cookie-banner button {
  transition: box-shadow 0.2s, border-color 0.18s, background 0.2s, color 0.16s, transform 0.13s;
}
.card:active, .service-card:active, .testimonial-card:active {
  transform: scale(0.97) translateY(2px);
}
.cta-main:active, .cta-secondary:active {
  transform: scale(0.97) translateY(1.5px);
}

/*********************************
     NOSTALGIC DECORATIVE BITS
**********************************/
.hero {
  /* Retro circles */
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.17;
  pointer-events: none;
}
.hero::before {
  width: 215px; height: 215px;
  left: -70px; top: -48px;
  background: var(--retro-burnt);
}
.hero::after {
  width: 310px; height: 310px;
  right: -136px; top: 32px;
  background: var(--retro-olive);
}

/*********************************
     MISC & ERROR SAFE FALLBACKS
**********************************/
::-webkit-input-placeholder { color: #b7a272; opacity: 1; }
::-moz-placeholder { color: #b7a272; opacity: 1; }
:-ms-input-placeholder { color: #b7a272; opacity: 1; }
::placeholder { color: #b7a272; opacity: 1; }

[hidden] {
  display: none !important;
}

/* Hide scroll for mobile-menu when open */
body.mobile-menu-open {
  overflow: hidden;
}

/*********************************
      RETRO FONTS (FALLBACKS)
**********************************/
@font-face {
 font-family: 'Montserrat';
 font-style: normal;
 font-weight: 700;
 src: local('Montserrat Bold'), local('Montserrat-Bold');
 font-display: swap;
}
@font-face {
 font-family: 'Lato';
 font-style: normal;
 font-weight: 400;
 src: local('Lato Regular'), local('Lato-Regular');
 font-display: swap;
}

/********* END CSS **********/
