/* =========================================
   CSS RESET AND NORMALIZE (Mobile First)
========================================= */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F7F7FA;
  color: #17365D;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #17365D;
  text-decoration: none;
  transition: color 0.18s;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
strong, b {
  font-weight: 700;
}
button {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

/* ===============================
   TYPOGRAPHY & HEADING HIERARCHY
   (Montserrat for display)
=============================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  color: #17365D;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
p {
  margin-bottom: 16px;
}

/* ===============================
   STRUCTURE & CONTAINER
=============================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* ===================================
   GEOMETRIC/STRUCTURED SECTION LAYOUTS
==================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(23,54,93,0.07);
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
}

/* ===================================
   HEADER & NAVIGATION (GEOMETRIC STYLE)
==================================== */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(23,54,93,0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 10px;  
  padding-bottom: 10px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.015em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .22s, border-bottom .24s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E8A735;
  border-bottom: 2px solid #E8A735;
}
.cta-btn {
  padding: 10px 24px;
  background: #17365D;
  color: #fff;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
  margin-left: 18px;
  box-shadow: 0 2px 8px 0 rgba(23,54,93,0.09);
  transition: background .18s, color .18s, box-shadow .18s;
  border: 2.5px solid #E8A735;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #E8A735;
  color: #17365D;
  box-shadow: 0 4px 18px 0 rgba(232,167,53,0.08);
}

/* --- Responsive Nav: Hide on mobile --- */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #17365D;
  font-size: 2rem;
  padding: 7px 10px;
  border-radius: 50%;
  border: 2px solid #E8A735;
  margin-left: 20px;
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #E8A735;
  color: #fff;
}
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 10px;
  }
}

/* --- MOBILE MENU (slide-in) --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 140;
  background: #17365D;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-105vw);
  transition: transform .33s cubic-bezier(.77,0,.175,1);
  box-shadow: 8px 0 36px 0 rgba(23,54,93,0.15);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 34px;
  color: #E8A735;
  border: 2px solid #E8A735;
  background: transparent;
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 8px 12px 10px 13px;
  line-height: 1;
  z-index: 160;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E8A735;
  color: #17365D;
}
.mobile-nav {
  margin-top: 65px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #fff;
  padding: 12px 0;
  border-bottom: 2.5px solid transparent;
  transition: color .18s, border-bottom .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E8A735;
  border-bottom: 2.5px solid #E8A735;
}

/* ==============================
   HERO SECTION
============================== */
.hero {
  background: linear-gradient(101deg, #F7F7FA 49%, #E8A735 140%);
  border-radius: 0 0 46px 0;
  padding: 0 0 50px 0;
}
.hero .container {
  min-height: 420px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  max-width: 600px;
  margin-left: 0;
  margin-top: 65px;
  gap: 22px;
}
.hero h1 {
  color: #17365D;
  font-size: 2.8rem;
  letter-spacing: 0.045em;
}
.hero p {
  color: #17365D;
  font-size: 1.18rem;
  margin-bottom: 20px;
}
.hero .cta-btn {
  background: #E8A735;
  color: #17365D;
  border: 3px solid #17365D;
}
.hero .cta-btn:hover {
  background: #17365D;
  color: #fff;
  border-color: #E8A735;
}
@media (max-width: 900px) {
  .hero .container {
    min-height: 300px;
  }
  .hero .content-wrapper {
    margin-top: 36px;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 18px 0;
    padding-bottom: 20px;
  }
  .hero .container {
    min-height: 170px;
    padding: 0 5px;
  }
  .hero h1 {
    font-size: 1.43rem;
  }
}

/* ==============================
   FEATURED / SERVICE / TEAM CARDS
============================== */
.service-cards, .team-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card, .team-member, .service-block, .case-study, .card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 14px rgba(23,54,93,0.13);
  padding: 30px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .15s, transform .16s;
  position: relative;
  min-width: 220px;
  min-height: 200px;
}
.service-card:hover, .team-member:hover, .service-block:hover, .card:hover {
  box-shadow: 0 4px 32px 2px rgba(23,54,93,0.14);
  transform: translateY(-5px) scale(1.02);
}
.service-card img, .service-block img, .team-member img {
  width: 43px;
  height: 43px;
  margin-bottom: 16px;
}
.service-card h3, .service-block h2, .team-member h3 {
  font-size: 1.16rem;
  font-weight: 700;
  color: #17365D;
  letter-spacing: 0.015em;
  margin-bottom: 10px;
}
.service-card p, .service-block p, .team-member p {
  font-size: 1rem;
  margin-bottom: 11px;
}
.service-card span, .service-block span {
  display: inline-block;
  background: #E8A735;
  color: #17365D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 6px 13px;
  border-radius: 11px;
  margin-top: 8px;
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .service-cards, .team-grid, .card-container, .content-grid {
    gap: 15px;
  }
  .service-card, .team-member, .service-block {
    min-width: 160px;
    padding: 16px 12px;
    font-size: 0.92rem;
  }
}
@media (max-width: 600px) {
  .service-cards, .team-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 10px;
  }
  .service-card, .team-member, .service-block {
    min-width: 0;
    padding: 13px 7px 14px 10px;
  }
}

