/* CSS RESET & BASE TYPOGRAPHY */
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,
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, 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;
}
article, aside, details, figcaption, figure,  
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF;
  color: #28282a;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #5FA1C3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #253157;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

/* ROOT VARIABLES */
:root {
  --primary: #253157;
  --secondary: #5FA1C3;
  --accent: #E6EFF6;
  --warn: #e88c3b;
  --bg: #FFF;
  --bg-alt: #F9FBFC;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --shadow: 0 2px 8px rgba(40,50,70,0.09);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 6px;
}

/* BASE TYPO */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
}
h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
p, li, dd, blockquote, cite, span {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #403c44;
}
small {
  font-size: 0.91em;
}

/* ============ HEADER ============ */
header {
  background: var(--bg);
  box-shadow: var(--shadow);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--primary);
  padding: 18px 16px 18px 20px;
  border-bottom-left-radius: var(--radius-md);
  background: var(--bg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 20px;
}
.main-nav a {
  font-family: var(--font-body);
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.cta-btn {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  padding: 12px 30px;
  background: var(--secondary);
  color: #FFF !important;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(98,136,176,0.12);
  margin-left: auto;
  margin-right: 16px;
  margin-top: 0;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 2px 16px 0 rgba(40,100,160,0.16);
  transform: translateY(-2px) scale(1.03);
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  height: 68px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  margin-left: 20px;
  padding: 8px 12px 8px 8px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 350px;
  height: 100vh;
  background: #FFF;
  box-shadow: -3px 0 32px 0 rgba(45,65,110,0.13);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.83, .02, .17, .97);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  padding: 16px 22px 8px 8px;
  margin-right: 6px;
  cursor: pointer;
  opacity: 0.92;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 0 24px;
  gap: 0;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: var(--font-body);
  padding: 13px 0 13px 2px;
  color: var(--primary);
  border-radius: var(--radius-sm);
  background: none;
  margin: 0;
  width: 92%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 13px;
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  header {
    flex-wrap: wrap;
    padding: 0 0;
    height: auto;
    min-height: 65px;
    gap: 6px;
  }
  .cta-btn {
    margin-left: 0;
    margin-right: 8px;
    font-size: 1em;
  }
}
@media (max-width: 830px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-top: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============ LAYOUT & SECTIONS ============ */
main {
  width: 100%;
  margin: 0 auto;
  min-height: 65vh;
  background: var(--bg-alt);
  padding-top: 12px;
  padding-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero {
  background: var(--accent);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 56px 18px 38px;
  margin-bottom: 50px;
  box-shadow: 0 4px 24px 0 rgba(92,158,175,0.10);
}
.hero p {
  font-size: 1.17rem;
  margin-bottom: 28px;
  color: #3e4d55;
  font-family: var(--font-body);
}
.hero .cta-btn {
  margin-top: 13px;
  font-size: 1.1rem;
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: 2rem;
  }
  section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
}

/* ============ FEATURE & CARD PATTERNS ============ */
.features {
  background: var(--bg-alt);
  box-shadow: none;
}
.feature-grid, .service-cards, .team-member-cards, .key-advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature-grid > div, .service-cards > div, .team-member-cards > div, .key-advantages > div {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 30px 20px 26px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.14s, transform 0.17s;
}
.feature-grid > div:hover, .service-cards > div:hover, .team-member-cards > div:hover {
  box-shadow: 0 6px 24px 0 rgba(119,143,180,.15);
  transform: translateY(-3px) scale(1.02);
}
.service-cards {
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.service-price {
  margin-top: 8px;
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05em;
}

@media (max-width: 900px) {
  .feature-grid, .service-cards, .team-member-cards, .key-advantages {
    flex-direction: column;
    gap: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 26px 22px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 6px 26px 0 rgba(119,143,180,.12);
  transform: translateY(-2px) 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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--accent);
  box-shadow: 0 3px 18px 0 rgba(60,80,130,0.07);
  border-radius: var(--radius-lg);
  padding: 42px 20px;
  margin-bottom: 60px;
}
.testimonials blockquote {
  background: #fff;
  color: #293049;
  font-size: 1.14rem;
  font-style: italic;
  border-left: 5px solid var(--secondary);
  border-radius: var(--radius-md);
  margin: 0 0 22px 0;
  padding: 22px 24px 20px 22px;
  box-shadow: 0 2px 10px 0 rgba(60,100,130,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonials blockquote cite {
  color: var(--primary);
  font-family: var(--font-display);
  margin-top: 6px;
  font-size: 1em;
  font-style: normal;
  font-weight: 500;
}
.testimonials blockquote:last-child {
  margin-bottom: 0;
}

/* Extra readable for testimonial cards used elsewhere */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--primary);
  margin-bottom: 20px;
}
.testimonial-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--secondary);
  font-family: var(--font-display);
}

