/* ------------------------
   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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F5F0;
  color: #232323;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit;
  background: none; border: none;
  outline: none; color: inherit;
}
table { border-collapse: collapse; width: 100%; }
th, td { padding: 16px 12px; text-align: left; }

/* --------------------------
   VARIABLES & BRAND COLORS
---------------------------*/
:root {
  --color-primary: #274388;
  --color-primary-rgb: 39, 67, 136;
  --color-secondary: #3BD48D;
  --color-accent: #F7F5F0;
  --color-dark: #232323;
  --color-light: #ffffff;
  --color-gold: #CBA862;
  --color-gold-dark: #a48435;
  --shadow: 0 3px 24px rgba(39,67,136,0.075);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 32px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* 
   ---------------------------
   BASE TYPOGRAPHY + LUXURY STYLE
   ---------------------------
*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.12rem; }
h5, h6 { font-size: 1rem; }

p, li, a, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.6;
}
p {
  margin-bottom: 16px;
}
strong { font-weight: 600; }

/* Fine detail: golden underline for .luxury elements */
.luxury-underline {
  border-bottom: 2px solid var(--color-gold);
  display: inline-block;
  padding-bottom: 2px;
}

/* Typography scale responsive adjustments */
@media (max-width: 900px){
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
@media (max-width: 600px){
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.07rem; }
}

/* --------------------------
   HEADER & NAVIGATION
---------------------------*/
header {
  background: var(--color-light);
  box-shadow: 0 2px 8px rgba(39,67,136,0.03);
  position: sticky;
  top: 0; z-index: 30;
}
.container {
  max-width: 1240px; margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex; flex-direction: row;
  align-items: center; justify-content: space-between;
  min-height: 80px;
}
.logo img { height: 38px; margin-right: 14px; }

.main-nav {
  display: flex; flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  letter-spacing: 0.02em;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-gold);
}

.cta-btn {
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: var(--radius);
  padding: 12px 28px;
  margin-left: 20px;
  box-shadow: 0 2px 10px rgba(39,67,136,0.08);
  letter-spacing: 0.03em;
  border: 2px solid var(--color-gold);
  transition: background 0.19s, color 0.19s, box-shadow .17s;
  position: relative;
  display: inline-block;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  box-shadow: 0 1px 40px rgba(203,168,98,.12);
}

/* Mobile Menu - Hamburger */
.mobile-menu-toggle {
  display: none;
  font-size: 2.0rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.18s;
  z-index: 43;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-gold);
  color: var(--color-light);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(39,67,136,0.93);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.43s cubic-bezier(.65,.1,.4,1);
  display: flex;
  align-items: flex-start; justify-content: flex-end;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--color-gold);
  margin: 24px 25px 0 0;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.18s;
  z-index: 99;
}
.mobile-menu-close:focus { color: #fff; }
.mobile-nav {
  background: var(--color-light);
  min-width: 220px;
  max-width: 83vw;
  border-radius: var(--radius) 0 0 var(--radius);
  box-shadow: 0 6px 80px rgba(203,168,98,.13);
  padding: 60px 36px 32px 36px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
  overflow-y: auto;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.13rem;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  transition: color 0.17s, background 0.13s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gold);
  background: #f7f5ed;
  border-radius: var(--radius-sm);
}

@media (max-width: 1050px){
  .container { max-width: 96vw; }
}
@media (max-width: 900px){
  .main-nav { gap: 20px; }
  .cta-btn { padding: 10px 20px; }
}
@media (max-width: 768px){
  .container {
    flex-direction: row;
    min-height: 64px;
    padding-left: 10px; padding-right: 10px;
  }
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
}

/* ------------------------
   MAIN & SECTION LAYOUT
-------------------------*/
main {
  width: 100%;
  padding-top: 36px;
  padding-bottom: 36px;
  min-height: 60vh;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* Card/Container Flex Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid #ece8de;
  transition: box-shadow 0.15s, border-color 0.18s;
}
.card:hover, .card:focus {
  border-color: var(--color-gold);
  box-shadow: 0 6px 32px rgba(203,168,98,0.13);
}

.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: 900px){
  .section, section { padding: 32px 6px; }
  .content-wrapper { padding: 0 6px; }
}
@media (max-width: 768px){
  .section, section { padding: 20px 0px; }
  .content-wrapper { gap: 13px; }
  .text-image-section {
    flex-direction: column; align-items: stretch;
    gap: 18px;
  }
  .card-container, .content-grid { gap: 12px; }
}

