/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #205266;
  background: #F7FAF8;
  min-height: 100vh;
  line-height: 1.55;
  font-size: 16px;
  letter-spacing: 0.02em;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #205266;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
a:hover, a:focus {
  color: #69A297;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: #205266;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul li, ol li {
  margin-bottom: 16px;
  color: #2b4658;
}
strong {
  font-weight: bold;
}

/* Container/Wrapper */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* GENERAL SECTIONS */
section, .section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
/* Ensure .section can have padding sides */
.section {
  padding: 40px 20px;
}

/* HERO SECTION */
.hero {
  background: #205266 url('../assets/geo-bg.svg') top right no-repeat;
  color: #F7FAF8;
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
  padding-bottom: 0;
}
.hero h1 {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  max-width: 560px;
}
.hero .subheadline {
  color: #d1e5e0;
  font-size: 1.2rem;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero .button.primary {
  margin-top: 10px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 56px;
}

/* FEATURE LIST, CARDS, FLEX CONTAINERS */
.features {
  background: #F7FAF8;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature-list li {
  background: #fff;
  border: 2.5px solid #69A297;
  border-radius: 14px;
  box-shadow: 0 3px 16px 0 rgba(32, 82, 102, 0.07);
  flex: 1 1 230px;
  max-width: 260px;
  min-width: 180px;
  padding: 28px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 15px;
  transition: transform 0.18s, box-shadow 0.21s;
}
.feature-list li:hover {
  transform: translateY(-6px) scale(1.03) rotate(-0.5deg);
  box-shadow: 0 5px 24px 0 rgba(32, 82, 102, 0.1);
  border-color: #205266;
}
.feature-list img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.feature-list h3 {
  font-size: 1.25rem;
  color: #205266;
  margin-bottom: 6px;
}
.feature-list p {
  font-size: 1rem;
  color: #2b4658;
  text-align: center;
}

/* ABOUT SHORT, GENERAL UL */
.about-short ul, .features ul:not(.feature-list), .kadra-features ul, .services ul, .class-list, .content-wrapper>ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.features ul:not(.feature-list) li {
  padding-left: 0;
  position: relative;
  font-size: 1rem;
  color: #2b4658;
  background: none;
}
.features ul:not(.feature-list) li strong {
  color: #205266;
}

/* CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(32,82,102,0.07);
  border: 2px solid #69A297;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(32,82,102,0.13);
  border-color: #205266;
  transform: translateY(-4px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}

/* TESTIMONIALS */
.testimonials {
  background: #fff;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 26px 22px 26px;
  margin-bottom: 20px;
  background: #F7FAF8;
  border-radius: 14px;
  border-left: 6px solid #69A297;
  box-shadow: 0 2px 14px 0 rgba(32,82,102,0.06);
  color: #205266;
  position: relative;
  max-width: 620px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(32,82,102,0.13);
  transform: translateY(-3px) scale(1.02);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #2b4658;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #205266;
}

/* BUTTONS & CTAs */
.button, .mobile-nav a.button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.095em;
  border-radius: 8px;
  border: none;
  padding: 15px 36px;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, border-color 0.18s, transform 0.13s;
  cursor: pointer;
  outline: none;
  text-align: center;
  box-shadow: 0 2px 8px 0 rgba(32,82,102,0.10);
  margin: 0 12px 8px 0;
}
.button.primary {
  background: #205266;
  color: #fff;
  border: 2.5px solid #205266;
}
.button.primary:hover, .button.primary:focus {
  background: #153747;
  color: #fff;
  border-color: #69A297;
  transform: translateY(-1px) scale(1.04);
}
.button.secondary {
  background: #F7FAF8;
  color: #205266;
  border: 2.5px solid #69A297;
}
.button.secondary:hover, .button.secondary:focus {
  background: #69A297;
  color: #fff;
  border-color: #205266;
  transform: translateY(-1px) scale(1.04);
}

/* TAGS IN CLASS LISTS */
.tag {
  display: inline-block;
  background: #69A297;
  color: #fff;
  font-size: 0.84rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 7px;
  padding: 2px 11px;
  margin-left: 9px;
}

