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

/* --- VARIABLES (FALLBACKS) --- */
:root {
  --color-primary: #234678;
  --color-secondary: #E5E7EA;
  --color-accent: #F09C2A;
  --color-bg: #ffffff;
  --color-text: #234678;
  --color-contrast: #20222a;
}

/* --- BASE TYPOGRAPHY --- */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  min-height:100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: .01em;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }
p {
  margin-bottom: 18px;
  font-size: 1.125rem;
}
strong { font-weight: bold; }
ul, ol { margin-bottom: 18px; padding-left: 20px; }
ul li, ol li { margin-bottom: 10px; font-size: 1.05rem; }

/* --- CONTAINER --- */
.container {
  width:100%; max-width:1100px; margin:0 auto; padding:0 20px;
  display:flex; flex-direction:column; align-items:center;
}

/* --- CREATIVE ARTISTIC STYLE --- */
body,
.section,
.container {
  background: var(--color-bg);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 22px;
  box-shadow: 0 6px 28px 0 rgba(36,62,120,.08);
  background: #fff;
}

.content-wrapper {
  width:100%;
  display:flex;
  flex-direction:column;
  gap: 20px;
  align-items:flex-start;
}
.text-section {
  align-items: center;
  text-align: center;
}

/* --- MAIN NAV --- */
.main-nav {
  display:flex; align-items:center; flex-wrap:wrap; gap: 32px;
  padding: 24px 0 12px;
  background: transparent;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight:600;
  font-size: 1.1rem;
  color: var(--color-primary);
  border-radius: 8px;
  padding: 7px 18px;
  transition: background .18s, color .18s;
  position: relative;
  z-index: 3;
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: var(--color-accent);
  color:#fff;
}
.main-nav img {
  height:38px; margin-right:8px; vertical-align:middle; display:inline-block;
}
header {
  background:#fff; box-shadow: 0 2px 16px 0 rgba(70,58,120,0.06);
  position:sticky; top:0; z-index:20;
  padding: 0 0 6px 0;
}

/* --- BURGER MOBILE MENU --- */
.mobile-menu-toggle {
  display:none; position:absolute; right:20px; top:26px;
  font-size:2.2rem; color: var(--color-accent);
  background: none; border-radius: 7px;
  padding:3px 10px;
  transition: background .2s;
  z-index:31;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background:rgba(240,156,42,0.09);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  height: 100vh;
  width: 320px;
  top: 0;
  right: -330px;
  background: #1b3762;
  box-shadow: -8px 0 40px 0 rgba(30,30,40,0.19);
  z-index: 99;
  padding: 32px 0 0 0;
  transition: transform 0.36s cubic-bezier(.45,.05,.31,1), right 0.36s;
  will-change: transform;
  overflow-y: auto;
  color:#fff;
}
.mobile-menu.open {
  transform: translateX(-330px);
  right:0;
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.1rem;
  background:none;
  border:none;
  position: absolute;
  top:18px;
  left:20px;
  transition: color .16s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  margin-top:54px; width:100%; display:flex; flex-direction:column; align-items:flex-start; gap:8px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color:#fff;
  font-size:1.25rem;
  border-radius: 8px;
  padding: 13px 20px 13px 40px;
  margin-left: 8px;
  transition: background .17s, color .14s;
  width:89%;
  display:flex;
  align-items:center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #1b3762;
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 16px;
    font-size: 1rem;
  }
  .main-nav > a { padding:6px 8px; }
}
@media (max-width: 900px) {
  .main-nav { gap:8px; }
}

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

@media (min-width: 821px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
  .main-nav { display:flex !important; }
}

