/* === CSS RESET & NORMALIZE === */
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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video,button,input,select,textarea {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F4F7FB;
  color: #1a2733;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: #265473; text-decoration: none; transition: color 0.3s; }
a:hover, a:focus { color: #F6B93B; }
ol, ul { list-style: none; padding-left: 0; }

/* === BRAND VARIABLES (as fallback, use directly) === */
:root {
  --color-primary: #265473;
  --color-secondary: #F4F7FB;
  --color-accent: #F6B93B;
  --color-black: #222;
  --color-white: #fff;
  --color-gray: #dce2ea;
  --color-card-bg: #fff;
  --color-border: #e8e8ea;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #222;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}
.subheadline {
  color: #265473;
  font-size: 1.2rem;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
}
body, p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #34495e;
}
p {
  margin-bottom: 14px;
}
strong {
  color: #222;
  font-weight: 700;
}

/* === LUXURY DETAILS: GOLD & ACCENT === */
hr {
  border: 0;
  border-bottom: 2px solid var(--color-accent);
  margin: 32px auto;
  width: 60px;
  opacity: 0.6;
}

/* == SPACING & MAIN CONTAINERS == */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: var(--color-secondary);
  box-shadow: 0 4px 32px rgba(22, 44, 66, 0.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray);
  padding: 0 0;
  width: 100%;
  position: relative;
  min-height: 64px;
  z-index: 10;
}
header > a {
  display: flex;
  align-items: center;
  height: 64px;
  margin-left: 24px;
  float: left;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  height: 64px;
  margin-right: 24px;
  font-family: var(--font-display);
  font-weight: 500;
}
.main-nav a {
  display: flex;
  align-items: center;
  font-size: 1rem;
  padding: 8px 0;
  color: #265473;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.cta-button {
  background: linear-gradient(90deg, var(--color-accent), #fbeec2);
  color: #222;
  border: none;
  border-radius: 30px;
  padding: 12px 32px;
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: 0 2px 10px rgba(246,185,59,0.12);
  margin-left: 12px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s, color .2s, transform 0.18s;
  border: 2px solid var(--color-accent);
}
.cta-button:hover,
.cta-button:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.03);
  border: 2px solid var(--color-primary);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  margin-right: 20px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  z-index: 51;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -2px 0 28px rgba(38, 84, 115, .11);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.62,-0.01,.24,1.03);
  z-index: 1003;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  appearance: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--color-primary);
  padding: 18px 28px 0 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1004;
  transition: color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 36px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 13px 0;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 500;
  transition: color .22s, background .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-accent);
  background: #f7f4e6;
}
@media (max-width: 1050px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; position: absolute; top: 10px; right: 18px; }
}
@media (min-width: 1051px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}

/* === HERO, CTA, & SECTION CARDS === */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}
@media (max-width: 800px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 36px;
  }
  section {
    padding: 28px 0;
    margin-bottom: 36px;
  }
}

/* == Features Grid & Cards == */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 32px;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: 16px;
  padding: 28px 20px 22px 20px;
  min-width: 230px;
  max-width: 300px;
  box-shadow: 0 2px 17px rgba(38,84,115,0.08);
  border: 1.5px solid var(--color-border);
  margin-bottom: 20px;
  flex: 1 1 230px;
  transition: box-shadow 0.22s, border-color 0.19s;
  position: relative;
}
.feature-item img {
  width: 42px; height: 42px;
  margin-bottom: 8px;
  filter: drop-shadow(0 3px 6px #f6b93b11);
}
.feature-item h3 {
  font-size: 1.11rem;
  color: #222;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.feature-item p {
  color: #6A7684;
  font-size: 1rem;
}
.feature-item:hover {
  box-shadow: 0 6px 32px rgba(246,185,59,.21);
  border-color: var(--color-accent);
  z-index: 10;
}

/* == Testimonials == */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 1.5px 15px rgba(22,44,66,0.06), 0 0.5px 1px #f6b93b18;
  border: 1.5px solid #ebdfbe;
  padding: 28px 28px 18px 28px;
  margin-bottom: 20px;
  max-width: 600px;
  min-width: 240px;
  transition: box-shadow 0.22s, border-color 0.16s;
  color: #222;
}
.testimonial-card h3 {
  color: var(--color-primary);
  font-size: 1.19rem;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #1a2733;
}
.testimonial-card span {
  color: #6a7684;
  font-size: 0.97rem;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 7px 38px #f6b93b23, 0 3px 10px #26547311;
  border-color: var(--color-accent);
}

/* === CARD, CONTENT-GRID, ETC === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 8px rgba(38,84,115,0.10);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.20s;
}
.card:hover {
  box-shadow: 0 3px 20px #f6b93b18;
  border-color: var(--color-accent);
  z-index: 2;
}
.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) {
  .features-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 20px 12px 10px 13px;
    max-width: 100%;
  }
}

/* === BUTTONS & INTERACTIONS === */
button, .cta-button, input[type=submit] {
  cursor: pointer;
  outline: none;
  user-select: none;
  transition: background 0.26s, color 0.18s, box-shadow 0.18s, border 0.22s;
}
button:focus, .cta-button:focus, input[type=submit]:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* === LISTS (VALORES, ETC) === */
ul, ol {
  margin-left: 25px;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  color: #34495e;
  font-family: var(--font-body);
}
ul li strong {
  color: var(--color-primary);
}
ul.contact-info {
  margin-left: 0;
}
ul.contact-info li img {
  width: 22px; height: 22px; margin-right: 8px;
  vertical-align: middle;
  opacity: .95;
}