/* Icon + text feature pattern */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Luxury list items with icon */
ul > li, .content-wrapper ul > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  padding-left: 0;
}
ul > li img {
  height: 28px; width: 28px; flex-shrink: 0;
  filter: drop-shadow(0 1px 0 #e9e0c8);
}

/* -------------------
   HERO SECTION
--------------------*/
.hero-section {
  background: linear-gradient(160deg, #fff 85%, #faf9f4 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 2px 32px rgba(39,67,136,0.07);
  margin-bottom: 60px;
  padding: 44px 0px 64px 0px;
}
.hero-section h1 {
  color: var(--color-primary);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2.5px 0 #ece5cf;
}
.hero-section p {
  color: var(--color-dark);
  margin-bottom: 24px;
  font-size: 1.18rem;
  max-width: 700px;
}
.hero-section .cta-btn {
  margin-top: 10px;
}
@media (max-width: 900px) {
  .hero-section { padding: 28px 0 50px 0; }
}
@media (max-width: 600px) {
  .hero-section h1 { font-size: 1.5rem; }
  .hero-section p { font-size: 1rem; }
}

/* -------------------
   ABOUT / TEAM / PROFILE
--------------------*/
.profile-brief, .success-message {
  background: #fafafa;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border-left: 6px solid var(--color-gold);
  color: var(--color-dark);
  margin: 18px 0 0 0;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 20px;
}
.team-profile {
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid #ece8de;
}
.team-profile h3 {
  color: var(--color-gold-dark);
  font-family: var(--font-display);
  margin-bottom: 4px;
}
@media (max-width: 950px) {
  .team-members { gap: 15px; }
}
@media (max-width: 650px) {
  .team-members {
    flex-direction: column;
    gap: 18px;
  }
}

/* -------------------
   CTA FINAL/CONTACT
--------------------*/
.cta-final-section, .cta-section, .cta-contact-section {
  background: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: 0 1px 24px rgba(39,67,136,.09);
  color: var(--color-light);
  margin-bottom: 0;
}
.cta-final-section .cta-btn, .cta-section .cta-btn, .cta-contact-section .cta-btn {
  background: var(--color-gold);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius);
  margin-top: 0;
  min-width: 220px;
  box-shadow: 0 2px 24px rgba(203,168,98,0.09);
  font-size: 1.13rem;
}
.cta-final-section .cta-btn:hover, .cta-section .cta-btn:hover, .cta-contact-section .cta-btn:hover {
  background: var(--color-light);
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
}

/* ------------------
   TESTIMONIALS
-------------------*/
.testimonials-section {
  background: #f7f4ef;
  border-radius: var(--radius);
  box-shadow: 0 3px 18px rgba(203,168,98,0.08);
  margin-bottom: 64px;
  padding: 40px 20px 54px 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--color-light);
  color: #242426;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(203,168,98,0.15);
  border-left: 5px solid var(--color-gold);
  position: relative;
  min-width: 0;
  max-width: 640px;
  transition: box-shadow 0.16s, border-color .16s;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #1a1a1a;
  font-family: var(--font-body);
}
.testimonial-card span:last-child {
  color: var(--color-gold-dark);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 36px rgba(203,168,98,0.19);
  border-color: var(--color-primary);
}

@media (max-width: 600px){
 .testimonial-card { padding: 14px 11px; }
}

/* -------------------
   PRICING TABLE
--------------------*/
.pricing-section table {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(39,67,136,0.07);
}
.pricing-section th {
  background: var(--color-primary);
  color: var(--color-light);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-right: 1px solid #e5e0cb;
}
.pricing-section th:last-child { border-right: none; }
.pricing-section td {
  border-top: 1px solid #eae6e0;
  background: #fff;
  color: var(--color-dark);
  font-size: 1rem;
}
.pricing-section tr:nth-child(even) td {
  background: #f8f7f3;
}

/* -------------------
   MODERN CARDS (ex: Results/Overview)
--------------------*/
.results-overview ul > li {
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 1.08rem;
  color: var(--color-primary);
}

/* ------------------
   FOOTER
-------------------*/
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 32px 0 16px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -3px 32px rgba(39,67,136,0.11);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
footer img { height: 36px; }
.footer-nav {
  display: flex; flex-direction: row;
  gap: 30px;
}
.footer-nav a {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: .97rem;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
}
footer p {
  font-size: .96rem;
  color: #ece5cf;
  margin-left: auto;
  margin-right: 0;
}
@media (max-width: 900px){
  footer .container { flex-direction: column; gap: 12px; align-items: center; }
  .footer-nav { gap: 17px; }
  footer p { margin-left: 0; text-align: center; }
}

/* ------------------
   BUTTONS & LINKS
-------------------*/
.cta-link {
  color: var(--color-gold);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.18s;
}
.cta-link:after {
  content: '';
  display: block;
  height: 2.5px; width: 18px;
  background: var(--color-gold);
  border-radius: 2px;
  margin: 6px 0 0 0;
  transition: width .21s cubic-bezier(.75,0,.38,1.11);
}
.cta-link:hover:after { width: 34px; }
.cta-link:hover,
.cta-link:focus { color: var(--color-primary); }

/* General button reset */
button {
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  background: none;
  color: inherit;
  transition: background 0.18s, color 0.19s;
}

