/*--- RESET & BASE STYLES ---*/
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F7F9FB;
  color: #05263B;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #FF9400;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #05263B;
}
ul, ol {
  margin-left: 24px;
}
blockquote {
  margin: 0 0 1em 0;
  padding-left: 20px;
  border-left: 4px solid #FF9400;
  font-style: italic;
  color: #05263B;
}

/*--- BRAND FONTS ---*/
h1, h2, h3, h4, .cta-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  h3 {
    font-size: 1.1rem;
  }
}

p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #05263B;
}
strong {
  color: #05263B;
}

/*--- ARTISTIC COLOR PALETTE (INTENSE & DISTINCTIVE) ---*/
:root {
  --clr-primary: #05263B;
  --clr-secondary: #FF9400;
  --clr-accent: #F7F9FB;
  --clr-cool1: #34C5D0;
  --clr-lavender: #A881E6;
  --clr-sun: #FFE600;
  --clr-hot: #FF598E;
}

/*--- CONTAINER ---*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/*--- HEADER ---*/
header {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(5,38,59,0.06);
  z-index: 10;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 18px 16px;
}
header a img {
  height: 38px;
  margin-right: 16px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 6px 12px;
  border-radius: 28px;
  transition: background 0.2s,color 0.2s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: var(--clr-secondary);
  background: rgba(255,255,255,0.08);
}
header nav .cta-primary {
  background: var(--clr-secondary);
  color: var(--clr-primary) !important;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 30px;
  margin-left: 8px;
  box-shadow: 0 3px 12px -2px #ff930022;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
header nav .cta-primary:hover,
header nav .cta-primary:focus {
  background: var(--clr-hot);
  color: #fff !important;
  box-shadow: 0 8px 32px -4px #ff598e77;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 10px;
  z-index: 200;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover {
  color: var(--clr-secondary);
}

/*--- MOBILE MENU ---*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: linear-gradient(112deg,#fff 80%,var(--clr-hot) 120%);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.85,.01,.31,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 60px 24px;
  box-shadow: 0 4px 24px 0 #212c380e;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: block;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--clr-primary);
  align-self: flex-end;
  margin-bottom: 14px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--clr-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 8px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: var(--clr-primary);
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.mobile-nav a:last-child {
  border-bottom: none;
}

/*--- RESPONSIVE NAV ---*/
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding: 12px 10px;
  }
}

/*--- HERO SECTION ---*/
.hero {
  background: linear-gradient(104deg, #F7F9FB 70%, var(--clr-cool1) 160%);
  margin-bottom: 60px;
  padding: 40px 20px 36px 20px;
  position: relative;
  border-radius: 0 0 42px 0;
  overflow: hidden;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 680px;
}
.hero h1 {
  color: var(--clr-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 0 1px 0 #fff, 0 2px 8px #41809510;
}
.hero p {
  color: var(--clr-primary);
  font-size: 1.1rem;
}

/*--- CTA BUTTON ---*/
.cta-primary {
  background: var(--clr-secondary);
  color: var(--clr-primary);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 36px;
  border: none;
  border-radius: 32px;
  margin-top: 18px;
  cursor: pointer;
  box-shadow: 0 4px 18px -4px #ff940044;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--clr-hot);
  color: #fff;
  box-shadow: 0 8px 38px -4px #ff598e77;
  letter-spacing: 0.03em;
}

/*--- CORE LAYOUTS (MANDATORY SPACING & FLEXBOX) ---*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 18px -6px #05263b22;
  padding: 26px 20px;
  transition: box-shadow .18s, transform .22s;
}
.card:hover {
  box-shadow: 0 6px 28px -2px #05263b52;
  transform: translateY(-2px) scale(1.015) rotate(-.3deg);
}
.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;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 18px -6px #05263b13, 0 1px 0 #fff;
  border-radius: 19px;
  transition: box-shadow 0.12s, border-color 0.12s;
  border: 2px solid var(--clr-accent);
}
.testimonial-card:hover {
  box-shadow: 0 9px 32px -8px #05263b34, 0 3px 0 #fff;
  border-color: var(--clr-lavender);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*--- FEATURE GRID (.feature-grid) as artistic cards ---*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 18px;
  list-style: none;
}
.feature-grid li {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 18px -7px #05263b14;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.2s, transform 0.17s;
  margin-bottom: 20px;
  border: 2px solid #e6eaf0;
}
.feature-grid li:hover {
  box-shadow: 0 8px 24px -8px var(--clr-secondary), 0 1px 0 #fff;
  border-color: var(--clr-secondary);
  transform: translateY(-2px) scale(1.02) rotate(-1deg);
}
.feature-grid img {
  height: 38px;
  width: 38px;
  margin-bottom: 10px;
  background: var(--clr-lavender);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 2px 12px 0 #a881e62a;
  border: 2px solid #fff;
  object-fit: contain;
}
.feature-grid h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--clr-hot);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 1px 0 #ffe60033;
}
.feature-grid p {
  color: #05263B;
}

/*--- SERVICE LIST (in about/index) ---*/
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 24px;
  list-style: none;
}
.service-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px -6px #05263b13;
  flex: 1 1 280px;
  min-width: 240px;
  padding: 22px 18px;
  margin-bottom: 20px;
}
.service-list h3 {
  color: var(--clr-secondary);
  margin-bottom: 6px;
  font-size: 1.14rem;
  font-weight: bold;
}
.service-list p {
  color: #05263b;
}