/* ============ LISTS & TABLES ============ */
.values-list, .skills-list, .benefit-list, .value-points, .next-steps ul {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.07rem;
  font-family: var(--font-body);
  padding-left: 24px;
  list-style: disc outside;
}
.values-list li, .skills-list li, .benefit-list li, .value-points li, .next-steps ul li {
  margin-bottom: 8px;
}
.service-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 16px;
}
.service-list li {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 25px 16px 19px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-list span {
  font-family: var(--font-display);
  font-size: 1.03em;
  background: var(--accent);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
  align-self: flex-start;
}
.service-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.service-table th, .service-table td {
  font-family: var(--font-body);
  padding: 15px 14px;
  text-align: left;
  border-bottom: 1px solid #eceeef;
}
.service-table th {
  color: var(--primary);
  background: var(--accent);
  font-weight: bold;
  font-size: 1.07em;
}
.service-table tr:last-child td {
  border-bottom: none;
}

/* ============ CONTACT & FORMS ============ */
.contact-details, .contact-info, .contact-form-section div, .contact-info > div {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
}
.contact-details > div, .contact-info > div, .contact-info > a {
  min-width: 180px;
  font-size: 1em;
}
.contact-form-section {
  margin-bottom: 30px;
}
.contact-form-section form {
  margin-top: 18px;
}
.contact-form-section label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-display);
}
.contact-form-section input, .contact-form-section textarea {
  display: block;
  background: var(--accent);
  font-family: var(--font-body);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.01em;
  margin-bottom: 22px;
  padding: 12px 15px;
  width: 100%;
  box-shadow: 0 1px 4px rgba(110,130,160,0.10);
  outline: none;
  transition: box-shadow 0.18s;
}
.contact-form-section input:focus,
.contact-form-section textarea:focus {
  box-shadow: 0 0 0 2px var(--secondary);
}