/* --- HERO & CTA BUTTONS --- */
.cta, a.cta, button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  border-radius: 32px;
  padding: 13px 34px;
  background: var(--color-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 16px 0 rgba(240,156,42,0.08);
  letter-spacing: .015em;
  cursor:pointer;
  margin-top: 4px;
  transition: background .2s, color .19s, box-shadow .22s, transform .12s;
}
.cta.primary {
  background: var(--color-primary);
  color: #fff;
}
.cta:focus,
.cta:hover {
  background: #fab748;
  color: #1b3762;
  transform: translateY(-4px) scale(1.033);
  box-shadow:0 6px 32px 0 rgba(36,62,120,.09);
}
.cta.primary:focus,
.cta.primary:hover {
  background: #4672c8;
  color: #fff;
}

/* --- FLEXBOX COMPONENT LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom:24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow:0 2px 18px 0 rgba(36,62,120,.08);
  background:#fff;
  padding: 30px;
  min-width:260px;
  flex:1 1 340px;
  display:flex; flex-direction:column; gap:12px;
}
.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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 35px;
  margin-bottom:24px;
  background: #fff9f0;
  border-radius: 16px;
  box-shadow: 0 4px 15px 0 rgba(240,156,42,.10);
  max-width: 410px;
  color: #234678;
}
.testimonial-card p {
  font-style:italic;
  font-size:1.13rem;
  margin-bottom:8px;
  color:#20222a;
}
.testimonial-card span {
  font-weight:600; font-family:'Montserrat',sans-serif; color:#f09c2a;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TABLE STYLES --- */
table {
  width:100%; margin-bottom:28px;
  border-collapse: collapse;
  font-size:1.01rem;
  box-shadow: 0 2px 14px 0 rgba(36,62,120,.06);
  border-radius: 7px; overflow: hidden;
}
thead {
  background: var(--color-primary);
  color: #fff;
  font-family:'Montserrat', Arial, sans-serif;
}
thead th {
  padding: 13px 10px;
  font-weight:700;
  text-align:left;
}
tbody td {
  padding: 11px 9px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7ea;
  color: #1b3762;
}
tbody tr:last-child td {
  border-bottom:none;
}

/* --- DESIGN EXAMPLES (for artistic effect) --- */
.design-examples {
  margin-top: 16px;
  color: var(--color-accent);
  font-size:1.125rem;
  font-family: 'Montserrat',sans-serif;
  font-weight:600;
  background: #fff6e3;
  padding: 12px 16px;
  border-radius: 10px;
  letter-spacing:.009em;
}

.care-instructions {
  background: #e5e7ea;
  color: #234678;
  border-left: 4px solid var(--color-accent);
  padding: 11px 22px;
  border-radius:7px;
  font-size:1rem;
  margin-top:12px;
}

/* --- FOOTER --- */
footer {
  margin-top:40px;
  padding:48px 0 26px 0;
  background: #234678;
  color: #fff;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 22px;
}
.footer-nav a {
  color: #f09c2a;
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.footer-brand img {
  height: 32px;
  width: auto;
}
.footer-brand span {
  font-size: 0.99rem;
}

/* --- IMAGES/ICONS in FEATURES & UL/LI --- */
ul li > img {
  vertical-align: middle;
  margin-right:10px;
  height: 26px;
  width:26px;
  display:inline-block;
}
ul li > strong {
  color: var(--color-primary);
  font-family:'Montserrat',sans-serif;
}

/* --- RESPONSIVENESS & FLEX LAYOUTS --- */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
}
@media (max-width: 1000px) {
  .container { max-width: 99vw; }
  .section { padding:32px 5vw; }
}
@media (max-width: 768px) {
  h1 { font-size:2rem; }
  h2 { font-size:1.4rem; }
  .container { padding: 0 9px; }
  .section { padding: 24px 6px; }
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column; gap:18px!important;
  }
  .testimonial-card {padding: 18px 11px;max-width:99vw;}
  .text-image-section {flex-direction:column;align-items:center;gap:18px;}
}
@media (max-width: 520px) {
  h1 { font-size:1.35rem; }
  h2 { font-size:1.14rem; }
  .cta,a.cta,button.cta { min-width:98px; padding:10px 14px; font-size:1rem;}
  .footer-brand img { height: 22px; }
  .footer-brand span { font-size:0.93rem;}
}


