/* 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, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
footer span {color: white !important;}
html { box-sizing: border-box; font-size: 16px; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  font-family: 'Roboto', Georgia, Times, 'Times New Roman', serif;
  font-size: 16px;
  background: #FAFAFA;
  color: #26323C;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: #1D3A53; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
strong { font-weight: 600; }
hr { border: none; border-top: 1px solid #E8ECEF; margin: 32px 0; }

/* FONT IMPORTS (ensure in HTML, this is a fallback) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400italic,500,700&display=swap');

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1D3A53;
  line-height: 1.13;
  letter-spacing: 0.07em;
}
h2 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 18px;
  color: #26323C;
  letter-spacing: 0.05em;
}
h3 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #1D3A53;
}
h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #26323C;
  font-weight: 500;
}
p, li, span, label, input, textarea {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  color: #26323C;
  margin-bottom: 8px;
}

/* GENERAL CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

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

/* BUTTONS */
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1D3A53;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s;
  box-shadow: 0 2px 16px rgba(29,58,83,0.07);
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
}
.cta-btn:hover, button:hover, .mobile-menu-toggle:hover, .mobile-menu-close:hover {
  background: #F2A922;
  color: #26323C;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px 0 rgba(29,58,83,0.13);
}
.cta-btn:focus, button:focus {
  outline: 2px solid #F2A922;
  outline-offset: 2px;
}

/* HEADER */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E8ECEF;
  position: relative;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
header img { height: 42px; }
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  color: #26323C;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #F2A922;
  border-bottom: 2px solid #F2A922;
}
header .cta-btn {
  margin-left: 12px;
  padding: 10px 28px;
  font-size: 1rem;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: none;
  color: #1D3A53;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  cursor: pointer;
  display: none;
  z-index: 102;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus { outline: 2px solid #F2A922; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(232,236,239,0.97);
  box-shadow: 0 8px 36px rgba(29,58,83,0.17);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.73,.03,.33,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 32px 32px 32px;
  z-index: 101;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #1D3A53;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-bottom: 12px;
  transition: color 0.2s;
  z-index: 104;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  color: #1D3A53;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid #E8ECEF;
  transition: color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F2A922;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 22px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
    font-size: 0.97rem;
  }
  header img { height: 36px; }
}
@media (max-width: 768px) {
  header .container { flex-direction: row; }
  .main-nav, header .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}

/* HERO */
.hero {
  background: #fff;
  border-bottom: 1px solid #E8ECEF;
  padding: 40px 0 32px 0;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.hero .content-wrapper {
  max-width: 700px;
}
.hero p {
  font-size: 1.15rem;
  color: #485564;
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 6px;
}

/* SECTION LAYOUT PATTERNS (MANDATORY) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 14px rgba(29,58,83,0.082);
  padding: 32px 24px;
  min-width: 240px;
  max-width: 400px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover { box-shadow: 0 4px 32px rgba(29,58,83,0.14); transform: translateY(-3px) scale(1.01); }
.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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9F7F3;
  border-radius: 16px;
  border: 1px solid #E8ECEF;
  box-shadow: 0 1px 12px 0 rgba(29,58,83,0.07);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 760px;
  color: #212121;
}
.testimonial-card p {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.07rem;
  font-style: italic;
  color: #1D3A53;
}
.testimonial-card span {
  font-family: 'Roboto', serif;
  font-size: 1rem;
  color: #485564;
  margin-left: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.section, .hero, .features, .services, .about, .testimonials, .contact, .cta, .legal, .thank-you {
  margin-bottom: 60px;
  padding: 40px 0;
}
.features, .services, .about, .testimonials, .contact, .cta, .legal, .thank-you {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 16px rgba(29,58,83,0.03);
}

.features ul, .features ol {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.features ul li, .features ol li {
  background: #F3F4F6;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(29,58,83,0.06);
  padding: 24px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 0; /* Handled by gap on parent */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 1.01rem;
  color: #2d3e4e;
  border: 1px solid #E8ECEF;
}
.features ul li img, .features ol li img {
  height: 40px; width: 40px; margin-bottom: 10px;
}

/* SERVICES/OFERTA */
.service-list, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.service-list li, .service-list > div {
  background: #FFF;
  border: 1px solid #E8ECEF;
  border-radius: 16px;
  flex: 1 1 300px;
  min-width: 220px;
  max-width: 360px;
  margin-bottom: 0;
  box-shadow: 0 2px 14px 0 rgba(29,58,83,0.04);
  padding: 30px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.25s, border-color 0.16s, transform 0.16s;
}
.service-list li:hover, .service-list > div:hover {
  border-color: #F2A922;
  box-shadow: 0 4px 24px rgba(29,58,83,0.11);
  transform: translateY(-2px) scale(1.01);
}
.price {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.15rem;
  color: #F2A922;
  font-weight: 600;
  margin: 10px 0 6px 0;
}

