/* ========== 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, menu, 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, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #fff;
  color: #222F3E;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ========== BRAND FONTS ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900|Open+Sans:400,600,700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #fff;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #222F3E;
}
h1 {
  font-size: 2.5rem;
  color: #F34A53;
  text-shadow: 0 2px 20px #F3C67730;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #2AD2C9;
}
h3 {
  font-size: 1.3rem;
  color: #FF9600;
}
p, li {
  font-size: 1rem;
  color: #222F3E;
  margin-bottom: 10px;
}
strong {
  color: #F34A53;
  font-weight: bold;
}

/* ========== COLOR PALETTE ========== */
:root {
  --color-primary: #222F3E;
  --color-secondary: #F3C677;
  --color-accent: #E3E8EE;
  --color-vibrant1: #F34A53;
  --color-vibrant2: #2AD2C9;
  --color-vibrant3: #FF9600;
  --color-bg-light: #FAFAFB;
  --color-bg-card: #fff;
  --color-bg-dark: #222F3E;
}

/* ========== LAYOUT CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-light);
  border-radius: 20px;
}

/* ========== FLEXBOX LAYOUTS ========== */
.card-container, .features-grid, .services-overview, .biography-list,
.testimonials, .client-list ul, .project-highlights ul, .editing-services, .service-list, .address-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 10px #F34A5320, 0 8px 24px #2AD2C910;
  position: relative;
  transition: transform 0.25s cubic-bezier(.21,1.01,.51,.99), box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-9px) scale(1.03);
  box-shadow: 0 8px 32px #F34A5340, 0 2px 16px #2AD2C940;
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #2AD2C950;
  min-width: 270px;
  max-width: 360px;
  margin-bottom: 20px;
  border: 2px solid #E3E8EE;
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #222F3E;
}
.testimonial-card strong {
  color: #F34A53;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid > div {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px #F3C67733, 0 8px 24px #2AD2C917;
  padding: 18px 20px 20px 20px;
  margin-bottom: 20px;
  text-align: center;
  transition: box-shadow 0.19s, transform 0.2s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 22px #F34A5340, 0 4px 12px #2AD2C940;
  transform: scale(1.04);
}

