/* --- 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,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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #FAFAFA;
  color: #264653;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
/* --- TYPOGRAPHY --- */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: #264653;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #264653;
  letter-spacing: -0.005em;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #264653;
}
p, .text-section p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: #264653;
}
strong {
  font-weight: 600;
  color: #264653;
}

/* --- BRAND COLORS --- */
:root {
  --color-primary: #264653;
  --color-secondary: #E9C46A;
  --color-accent: #F4A261;
  --color-bg: #FAFAFA;
  --color-white: #fff;
  --color-light: #F5F5F5;
  --color-detail: #EAEAEA;
  --color-text: #264653;
  --color-shadow: rgba(38,70,83,0.06);
}

/* --- LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- HEADER --- */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 10px var(--color-shadow);
  position: sticky;
  top: 0; left: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 32px;
}
.logo img {
  height: 38px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--color-primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  position: relative;
  transition: color 0.18s;
  padding: 4px 2px;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--color-secondary);
  margin-top: 4px;
  transition: width 0.25s cubic-bezier(.4,0,.2,1);
}
.main-nav a:hover {
  color: var(--color-accent);
}
.main-nav a:hover::after {
  width: 100%;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 7px;
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, color 0.2s, transform 0.19s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.04);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  padding: 10px 18px;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 120;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px var(--color-shadow);
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  padding: 0 28px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 28px rgba(27, 37, 46, 0.15);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-top: 24px;
  margin-bottom: 36px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--color-primary);
  padding: 12px 2px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:active, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* --- HERO SECTION --- */
.hero {
  background: var(--color-bg);
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
  width: 100%;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: 0;
}
.hero h1 {
  font-size: 2.3rem;
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 12px;
}

/* --- FEATURE SECTION --- */
.features, .services, .about, .legal, .team, .contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--color-shadow);
}
.features .content-wrapper, .services .content-wrapper, .team .content-wrapper, .about .content-wrapper, .legal .content-wrapper, .contact .content-wrapper {
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-light);
  border-radius: 12px;
  box-shadow: 0 2px 7px var(--color-shadow);
  padding: 32px 28px;
  min-width: 240px;
  flex: 1 1 220px;
  max-width: 330px;
  transition: box-shadow 0.18s, transform 0.17s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 36px;
  height: 36px;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: scale(1.035);
}
.feature-item h3 {
  font-size: 1.18rem;
}
.feature-item p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* --- TESTIMONIALS --- */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 14px;
  box-shadow: 0 2px 14px var(--color-shadow);
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  background: var(--color-white);
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: 13px;
  min-width: 260px;
  max-width: 100%;
  flex: 1 1 220px;
  margin-bottom: 20px;
  color: #222;
  transition: box-shadow 0.16s, transform 0.16s;
}
.testimonial-card p {
  font-size: 1.07rem;
  font-style: italic;
  color: #222;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #264653;
  opacity: 0.8;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 18px var(--color-shadow);
  transform: scale(1.025);
}

/* --- ABOUT, TEAM, TEXT-SECTION --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.team-bio {
  background: var(--color-light);
  border-left: 4px solid var(--color-secondary);
  padding: 18px 18px;
  border-radius: 7px;
  box-shadow: 0 1px 3px var(--color-shadow);
  font-size: 1rem;
  margin-bottom: 18px;
}
.text-section ul, .services ul {
  margin-bottom: 0;
}
.text-section li, .services li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* --- CARD & CONTENT GRIDS --- */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 9px var(--color-shadow);
  padding: 22px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 28px var(--color-shadow);
  transform: translateY(-3px) scale(1.018);
}

/* --- CTA SECTION ---*/
.cta {
  margin-bottom: 48px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: 15px;
  box-shadow: 0 2px 14px var(--color-shadow);
  text-align: center;
  color: var(--color-primary);
}
.cta .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-btn {
  margin-top: 12px;
}

/* --- LEGAL / POLICY PAGES --- */
.legal h1 {
  font-size: 2rem;
  margin-bottom: 28px;
  color: var(--color-primary);
}
.legal h2 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  margin-top: 20px;
}
.legal p, .legal li {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 14px;
}

/* --- CONTACT --- */
.contact-details, .contact-info {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1.02rem;
  color: var(--color-primary);
  margin-bottom: 0;
}
.contact-details img, .contact-info img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}

/* --- FOOTER --- */
footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-detail);
  box-shadow: 0 -2px 8px var(--color-shadow);
  padding: 40px 0 28px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.96rem;
  justify-content: center;
  align-items: center;
  padding-bottom: 8px;
  color: #334a63;
}
.footer-nav a {
  color: #264653;
  opacity: 0.88;
  transition: opacity 0.16s, color 0.15s;
}
.footer-nav a:hover {
  opacity: 1;
  color: var(--color-accent);
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}
.contact-info {
  min-width: 200px;
  max-width: 330px;
}
.footer-brand img {
  height: 52px;
  margin-top: 10px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 -2px 16px var(--color-shadow);
  padding: 16px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
}
.cookie-banner__text {
  flex: 1 1 0;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn, .cookie-reject-btn {
  padding: 8px 20px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: background 0.18s, color 0.16s, transform 0.13s;
}
.cookie-btn {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.04);
}
.cookie-reject-btn {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: scale(1.04);
}
.cookie-settings-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  padding: 8px 18px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.15s, color 0.14s, transform 0.13s;
  box-shadow: 0 1px 6px var(--color-shadow);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.04);
}

/* --- COOKIE MODAL POPUP --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,70,83,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 14px;
  padding: 32px 30px 28px 30px;
  min-width: 300px;
  max-width: 96vw;
  box-shadow: 0 8px 36px var(--color-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalSlideIn 0.35s cubic-bezier(.5, 0, .2, 1);
}
@keyframes modalSlideIn {
  from { transform: translateY(80px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--color-primary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 16px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-accent);
}
.cookie-modal-category {
  background: var(--color-light);
  padding: 12px 12px 8px 16px;
  border-radius: 7px;
  margin-bottom: 16px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal-close-btn {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.7rem;
  position: absolute;
  top: 14px;
  right: 18px;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close-btn:hover {
  color: var(--color-accent);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  header .container {
    gap: 14px;
  }
  .footer-info {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .footer-info {
    gap: 15px;
  }
  .footer-info {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  h1, .hero h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .feature-grid,
  .card-container,
  .card-grid,
  .footer-info{
    flex-direction: column;
    gap: 20px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  .features, .services, .about, .legal, .team, .contact, .testimonials {
    padding: 26px 8px;
    margin-bottom: 32px;
  }
  .feature-item,
  .testimonial-card,
  .team-bio,
  .card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 10px;
  }
  .footer-brand img {
    height: 38px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.93rem;
    padding: 11px 10px;
  }
}
@media (max-width: 525px) {
  .cookie-modal {
    padding: 18px 6px 16px 6px;
    min-width: 0;
  }
  .hero {
    padding: 33px 0 26px 0;
  }
}
@media (max-width: 440px) {
  .cta-btn {
    padding: 10px 14px;
    font-size: 0.92rem;
  }
}

/* --- MICRO-INTERACTIONS --- */
.cta-btn:active {
  transform: scale(0.98);
}
.card:active {
  transform: scale(0.995);
}
.feature-item:active {
  transform: scale(1.02);
}
.main-nav a:active {
  color: var(--color-secondary);
}
.mobile-nav a:active {
  background: var(--color-accent);
  color: #fff;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-detail);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}

/* --- VISUAL HIERARCHY UTILITIES --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}
