/* ----- 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,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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display:block;
}
body { line-height:1; }
ol,ul { list-style:none; }
a { text-decoration:none; color:inherit; }
img { border:0; max-width:100%; height:auto; display:block; }
button { font: inherit; border:none; background:none; cursor:pointer; }
* { box-sizing:border-box; }

/* ----- BRAND COLORS & FONTS ----- */
:root {
  --color-primary: #1B3A4B;
  --color-secondary: #F5A623;
  --color-accent: #F6F8FB;
  --color-white: #fff;
  --color-black: #101820;
  --color-neutral-100: #F6F8FB;
  --color-neutral-200: #E6ECF3;
  --color-neutral-300: #AEBECD;
  --color-neutral-600: #4B5C6B;
  --color-focus: #245d7c;

  --font-display: 'Montserrat', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 700;
  src: local('Montserrat-Bold'), url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 400;
  src: local('Montserrat-Regular'), url('https://fonts.googleapis.com/css?family=Montserrat:400&display=swap');
}
@font-face {
  font-family: 'Open Sans'; font-style: normal; font-weight: 400;
  src: local('OpenSans-Regular'), url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
}

body {
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-neutral-100);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 32px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 24px; }
h3 { font-size:1.35rem; margin-bottom: 12px; font-weight:600; }
h4,h5 { font-size:1rem; margin-bottom: 8px; }

p,li,ul {
  font-size:1rem;
  color: var(--color-primary);
}
strong { font-weight:700; }

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

section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.card {
  background: var(--color-neutral-200);
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(27,58,75,0.06);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s linear, transform 0.18s ease;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(27,58,75,0.13);
  transform: translateY(-4px) 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;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(27,58,75,0.06);
  padding: 20px;
  margin-bottom: 20px;
  flex-direction: column;
  min-width: 220px;
  max-width: 440px;
}
.testimonial-card strong {
  color: var(--color-primary);
}

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

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.service-item {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(31, 58, 75, 0.08);
  padding: 28px 24px 22px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s linear, transform 0.18s;
  border: 3px solid var(--color-neutral-200);
  margin-bottom: 20px;
}
.service-item:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 20px 0 rgba(27,58,75,0.15);
  transform: translateY(-4px) scale(1.015);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- BUTTONS / CTAs --- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 10px;
  background: var(--color-secondary);
  color: var(--color-primary);
  transition: box-shadow 0.2s, background 0.21s, color 0.18s;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(27,58,75,0.10);
  letter-spacing: 0.05em;
  margin-top: 10px;
}
.cta.primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.cta:hover,
.cta:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 6px 22px 0 rgba(245,166,35,0.07);
  outline: 3px solid var(--color-secondary);
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0;
  border-bottom: 5px solid var(--color-secondary);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 0 5px 0;
  letter-spacing: 0.02em;
  border-bottom: 2.5px solid transparent;
  transition: border 0.18s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
  outline: none;
}
header img[alt='Tundra Roam'] {
  height:48px; width:auto;
  padding: 12px 0;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: flex;
  font-size: 2.1rem;
  color: var(--color-secondary);
  background:none;
  border:none;
  margin-left:12px;
  z-index: 1002;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.17s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: rgba(245,166,35,0.15);
  outline: 2.5px solid var(--color-secondary);
}
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1900;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-primary);
  box-shadow: 0 4px 32px 0 rgba(27,58,75,0.23);
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.7,0,.3,1);
  flex-direction: column;
  padding-top: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: menu-slide-in 0.33s cubic-bezier(.7,0,.3,1);
}
@keyframes menu-slide-in {
  from {transform:translateX(-100%);} to {transform:translateX(0);}
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--color-secondary);
  background: none;
  border:none;
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 1910;
  height:44px;
  width:44px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(245,166,35,0.14);
  outline: 2.5px solid var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 80px;
  padding: 24px 36px 0 36px;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 8px 0 7px 0;
  width: 100%;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(245,166,35,0.12);
  outline: none;
}

@media (max-width: 1020px) {
  .service-item { min-width:210px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
}
@media (max-width: 860px) {
  .services-list { flex-direction: column; align-items: stretch; }
  .service-item { min-width: 0; max-width: 100%; flex-basis: 100%; }
}
@media (max-width: 800px) {
  h1 { font-size:2rem; }
  h2 { font-size: 1.55rem; }
  .container { padding: 0 8px; }
}
@media (max-width: 768px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex !important; }
  .service-item, .card { min-width: 0; width: 100%; }
  .services-list, .card-container, .content-grid {
    flex-direction: column !important;
    gap:20px;
  }
  .text-image-section {
    flex-direction: column;
    gap:18px;
    align-items: flex-start;
  }
}
@media (min-width: 769px) {
  .mobile-menu-toggle { display:none; }
}

/* --- MAIN --- */
main {
  width: 100vw;
  max-width: 100%;
  margin: 0;
  flex: 1 1 auto;
  background: var(--color-neutral-100);
  padding-bottom: 36px;
}