/***** CTA Section *****/
.cta {
  background: #F9F7F3;
  border: 1px solid #E8ECEF;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(232,236,239,0.07);
  padding: 40px 0;
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}
.cta-btn {
  font-size: 1.08rem;
  background: #1D3A53;
  color: #FFF;
  margin-top: 12px;
  padding: 13px 36px;
}
.cta-btn:hover {
  background: #F2A922;
  color: #26323C;
}

/***** ABOUT/TEAM Section *****/
.team-profiles {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
}
.team-profiles li {
  font-size: 1.01rem;
  color: #1D3A53;
  background: #F7F9FB;
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 0;
  font-family: 'Montserrat', serif;
}

/***** CONTACT Section *****/
.contact-list, .quick-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}
.contact-list li, .quick-contacts li {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #F3F4F6;
  border-radius: 11px;
  padding: 11px 18px;
  font-size: 1rem;
  color: #2d3e4e;
}
.business-hours {
  font-size: 0.97rem;
  color: #485564;
  margin: 12px 0 10px 0;
}
.quick-facts ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.quick-facts li {
  background: #fffbe4;
  color: #7a6412;
  font-size: 1rem;
  padding: 7px 16px;
  border-radius: 9px;
  font-family: 'Montserrat', serif;
  margin-bottom: 0;
}
.contact-info-brief {
  margin-top: 22px;
  font-size: 1rem;
  color: #26323C;
}

/******* FOOTER *******/
footer {
  background: #1D3A53;
  color: #fff;
  padding: 44px 0 24px 0;
  border-top: 4px solid #F2A922;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1220px;
}
.footer-brand img {
  height: 46px;
  margin-bottom: 18px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a, .footer-legal a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  margin-bottom: 0;
  opacity: 0.82;
  transition: color 0.19s, opacity 0.19s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #F2A922;
  opacity: 1;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin: 18px 0;
}
.footer-social a img { height: 26px; transition: filter 0.18s; }
.footer-social a:hover img {
  filter: brightness(1.33) saturate(1.12);
}
.footer-contact {
  color: #E8ECEF;
  font-size: 0.95rem;
  max-width: 250px;
  line-height: 1.7;
  margin-bottom: 9px;
  font-family: 'Roboto',serif;
}
.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  color: #b3c2d4;
  font-size: 0.91rem;
  font-family: 'Roboto', serif;
}