/*--- TESTIMONIALS ---*/
.testimonial-card {
  background: #fff;
  box-shadow: 0 2px 18px -7px #05263b23;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 2px solid #e6eaf0;
  max-width: 620px;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #05263B;
  margin-bottom: 12px;
  line-height: 1.7;
}
.testimonial-details {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--clr-secondary);
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-details span:last-child {
  letter-spacing: 0.08em;
  color: var(--clr-lavender);
  font-size: 1.3rem;
}

/*--- CTA SECTION ---*/
section.cta {
  background: linear-gradient(101deg,#ffe60011 55%, #A881E6 160%);
  border-radius: 30px;
  margin: 60px 0 40px 0;
  padding: 50px 20px;
  box-shadow: 0 6px 24px -8px #A881E622;
  text-align: center;
}
section.cta .content-wrapper {
  align-items: center;
}
.cta .cta-primary {
  margin-top: 24px;
  min-width: 240px;
  font-size: 1.18rem;
}

/*--- TEXT SECTION ---*/
.text-section {
  margin-bottom: 32px;
}
.text-section ul, .text-section ol {
  margin-top: 14px;
  margin-bottom: 8px;
  list-style-type: disc;
}
.text-section ul li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.text-section h3 {
  color: var(--clr-lavender);
  margin-top: 20px;
  margin-bottom: 7px;
  font-size: 1.07rem;
  font-weight: bold;
}

/*--- FOOTER ---*/
footer {
  background: #05263B;
  color: #FFF;
  padding: 38px 0 20px 0;
  margin-top: 80px;
  border-radius: 48px 0 0 0;
  box-shadow: 0 0 44px -28px var(--clr-primary);
  font-size: 1rem;
  position: relative;
  z-index: 1;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  flex: 1;
  min-width: 150px;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 9px;
}
.footer-nav {
  flex: 2;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  min-width: 180px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.86;
  transition: opacity 0.17s,color 0.17s;
}
.footer-nav a:hover {
  opacity: 1;
  color: var(--clr-secondary);
}
.footer-contact {
  flex: 4;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: #fff;
}
.contact-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.93;
}
.contact-entry a {
  color: var(--clr-secondary);
  font-weight: bold;
}
.footer-social {
  flex: 1;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  min-width: 100px;
  margin-top: 9px;
}
.footer-social a {
  opacity: 0.86;
  transition: opacity .18s, transform .14s;
}
.footer-social a:hover {
  opacity: 1;
  transform: scale(1.18) rotate(-7deg);
}
.footer-social img {
  height: 28px;
  width: 28px;
  filter: drop-shadow(0 1px 8px #fff4) drop-shadow(0 0 3px #ff940044);
}

@media (max-width: 980px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/*--- SECTION & CARD SPACING ---*/
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .service-list, .feature-grid {
  gap: 24px;
}
.card, .feature-grid li, .service-list li, .testimonial-card {
  margin-bottom: 20px;
}

/*--- RESPONSIVE FLEX ---*/
@media (max-width: 1020px){
  .container {
    max-width: 98vw;
  }
  .footer-contact, .footer-nav {
    min-width: 140px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .content-grid, .card-container {
    flex-direction: column;
  }
}
@media (max-width: 768px){
  .feature-grid, .service-list, .content-grid, .card-container, .footer-social {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section, section, .hero {
    padding: 26px 9px;
    margin-bottom: 34px;
  }
  section.cta {
    padding: 32px 9px;
    margin: 40px 0 20px 0;
    border-radius: 28px 0 0 0;
  }
  .footer-brand img {
    height: 29px;
  }
}
@media (max-width:500px){
  .hero h1, h1, .section h2 {
    font-size: 1.29rem;
  }
  .footer-brand img {
    height: 21px;
  }
}

/*--- MICRO-INTERACTIONS & TRANSITIONS ---*/
.card, .feature-grid li, .service-list li {
  transition: box-shadow 0.17s, border-color 0.17s, transform 0.17s;
}
.card:hover, .feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 8px 32px -8px #34C5D044;
  transform: translateY(-3px) scale(1.02) rotate(-.7deg);
}
.cta-primary {
  transition: background 0.17s, color 0.17s, transform 0.14s, box-shadow 0.18s;
}
.cta-primary:active {
  transform: scale(0.97);
}

/*--- COOKIE CONSENT BANNER ---*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(91deg,#fff 60%,#FFE600 110%);
  color: #05263B;
  box-shadow: 0 -2px 18px -2px #ffe60026;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 16px 16px;
  gap: 28px;
  z-index: 1200;
  border-radius: 28px 28px 0 0;
  font-size: 1rem;
  animation: slideInConsent 0.7s cubic-bezier(0.74,0.5,0.19,0.99);
}
@keyframes slideInConsent {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  max-width: 520px;
  margin-right: 24px;
}
.cookie-btn, .cookie-btn-secondary {
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-right: 12px;
  border-radius: 24px;
  font-weight: 700;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .17s,color .14s,box-shadow .13s;
}
.cookie-btn {
  background: var(--clr-secondary);
  color: var(--clr-primary);
  box-shadow: 0 4px 12px -4px #ff940022;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--clr-hot);
  color: #fff;
}
.cookie-btn-secondary {
  background: #fff;
  color: var(--clr-hot);
  border: 2px solid var(--clr-hot);
  box-shadow: 0 2px 8px -2px #ff598e22;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: var(--clr-hot);
  color: #fff;
}
@media (max-width: 650px){
  .cookie-consent-banner {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    padding: 12px 7px;
  }
}

/*--- COOKIE MODAL (popup) ---*/
.cookie-modal-overlay {
  position: fixed;
  left:0;top:0;right:0;bottom:0;
  background: rgba(5,38,59,.44);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal .22s;
}
@keyframes fadeInCookieModal { from {opacity:0;} to {opacity:1;} }
.cookie-modal {
  background: #fff;
  color: var(--clr-primary);
  border-radius: 32px;
  box-shadow: 0 16px 54px -16px #05263b55;
  padding: 38px 32px 28px 32px;
  max-width: 420px;
  width: 96vw;
  position: relative;
  z-index: 1311;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideUpCookieModal .19s;
}
@keyframes slideUpCookieModal { from {transform:translateY(44px); opacity:0;} to {transform:translateY(0); opacity:1;} }
.cookie-modal h2 {
  font-size: 1.31rem;
  color: var(--clr-hot);
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 26px;
  border-radius: 16px;
  background: #e6eaf0;
  position: relative;
  outline: none;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: var(--clr-secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-btn,
.cookie-modal .cookie-btn-secondary {
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--clr-hot);
  cursor: pointer;
  z-index: 1;
}

/*--- OTHER ELEMENTS ---*/
::-webkit-scrollbar {
  width: 7px;
  background: var(--clr-accent);
}
::-webkit-scrollbar-thumb {
  background: #ff940066;
  border-radius: 14px;
}

input:focus, textarea:focus, button:focus {
  outline: 2px solid var(--clr-secondary);
  outline-offset: 2px;
}

/*--- ARTISTIC EXTRAS (splashes, shadow accents) ---*/
.hero:after {
  content: '';
  display: block;
  position: absolute;
  right: -110px;
  bottom:-75px;
  width: 180px;
  height: 180px;
  background: var(--clr-hot);
  opacity: 0.33;
  border-radius: 44% 56% 38% 62%;
  z-index: 0;
  pointer-events: none;
}

footer:after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 160px;
  height: 100px;
  background: var(--clr-sun);
  border-radius: 70px 28px 160px 0px;
  opacity: .14;
  z-index: 0;
}

/*--- PRINT FIX ---*/
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
}
