/*---------------------------------------------------------
  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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Lato', Arial, sans-serif;
  background: #FCF8F5;
  color: #30405C;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #30405C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #98C2B3;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 26px;
  margin-bottom: 16px;
}
li + li {
  margin-top: 8px;
}
strong, b {
  font-weight: 700;
}

/*---------------------------------------------------------
  Root Variables: Soft Pastel BreezeTrek Palette
---------------------------------------------------------*/
:root {
  --brand-primary: #30405C;
  --brand-secondary: #98C2B3;
  --brand-accent: #F6F3ED;
  --brand-bg: #FCF8F5;
  --pastel-blush: #F8E3E3;
  --pastel-mint: #DDF3E4;
  --pastel-lavender: #EAE3F8;
  --pastel-blue: #DCE9F8;
  --pastel-peach: #FFEBD6;
  --text-main: #30405C;
  --text-dark: #253247;
  --text-on-pastel: #353535;
  --shadow: 0 4px 24px 0 rgba(160,180,200,0.13);
  --radius: 18px;
  --radius-card: 22px;
  --radius-btn: 28px;
  --transition-main: 0.25s cubic-bezier(.61,.08,.58,.97);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Lato', Arial, sans-serif;
  --nav-height: 68px;
}

/*---------------------------------------------------------
  Typography
---------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

p, ul, ol, address {
  font-size: 1rem;
  margin-bottom: 10px;
  font-family: var(--font-body);
  color: var(--text-dark);
}
p + p {
  margin-top: 10px;
}


/*---------------------------------------------------------
  Main Layout Containers
---------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* .section PATTERN */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
section:last-of-type {
  margin-bottom: 0;
}

/* TESTIMONIAL AND CARD PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.card {
  background: var(--pastel-lavender);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 20px 24px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(180, 170, 210, 0.21);
  transform: translateY(-5px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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 {
  background: var(--pastel-peach);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text-on-pastel);
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-style: italic;
  color: var(--text-main);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-mint);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  margin-bottom: 20px;
}

ul {
  list-style-type: disc;
}
ul li {
  font-size: 1rem;
  color: var(--text-main);
  padding-left: 0;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
ul li img {
  width: 28px;
  height: 28px;
}

/* Utility: spacing between cards/sections */
section > .container + .container {
  margin-top: 24px;
}

/*---------------------------------------------------------
  Buttons & CTAs
---------------------------------------------------------*/
.primary-cta {
  background: linear-gradient(90deg, var(--brand-secondary) 60%, var(--pastel-blush));
  color: #30405C;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  padding: 13px 40px;
  box-shadow: 0 2px 16px 0 rgba(80,110,140,0.07);
  cursor: pointer;
  margin-top: 8px;
  display: inline-block;
  letter-spacing: 0.04em;
  transition: background var(--transition-main), color var(--transition-main), transform 0.17s;
outline: none;
}
.primary-cta:hover, .primary-cta:focus {
  background: linear-gradient(90deg, #FFD2C7 70%, var(--brand-secondary));
  color: var(--text-main);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px 0 rgba(150,210,200,0.16);
}

button, .button {
  background: var(--brand-secondary);
  color: var(--text-main);
  border: none;
  border-radius: var(--radius-btn);
  padding: 10px 28px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background var(--transition-main), color var(--transition-main);
  margin-right: 12px;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--pastel-lavender);
  color: var(--text-main);
}

/*---------------------------------------------------------
  Navigation (Desktop & Mobile)
---------------------------------------------------------*/
header {
  position: relative;
  background: var(--brand-accent);
  box-shadow: 0 4px 36px 0 rgba(160,180,200,0.09);
  z-index: 110;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding: 0 16px;
  height: var(--nav-height);
  background: transparent;
  gap: 12px 18px;
  font-family: var(--font-display);
}
.main-nav a {
  color: var(--text-main);
  font-size: 1.02rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background var(--transition-main), color var(--transition-main);
  position: relative;
}
.main-nav a.primary-cta {
  margin-left: auto;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.main-nav img {
  height: 42px;
  width: auto;
  margin-right: 14px;
}

/* Hamburger Mobile Menu */
.mobile-menu-toggle {
  display: block;
  background: var(--pastel-peach);
  border: none;
  border-radius: 50%;
  font-size: 2.05rem;
  padding: 8px 14px;
  color: var(--brand-primary);
  position: absolute;
  right: 14px;
  top: 15px;
  z-index: 120;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background var(--transition-main);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-secondary);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(252,248,245,0.98);
  z-index: 200;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(.79,.14,.39,.91);
  padding-top: 32px;
  padding-left: 36px;
  padding-bottom: 36px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--pastel-mint);
  color: var(--brand-primary);
  border: none;
  font-size: 2.1rem;
  margin-bottom: 24px;
  border-radius: 50%;
  padding: 6px 16px;
  align-self: flex-end;
  margin-right: 22px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background var(--transition-main), color var(--transition-main);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--brand-primary);
  background: transparent;
  padding: 12px 0;
  border-radius: 10px;
  transition: background var(--transition-main), color var(--transition-main);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--brand-secondary);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/*---------------------------------------------------------
  Table Styles
---------------------------------------------------------*/
table {
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  width: 100%;
  box-shadow: var(--shadow);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--pastel-blue);
}
th, td {
  padding: 15px 14px;
  text-align: left;
  font-family: var(--font-body);
  color: var(--text-main);
}
th {
  background: var(--brand-secondary);
  color: #fff;
  font-size: 1.06rem;
}
tr:nth-child(even) td {
  background: #f9f7f3;
}
tr:nth-child(odd) td {
  background: var(--pastel-blue);
}