/* ========== HEADER & HERO ========== */
header {
  background: #fff;
  box-shadow: 0 2px 12px #2AD2C910;
  position: sticky;
  top: 0;
  z-index: 1002;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 0;
  position: relative;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.main-nav ul li a {
  color: #222F3E;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  background: transparent;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.23s, color 0.22s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #F34A53;
  color: #fff;
}
.main-nav .cta {
  background: linear-gradient(90deg, #FF9600 25%, #F34A53 80%);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.06rem;
  padding: 9px 28px;
  border-radius: 22px;
  box-shadow: 0 2px 8px #2AD2C935;
  letter-spacing: 0.02em;
  outline: none;
  border: none;
  margin-left: 12px;
  transition: background 0.24s, box-shadow 0.18s, transform 0.19s;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: linear-gradient(90deg, #F34A53 25%, #2AD2C9 100%);
  transform: scale(1.06);
  box-shadow: 0 4px 18px #F34A5340, 0 2px 12px #2AD2C945;
}
.hero {
  background: linear-gradient(90deg, #FFF 60%, #2AD2C9 220%);
  background-color: #F3C67707;
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 80px 0 60px 0;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1, .hero p {
  color: #222F3E;
}
.hero h1 {
  color: #F34A53;
}
.hero .cta {
  margin-top: 22px;
  background: linear-gradient(90deg,#2AD2C9 10%,#FF9600 96%);
  color: #fff;
}
.hero .cta:hover {
  background: linear-gradient(90deg,#F3C677 20%,#F34A53 94%);
  color: #222F3E;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  color: #F34A53;
  font-size: 2.3rem;
  line-height: 1;
  padding: 3px 12px;
  border-radius: 7px;
  box-shadow: 0 2px 8px #F3C67722;
  position: absolute;
  top: 18px;
  right: 30px;
  z-index: 2002;
  transition: background 0.21s, color 0.21s, box-shadow 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #2AD2C9;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 36px #2AD2C960;
  z-index: 2005;
  transform: translateX(-105vw);
  transition: transform 0.39s cubic-bezier(.86,.01,.11,.98);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  color: #F34A53;
  border: none;
  margin: 16px 24px 0 0;
  cursor: pointer;
  transition: color 0.18s, background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FF9600;
  background: #F3C67715;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 36px 36px 24px 36px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 14px 0;
  color: #222F3E;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-bottom: 1px solid #E3E8EE;
  transition: color 0.2s, background 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #F34A53;
  background: #F3C67722;
}

/* Hide main nav on mobile, show hamburger */
@media (max-width: 900px) {
  .main-nav ul, .main-nav .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ========== BUTTONS & CTA ========== */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 22px;
  background: linear-gradient(90deg, #2AD2C9 0%, #FF9600 95%);
  color: #fff;
  font-size: 1.09rem;
  padding: 12px 38px;
  margin: 0 0 0 0;
  border: none;
  box-shadow: 0 2px 18px #2AD2C925;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.25s, box-shadow 0.19s, color 0.18s, transform 0.18s;
  position: relative;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #F34A53 14%, #F3C677 91%);
  color: #222F3E;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px #F3C67759, 0 2px 14px #2AD2C949;
}

/* ========== CARDS, LISTS & FEATURE BLOCKS ========== */
.services-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.services-overview > div {
  flex: 1 1 230px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px #F3C67733, 0 8px 24px #2AD2C940;
  padding: 22px 20px 20px 20px;
  text-align: center;
  transition: box-shadow 0.18s, transform 0.16s;
  margin-bottom: 20px;
}
.services-overview .cta {
  align-self: flex-end;
}
.biography-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.biography-list > div {
  flex: 1 1 220px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 6px #2AD2C925;
  padding: 20px;
}
.cv-snippets ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.cv-snippets ul li {
  background: #F3C67727;
  border-radius: 10px;
  padding: 9px 16px;
  color: #222F3E;
  font-size: 1.01rem;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.service-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 7px #2AD2C913;
  padding: 14px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: #222F3E;
}
.service-list li span {
  background: #2AD2C9;
  color: #fff;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 0.95rem;
  margin-left: 12px;
}
.editing-services, .editing-process ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.editing-services li, .editing-process ul li {
  background: #F3C67723;
  border-radius: 9px;
  padding: 10px 16px;
  font-size: 1.02rem;
  color: #222F3E;
}
.portfolio-usps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.portfolio-usps ul li {
  background: #2AD2C916;
  border-radius: 10px;
  padding: 9px 16px;
  color: #222F3E;
  font-size: 0.99rem;
}
.directions-snippet p {
  background: #F3C67718;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 1.02rem;
  color: #222F3E;
}
.address-details ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.address-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #222F3E;
}

/* ========== FOOTER ========== */
footer {
  background: #222F3E;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 16px;
  margin-top: 60px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
footer .footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
}
footer .footer-nav a {
  color: #F3C677;
  font-size: 0.98rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: color 0.2s;
}
footer .footer-nav a:hover {
  color: #2AD2C9;
  text-decoration: underline;
}
footer p {
  font-size: 0.99rem;
  color: #fff;
  opacity: 0.85;
}

/* ========== COOKIE CONSENT BANNER ========== */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 24px #222F3E22;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 12px 18px 12px;
  gap: 18px;
  font-size: 1.08rem;
  font-family: 'Open Sans', sans-serif;
  color: #222F3E;
  animation: slideUp 0.4s cubic-bezier(.12,1.09,.38,.98);
}
@keyframes slideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
#cookie-consent-banner .consent-btn {
  background: linear-gradient(93deg,#F34A53 40%,#FF9600 100%);
  color: #fff;
  padding: 9px 18px;
  border-radius: 16px;
  font-size: 1rem;
  margin-right: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.13s, box-shadow 0.15s, transform 0.13s;
  box-shadow: 0 1px 8px #F3C67715;
}
#cookie-consent-banner .consent-btn:hover, #cookie-consent-banner .consent-btn:focus {
  background: linear-gradient(92deg,#2AD2C9 30%,#F3C677 90%);
  color: #222F3E;
  transform: scale(1.04);
}
#cookie-consent-banner .consent-settings {
  background: #2AD2C9;
  color: #fff;
  border-radius: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  padding: 9px 17px;
  border: none;
  font-weight: 600;
  margin-right: 0;
  margin-left: 4px;
  transition: background 0.18s, color 0.12s;
}
#cookie-consent-banner .consent-settings:hover, #cookie-consent-banner .consent-settings:focus {
  background: #222F3E;
  color: #F3C677;
}

/* ========== COOKIE PREFERENCES MODAL ========== */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0;
  width: 100vw;
  height: 100vh;
  background: #222F3E88;
  z-index: 3500;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.34s cubic-bezier(.18,1.09,.34,.99);
}
#cookie-modal-overlay.open { display: flex; }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal {
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 4px 32px #222F3E55;
  max-width: 440px;
  width: 96vw;
  padding: 34px 26px 26px 26px;
  animation: popUp .4s cubic-bezier(.57,1.36,.51,.96);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes popUp {
  0% { transform: scale(0.85) translateY(10%); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
#cookie-modal h2 {
  font-size: 1.35rem;
  color: #F34A53;
  margin-bottom: 10px;
}
#cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F3C67713;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 7px;
  color: #222F3E;
  font-size: 1.04rem;
}
#cookie-modal .cookie-category[aria-disabled="true"] {
  opacity: 0.6;
}
#cookie-modal .toggle-switch {
  position: relative;
  width: 42px; height: 24px;
  background: #E3E8EE;
  border-radius: 15px;
  display: inline-block;
  transition: background 0.18s;
}
#cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
#cookie-modal .toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #F34A53;
  transition: left 0.21s, background 0.18s;
}
#cookie-modal .toggle-switch input:checked + .toggle-slider {
  left: 20px;
  background: #2AD2C9;
}
#cookie-modal .toggle-switch[aria-disabled="true"] .toggle-slider {
  background: #cdcdcd;
}
#cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 10px;
}
#cookie-modal .consent-btn {
  background: linear-gradient(93deg,#F34A53 40%,#FF9600 100%);
  color: #fff;
  padding: 9px 18px;
  border-radius: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.13s;
  box-shadow: 0 1px 8px #F3C67715;
}
#cookie-modal .consent-btn:hover, #cookie-modal .consent-btn:focus {
  background: linear-gradient(92deg,#2AD2C9 40%,#F3C677 100%);
  color: #222F3E;
}