/* === FAQ List === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  margin-bottom: 15px;
  background: var(--color-card-bg);
  border-radius: 8px;
  padding: 16px 20px;
  border: 1.2px solid var(--color-gray);
  box-shadow: 0 1.5px 10px #f6b93b07;
}
.faq-item strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* === FOOTER === */
footer {
  background: #f9f9fb;
  border-top: 1px solid var(--color-gray);
  padding: 32px 12px 16px 12px;
  margin-top: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 4px;
}
.footer-branding img {
  width: 45px; height: 45px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.footer-nav a {
  color: var(--color-primary);
  font-size: 1rem;
  transition: color .17s;
}
.footer-nav a:hover {
  color: var(--color-accent);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #6A7684;
  font-size: 0.97rem;
  font-family: var(--font-body);
  margin-bottom: 8px;
}
.footer-contact img {
  width: 18px; height: 18px; margin-right: 4px; vertical-align: middle;
}
@media (max-width: 680px) {
  .footer-branding {
    flex-direction: column;
    gap: 3px;
    text-align: center;
  }
  .footer-contact {
    font-size: 0.93em;
    justify-content: center;
    text-align: center;
  }
}

/* === UTILITIES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mb-2 { margin-bottom: 2px !important; }
.mb-3 { margin-bottom: 18px !important; }
.rounded {
  border-radius: 16px;
}
.shadow-light {
  box-shadow: 0 2px 22px #f6b93b10;
}
.text-center { text-align: center; }

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #222;
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -2px 18px #2222;
  padding: 22px 8vw 22px 8vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  z-index: 2000;
  font-size: 1rem;
  justify-content: space-between;
  transition: transform .35s cubic-bezier(.57,.07,.38,1.02), opacity .24s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  flex: 2 1 160px;
  color: #3B5070;
}
.cookie-banner-actions {
  flex: 1 1 180px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-banner-button {
  background: var(--color-accent);
  border: none;
  color: #222;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 26px;
  padding: 10px 26px;
  margin-right: 4px;
  font-weight: 600;
  box-shadow: 0 1.5px 7px #f6b93b19;
  transition: background 0.19s, color 0.13s;
}
.cookie-banner-button:focus {
  outline: 2.5px solid var(--color-primary);
}
.cookie-banner-button.settings {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-banner-button.settings:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-banner-button.reject {
  background: #F4F7FB;
  color: #222;
  border: 2px solid var(--color-border);
}
.cookie-banner-button.reject:hover {
  background: #ece7d3;
}
@media (max-width:650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px 18px 17px;
    gap: 13px;
    font-size: .96rem;
  }
  .cookie-banner-actions {
    flex: unset;
    width: 100%;
    gap: 11px;
    padding-top: 7px;
  }
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38, 84, 115, 0.23);
  z-index: 3001;
  justify-content: center;
  align-items: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 6px 36px #2222;
  padding: 32px 28px 22px 32px;
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: modalIn .39s cubic-bezier(.59,-0.01,.56,1.04);
}
@keyframes modalIn {
  0% { transform: translateY(70px) scale(.95); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-content h2 {
  color: var(--color-primary);
  margin-bottom: 12px;
  font-size: 1.33rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category.disabled {
  opacity: 0.67;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 22px;
  background: #ebdfbe;
  border-radius: 20px;
  position: relative;
  outline: none;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-accent);
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #f4d19e;
  transition: left 0.16s;
}
.cookie-toggle:checked:before {
  left: 25px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #222;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal-close:hover { color: var(--color-accent); }
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal-actions button {
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
}
.cookie-modal-actions .save {
  background: var(--color-accent);
  color: #222;
}
.cookie-modal-actions .cancel {
  background: #F4F7FB;
  color: #222;
  border: 1px solid #e8e8ea;
}
.cookie-modal-actions .save:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* === RESPONSIVE: GENERAL === */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
  .section { padding: 30px 5px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.13rem; }
  .content-wrapper { gap: 13px; }
  .feature-item { min-width: unset; max-width: unset; padding: 15px 9px 10px 13px; }
}

/* === ANIMATIONS AND MICRO-INTERACTIONS === */
.cta-button, .cta-button:focus {
  transition: background 0.31s, color 0.17s, box-shadow 0.15s, border 0.13s, transform 0.17s;
}
.cta-button:active {
  transform: scale(0.97);
}
.card, .testimonial-card, .feature-item {
  transition: box-shadow .22s, border-color .19s, transform .16s;
}
.card:hover, .testimonial-card:hover, .feature-item:hover {
  transform: translateY(-3px) scale(1.01);
}

/* === ACCESSIBILITY FIXES === */
:focus {
  outline: 2.5px solid var(--color-accent) !important;
  outline-offset: 2px;
}
[aria-label] {
  cursor: pointer;
}

/* === END === */