/* --- ICON & LISTS --- */
ul li, .feature-item li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  font-size:1rem;
  color: var(--color-primary);
}
ul li img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  background: var(--color-accent);
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 1px 5px 0 rgba(27,58,75,0.08);
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 46px 0 20px 0;
}
footer a {
  color: var(--color-secondary);
  font-weight: 600;
  transition: text-decoration 0.16s;
}
footer a:hover,
footer a:focus {
  text-decoration: underline;
  color: var(--color-white);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  margin-bottom: 26px;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-top img[alt='Tundra Roam'] {
  height: 52px;
  margin-right: 18px;
}
.footer-links {
  font-size: 0.95rem;
  padding-bottom: 12px;
}
.footer-contact {
  font-size: 0.98rem;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-contact img {
  height: 19px;
  width: 19px;
  margin-right: 5px;
  vertical-align: text-bottom;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 12px;
}
.footer-social img {
  background: var(--color-white);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  transition: box-shadow 0.18s;
  box-shadow: 0 2px 9px 0 rgba(31,58,75,0.13);
}
.footer-social img:hover { box-shadow: 0 4px 22px 0 rgba(245,166,35,0.20); }

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 650px) {
  footer {
    padding: 28px 0 14px 0;
  }
  .footer-social img { width: 28px; height: 28px; }
}

/* ----- COOKIE CONSENT BANNER & MODAL ----- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: var(--color-neutral-200);
  color: var(--color-primary);
  box-shadow: 0 -2px 8px 0 rgba(27,58,75,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  gap: 24px;
  font-size: 1rem;
  transition: transform 0.4s cubic-bezier(.55,0,.45,1);
}
.cookie-banner.hidden {
  transform: translateY(110%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-left: 12px;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 1px 4px 0 rgba(245,166,35,0.10);
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-white);
  outline: 2px solid var(--color-secondary);
  box-shadow: 0 0 0 2px var(--color-secondary);
}
.cookie-btn.secondary {
  background: var(--color-neutral-200);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 2100;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(27,58,75,0.32);
  align-items: flex-end;
  justify-content: flex-end;
  transition: background 0.22s;
}
.cookie-modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.16s;
}
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }

.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 18px 0 0 0;
  box-shadow: 0 6px 32px 0 rgba(27,58,75,0.18);
  min-width: 340px;
  max-width: 430px;
  padding: 34px 32px 28px 32px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: absolute;
  right: 0;
  bottom: 0;
  transition: transform 0.37s cubic-bezier(.5,0,.5,1);
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid var(--color-neutral-200);
  font-size: 1rem;
}
.cookie-modal .cookie-row:last-child { border-bottom:none; }
.cookie-category-toggle {
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: var(--color-neutral-300);
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.cookie-category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 20px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 1px 5px 0 rgba(27,58,75,0.06);
  transition: left 0.2s;
}
.cookie-category-toggle input:checked + .cookie-category-slider {
  left: 21px;
}

.cookie-modal .cookie-btns {
  margin-top: 14px;
  display: flex;
  gap: 14px;
}

@media (max-width: 600px) {
  .cookie-modal {
    min-width: 98vw;
    max-width: 98vw;
    left: 1vw;
    right:auto;
    border-radius: 16px 16px 0 0;
    padding: 24px 10px 18px 14px;
  }
}

/* --- GEOMETRIC/STRUCTURED SHAPES --- */
.card, .service-item, .testimonial-card {
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(27,58,75,0.07);
  border: 2px solid var(--color-neutral-200);
}

section {
  background: var(--color-accent);
  border-radius: 30px;
  box-shadow: 0 2px 12px 0 rgba(27,58,75,0.03);
  margin-bottom: 60px;
}
@media (max-width:770px) {
  section {
    padding: 22px 2vw;
    margin-bottom: 38px;
    border-radius: 16px;
  }
}

/* --- UTILITY --- */
.mr-16 { margin-right:16px; }
.mt-24 { margin-top:24px; }

::-webkit-scrollbar { width:8px; background: var(--color-neutral-200); }
::-webkit-scrollbar-thumb { background: var(--color-secondary); border-radius:4px; }
::-webkit-scrollbar-track { background: var(--color-neutral-100); }

/* --- MICRO-INTERACTIONS & FOCUS STATES --- */
a:hover, a:focus, button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  text-decoration: none;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-secondary);
}

/* --- TYPOGRAPHY SCALE --- */
@media (max-width:530px) {
  h1 {font-size: 1.38rem;}
  h2 {font-size: 1.15rem;}
}


/* --- STRUCTURED, GEOMETRIC VISUALS --- */
.card, .service-item {
  border-radius: 18px 5px 18px 5px;
  box-shadow: 0 4px 16px 0 rgba(27,58,75,0.09);
}
.primary-shape {
  position:absolute; left:-18px; bottom:-18px;
  width: 76px; height: 76px;
  background: var(--color-secondary);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index:0;
  opacity:0.09;
}
.secondary-shape {
  position:absolute; right: -18px; top: -18px;
  width: 62px; height: 62px;
  background: var(--color-primary);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index:0;
  opacity:0.10;
}

/* ----- END OF CSS FILE ----- */