/* PRICING & SCHEDULE TABLES */
.pricing-table, .schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 36px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px 0 rgba(32,82,102,0.06);
}
.pricing-table th, .pricing-table td,
.schedule-table th, .schedule-table td {
  text-align: left;
  padding: 14px 20px;
  font-size: 1rem;
  border-bottom: 1.5px solid #e5ece8;
}
.pricing-table th, .schedule-table th {
  background: #69A297;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.pricing-table tr:last-child td, .schedule-table tr:last-child td {
  border-bottom: none;
}

/* CONTACT DETAILS IN FOOTER */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.94rem;
  color: #205266;
}
.contact-details span, .contact-details a {
  display: flex;
  align-items: center;
  color: #205266;
  gap: 6px;
  margin-bottom: 0;
  font-size: 0.98em;
}
.contact-details img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* FOOTER */
footer {
  background: #205266;
  color: #fff;
  padding: 40px 0 22px 0;
  border-radius: 36px 36px 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #F7FAF8;
  font-size: 0.99em;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 1.5px dotted #69A297;
  padding-bottom: 1.5px;
}
footer nav a:hover, footer nav a:focus {
  color: #69A297;
  border-color: #F7FAF8;
}
footer img {
  height: 42px;
}

/* HEADER / MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(32,82,102,0.07);
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 20px 18px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}
header nav a {
  font-weight: 600;
  font-size: 1rem;
  color: #205266;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 2;
}
header nav a:hover, header nav a:focus {
  background: #69A297;
  color: #fff;
}
header img {
  height: 44px;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: #205266;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  padding: 7px 16px 7px 16px;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 14px;
  z-index: 26;
  transition: background 0.19s, color 0.19s, transform 0.12s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #69A297;
  color: #205266;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #205266;
  z-index: 1000;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 34px;
  padding-left: 0;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.7,.2,.19,1.1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 12px 22px 10px 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: color 0.14s, transform 0.12s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  color: #69A297;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  margin-left: 34px;
  margin-top: 10px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  padding: 12px 10px 12px 0;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.18s, color 0.18s;
  margin-right: 24px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #69A297;
  color: #205266;
}

@media (max-width: 1024px) {
  header .container { gap: 10px; }
  .feature-list, .features .content-wrapper, .about-short ul {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-list {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-list li {
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper { gap: 18px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  header .container { flex-direction: row; padding: 12px 10px 12px 10px; }
  header nav, header .button.primary { display: none; }
  .mobile-menu-toggle {
    display: block;
    right: 12px;
    top: 10px;
  }
  .feature-list { flex-direction: column; gap: 18px; }
  .about-short ul, .features .content-wrapper, .content-wrapper > ul { gap: 9px; }
  .testimonial-card { max-width: 100%; }
  .text-image-section, .card-container, .content-grid { flex-direction: column; gap: 18px; }
  .section, section { padding: 20px 7px; }
  .hero .content-wrapper { padding-top: 18px; padding-bottom: 24px; }
  .schedule-table th, .schedule-table td, .pricing-table th, .pricing-table td { padding: 10px 7px; font-size: 0.93rem; }
  footer .container { gap: 14px; }
  .testimonial-card { padding: 18px 10px 16px 14px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.4rem; margin-bottom: 16px; }
  h2 { font-size: 1.15rem; margin-bottom: 10px; }
  .hero img { width: 90%; }
  .feature-list li, .testimonial-card, .card { padding: 16px 7px 11px 10px; }
  .button, .mobile-nav a.button { padding: 11px 20px; font-size: 0.98rem; }
  .container { padding: 0 4px; }
}

/******************************/
/* COOKIE CONSENT BANNER & MODAL */
/******************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 3.5px solid #69A297;
  box-shadow: 0 -4px 24px 0 rgba(32,82,102,0.13);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  font-size: 1rem;
  animation: slideUpCookie 0.47s ease;
}
@keyframes slideUpCookie {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: #205266;
  max-width: 660px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 7px;
  border: 2px solid #69A297;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.15s, transform 0.13s;
  background: #F7FAF8;
  color: #205266;
}
.cookie-btn.accept {
  background: #205266;
  color: #fff;
  border-color: #205266;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #69A297;
  color: #fff;
  border-color: #69A297;
  transform: scale(1.04);
}
.cookie-btn.reject {
  background: #F7FAF8;
  color: #205266;
  border-color: #69A297;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  border-color: #205266;
  color: #205266;
  transform: scale(0.97);
}
.cookie-btn.settings {
  background: #fff;
  border-style: dashed;
  border-color: #205266;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #205266;
  color: #fff;
  border-color: #69A297;
  transform: scale(1.04);
}

@media(max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 5px;
    font-size: 0.96rem;
  }
  .cookie-banner__actions {
    align-items: flex-start;
    gap: 8px;
  }
}

/* COOKIES SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,82,102,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.22s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px 0 rgba(32,82,102,0.25);
  max-width: 410px;
  width: 100%;
  padding: 34px 30px 31px 30px;
  color: #205266;
  animation: modalZoomIn 0.26s cubic-bezier(.52,1.3,.32,1.25);
  display: flex;
  flex-direction: column;
  gap: 17px;
}
@keyframes modalZoomIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}
.cookie-modal h3 {
  color: #205266;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid #e7ecea;
  padding: 13px 0;
  font-size: 1rem;
  gap: 14px;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-switch {
  position: relative;
  width: 44px;
  height: 24px;
  margin-left: auto;
}
.cookie-switch input[type="checkbox"] {
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  left: 0; top: 0;
  z-index: 2;
  cursor: pointer;
}
.cookie-switch .slider {
  background: #e7ecea;
  border-radius: 12px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  transition: background 0.18s;
}
.cookie-switch input[type="checkbox"]:checked + .slider {
  background: #69A297;
}
.cookie-switch .slider:before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  top: 1px;
  left: 1px;
  box-shadow: 0 1px 5px 0 rgba(32,82,102, .14);
  transition: left 0.19s;
}
.cookie-switch input[type="checkbox"]:checked + .slider:before {
  left: 21px;
}
.cookie-category.essential .cookie-switch {
  opacity: 0.4;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  align-items: center;
}

@media(max-width: 540px) {
  .cookie-modal {
    padding: 18px 7px 16px 7px;
    max-width: 96vw;
  }
}

/*******************************/
/*  MISCELLANEOUS & GEOMETRIC ELEMENTS   */
/*******************************/
section.services, .services-overview {
  background: #F7FAF8;
  border-radius: 34px;
  box-shadow: 0 1.5px 9px 0 rgba(105, 162, 151, 0.06);
}
section.schedule {
  background: #F7FAF8;
  border-radius: 34px;
  box-shadow: 0 3px 22px 0 rgba(32,82,102,0.08);
}
section.confirmation {
  background: #F7FAF8;
  border-radius: 28px;
  box-shadow: 0 2px 12px 0 rgba(33,82,102,0.07);
}
section.contact-info, section.contact-form {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(32,82,102,0.07);
}
span[role="img"], img[alt*="Ikona"], img[alt*="icon"], img[alt*="mapa"] {
  shape-outside: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

/*******************************/
/*  TYPOGRAPHY SCALE & FONTS   */
/*******************************/
html {
  font-size: 16px;
}
@media (max-width: 768px) {
  html { font-size: 15px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
}

/* VISUAL DIVIDERS (GEOMETRIC) */
hr {
  border: none;
  border-top: 2.5px solid #69A297;
  width: 60%;
  margin: 32px auto 32px auto;
  border-radius: 1.5px;
}

/* FORMS (IF PRESENT) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 2px solid #69A297;
  border-radius: 6px;
  padding: 10px;
  background: #F7FAF8;
  margin-bottom: 22px;
  width: 100%;
  max-width: 520px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #205266;
  outline: none;
  box-shadow: 0 2px 10px 0 rgba(33,82,102,0.10);
}
label {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 7px;
  color: #205266;
}

/* TABLES VISUALS */
table {
  border-radius: 18px;
  border-collapse: collapse;
  overflow:hidden;
}
th, td {
  border-bottom: 1.5px solid #ebf4f1;
  padding: 12px 18px;
}
th {
  background: #69A297;
  color: #fff;
}

/* UTILITIES */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }

/* Hide visually but accessibly present */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  border: 0; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* END */