/* ------------------
   COOKIE CONSENT BANNER & MODAL
-------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff8e7;
  border-top: 2.5px solid var(--color-gold);
  box-shadow: 0 -3px 48px rgba(203,168,98,.11);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  gap: 24px;
  font-size: 1rem;
  transition: transform .3s cubic-bezier(.61, .01, .5, 1.09), opacity .18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  color: var(--color-dark);
  font-weight: 500;
  margin-bottom: 0;
  flex: 1 1 340px;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  border-radius: var(--radius-sm);
  padding: 9px 21px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  background: var(--color-gold);
  color: var(--color-primary);
  border: none;
  transition: background .16s, color .14s;
  box-shadow: 0 1px 7px rgba(203,168,98,.08);
}
.cookie-btn.accept {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-btn.accept:hover {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.cookie-btn.reject {
  background: #f3eada;
  color: var(--color-primary);
}
.cookie-btn.reject:hover {
  background: #eee6c2;
}
.cookie-btn.settings {
  background: var(--color-primary);
  color: var(--color-light);
}
.cookie-btn.settings:hover {
  background: var(--color-gold-dark);
  color: var(--color-light);
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-52%) scale(1);
  background: #fffefb;
  box-shadow: 0 12px 70px rgba(39,67,136,.14);
  border-radius: var(--radius-lg);
  z-index: 999;
  padding: 48px 32px 32px 32px;
  min-width: 340px;
  max-width: 94vw;
  opacity: 1;
  transition: opacity .19s, transform .26s cubic-bezier(.61,.01,.5,1.09);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,8%) scale(.94);
}
.cookie-modal h3 {
  color: var(--color-primary);
  font-size: 1.21rem;
  margin-bottom: 10px;
}
.cookie-modal .category {
  margin-bottom: 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.cookie-modal .category label {
  font-family: var(--font-display);
  color: var(--color-dark);
  font-weight: 500;
  margin-right: 12px;
  font-size: 1.04rem;
}
.cookie-modal .toggle {
  appearance: none;
  width: 40px; height: 20px;
  background: #e5e0cb;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .toggle:checked {
  background: var(--color-gold);
}
/* Simple switch animation */
.cookie-modal .toggle:before {
  content: '';
  position: absolute;
  top: 2.8px; left: 3px;
  width: 15px; height: 15px;
  background: var(--color-light);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(203,168,98,0.13);
  transition: left 0.18s cubic-bezier(.6,.01,.5,1.08);
}
.cookie-modal .toggle:checked:before {
  left: 22px;
}
.cookie-modal .category.essential .toggle {
  background: #ece8de;
  cursor: not-allowed;
}
.cookie-modal .category.essential label {
  opacity: 0.66;
}
.cookie-modal .modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .cookie-btn {
  min-width: 120px;
}

.cookie-modal .close-modal {
  position: absolute; top: 12px; right: 18px;
  font-size: 1.5rem;
  color: var(--color-gold);
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:hover { color: var(--color-dark); }
@media (max-width: 600px){
  .cookie-modal {
    min-width: 90vw;
    padding: 16vw 3vw 9vw 3vw;
  }
}
@media (max-width: 600px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 10px 13px 10px;
    font-size: 0.97rem;
  }
  .cookie-btns { flex-wrap: wrap; gap: 6px; }
}

/* -----------------------------
   MISC: MAP/LOCATION
-------------------------------*/
.location-map {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: var(--color-primary);
  background: #f0f2fa;
  border-radius: var(--radius-sm);
  padding: 10px 17px;
  font-weight: 500;
}
.location-map img {
  width: 24px; height: 24px;
}

/* -------------------------------
   MEDIA QUERIES: RESPONSIVENESS
--------------------------------*/
@media (max-width: 900px){
  .content-wrapper, .card-container {
    max-width: 99vw;
  }
}
@media (max-width: 650px){
  .content-wrapper, .card-container {
    padding-left: 0; padding-right: 0;
  }
}
@media (max-width: 600px){
  main { padding-top: 11px; padding-bottom: 16px; }
  .section, section { margin-bottom: 22px; padding: 12px 2px; }
  .cta-final-section, .cta-section, .cta-contact-section, .testimonials-section {
    border-radius: var(--radius-sm);
    padding: 12px 7px;
  }
  .about-section, .pricing-section, .results-overview {
    padding: 10px 2px;
  }
}

/* ------------
   UTILITY CLASSES
--------------*/
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }

/* ---------------
   MICRO-INTERACTIONS & EFFECTS
-----------------*/
.cta-btn, .cta-link, .main-nav a, .footer-nav a, .mobile-nav a{
  transition: color 0.15s, background 0.16s, box-shadow 0.18s, border 0.14s;
}
.card, .team-profile, .testimonial-card {
  transition: box-shadow 0.13s, border-color 0.11s;
}
.hero-section, .cta-final-section, .cta-section {
  transition: box-shadow .17s, background .15s;
}

/* ------
  HIDDEN (for use with js, cookies etc.)
-------*/
.hide { display: none !important; }

/* Focus outline for a11y on all interactive items */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2px;
  z-index: 200;
}

/* -------
  OVERRIDES
---------*/
@media (max-width: 600px) {
  th, td { padding: 8px 4px; font-size: .94rem; }
  .pricing-section table { font-size: .93rem; }
}