/*---------------------------------------------------------
  Footer Styles
---------------------------------------------------------*/
footer {
  background: var(--brand-accent);
  padding: 40px 0 18px 0;
  margin-top: 36px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: 0 -2px 16px 0 rgba(150,200,200,0.07);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  font-family: var(--font-display);
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 0.98rem;
  background: var(--pastel-mint);
  padding: 7px 20px;
  border-radius: var(--radius);
  transition: background var(--transition-main), color var(--transition-main);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--brand-secondary);
  color: #fff;
}
address {
  color: var(--text-main);
  font-size: 0.98rem;
  text-align: center;
  line-height: 1.7;
  font-style: normal;
}

/*---------------------------------------------------------
  Cookie Consent Banner
---------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: var(--pastel-mint);
  color: var(--text-main);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: 0 -8px 32px 0 rgba(120,170,150,0.13);
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  animation: slideUpCookie 0.6s ease;
}
@keyframes slideUpCookie {
  from {transform: translateY(100%)}
  to {transform: translateY(0)}
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.cookie-banner button {
  background: var(--brand-secondary);
  color: #fff;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  border: none;
  padding: 8px 22px;
  margin: 0;
  box-shadow: var(--shadow);
  transition: background var(--transition-main), color var(--transition-main);
  cursor: pointer;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--pastel-lavender);
  color: var(--brand-primary);
}
.cookie-banner .cookie-btns .btn-settings {
  background: var(--pastel-blush);
  color: var(--brand-primary);
}
.cookie-banner .cookie-btns .btn-settings:hover, .cookie-banner .cookie-btns .btn-settings:focus {
  background: var(--pastel-lavender);
  color: var(--brand-secondary);
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  top:0;left:0;right:0;bottom:0;
  background: rgba(48,64,92,0.11);
  z-index: 401;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 48px 0 rgba(120,160,180,0.19);
  max-width: 95vw;
  width: 425px;
  padding: 42px 32px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeinCookieModal 0.4s;
}
@keyframes fadeinCookieModal {
  from { opacity:0; transform: translateY(35px) scale(0.93); }
  to { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.27rem;
  color: var(--brand-primary);
  margin-bottom: 0;
  font-family: var(--font-display);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
  background: var(--pastel-mint);
  padding: 14px 13px;
  font-size: 1.04rem;
  font-family: var(--font-body);
}
.cookie-category.essential {
  opacity: 0.60;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  background: var(--brand-secondary);
  color: #fff;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  border: none;
  padding: 8px 19px;
  margin: 0;
  box-shadow: var(--shadow);
}
.cookie-modal button.secondary {
  background: var(--pastel-blush);
  color: var(--text-main);
}
.cookie-modal button.secondary:hover, .cookie-modal button.secondary:focus {
  background: var(--pastel-lavender);
  color: var(--brand-secondary);
}
.cookie-modal-close {
  background: none;
  color: var(--brand-primary);
  border: none;
  font-size: 1.6rem;
  position: absolute;
  right: 18px;
  top: 13px;
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 50%;
  transition: background var(--transition-main);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--pastel-mint);
}

/*---------------------------------------------------------
  Responsive Styles
---------------------------------------------------------*/
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  section {
    padding: 32px 8px 30px 8px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .content-grid, .card-container, .content-wrapper, .footer-nav {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .card, .feature-item, .testimonial-card {
    margin-bottom: 18px;
    min-width: 0;
    width: 100%;
  }
  .main-nav {
    padding: 0 4px;
    font-size: 1rem;
  }
  .primary-cta {
    font-size: 1.01rem;
    padding: 11px 22px;
  }
}
@media (max-width: 540px) {
  section {
    border-radius: 16px;
    padding: 26px 5px 20px 5px;
  }
  .footer-nav a {
    font-size: 0.92rem;
    padding: 9px 10px;
  }
  .cookie-banner {
    padding: 20px 7px 16px 7px;
  }
  .cookie-modal {
    padding: 30px 10px 22px 10px;
    min-width: 0;
    width: 97vw;
  }
}

/*---------------------------------------------------------
  Micro-Interactions & Transitions
---------------------------------------------------------*/
.card, .feature-item, .testimonial-card, .primary-cta, .footer-nav a, button, .cookie-banner button, .cookie-modal button {
  transition: box-shadow 0.23s, background 0.22s, color 0.18s, transform 0.19s;
}
.card:hover, .feature-item:hover {
  transform: translateY(-2px) scale(1.017);
  box-shadow: 0 6px 28px 0 rgba(160, 190, 185, 0.20);
}

/* Remove number inputs' arrows for consistency */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/*---------------------------------------------------------
  Misc (Hide outline for img links, etc.)
---------------------------------------------------------*/
a:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
  border-radius: 10px;
}

/*---------------------------------------------------------
  Fancy Placeholder Style
---------------------------------------------------------*/
::placeholder {
  color: #aab6bd;
  font-family: var(--font-body);
  opacity: 1;
}

/*---------------------------------------------------------
  Helper Classes
---------------------------------------------------------*/
.hide {
  display: none !important;
}
.flex {
  display: flex;
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.gap-20 {
  gap: 20px;
}

/*---------------------------------------------------------
  End of CSS
---------------------------------------------------------*/
