/* =================================================
   CSS RESET & BASELINE for consistency and retro look
   ================================================= */
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;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #f7f3ec; /* Vintage paper color */
  color: #231f20;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #0A3246;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B134;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Gadget, sans-serif;
  font-weight: 700;
  color: #0a3246;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; font-weight: 600; }
p, ul, ol, li, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #372c1f;
}
ul, ol {
  margin: 14px 0 14px 24px;
}
strong, b { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .container { padding: 0 12px; }
}

/* ============================
   VINTAGE RETRO COLOR PALETTE
   ============================ */
:root {
  --primary: #0A3246;
  --primary-dark: #08232f;
  --secondary: #C1D9E7;
  --accent: #F2B134;
  --neutral: #f7f3ec;
  --brown: #7f6a41;
  --paper: #f7f3ec;
  --teal: #258e92;
  --red: #d34c41;
}

/* ===========
   CONTAINERS
   =========== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .container { max-width: 100%; padding: 0 10px; }
  .content-wrapper { gap: 18px; }
}

/* =========
   SPACING
   ========= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(87,73,41,0.05);
}
@media (max-width: 768px) {
  .section { padding: 28px 8px; margin-bottom: 36px; }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffdfa;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(87,73,41,0.07);
  padding: 26px 20px;
  min-width: 260px;
  flex: 1 1 320px;
}
.card:not(:last-child) {
  margin-right: 20px;
}
.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;
  background: #faf3e6;
  box-shadow: 0 2px 10px 0 rgba(112,92,53,0.08);
  border-radius: 16px;
  margin-bottom: 20px;
  flex-direction: column;
  min-width: 220px;
}
.testimonial-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #91793e;
  font-style: italic
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================================
   HEADER & NAV - VINTAGE NAV STYLE
   ================================ */
header {
  width: 100%;
  background: #edead5;
  box-shadow: 0 2px 10px 0 rgba(87,73,41,0.06);
  padding: 0;
  position: relative;
  z-index: 120;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding: 22px 0 12px 0;
}
nav a {
  font-family: 'Montserrat', 'Arial Black', Gadget, sans-serif;
  font-size: 1.05rem;
  color: #0A3246;
  background: none;
  border-radius: 6px;
  padding: 6px 14px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.18s, background 0.18s;
  font-weight: 600;
}
nav a:hover, nav a:focus {
  color: #F2B134;
  background: #fff1d8;
}
nav a.btn-primary {
  background: var(--accent);
  color: #0A3246 !important;
  border-radius: 11px;
  padding: 8px 22px;
  box-shadow: 0 2px 8px 0 rgba(242,177,52,0.08);
  font-size: 1.07rem;
  margin-left: 12px;
  font-family: 'Montserrat', 'Arial Black', Gadget, sans-serif;
  letter-spacing: 0.025em;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 0 #fffbe8;
  transition: background 0.22s, color 0.18s, box-shadow 0.22s;
}
nav a.btn-primary:hover, nav a.btn-primary:focus {
  background: #edde9a;
  color: #0A3246;
  box-shadow: 0 3px 14px 0 rgba(183,145,41,0.13);
}
nav img {
  height: 46px;
  margin-right: 10px;
}

@media (max-width: 1024px) {
  nav {
    gap: 11px;
    padding-left: 10px;
  }
  nav img { height: 38px; }
  nav a.btn-primary { padding: 8px 13px; font-size: 1rem; }
}

/* =================================
   MOBILE MENU/HAMBURGER NAVIGATION
   ================================= */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fffbe9;
  font-size: 2rem;
  border: 0;
  padding: 7px 12px;
  border-radius: 8px;
  margin: 8px 12px 8px auto;
  cursor: pointer;
  transition: background 0.16s, color 0.15s;
  z-index: 222;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #f2b134;
}
.mobile-menu {
  display: flex;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #edead5ec;
  transform: translateX(-100vw);
  transition: transform 0.31s cubic-bezier(.55,.1,.46,.88);
  z-index: 2000;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  box-shadow: 6px 0 22px 0 rgba(34,30,10,0.08);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--primary);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 46px; height: 46px;
  align-self: flex-end;
  margin: 17px 18px 6px 0;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: background 0.16s, color 0.15s;
}
.mobile-menu-close:focus {
  outline: 2px solid #0a3246;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  padding: 38px 30px 25px 36px;
}
.mobile-nav a {
  color: #0A3246;
  background: none;
  text-decoration: none;
  font-size: 1.15rem;
  padding: 14px 0 8px 6px;
  border-radius: 8px;
  font-family: 'Montserrat', 'Arial Black', Gadget, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff5dc;
  color: #F2B134;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 0; top: 9px;
  }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ===============
   HERO SECTIONS
   =============== */