/* ========== ANIMATIONS & INTERACTIONS ========== */
.card, .features-grid > div, .services-overview > div,
.biography-list > div, .testimonial-card, .service-list li, .editing-services li, .editing-process ul li, .portfolio-usps ul li {
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .features-grid > div:hover, .services-overview > div:hover {
  transform: translateY(-6px) scale(1.03);
}
.cta, .consent-btn, .consent-settings {
  transition: background 0.22s, color 0.13s, box-shadow 0.15s, transform 0.13s;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    padding: 14px 0;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 44px;
    padding: 24px 8px;
    border-radius: 10px;
  }
  .container {
    padding: 0 5px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .service-list li, .editing-services li, .editing-process ul li, .cv-snippets ul li, .portfolio-usps ul li {
    font-size: 0.96rem;
    padding: 7px 10px;
  }
  .hero {
    min-height: 220px;
    padding: 46px 0 35px 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1.1rem; }
  .features-grid, .services-overview, .biography-list {
    flex-direction: column;
    gap: 10px;
  }
  .features-grid > div, .services-overview > div, .biography-list > div
  {
    min-width: unset;
    width: 100%;
  }
  .testimonial-card {
    min-width: 90vw;
    max-width: 95vw;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .address-details ul {
    gap: 8px;
  }
  .main-nav > a img {
    width: 90px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.12rem; }
  h2 { font-size: 0.98rem; }
  h3 { font-size: 0.97rem; }
  .cta, .main-nav .cta {
    font-size: 1rem;
    padding: 8px 18px;
  }
}

/* ========== MISC UTILITIES ========== */
.bg-vibrant1 { background: #F34A53; }
.bg-vibrant2 { background: #2AD2C9; }
.bg-vibrant3 { background: #FF9600; }
.txt-vibrant1 { color: #F34A53; }
.txt-vibrant2 { color: #2AD2C9; }
.txt-vibrant3 { color: #FF9600; }
.rounded-12 { border-radius: 12px; }
.rounded-20 { border-radius: 20px; }
.no-select { user-select: none; }

/* ========== VISUAL SHADOWS ========== */
.shadow-light {
  box-shadow: 0 2px 12px #2AD2C915, 0 8px 24px #F34A5322;
}
.shadow-soft {
  box-shadow: 0 2px 4px #F3C67720, 0 8px 14px #E3E8EE20;
}

/* ========== MARGIN & SPACING HELPERS ========== */
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-8 { margin-bottom: 8px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-8 { margin-top: 8px; }

/* ========== HIGH CONTRAST FOR TESTIMONIALS/REVIEWS ========== */
.testimonial-card {
  background: #fff;
  color: #222F3E;
}
.testimonial-card p, .testimonial-card strong {
  color: #222F3E;
}

/* ========== VISUAL DIVIDER ========== */
.divider {
  height: 3px;
  width: 72px;
  background: linear-gradient(90deg, #2AD2C9 0%, #F3C677 60%, #F34A53 100%);
  border: none;
  border-radius: 2px;
  margin: 24px 0;
}

/* ========== HIDE ELEMENT HELPERS ========== */
.hidden { display: none !important; }