/****** LEGAL PAGES Section *****/
.legal, .thank-you {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 16px rgba(29,58,83,0.06);
  padding: 40px 0 40px 0;
}
.legal .content-wrapper,
.thank-you .content-wrapper {
  max-width: 820px; margin: 0 auto; gap: 24px;
}
.legal h1, .thank-you h1 { color: #1D3A53; font-weight: 600; }

/**** Blog callout ***/
.callout-popular-articles {
  background: #fffbe4;
  border-radius: 12px;
  padding: 14px 22px;
  color: #654d0f;
  margin-top: 16px;
  font-family: 'Montserrat',serif;
  font-size: 1.01rem;
  border: 1px solid #fbe69d;
}
/* FAQ OR ARTICLE SECTIONS */

/* Animations */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes slideInRight {
  from { transform: translateX(100vw); opacity:0; }
  to   { transform: translateX(0); opacity:1; }
}
@keyframes slideDown {
  from {transform: translateY(120%); opacity:0; }
  to   {transform: translateY(0); opacity:1; }
}

/**** RESPONSIVE & FLEX DIRECTION CHANGES ****/
@media (max-width: 1024px) {
  .container { max-width: 96vw; padding: 0 14px; }
  .footer-brand img { height: 34px; }
}
@media (max-width: 900px) {
  .features ul, .features ol, .service-list, .benefits-grid {
    gap: 15px;
  }
  footer .container { gap: 18px; }
}
@media (max-width: 768px) {
  .container {max-width: 99vw; padding: 0 8px; }
  .section, .hero, .features, .services, .about, .testimonials, .contact, .cta, .legal, .thank-you {
    padding: 26px 2px;
    margin-bottom: 38px;
  }
  .features ul, .features ol, .service-list, .benefits-grid, .card-container, .content-grid, .quick-contacts, .contact-list, .team-profiles {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    max-width: 97vw;
  }
  .main-nav, header .cta-btn { display: none !important; }
  .footer-nav, .footer-legal, .footer-social {
    flex-direction: column;
    gap: 8px;
  }
  .card, .features ul li, .features ol li, .service-list li, .service-list > div {
    max-width: 98vw;
    min-width: 0;
    padding: 16px 12px 15px 15px;
  }
  .footer-contact {max-width: none;}
  .hero h1 {font-size: 2rem;}
}
@media (max-width: 520px) {
  header img {
    height: 26px;
  }
  .hero h1 {
    font-size: 1.3rem;
  }
  h2 { font-size: 1.2rem;}
}

/**** HOVER/FOCUS MICRO-INTERACTIONS ****/
.card, .features ul li, .features ol li, .service-list li, .service-list > div {
  transition: box-shadow 0.24s, border-color 0.22s, transform 0.20s;
}
.card:focus-within, .features ul li:focus-within, .service-list li:focus-within {
  border-color: #F2A922;
  box-shadow: 0 4px 24px rgba(242,169,34,0.08);
}

/**** TABLES, FORMS (if any), MISC ****/
table { border-collapse: collapse; margin-top:24px; }
th, td { padding:10px 18px; border-bottom:1px solid #E8ECEF; }

input[type="text"], input[type="email"], textarea {
  border: 1px solid #E8ECEF;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Roboto', serif;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 16px;
  transition: border-color 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #F2A922;
  outline: none;
}
label {
  margin-bottom: 7px;
  font-size: 1rem;
  color: #26323C;
  font-weight: 500;
  font-family: 'Montserrat', serif;
}

/***** COOKIE BANNER *****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #F2A922;
  box-shadow: 0 -2px 16px 0 rgba(29,58,83,0.14);
  z-index: 500;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  padding: 24px 28px;
  gap: 28px;
  animation: fadeInUp 0.4s ease;
}
.cookie-banner p {
  color: #1D3A53;
  font-family: 'Roboto', serif;
  font-size: 1rem;
  margin: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  padding: 8px 18px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  background: #E8ECEF;
  color: #1D3A53;
  border: none;
  font-weight: 600;
  margin: 0;
  transition: background 0.14s, color 0.18s;
}
.cookie-banner button.accept {
  background: #1D3A53;
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: #F2A922;
  color: #26323C;
}
.cookie-banner button.reject {
  background: #fffbe4;
  color: #7a6412;
}
.cookie-banner button.reject:hover {
  background: #fdeeb4;
}
.cookie-banner button.settings {
  background: #E8ECEF;
  color: #1D3A53;
}
.cookie-banner button.settings:hover {
  background: #ddd;
  color: #F2A922;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 8px;
    gap: 20px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 11px;
    align-items: stretch;
  }
}

/***** COOKIE MODAL *****/
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(29,58,83,0.16);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.3s;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 42px 0 rgba(29,58,83,0.15);
  padding: 36px 28px 24px 28px;
  max-width: 420px;
  min-width: 260px;
  width: 95vw;
  animation: slideDown 0.3s;
  position: relative;
}
.cookie-modal h3 {
  font-family: 'Montserrat',serif;
  font-size: 1.1rem;
  color: #1D3A53;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  font-size: 1rem;
  font-family: 'Roboto',serif;
}
.cookie-modal .cookie-category .toggle {
  width: 32px; height: 18px;
  background: #E8ECEF;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  margin-left: 8px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  display: none;
}
.cookie-modal .cookie-category .slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  background: #1D3A53;
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
}
.cookie-modal .cookie-category input[type="checkbox"]:checked + .slider {
  left: 16px; background: #F2A922;
}
.cookie-modal .cookie-category label {
  color: #1D3A53;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions button {
  border-radius: 17px;
  font-size: 1rem;
  padding: 8px 18px;
  background: #E8ECEF;
  color: #1D3A53;
  border: none;
  font-family: 'Montserrat',serif;
  font-weight: 600;
  transition: background 0.16s, color 0.18s;
}
.cookie-modal .cookie-actions button.save {
  background: #1D3A53;
  color: #fff;
}
.cookie-modal .cookie-actions button.save:hover {
  background: #F2A922;
  color: #26323C;
}
.cookie-modal .cookie-actions button.cancel {
  background: #fffbe4;
  color: #7a6412;
}
.cookie-modal .cookie-actions button.cancel:hover {
  background: #fdeeb4;
}

.cookie-modal .close-modal {
  position: absolute;
  top: 9px;
  right: 12px;
  background: none;
  color: #1D3A53;
  border: none;
  font-size: 1.9rem;
  cursor: pointer;
  z-index: 9;
}

@media (max-width: 440px) {
  .cookie-modal { padding: 16px 4px 12px 8px; }
}

/**** UTILITY FLEX SPACING CLASSES ****/
.mb-0 {margin-bottom: 0 !important;}
.mb-20 {margin-bottom: 20px !important;}
.mt-30 {margin-top: 30px !important;}
.gap-8 {gap: 8px !important;}
.gap-16 {gap: 16px !important;}
.gap-24 {gap: 24px !important;}
.gap-32 {gap: 32px !important;}
.gap-40 {gap: 40px !important;}

/**** ACCESSIBILITY ****/
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* END OF CSS */