/* --- COOKIES CONSENT BANNER & MODAL --- */
.cookie-banner {
  position:fixed; bottom:0; left:0; width:100vw;
  z-index:120;
  background:#1b3762;
  color:#fff;
  padding:18px 18px 18px 18px;
  display:flex; align-items:center; flex-direction:row; gap:22px; justify-content:space-between;
  font-size:1rem;
  box-shadow:0 -1px 20px 0 rgba(36,62,120,.13);
  animation: slideBannerIn .76s cubic-bezier(.33,1.06,.43,1);
}
@keyframes slideBannerIn { from { transform:translateY(100%); opacity:0;} to {transform:none;opacity:1;}}
.cookie-banner__text { flex: 1 1 220px; }
.cookie-banner__actions {
  display:flex; flex-direction:row; gap:14px;
}
.cookie-banner__btn {
  border-radius: 23px;
  padding: 9px 21px;
  background: #f09c2a;
  color: #fff;
  font-weight:600;
  font-family: 'Montserrat',Arial,sans-serif;
  border:none;
  font-size:1.05rem;
  transition: background .19s, color .16s;
}
.cookie-banner__btn:focus,
.cookie-banner__btn:hover {
  background: #fab748;
  color: #1b3762;
}
.cookie-banner__btn--secondary {
  background: #fff;
  color: #234678;
}
.cookie-banner__btn--secondary:hover {
  background: #dee8fa;
  color: #1b3762;
}

/* --- COOKIES MODAL --- */
.cookie-modal-overlay {
  position:fixed; top:0; left:0; width:100vw; height:100vh;
  background:rgba(35,70,120,.93);
  display:flex; align-items:center; justify-content:center;
  z-index:121;
  animation: fadeModalIn .38s cubic-bezier(.09,.93,.22,1);
}
@keyframes fadeModalIn { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
  background:#fff;
  color: #234678;
  border-radius: 18px;
  box-shadow:0 8px 34px 0 rgba(36,62,120,0.22);
  padding:38px 32px 30px 32px;
  min-width:298px; max-width: 98vw;
  font-size:1rem;
  position: relative;
  display:flex; flex-direction:column; gap:26px;
  animation: scaleInModal .37s cubic-bezier(.23,1.1,.36,1);
}
@keyframes scaleInModal { from { transform:scale(.94); opacity:0; } to {transform:none;opacity:1; } }
.cookie-modal h2 {
  margin:0 0 4px 0;
  color: var(--color-primary);
}
.cookie-modal-section {
  margin-bottom:20px;
}
.cookie-toggle-row {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 14px;
}
.cookie-toggle-row label {
  font-size:1.05rem;
  font-family:'Montserrat',Arial,sans-serif;
  font-weight:600;
}

/* Switch Toggle for Analytics/Marketing cookies */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #e5e7ea;
  border-radius: 24px;
  transition: background .2s;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height:20px; width:20px; left:2px; bottom:2px;
  background-color: var(--color-accent);
  border-radius: 20px;
  transition: transform .2s, background .2s;
}
.switch input:checked + .switch-slider {
  background-color: #f09c2a;
}
.switch input:checked + .switch-slider:before {
  background-color: #fff;
  transform: translateX(22px);
}