.hero, .about-hero, .services-hero, .contact-hero, .team-hero, .guide-hero, .thank-you {
  background: repeating-linear-gradient(105deg,#edead5 0 8px, #fffdfa 8px 14px);
  box-shadow: 0 7px 24px 0 rgba(52,32,13,0.07);
  border-radius: 22px;
  padding: 48px 0 32px 0;
  margin-bottom: 38px;
}
.hero h1, .about-hero h1, .services-hero h1, .contact-hero h1, .team-hero h1, .guide-hero h1, .thank-you h1 {
  color: var(--primary);
  text-shadow: 1px 1px 0 #fffbe6, 2px 2px 0 #edead5;
  font-family: 'Montserrat', 'Arial Black', Gadget, sans-serif;
  font-size: 2.3rem;
  margin-bottom: 12px;
}
.hero p, .about-hero p, .services-hero p, .contact-hero p, .team-hero p, .guide-hero p, .thank-you p {
  color: #7f6a41;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .hero, .about-hero, .services-hero, .contact-hero, .team-hero, .guide-hero, .thank-you {
    padding: 26px 0 15px 0;
    margin-bottom: 26px;
    border-radius: 14px;
  }
}

/* ========================
   FEATURES (Retro style)
   ======================== */
.features {
  background: #edead5;
  border: 3px dashed #C1D9E7;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 32px 0;
}
.features h2 {
  color: var(--accent);
  font-family: 'Montserrat', 'Arial Black', Gadget, sans-serif;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  justify-content: space-between;
}
.feature {
  background: #fff7dc;
  border: 2px solid #C1D9E7;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(87,73,41,0.06);
  padding: 24px 16px 22px 16px;
  width: 225px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.19s, transform 0.15s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature img { height: 44px; margin-bottom: 10px; }
.feature h3 { text-align: center; color: #55391e; font-size: 1.17rem; }
.feature p { text-align: center; color: #7f6a41; font-size: 1rem; }
.feature:hover {
  box-shadow: 0 5px 24px 0 rgba(104,70,7,0.10);
  transform: translateY(-4px) scale(1.025);
  background: #fffbe8;
}
@media (max-width: 990px) {
  .feature-grid {
    gap: 17px;
    justify-content: flex-start;
  }
  .feature {
    width: 44vw;
    min-width: 140px;
  }
}
@media (max-width: 768px) {
  .features { padding: 12px 0; }
  .feature-grid { flex-direction: column; gap: 12px; }
  .feature { width: 96%; min-width: 0; }
}

/* =================
   SERVICES/AREA CARDS
   ================= */
.practice-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.area {
  background: #f7f3ec;
  border: 2px solid #C1D9E7;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(121,107,48,0.07);
  padding: 17px 18px 13px 18px;
  min-width: 220px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.17s, border 0.13s, background 0.15s;
}
.area h3 { color: var(--teal); font-size: 1.19rem; }
.area:hover {
  background: #fffbe8;
  border-color: #F2B134;
  box-shadow: 0 3px 16px 0 rgba(157,138,47,0.10);
}
@media (max-width: 768px) {
  .practice-areas { flex-direction: column; gap: 12px; }
  .area { min-width: 0; }
}

/* =================
   FAQ + CATEGORIES
   ================= */
.faq, .faq ul {
  background: #fffefa;
  border-radius: 9px;
  padding: 16px 17px 10px 17px;
  border-left: 4px solid #F2B134;
  margin-top: 9px;
}
.faq h4 {
  color: #0A3246;
  margin-bottom: 10px;
}
.faq li {
  padding-bottom: 9px;
  list-style: disc inside;
  color: #505034;
}
.article-categories {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.article-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-categories li {
  background: #edead5;
  border-radius: 6px;
  padding: 2px 12px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(200,185,80,.04);
}
.search-filter label {
  color: var(--brown);
  font-size: 1rem;
  font-weight: 600;
}
.search-filter input {
  width: 80%;
  max-width: 320px;
  margin-left: 12px;
  padding: 7px 12px;
  border: 1.5px solid #C1D9E7;
  border-radius: 7px;
  background: #FBF6E3;
  color: #888;
  font-size: 1rem;
}
.search-filter input[disabled] {
  opacity: 0.52;
  background: #f3e8c8;
  color: #bbb;
}

/* ========================
   TESTIMONIALS/REVIEWS
   ======================== */
.testimonials {
  background: #edead5;
  border-radius: 19px;
  padding: 35px 0;
  margin-bottom: 60px;
}
.testimonials h2 { color: #55391e; }
.testimonial-card {
  background: #fffdfa;
  border: 2px solid #F2B134;
  border-radius: 16px;
  box-shadow: 0 3px 18px 0 rgba(183,145,41,0.07);
  color: #372c1f;
  position: relative;
  font-size: 1.04rem;
  transition: box-shadow 0.14s, border 0.17s, background 0.14s;
}
.testimonial-card p {
  color: #231f20;
  margin-bottom: 8px;
}
.testimonial-card:hover {
  background: #fffbe2;
  box-shadow: 0 8px 28px 0 rgba(183,145,41,0.13);
  border-color: #C1D9E7;
}
.testimonial-meta span:last-child {
  font-size: 1.1rem; color: #F2B134;
}

/* =================
   CTA STRIPS
   ================= */
.contact-cta, .cta-strip {
  background: #F2B134;
  color: #0a3246;
  box-shadow: 0 2px 10px 0 rgba(183,145,41,0.10);
  border-radius: 21px;
  padding: 33px 0;
  margin-bottom: 45px;
}
.contact-cta h2, .cta-strip h2, .cta-strip p {
  color: #0a3246;
}
.cta-strip p {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial Black, Gadget, sans-serif;
}

/* ===================
   PROFILE CARDS (Team)
   =================== */
.profile-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.profile-card {
  background: #f7f3ec;
  border: 2px solid #c1d9e7;
  border-radius: 12px;
  box-shadow: 0 2px 9px 0 rgba(121,107,48,0.08);
  padding: 20px 20px 14px 20px;
  min-width: 220px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border 0.15s, box-shadow 0.18s, background 0.14s;
}
.profile-card h3 { color: var(--teal); font-size: 1.18rem; margin-bottom: 5px; }
.profile-card p {
  font-size: 1.01rem; color: #72613b; margin-bottom: 4px;
}
.profile-card ul {
  margin-left: 1em; color: #4d3930; font-size: 0.98rem;
}
.profile-card:hover {
  background: #fffbe8;
  border-color: #F2B134;
  box-shadow: 0 4px 14px 0 rgba(242,177,52,0.10);
}
@media (max-width: 768px) {
  .profile-cards { flex-direction: column; gap: 14px; }
  .profile-card { min-width: 0; }
}

/* =========================
   TIMELINE (About/history)
   ========================= */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 4px solid #F2B134;
  padding-left: 22px;
  margin-bottom: 13px;
}
.timeline p strong {
  color: var(--teal);
  font-family: 'Montserrat', Arial Black, Gadget, sans-serif;
}

/* =========================
   ADDRESS & CONTACT DETAILS
   ========================= */
address {
  font-style: normal;
  color: #4e4336;
  margin-top: 7px;
}
.contact-details {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 17px;
}
.contact-details p, address p {
  display: flex;
  align-items: center;
  gap: 11px;
}
.contact-details img, address img {
  height: 23px;width: 23px;margin-right: 6px;vertical-align: middle;
}
.privacy-note { font-size: 0.93rem; color: #92743b; margin-top: 8px; }

/* =========================
   FOOTER
   ========================= */
footer {
  background: #edead5;
  box-shadow: 0 -2px 10px 0 rgba(87,73,41,0.04);
  width: 100%;
  padding: 30px 0 15px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.footer-nav a {
  color: #7f6a41;
  text-decoration: none;
  font-family: 'Montserrat', Arial Black, Gadget, sans-serif;
  font-size: 0.98rem;
  padding: 6px 10px;
  border-radius: 5px;
  transition: color .17s, background .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F2B134;
  background: #fff4d5;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.brand-footer img {
  height: 38px;
  filter: sepia(0.27) hue-rotate(8deg) saturate(0.7) brightness(1.09);
  margin-right: 0;
}
.brand-footer p {
  color: #6b613c;
  font-size: 0.98rem;
}
@media (max-width: 570px) {
  .footer-nav { gap: 8px; flex-direction: column; }
  .brand-footer { flex-direction: column; gap: 8px; }
}

/* ================
   BUTTONS & CTA
   ================ */
.btn-primary, .contact-cta a.btn-primary, .cta-strip a.btn-primary {
  display: inline-block;
  background: #F2B134;
  color: #0A3246 !important;
  font-family: 'Montserrat', 'Arial Black', Gadget, sans-serif;
  font-weight: bold;
  border: none;
  padding: 12px 30px;
  border-radius: 16px;
  font-size: 1.13rem;
  text-decoration: none;
  box-shadow: 0 2px 10px 0 rgba(213,170,45,0.07);
  transition: background 0.23s, color 0.2s, box-shadow 0.20s, transform 0.19s;
  cursor: pointer;
  margin-top: 12px;
}
.btn-primary:hover, .btn-primary:focus, .contact-cta a.btn-primary:hover, .cta-strip a.btn-primary:focus {
  background: #fde7a0;
  color: #0A3246 !important;
  box-shadow: 0 4px 20px 0 rgba(230,185,60,0.11);
  transform: translateY(-2px) scale(1.04);
}

/* ================
   RETRO ACCENTS
   ================ */
.section, .hero, .features, .testimonials, .contact-cta,
.cta-strip, .about-hero, .services-hero, .team-hero,
.guide-hero, .thank-you {
  position: relative;
}
.section:before, .hero:before, .about-hero:before, .services-hero:before, .team-hero:before, .guide-hero:before, .thank-you:before {
  content: '';
  position: absolute;
  left: -14px; top: -12px;
  width: 54px;
  height: 54px;
  background: url('../assets/deco-dot.png') repeat;
  opacity: 0.11;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
}
.section:after, .hero:after, .about-hero:after, .services-hero:after, .team-hero:after, .guide-hero:after, .thank-you:after {
  content: '';
  position: absolute;
  right: -12px; bottom: -24px;
  width: 44px;
  height: 44px;
  background: url('../assets/deco-lines.png') repeat;
  opacity: 0.11;
  z-index: 1;
  pointer-events: none;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .section:before, .hero:before, .about-hero:before, .services-hero:before, .team-hero:before, .guide-hero:before, .thank-you:before,
  .section:after, .hero:after, .about-hero:after, .services-hero:after, .team-hero:after, .guide-hero:after, .thank-you:after {
    display: none;
  }
}

/* ================
   COOKIE CONSENT
   ================ */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #edead5;
  color: #252014;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  z-index: 5005;
  box-shadow: 0 -2px 13px 0 rgba(0,0,0,0.09);
  border-top: 2px solid #F2B134;
  padding: 18px 40px 18px 20px;
  transition: transform 0.30s cubic-bezier(.56,.1,.46,.88);
  gap: 25px;
}
.cookie-banner.hidden {
  transform: translateY(128px);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner__text {
  flex: 1 1 280px;
  margin-right: 18px;
  color: #231f20;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
}
.cookie-banner__btn {
  padding: 8px 22px;
  border-radius: 11px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 0;
  background: #fffdfa;
  color: #0a3246;
  box-shadow: 0 2px 7px rgba(80,60,20,0.06);
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.15s;
}
.cookie-banner__btn--accept {
  background: #F2B134;
  color: #0A3246;
}
.cookie-banner__btn--accept:hover, .cookie-banner__btn--accept:focus {
  background: #fde7a0;
  color: #0a3246;
  box-shadow: 0 3px 13px 0 rgba(215,185,70,0.17);
}
.cookie-banner__btn--reject {
  background: #d34c41;
  color: #fffbe8;
}
.cookie-banner__btn--reject:hover, .cookie-banner__btn--reject:focus {
  background: #dda69b;
  color: #7f3c2a;
  box-shadow: 0 3px 13px 0 rgba(211,76,65,0.12);
}
.cookie-banner__btn--settings {
  background: #fffdfa;
  color: #0a3246;
  border: 1.5px solid #c1d9e7;
}
.cookie-banner__btn--settings:hover, .cookie-banner__btn--settings:focus {
  background: #fffbe8;
  color: #F2B134;
  border-color: #F2B134;
}
@media (max-width: 576px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 15px 6px 11px 11px; }
  .cookie-banner__actions {
    gap: 9px;
    margin-top: 13px;
  }
}

/* ==================
   COOKIE MODAL STYLE
   ================== */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(37,32,20,0.38);
  z-index: 5050;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: auto;
  animation: fadeInModal 0.3s;
}
.cookie-modal.open { display: flex; }
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal__content {
  background: #fffdfa;
  border-radius: 15px;
  box-shadow: 0 9px 30px 0 rgba(34,30,10,0.13);
  width: 92vw;
  max-width: 416px;
  padding: 32px 25px 25px 25px;
  color: #0a3246;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal__close {
  position: absolute;
  right: 19px; top: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #0a3246;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #F2B134;
}
.cookie-modal__title {
  font-size: 1.21rem;
  margin-bottom: 7px;
  color: #382a02;
}
.cookie-modal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 13px 0;
}
.cookie-modal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.01rem;
  color: #231f20;
  padding: 7px 0;
}
.cookie-modal__toggle {
  margin-left: 18px;
  appearance: none;
  width: 36px;
  height: 20px;
  background: #edead5;
  border-radius: 12px;
  border: 1.2px solid #C1D9E7;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background .15s, border .13s;
}
.cookie-modal__toggle:checked {
  background: #F2B134;
  border-color: #F2B134;
}
.cookie-modal__toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 2px;
  width: 15px; height: 15px;
  background: #fffdfa;
  border-radius: 50%;
  box-shadow: 0 1.5px 2px rgba(202,150,53,0.04);
  transition: left .16s;
}
.cookie-modal__toggle:checked:before {
  left: 17px;
  background: #fffbea;
}
.cookie-modal__item--essential label {
  color: #7f6a41;
  font-weight: bold;
}
.cookie-modal__note {
  color: #a18038;
  font-size: .95rem;
  margin-bottom: 2px;
}
.cookie-modal__actions {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}
.cookie-modal__btn {
  border: none;
  border-radius: 11px;
  padding: 7px 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: #F2B134;
  color: #0a3246;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0px 1.2px 6px rgba(242,177,52,0.10);
  cursor: pointer;
}
.cookie-modal__btn:hover, .cookie-modal__btn:focus {
  background: #fde7a0;
  color: #0A3246;
}

/* =====================
   RESPONSIVE BREAKPOINTS
   ===================== */
@media (max-width: 1100px) {
  .container { padding: 0 8px; }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .practice-areas, .profile-cards {
    flex-direction: column;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* =================
   ANIMATIONS
   ================= */
.btn-primary, .feature, .area, .profile-card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.14s, background 0.13s, border-color 0.14s;
}

/* =================
   MISC HELPERS
   ================= */
::-webkit-scrollbar {
  width: 10px;
  background: #f7f3ec;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #C1D9E7;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F2B134;
}

/* =================
   PRINT OVERRIDE
   ================= */
@media print {
  * {
    background: transparent !important;
    color: #1a0800 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  nav, .mobile-menu-toggle, .mobile-menu, .footer-nav, .brand-footer, .cookie-banner, .cookie-modal { display: none !important; }
  .container { width: 100%; max-width: 100%; padding: 0; }
}

/* =================
   END OF CSS
   ================= */