/* ============ CTA CARD ============ */
.cta {
  background: var(--secondary);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 50px 20px 32px;
  margin-bottom: 0;
  box-shadow: 0 4px 20px 0 rgba(70,120,160,0.11);
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-btn {
  background: #fff;
  color: var(--secondary) !important;
  font-weight: 700;
  margin-top: 18px;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: var(--primary);
  color: #fff !important;
}

/* ============ LEGAL/INFO SECTIONS ============ */
.legal {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 40px 20px;
}
.legal h1 {
  margin-bottom: 22px;
  font-size: 2.3rem;
}
.legal h2 {
  margin-top: 24px;
  font-size: 1.35rem;
  color: var(--primary);
}
.legal ul {
  margin-left: 1.5em;
  margin-bottom: 14px;
}

/* ============ FOOTER ============ */
footer {
  width: 100%;
  background: var(--primary);
  box-shadow: 0 -2px 16px 0 rgba(38,49,87,0.07);
  color: #fff;
  padding: 30px 18px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  font-family: var(--font-body);
  margin-top: 60px;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 3px;
  justify-content: center;
}
.footer-menu a {
  color: #fff;
  font-weight: 500;
  font-size: 1em;
  opacity: 0.92;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.14s, color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #fff;
  color: var(--secondary);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.13rem;
  opacity: 0.93;
}
.footer-brand svg {
  margin-right: 8px;
}
.footer-legal {
  color: #fff;
  font-size: 0.98em;
  opacity: 0.82;
  margin-bottom: 3px;
}

/* ============ MEDIA QUERIES: MOBILE RESPONSIVE ============ */
@media (max-width: 580px) {
  main {
    padding-bottom: 22px;
  }
  .hero {
    padding: 38px 3vw 22px;
  }
  section {
    padding: 17px 4vw;
  }
  .cta {
    padding: 36px 4vw 16px;
  }
  footer {
    padding: 18px 2vw 6px 3vw;
    gap: 17px;
    font-size: 0.97em;
  }
  .feature-grid > div, .service-cards > div, .team-member-cards > div {
    padding: 20px 8vw 17px 7vw;
    min-width: 0;
  }
}

/* ============ FAQ STYLES ============ */
.faq dl {
  width: 100%;
  margin: 24px 0 10px 0;
  padding: 0;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq dt {
  font-weight: 600;
  color: var(--primary);
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.04rem;
}
.faq dd {
  margin-left: 0;
  margin-bottom: 16px;
  color: #383f54;
}

/* ============ TABLET + DESKTOP: LARGER CONTENT ============ */
@media (min-width: 1200px) {
  main {
    max-width: 950px;
    margin: 0 auto;
  }
  .hero, section, .cta {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff9f3;
  border-top: 2px solid var(--accent);
  color: #45413E;
  box-shadow: 0 -2px 16px 0 rgba(44,33,10,0.10);
  padding: 26px 18px 19px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  z-index: 2999;
  font-family: var(--font-body);
  font-size: 1rem;
  animation: cookie-slideup 0.6s cubic-bezier(0.2,1,0.4,1);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}
@keyframes cookie-slideup {
  0% { transform: translateY(150px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  flex: 1 1 60%;
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 8px 22px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 1em;
  transition: background 0.13s, box-shadow 0.13s;
  box-shadow: 0 1px 7px 0 rgba(95,161,195,0.11);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(46,61,97,0.13);
}
.cookie-btn.cookie-settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: 0.97em;
    padding: 20px 7px 15px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3999;
  background: rgba(30,30,30,0.44);
}
.cookie-modal-overlay.open {
  display: block;
  animation: fadein 0.18s;
}
@keyframes fadein { from {opacity:0} to {opacity:1} }
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -54%);
  z-index: 4000;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 32px 0 rgba(37,49,87,0.12);
  max-width: 410px;
  width: 92vw;
  padding: 30px 22px 18px;
  animation: popup-scalein 0.28s;
}
@keyframes popup-scalein { 0% { transform: scale(0.7) translate(-50%,-60%); opacity:0 } 100%{transform:translate(-50%,-54%) scale(1); opacity:1;} }
.cookie-modal h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-sm);
  background: var(--accent);
  padding: 13px 15px 12px;
  margin-bottom: 13px;
  font-size: 1em;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 38px;
  height: 23px;
  background: #ECECEC;
  border-radius: 16px;
  position: relative;
  outline: none;
  box-shadow: 0 1px 7px 0 rgba(190,190,190,0.12);
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .cookie-switch:checked {
  background: var(--secondary);
}
.cookie-modal .cookie-switch::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-modal .cookie-switch:checked::after {
  transform: translateX(15px);
}
.cookie-modal-category.essential {
  opacity: 0.65;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal-close {
  position: absolute;
  right: 13px;
  top: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
  opacity: 0.72;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--primary);
  opacity: 1;
}

/* ============ INTERACTIVE MICRO-EFFECTS ============ */
button, .cta-btn, .cookie-btn {
  transition: background 0.14s, color 0.14s, box-shadow 0.16s, transform 0.16s;
}
input, textarea, select {
  transition: box-shadow 0.13s;
}
input:focus, textarea:focus {
  box-shadow: 0 0 0 2px var(--secondary);
}

/* =========== SCROLLBAR & SELECTION =========== */
::selection {
  background: var(--secondary); color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  background: #eceff3;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
}

/* End of style.css */
