/* ---------------------------------------------------
   ViraSol Flux - Minimalist Flexbox CSS (style.css)
   Author: Senior CSS Developer & UI Designer
   --------------------------------------------------- */
/* RESET & BASELINE NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #F8F8F2;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2C395B;
  background: #F8F8F2;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}
a {
  color: #2C395B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A0B763;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  border-radius: 0;
}

/* ------------------------------------------
   TYPOGRAPHY
------------------------------------------ */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #2C395B;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #2C395B;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
}
p, .subtitle {
  font-size: 1.0625rem;
  margin-bottom: 16px;
}
.subtitle {
  color: #597085;
  font-weight: 400;
  margin-bottom: 22px;
  font-size: 1.18rem;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

/* ------------------------------------------
   CSS UTILITY CLASSES & FLEX LAYOUTS
------------------------------------------ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0; /* Prevent accidental grid fallback */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ee-wrapper {
    display: flex;
  flex-direction: row;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44, 57, 91, 0.08);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(44,57,91,0.12);
  transform: translateY(-3px);
}
.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 {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44, 57, 91, 0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 350px;
  transition: box-shadow 0.18s, transform 0.18s;
  color: #27324b;
}
.testimonial-card strong {
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 24px rgba(44, 57, 91, 0.16);
  transform: translateY(-2px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.service-tile {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(44, 57, 91, 0.07);
  padding: 26px 22px 22px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-tile:hover {
  box-shadow: 0 8px 28px rgba(44,57,91,0.14);
  transform: translateY(-2px);
}
.price {
  color: #A0B763;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

/* ---------------------------------
   HEADER & NAVIGATION
--------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(44, 57, 91, 0.03);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 18px;
  min-height: 68px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  color: #2C395B;
  transition: background 0.14s, color 0.18s;
}
nav a:hover,
nav a.active {
  background: #A0B76322;
  color: #A0B763;
}
.cta.primary,
.cta.secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44,57,91,0.05);
  cursor: pointer;
  border: none;
  transition: background 0.19s, color 0.18s, box-shadow 0.13s, transform 0.19s;
  outline: none;
}
.cta.primary {
  background: #2C395B;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #A0B763;
  color: #27324b;
  box-shadow: 0 4px 18px rgba(160,183,99,0.13);
  transform: translateY(-1px) scale(1.02);
}
.cta.secondary {
  background: #fff;
  color: #2C395B;
  border: 2px solid #2C395B;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #2C395B;
  color: #fff;
  border-color: #2C395B;
  box-shadow: 0 4px 18px rgba(44,57,91,0.13);
  transform: translateY(-1px) scale(1.02);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2C395B;
  cursor: pointer;
  margin-left: 16px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A0B76322;
}

/* ------------
  MOBILE MENU
------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1200;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.23s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 24px 12px 0;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #27324b;
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 12px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #A0B76322;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 38px 38px 16px 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #2C395B;
  padding: 12px 0;
  border-radius: 6px;
  transition: color 0.18s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A0B763;
  background: #A0B76314;
}

/* ------------
   MAIN & SECTIONS
------------- */
main {
  width: 100%;
  padding-bottom: 60px;
  min-height: 64vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section:last-of-type {
  margin-bottom: 0;
}
ul > li, ol > li {
  margin-bottom: 14px;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul > li img {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 0px;
}
.text-section ul {
  margin-bottom: 12px;
  padding-left: 0;
}

/* ------------
   FOOTER
------------- */
footer {
  background: #FFF;
  color: #37475D;
  box-shadow: 0 -1px 8px rgba(44, 57, 91, 0.03);
  font-size: 1rem;
  padding: 34px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 0 30px;
}
footer nav a {
  color: #2C395B;
  font-size: 1rem;
  padding: 2px 0;
  border-radius: 4px;
  transition: color 0.16s, background 0.12s;
}
footer nav a:hover, footer nav a:focus {
  color: #A0B763;
  background: #A0B76312;
}
footer .contact-data {
  font-size: 0.99rem;
  color: #37475D;
  min-width: 220px;
  margin-top: 0;
}
footer address {
  font-style: normal;
  color: #37475D;
}
footer strong {
  font-weight: 700;
}

/* -----------------------------------------------------
   COOKIE BANNER & MODAL
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 9999;
  background: #fff;
  color: #27324b;
  box-shadow: 0 -2px 16px rgba(44,57,91,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 36px;
  font-size: 1rem;
  animation: showCookieBanner 0.34s cubic-bezier(.68,-0.35,.41,1.41);
}
@keyframes showCookieBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 auto;
  color: #27324b;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn, .cookie-btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
}
.cookie-btn {
  background: #A0B763;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #2C395B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cookie-btn-secondary {
  background: #fff;
  color: #2C395B;
  border: 1px solid #A0B763;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #A0B76313;
  color: #2C395B;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 10000;
  background: rgba(44, 57, 91, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
  animation: showModal 0.25s cubic-bezier(.4,1.12,.6,1.11);
}
@keyframes showModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 34px 30px;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(44, 57, 91, 0.12);
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.29s cubic-bezier(.69,-0.55,.36,1.36);
}
@keyframes modalIn {
  from { transform: translateY(30px) scale(0.92); }
  to { transform: translateY(0) scale(1); }
}
.cookie-modal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #2C395B;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 0;
  margin-bottom: 10px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ececec;
}

/* -----------------------------------------------------
   RESPONSIVE DESIGN (Mobile First)
----------------------------------------------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 880px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 94vw;
    padding: 0 5vw;
  }
  .service-tile, .card, .testimonial-card {
    min-width: 180px;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  /* Header */
  header .container {
    flex-direction: row;
    gap: 0;
    padding: 8px 12px;
    min-height: 56px;
  }
  header nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }
  /* Mobile Menu full width */
  .mobile-menu {
    width: 100vw;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .mobile-nav {
    padding: 30px 24px 10px 24px;
  }
  /* Main/Sections */
  section {
    padding: 24px 6.5vw;
    margin-bottom: 38px;
  }
  .content-wrapper,
  .content-grid,
  .card-container {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 18px;
  }
  .service-tile,
  .card,
  .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 98vw;
    margin-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 0 10px;
  }
  footer nav {
    margin: 0 0 12px 4px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 15px 12px;
    font-size: 0.97rem;
  }
  .cookie-banner-buttons {
    gap: 8px;
  }
  .cookie-modal-content {
    min-width: 0;
    padding: 22px 9vw;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.24rem;
    margin-bottom: 15px;
  }
  .service-tile, .card, .testimonial-card {
    padding: 16px 12px;
    max-width: 99vw;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .cookie-modal-content {
    padding: 13px 4vw;
    font-size: .99rem;
  }
}

/* ---------------------------
   MICROINTERACTIONS & EFFECTS
---------------------------- */
button:active, .cta:active {
  transform: scale(0.97);
}
.service-tile:active,
.card:active,
.testimonial-card:active {
  box-shadow: 0 2px 10px rgba(44,57,91,0.08);
  transform: scale(0.99);
}
nav a:active,
footer nav a:active,
.mobile-nav a:active{
  color: #597085;
}

/* -----------------------------------
   ACCESSIBILITY/FOCUS OUTLINES
----------------------------------- */
a:focus,
button:focus,
.cta:focus,
.cookie-btn:focus, .cookie-btn-secondary:focus,
.mobile-menu-close:focus,
.cookie-modal-close:focus {
  outline: 2px solid #A0B763;
  outline-offset: 1.5px;
  box-shadow: 0 0 0 2.5px #dbeec3;
}

/* -----------------------------------
   OTHER CORE STYLES
----------------------------------- */
::-webkit-input-placeholder { color: #b5b5b5; }
::-moz-placeholder { color: #b5b5b5; }
:-ms-input-placeholder { color: #b5b5b5; }
::placeholder { color: #b5b5b5; }

hr {
  border: none;
  border-top: 1.2px solid #E5E5E5;
  margin: 32px 0;
}

/* Hide scrollbars in mobile menu overlay */
.mobile-menu {
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-y: auto;
}
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/* -----------------------------------
   ICONS, IMAGES, MAPS
----------------------------------- */
ul > li img, .contact-details ul > li img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 9px !important;
  margin-top: 0 !important;
  width: 24px !important;
  height: 24px !important;
}
img[alt~='Mapa'] {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 22px 0 0 0;
  box-shadow: 0 1.5px 12px rgba(44,57,91,0.08);
  border-radius: 8px;
}

/* -----------------------------------
   FORMS (if used in the future)
----------------------------------- */
input, textarea, select {
  background: #fff;
  border: 1px solid #e0e6ed;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
  width: 100%;
  font-size: 1rem;
  outline: none;
  box-shadow: none;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #A0B763;
}

/* -----------------------------------
   MISCELLANEOUS
----------------------------------- */
::-webkit-scrollbar { width: 8px; background: #F8F8F2; }
::-webkit-scrollbar-thumb { background: #E5E5E5; border-radius: 9px; }


/****** END OF FILE ******/