.cookie-modal-actions {
  display:flex; gap:18px; align-items:center; justify-content:flex-end;
}
.cookie-modal-close {
  position:absolute; top:18px; right:24px; background:none; color:#234678;
  font-size:1.7rem; border:none; transition:color .15s; cursor:pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color:#f09c2a; }

@media (max-width: 520px) {
  .cookie-modal { max-width:97vw; padding:16px 7px 13px 11px; }
  .cookie-modal-close { right:7px; top:8px; }
}
@media (max-width:600px){
  .cookie-banner {
    flex-direction:column; align-items: flex-start; gap:10px; font-size:.97rem; padding:11px 4vw 17px 12px;
  }
  .cookie-banner__actions { gap:8px; }
}

/* --- INPUTS/FORM (CONTACT) --- */
input, textarea, select {
  border-radius: 10px;
  border:1.5px solid #e5e7ea;
  font-size:1rem;
  padding: 10px 14px;
  font-family: inherit;
  margin-bottom:18px;
  width:100%;
  box-shadow:0 1px 6px 0 rgba(36,62,120,.03);
  outline:none;
  transition: border .13s;
}
input:focus, textarea:focus, select:focus {
  border:1.5px solid #f09c2a;
}

/* --- UNIQUE VISUAL ELEMENTS --- */
::-webkit-scrollbar-track { background: #e5e7ea; }
::-webkit-scrollbar-thumb { background: #f6cf8c; border-radius:7px; }
::-webkit-scrollbar-thumb:hover { background: #fab748; }

/* --- Artistic accents --- */
.section {
  position:relative;
  overflow:hidden;
}
.section:before { /* Decorative Swoosh element */
  content:"";
  display:block;
  position:absolute;
  z-index:0;
  left:-65px; top:-36px;
  width:210px; height:70px;
  background:rgba(240,156,42,0.13);
  filter: blur(4px);
  border-radius:36px 60px 118px 90px/60px 70px 20px 60px;
}
.section:after {
  content:"";
  display:block;
  position:absolute;
  z-index:0;
  right:-58px; bottom:-41px;
  width:168px; height:64px;
  background:rgba(27,55,98,0.08);
  filter: blur(8px);
  border-radius:80px 108px 32px 99px/99px 88px 40px 48px;
}

.text-section {
  position: relative;
  z-index:2;
}

/* --- Animations / Transitions ---*/
.cta, .cta.primary, .mobile-menu, .cookie-banner, .cookie-banner__btn, .cookie-modal, .cookie-modal-close, .main-nav > a, .footer-nav a {
  transition: background .19s, color .16s, box-shadow .18s,opacity .16s,transform .14s;
}

/* --- Spacing between sections and components --- */
.section:not(:last-child) { margin-bottom:60px; }
.card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom:20px;
}

/* --- Utility Classes (for cards, grids, etc) -- */
.mb-0 { margin-bottom:0!important; }
.mt-0 { margin-top:0!important; }
.gap-20 { gap:20px!important; }
.gap-24 { gap:24px!important; }
.gap-32 { gap:32px!important; }

/* --- ACCENT SHADOWS / DEPTH --- */
.card, .section, .testimonial-card {
  box-shadow: 0 6px 32px 0 rgba(36,62,120,.08);
}

/* --- Z-INDEX MANAGEMENT --- */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay {
  z-index: 99;
}
header { z-index: 20; }

/* --- Artistic Headings --- */
h1, h2 {
  text-shadow: 0 1px 0 rgba(240,156,42,0.07), 0 2px 7px rgba(27,55,98,0.05);
}
h1:after, h2:after {
  display:block; content:""; width:58px; height:4px;
  background: var(--color-accent);
  border-radius: 3px;
  margin: 19px auto 0 auto;
}
.text-section h1:after, .text-section h2:after { margin:15px auto 0 auto;}

/* --- Focus OUTLINES for Accessibility --- */
a:focus, button:focus {
  outline: 2px dashed #f09c2a;
  outline-offset: 2px;
}

/* --- Micro-interactions --- */
.card:hover, .testimonial-card:hover {
  box-shadow:0 8px 38px 0 rgba(36,62,120,0.11);
  transform:translateY(-2px) scale(1.011);
  transition: box-shadow .23s, transform .15s;
}

/* --- Artistic Font for Quotes/Display --- */
.testimonial-card p, blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight:500;
  font-size:1.11rem;
}

/* --- Hide visually --- */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}

/* --- Print (avoid breaking layout) --- */
@media print {
  header,footer,.mobile-menu,.cookie-banner,.cookie-modal-overlay {display:none!important;}
  .container,.section { box-shadow:none!important; background:#fff!important;}
}