/* ========================
   CTA BANNER SECTION
======================== */
.cta-banner {
  background: #17365D;
  color: #fff;
  border-radius: 38px 0 34px 0;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
}
.cta-banner p {
  color: #fff;
}
.cta-banner .cta-btn {
  background: #E8A735;
  color: #17365D;
  border: 2.5px solid #fff;
  margin-top: 18px;
}
.cta-banner .cta-btn:hover {
  background: #fff;
  color: #17365D;
}
@media (max-width: 768px) {
  .cta-banner {
    border-radius: 15px 0 12px 0;
    padding: 22px 10px;
    margin-bottom: 28px;
  }
}

/* ============================
   TESTIMONIALS & REVIEW CARDS
============================ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #F7F7FA;
  border: 2.2px solid #E8A735;
  box-shadow: 0 1.5px 9px rgba(23,54,93,0.09);
  border-radius: 21px;
  margin-bottom: 20px;
  color: #17365D;
  max-width: 520px;
}
.testimonial-card p {
  font-size: 1.17rem;
  color: #17365D;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #17365D;
}
.testimonial-card div {
  font-size: 1.4rem;
  color: #E8A735;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 12px 8px;
    max-width: 100%;
    border-radius: 11px;
  }
  .testimonial-card p {
    font-size: 0.97rem;
  }
}

.client-logos {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 12px;
}
.client-logos img {
  max-width: 83px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(23,54,93,0.08);
  padding: 7px;
}

/* ===========================
   FAQ / ACCORDION / TIMELINE
=========================== */
.faq-accordion h3 {
  font-size: 1.1rem;
  color: #17365D;
  cursor: pointer;
  background: #F7F7FA;
  border-radius: 10px;
  padding: 9px 16px;
  margin-bottom: 7px;
  position: relative;
  border-left: 3.5px solid #E8A735;
  transition: background .17s;
}
.faq-accordion h3:hover { background: #E8A73522; }
.faq-accordion p {
  padding: 5px 17px 13px 30px;
  background: none;
  margin-bottom: 12px;
}
.timeline ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.timeline ul li {
  font-size: 1rem;
  border-left: 3.5px solid #E8A735;
  padding-left: 18px;
  margin-bottom: 4px;
  background: #fff;
  border-radius: 6px;
}

/* =========================
   LEGAL & INFO BLOCKS
========================= */
.legal-content {
  background: #fff;
  padding: 24px 18px;
  border-radius: 13px;
  border: 1.4px solid #E8A73533;
  box-shadow: 0 1.5px 10px rgba(23, 54, 93, 0.07);
}
.legal-content > h2 {
  color: #17365D;
  font-size: 1.25rem;
  margin-top: 18px;
}

/* =============
   BUTTON LINK
============== */
.cta-link {
  color: #E8A735;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.08rem;
  margin-top: 28px;
  letter-spacing: 0.01em;
  transition: color .18s;
}
.cta-link:hover, .cta-link:focus {
  color: #17365D;
}

/* =======================
   FOOTER DESIGN
======================== */
footer {
  background: #17365D;
  color: #fff;
  padding: 36px 0 18px 0;
  border-radius: 44px 0 0 0;
  box-shadow: 0 -2px 12px 0 rgba(23,54,93,0.08);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 34px;
  margin-bottom: 13px;
}
.footer-nav a {
  color: #E8A735;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-info {
  font-size: 0.94rem;
  color: #F7F7FA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  letter-spacing: 0.012em;
}
@media (max-width: 700px) {
  footer {
    border-radius: 17px 0 0 0;
    padding: 17px 0 5px 0;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
  }
  .footer-info {
    font-size: 0.83rem;
  }
}

/* =============================
   CARD LAYOUT/FEATURES/TEXT-IMAGE
============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
   CONTACT, MAP, SUPPORT
======================== */
.contact-details,
.address-map {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 10px rgba(23,54,93,0.05);
  padding: 17px 18px 10px 20px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.address-map img {
  width: 82px;
  height: auto;
  float: left;
  margin-right: 18px;
  border-radius: 14px;
}
.address-map:after {
  content: '';
  display: block;
  clear: both;
}
.trust-signals ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.trust-signals li {
  font-size: 0.99rem;
  color: #17365D;
}
.support-links ul {
  gap: 12px;
  margin-top: 6px;
}
.support-links a {
  text-decoration: underline;
  color: #E8A735;
  font-weight: 600;
  font-size: 1.01rem;
}
.support-links a:hover { color: #17365D; }

/* ===================
   MISC BLOCKS
=================== */
.certifications, .experiencia {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-top: 6px;
  color: #17365D;
  background: #F7F7FA;
  border-radius: 8px;
  padding: 8px 16px;
}
.experiencia ul { gap: 7px; }

.case-study {
  border-left: 4px solid #E8A735;
  padding-left: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 10px rgba(23,54,93,0.07);
  margin-bottom: 18px;
}

/* =========================
   COOKIE CONSENT BANNER
========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #17365D;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 32px;
  font-size: 1.01rem;
  box-shadow: 0 -6px 32px rgba(23,54,93,0.18);
  border-radius: 20px 20px 0 0;
  animation: cookiefadein .4s cubic-bezier(.37,1.01,.46,.82);
}
@keyframes cookiefadein {
  0% { transform: translateY(70px); opacity: 0;} 
  100% { transform: none; opacity: 1;}
}
.cookie-banner .cookie-btn {
  margin-left: 7px;
  padding: 9px 18px;
  border-radius: 33px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  background: #E8A735;
  color: #17365D;
  box-shadow: 0 1.5px 14px rgba(255,255,255,0.04);
  transition: background .19s, color .19s, box-shadow .15s;
  cursor: pointer;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #17365D;
  border: 2px solid #E8A735;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #17365D;
  color: #E8A735;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #E8A735;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(23,54,93,0.87);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalfadein .32s cubic-bezier(.44,0,.45,1);
}
@keyframes modalfadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #17365D;
  border-radius: 18px;
  max-width: 440px;
  width: 90vw;
  padding: 34px 28px 28px 28px;
  box-shadow: 0 4px 28px 0 rgba(23,54,93,0.13);
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: #17365D;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0 9px 0;
  font-size: 1.03rem;
}
.cookie-modal label {
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #E8A735;
  width: 1.2em;
  height: 1.2em;
}
.cookie-modal .modal-cta-row {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin-left: 0;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 22px;
  background: transparent;
  color: #17365D;
  font-weight: bold;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal .close-modal:hover {
  color: #E8A735;
}

/* COOKIE MODAL: always enabled for Essential */
.cookie-modal .always-enabled {
  opacity: 0.55;
  pointer-events: none;
}

@media(max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 12px;
    font-size: 0.93rem;
  }
  .cookie-modal {
    max-width: 98vw;
    padding: 17px 7px 16px 12px;
  }
}

/* ===================
   MEDIA QUERIES
=================== */
@media (max-width: 1050px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1.04rem; }
  h3, h4 { font-size: 0.99rem; }
}

/* ===================
   UTILITY CLASSES
=================== */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mt-32 { margin-top: 32px; }
.mb-28 { margin-bottom: 28px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.r0 { border-radius: 0 !important; }

/* ==============================
   MICRO-INTERACTIONS & EFFECTS
============================== */
.card, .service-card, .service-block, .team-member, .testimonial-card {
  transition: box-shadow .17s, transform .18s;
}
.card:hover, .service-card:hover, .team-member:hover {
  box-shadow: 0 10px 32px 0 rgba(23,54,93,0.16);
  transform: translateY(-7px) scale(1.03);
}
a, button, .cta-btn, .cta-link, .footer-nav a, .main-nav a, .mobile-menu-toggle, .mobile-menu-close {
  transition: color .16s, background .16s, box-shadow .13s, border .14s;
}

::selection {
  background: #E8A735;
  color: #17365D;
}

/* END */
