@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Prompt:wght@300;400;500;600;700&display=swap');
@font-face {
  font-family: 'Playfair Upright';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTzYgEM86xQ.woff2) format('woff2');
}



:root {
  --bg-color: #fcfcfb;
  --bg-secondary: #f0fdf4;
  --text-main: #1c1917;
  --text-muted: #57534e;
  
  --primary: #105e42;
  --secondary: #059669;
  --secondary-light: #d1fae5;
  --cta: #059669;
  --cta-hover: #047857;
  
  --border-color: rgba(17, 24, 39, 0.08);
  --font-sans: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', 'Prompt', Georgia, serif;

  --max-width: 1300px;
}

* { box-sizing: border-box; padding: 0; margin: 0; }

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

::selection { background: var(--secondary); color: white; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary { background-color: var(--primary); color: white; }
.btn-primary:hover { background-color: var(--primary); opacity: 0.9; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(2, 44, 34, 0.2); }
.btn-outline { background-color: transparent; border: 1px solid var(--border-color); color: var(--primary); }
.btn-outline:hover { background-color: var(--bg-secondary); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Navbar */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.25rem 2rem; position: absolute; top: 0; left: 0; right: 0; z-index: 50;
}
.langSwitch { display: flex; background: white; padding: 0.25rem; border-radius: 100px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.langBtn { background: none; border: none; cursor: pointer; padding: 0.5rem 1rem; border-radius: 100px; font-weight: 600; font-size: 0.875rem; color: var(--text-muted); transition: all 0.2s; }
.langBtn.active { background: #000; color: white; }

/* Hero */
.heroEditorial { 
  aspect-ratio: 16 / 9; 
  display: flex; 
  justify-content: flex-end; 
  align-items: center; 
  background: url('./HERObg.webp?v=20261028_04') left center / cover no-repeat;
  position: relative; 
  overflow: hidden; 
}
.heroImageWrapper { display: none; }
.heroImageWrapper::after { display: none; }
.heroImage { display: none; }
.heroEditorialContent { position: relative; width: 54%; padding: 3rem 4rem 5rem 3.6rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; z-index: 10; margin-top: -3rem; }

/* Sophisticated curved layers for right side */
.heroEditorialContent::before { 
  display: none;
}
.editorialTag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--primary); text-transform: uppercase; margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; margin-left: 0; }
.editorialTag::after { content: ""; height: 1px; width: 12rem; background-color: var(--primary); opacity: 0.5; }
.editorialTitle { font-family: var(--font-serif); font-size: clamp(3.25rem, 6.3vw, 5.85rem); line-height: 0.95; color: #052e16; margin-bottom: 2rem; display: flex; flex-direction: column; align-items: flex-start; font-weight: 400; position: relative; z-index: 20; letter-spacing: -0.02em; margin-left: -0.04em; }
.titleLine1 { margin-left: 0; }
.titleLine2 { margin-left: 1.5rem; font-style: italic; color: var(--primary); display: inline-block; font-weight: 400; text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8); }
.titleLine3 { margin-left: 0; }
.editorialTitle strong { font-weight: 500; }
.notaryBadge { display: none; }
.badgeSvg { animation: spinSlow 28s linear infinite; position: absolute; inset: 0; width: 100%; height: 100%; }
.badgeText { font-family: var(--font-sans); font-size: 8px; font-weight: 500; fill: currentColor; letter-spacing: 2px; text-transform: uppercase; }
.badgeCenter { position: relative; z-index: 2; color: var(--secondary); display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.badgeCenter svg { width: clamp(3rem, 5vw, 4.5rem); height: clamp(3rem, 5vw, 4.5rem); }

.editorialBottom { max-width: 520px; margin-left: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.editorialSubtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.8; font-weight: 300; margin: 0; text-align: left; }
.actionGroup { display: flex; flex-direction: column; gap: 1.5rem; }
.editorialCta { display: flex; gap: 2rem; align-items: center; justify-content: flex-start; }
.editorialLink { 
  font-weight: 600; 
  font-size: 0.875rem; 
  text-transform: uppercase; 
  letter-spacing: 0.1em;
  padding-bottom: 0.25rem; 
  position: relative;
  color: var(--text-color);
  transition: color 0.3s ease, opacity 0.3s ease;
}
.editorialLink:hover {
  color: var(--secondary);
  opacity: 0.8;
}
.editorialLink::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0px;
  left: 50%;
  background-color: var(--secondary);
  transition: width 0.3s ease;
  transform: translateX(-50%);
}
.editorialLink:hover::after {
  width: 100%; /* Using 100% instead of 80% because it's a longer text, looks better */
}

.heroSocial { display: flex; align-items: center; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(5,150,105,0.25); max-width: 460px; margin-left: 0; justify-content: flex-start; }
.heroSocial p { font-size: 0.75rem; font-weight: 600; color: #334155; text-transform: uppercase; letter-spacing: 0.1em; margin: 0; }
.heroSocialLinks { display: flex; gap: 1rem; }
.socialIcon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: white; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 8px rgba(0,0,0,0.02); transition: all 0.3s; color: var(--secondary); }
.socialIcon:hover { color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(5,150,105,0.15); }

@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .heroEditorial {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  .heroImageWrapper {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 45vh;
  }
  .heroImageWrapper::after {
    background: linear-gradient(to bottom, transparent 40%, var(--bg-color) 100%);
    width: 100%;
    height: 100%;
  }
  .heroEditorialContent {
    flex: 0 0 100%;
    width: 100%;
    padding: 2rem 1.5rem;
  }
  .notaryBadge {
    top: 35vh;
    right: 2%;
    width: 6rem;
    height: 6rem;
  }
}

/* Marquee */
.marquee { background: #0f2c20; color: rgba(255, 255, 255, 0.85); padding: 0.75rem 0; overflow: hidden; display: flex; white-space: nowrap; }
.marqueeContent { display: flex; animation: scroll 25s linear infinite; }
.marqueeItem { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.15em; padding: 0 2rem; display: flex; align-items: center; gap: 2rem; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Services */
.section { padding: 4rem 0; }
.sectionHeader { margin-bottom: 3rem; }
.sectionTag { font-size: 0.75rem; font-weight: 600; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.5rem; }
.sectionTitle { font-family: var(--font-serif); font-size: clamp(2rem, 3vw, 2.5rem); }

.servicesGrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; align-items: flex-start; }
.serviceCard { position: relative; width: calc(25% - 1.125rem); background: white; padding: 1.25rem 1rem; border: 1px solid rgba(5, 150, 105, 0.1); border-radius: 1rem; transition: all 0.4s ease; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); }
.serviceCard:hover { border-color: rgba(5, 150, 105, 0.3); border-bottom-color: transparent; border-radius: 1rem 1rem 0 0; transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12); z-index: 10; }
.serviceHeader { display: flex; justify-content: center; margin-bottom: 0.75rem; align-items: center; }
.serviceIcon { width: 44px; height: 44px; background-color: rgba(5, 150, 105, 0.05); border-radius: 50%; padding: 10px; color: var(--primary); transition: all 0.4s ease; }
.serviceCard:hover .serviceIcon { transform: scale(1.1) rotate(5deg); background-color: var(--secondary); color: white; box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2); }
.serviceTitle { font-family: var(--font-serif); font-size: 1.05rem; margin-bottom: 0; transition: margin 0.4s ease; text-align: center; display: flex; align-items: center; justify-content: center; }
.serviceTitle::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; margin-bottom: 2px; opacity: 0.4; transition: transform 0.4s ease, opacity 0.4s ease; }
.serviceCard:hover .serviceTitle::after { transform: rotate(225deg) translate(-2px, -2px); opacity: 0.8; }
/* .serviceCard:hover .serviceTitle { margin-bottom: 0.5rem; } */
.serviceDesc { position: absolute; left: -1px; right: -1px; top: calc(100% - 0.6rem); background: white; padding: 0 1.5rem 1.5rem; border: 1px solid rgba(5, 150, 105, 0.3); border-top: none; border-radius: 0 0 1rem 1rem; color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; max-height: 0; opacity: 0; visibility: hidden; overflow: hidden; transition: all 0.4s ease; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12); clip-path: inset(0 -40px -40px -40px); text-align: center; }
.serviceCard:hover .serviceDesc { max-height: 150px; opacity: 1; visibility: visible; }

/* FAQ */
.faqItem { 
  background: transparent; 
  padding: 1rem 1.5rem; 
  margin-bottom: 0.25rem; 
  border-radius: 0.75rem; 
  border: 1px solid var(--border-color); 
  transition: all 0.3s ease;
}
.faqItem.faq-expanded {
  background-color: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}
.faqQuestion { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; text-align: left; padding: 0; }
.faqQuestion h4 { font-size: 1.125rem; margin: 0; font-weight: 500; transition: color 0.3s; }
.faqQuestion:hover h4 { color: var(--secondary); }
.faqIcon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-secondary); color: var(--secondary); transition: transform 0.3s; }
.faqItem.open .faqIcon { transform: rotate(180deg); }
.faqAnswerWrapper { height: 0; overflow: hidden; transition: height 0.3s ease; }
.faqAnswer { padding-top: 1rem; color: var(--text-muted); line-height: 1.7; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: center; z-index: 100; opacity: 0; animation: fadeModal 0.3s forwards; }
@keyframes fadeModal { to { opacity: 1; } }
.modal-content { background: white; border-radius: 1.5rem; padding: 3rem; width: 90%; max-width: 600px; position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transform: scale(0.95); animation: scaleModal 0.3s forwards; }
@keyframes scaleModal { to { transform: scale(1); } }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; cursor: pointer; color: var(--text-muted); transition: color 0.2s; }
.modal-close:hover { color: var(--primary); }

/* Upload Styles */
.upload-title { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 0.5rem; }
.upload-subtitle { color: var(--text-muted); margin-bottom: 2rem; }


.formInput { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: 0.5rem; font-family: inherit; font-size: 1rem; outline: none; transition: border-color 0.2s; }
.formInput:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px var(--secondary-light); }
.uploadArea { border: 2px dashed var(--border-color); border-radius: 1rem; padding: 3rem 2rem; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--bg-color); margin-bottom: 1.5rem; }
.uploadArea:hover { border-color: var(--secondary); background: var(--bg-secondary); }
.uploadIcon { color: var(--secondary); margin-bottom: 1rem; }
.uploadHint { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; }
.fileList { margin-bottom: 1.5rem; background: #f9fafb; border-radius: 0.75rem; padding: 1rem; }
.fileItem { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }
.fileItem:last-child { border-bottom: none; }
.fileInfo { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.removeBtn { background: none; border: none; color: #ef4444; cursor: pointer; }
.progressContainer { margin-bottom: 1rem; }
.progressBar { height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; }
.progressFill { height: 100%; background: var(--secondary); transition: width 0.3s; }
.progressText { font-size: 0.75rem; color: var(--text-muted); text-align: center; }

/* Floating Widget */
.floatingButtons { position: fixed; bottom: 2rem; right: 2rem; display: flex; flex-direction: column; gap: 1rem; z-index: 50; }
.floatingBtn { width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: transform 0.3s; border: none; cursor: pointer; }
.floatingBtn:hover { transform: translateY(-4px) scale(1.05); }

@media (max-width: 900px) {
  .heroEditorial { grid-template-columns: 1fr; }
  .servicesGrid { flex-direction: column; }
  .serviceCard { width: 100%; }
  .hidden-mobile { display: none !important; }
}

/* Process Section */
.sectionDark { background: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px), linear-gradient(145deg, var(--primary) 0%, #0d281c 100%); background-size: 24px 24px, 100% 100%; position: relative; z-index: 1; border-radius: 1.5rem; margin: 1.5rem 3vw; box-shadow: 0 16px 36px rgba(0,0,0,0.12); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.processLeft { padding: 2.25rem 3.5vw; display: flex; flex-direction: column; justify-content: center; }
.processLeft .sectionHeaderCompact { margin-bottom: 0.85rem; }
.processLeft .sectionTag { font-size: 0.7rem; letter-spacing: 0.12em; margin-bottom: 0.2rem; }
.processLeft .sectionTitle { font-size: 1.75rem; line-height: 1.15; margin-bottom: 0; }
.processRightImage { position: relative; width: 100%; height: 100%; min-height: 320px; }
.timelineVerticalContainer { position: relative; padding-left: 0; margin-top: 0.6rem; }
.timelineVerticalLine { display: none; }
.timelineVerticalGrid { display: flex; flex-direction: column; gap: 0.35rem; position: relative; z-index: 1; }
.timelineVerticalStep { position: relative; display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.55rem 0.85rem; border-radius: 0.6rem; transition: all 0.3s ease; cursor: default; background: rgba(255, 255, 255, 0.02); border: 1px solid transparent; }
.timelineVerticalStep:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); transform: translateX(4px); }
.timelineVerticalDot { width: 32px; height: 32px; min-width: 32px; background: rgba(5, 150, 105, 0.15); color: var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 2; transition: all 0.3s ease; border: 1px solid rgba(5, 150, 105, 0.2); margin-top: 0.15rem; }
.timelineVerticalDot svg { width: 16px; height: 16px; }
.timelineVerticalStep:hover .timelineVerticalDot { background: var(--secondary); color: white; transform: scale(1.08); box-shadow: 0 0 12px rgba(5, 150, 105, 0.3); border-color: transparent; }
.timelineVerticalContent { flex: 1; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.timelineVerticalNum { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 700; color: var(--secondary); letter-spacing: 0.05em; margin-bottom: 0.1rem; }
.timelineVerticalStep:hover .timelineVerticalNum { color: rgba(255,255,255,0.9); }
.timelineVerticalNumInline {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary);
    margin-right: 0.4rem;
    font-weight: 400;
}
.timelineVerticalTitle { color: white; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.15rem; font-family: var(--font-serif); }
.timelineVerticalDesc { color: rgba(255,255,255,0.7); font-size: 0.8rem; line-height: 1.38; margin-bottom: 0; }

/* B2B Partnership Banner - Compact */
.b2bBannerCompact {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(5,150,105,0.04), rgba(5,150,105,0.08));
  border: 1px solid rgba(5,150,105,0.18);
  color: var(--text-color);
  border-radius: 0.85rem;
  padding: 1.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(5,150,105,0.04);
}
.b2bBannerGlow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(5,150,105,0.08) 0%, transparent 60%);
  transform: rotate(15deg);
  pointer-events: none;
}
.b2bBannerContent {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 280px;
}
.b2bBannerBadge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.b2bBannerBadge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.b2bBannerBadge span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.b2bBannerTitle {
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  line-height: 1.2;
  font-weight: 600;
}
.b2bBannerDesc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
  max-width: 650px;
}
.b2bBannerAction {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.b2bBannerBtn {
  padding: 0.55rem 1.4rem !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  border-radius: 9999px !important;
  white-space: nowrap !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

/* Licence Section */


/* ==========================================================================
   NOTARY LICENSE / CREDENTIALS SECTION (V3 - Exact Reference Match)
   ========================================================================== */
.licenceSection {
  padding: 90px 0 70px 0;
  width: 100%;
  background-image: url('./LICENCEbg.webp') !important;
  background-color: #F4F1E7 !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 2047 / 1150;
  overflow: hidden;
}
.licenceLayout {
  max-width: 1140px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
  padding: 0 2rem;
}
.licenceLeft {
  width: 43%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
}
.licenceRight {
  width: 54%;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  margin-top: 122px;
}

/* Left Column - Header */
.licenceHeader {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.licenceTag {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #075B50;
  text-transform: uppercase;
}
.licenceLine {
  width: 140px;
  height: 1px;
  background-color: #5F8981;
  margin-left: 18px;
}
.licenceTitle {
  font-family: var(--font-serif);
  font-size: 51px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -1.2px;
  color: #075B50;
  margin: 0 0 25px 0;
  white-space: nowrap;
  font-stretch: normal;
}
.licenceTitle em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.licenceDesc {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #789B93;
  margin: 0 0 35px 0;
}

/* Left Column - Certificates */
.licenceImages {
  position: relative;
  height: 400px;
  margin-top: 15px;
  left: 20px;
}
.certWrapper {
  position: absolute;
  box-shadow: 0 15px 30px rgba(50,70,60,0.16);
  background: white;
  border-radius: 4px;
  transition: transform 0.4s ease;
  cursor: pointer;
  border: 4px solid #fff;
}
.certImageCover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.certBack {
  width: 290px;
  height: 230px;
  transform: rotate(6deg);
  z-index: 1;
  top: 35px;
  left: 110px;
}
.certFront {
  width: 250px;
  height: 330px;
  transform: rotate(-2deg);
  z-index: 2;
  top: 0;
  left: 0;
}
.certWrapper:hover { 
  z-index: 10 !important; 
  transform: translateY(-5px) rotate(0deg) scale(1.02) !important; 
  box-shadow: 0 20px 50px rgba(50,70,60,0.25) !important; 
}

/* Left Column - Bottom Caption */
.licenceCaptionContainer {
  margin-top: 0px;
  margin-left: 15px;
}
.licenceCaption {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: #71928A;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  line-height: 1.4;
}
.licenceCaptionLine {
  width: 165px;
  height: 1px;
  background-color: #B9CCC4;
}

/* Right Column - Cards */
.licenceGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.licenceCard {
  height: 153px;
  width: 100%;
  padding: 20px 20px 20px 45px;
  border: 1px solid #CBD8D1;
  border-radius: 12px;
  background: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}
.licenceCardAccent {
  position: absolute;
  width: 2px;
  height: 80px;
  background-color: #087568;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.licenceCardIcon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #E0EBE5;
  color: #08665B;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.licenceCardIcon svg {
  width: 18px;
  height: 18px;
}
.licenceCardContent h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  color: #78A098;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}
.licenceCardContent h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  color: #075B50;
  margin: 0 0 4px 0;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.licenceCardContent p {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  color: #789B93;
  margin: 0;
}

/* Right Column - Notice */
.licenceDivider {
  width: 100%;
  height: 1px;
  background-color: #D3DDD7;
  margin-top: 16px;
  margin-bottom: 15px;
}
.licenceDisclaimer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.disclaimerIcon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #E0EBE5;
  color: #087568;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.licenceDisclaimer p {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #78928C;
  margin: 0;
}

/* Responsive */
@media (max-width: 1023px) {
  .licenceLayout {
    flex-direction: column;
  }
  .licenceLeft, .licenceRight {
    width: 100%;
  }
  .licenceRight {
    margin-top: 40px;
  }
  .licenceTitle {
    font-size: 42px;
    width: 100%;
    white-space: normal;
  }
}
@media (max-width: 767px) {
  .licenceGrid {
    grid-template-columns: 1fr;
  }
  .licenceTitle {
    font-size: 38px;
  }
  .licenceSection {
    padding: 40px 20px;
  }
}
/* ========================================================================== */

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contactSectionDark {
  background-color: #052a22;
  background-image: url('./contact_bg.png');
  background-position: center;
  background-size: cover;
  padding: 5rem 0 !important;
  margin: 0 !important;
  color: white;
}
.contactLayout {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  justify-content: space-between;
  align-items: center;
}
.contactFormContainer {
  flex: 0 0 48%;
  background: #ffffff;
  padding: 35px 35px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.contactInfo {
  flex: 0 0 45%;
}
.formRow {
  display: flex;
  gap: 15px;
}
.formRow .formGroup {
  flex: 1;
}
.formGroup {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
.formGroup label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}
.formInput {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f4f5f6;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #111827;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}
.formInput::placeholder {
  color: #9ca3af;
}
.formInput:focus {
  border-color: #22C55E;
  background: #FFFFFF;
}
.contactSubmitBtn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 5px;
}
.contactSubmitBtn:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
}
.contactSectionDark .sectionTag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.contactSectionDark .sectionTitle {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 600;
  color: white;
  margin: 0 0 15px 0;
  line-height: 1.1;
}
.contactDesc {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
}
.contactDirect {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contactDirectLink {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: white;
}
.contactDirectIcon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contactDirectIcon svg {
  width: 18px;
  height: 18px;
}
.contactDirectLink div:not(.contactDirectIcon) {
  display: flex;
  flex-direction: column;
}
.contactDirectLink strong {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}
.contactDirectLink span {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: white;
}
\n\n.footerCompact h1, .footerCompact h2, .footerCompact h3, .footerCompact h4, .footerCompact h5, .footerCompact h6 { color: white; }


/* Lightbox and Cert Wrapper */




@keyframes pulseMagnify {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  15% {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(23, 107, 89, 0.3);
  }
  30% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
}

.magnifyIcon {
  animation: pulseMagnify 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #124838;
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
}

.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
  padding: 2rem;
}

.lightboxClose {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 3rem;
  color: #111;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}


/* Added for compact section header */
.sectionHeaderCompact { margin-bottom: 2.5rem; }

.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 24, 39, 0.95) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
  padding: 2rem;
}

.lightboxClose {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 3rem;
  color: white !important;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
  transition: color 0.3s;
}

.lightboxClose:hover {
  color: var(--secondary) !important;
}

.lightboxPrev, .lightboxNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary); /* Solid dark green */
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  font-size: 2rem;
  padding: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
}

.lightboxPrev:hover, .lightboxNext:hover {
  background: var(--secondary); /* Highlight on hover */
  transform: translateY(-50%) scale(1.05);
}

.lightboxPrev {
  left: 3vw;
}

.lightboxNext {
  right: 3vw;
}

/* FAQ Accordion Styles */
.faqAnswer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-top 0.3s ease, margin-bottom 0.3s ease;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.05rem;
}
.faqItem.faq-expanded .faqAnswer {
  max-height: 200px;
  padding-top: 0.5rem;
  margin-bottom: 1rem;
}
.faqItem.faq-expanded .faqChevron {
  transform: rotate(180deg);
}
.faqChevron {
  transition: transform 0.3s ease;
}
.faqQuestion {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 1rem 0;
  cursor: pointer;
  text-align: left;
  color: var(--text-color);
}
.faqQuestion h4 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
}
.faqIcon {
  color: var(--secondary);
  background: rgba(46, 196, 182, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* Staggered delays for children if needed */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Subtle Paper Texture Background */
body {
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg width='150' height='150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.8;
  mix-blend-mode: multiply;
}

/* Add a very faint legal watermark / pattern to white sections */
.section[style*="background-color: white"], 
.section[style*="background: white"],
.section:not([style*="background"]) {
  background-image: radial-gradient(rgba(0, 0, 0, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Floating Buttons Tooltip */
.floatingBtn {
  position: relative;
}

.floatingBtn[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 100%;
  margin-right: 14px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: rgba(17, 24, 39, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-sans);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.floatingBtn[data-tooltip]::after {
  content: "";
  position: absolute;
  right: 100%;
  margin-right: 8px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(17, 24, 39, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.floatingBtn[data-tooltip]:hover::before,
.floatingBtn[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Hide scrollbar for carousel */
.reviewsCarousel::-webkit-scrollbar {
  display: none;
}

/* Carousel Arrows */
.carouselArrow {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.carouselArrow:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.3);
}

/* Fix Contact Us Title Color */
.contactSectionDark .sectionTitle { color: white; }

/* FAQ Card Layout Overrides */
.faqList {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.faqItem {
  background-color: transparent;
  border: 1px solid rgba(5, 150, 105, 0.15) !important;
  border-radius: 0.75rem;
  padding: 0.25rem 1.5rem !important;
  box-shadow: none;
  transition: all 0.2s ease;
}
.faqItem:hover {
  background-color: rgba(5, 150, 105, 0.03);
  border-color: rgba(5, 150, 105, 0.3) !important;
}
.faqQuestion {
  padding: 0.85rem 0 !important;
}
.faqQuestion h4 {
  font-family: var(--font-serif) !important;
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  color: var(--primary) !important;
  letter-spacing: 0.01em;
}
.faqItem.faq-expanded .faqAnswer {
  padding-top: 0 !important;
  margin-bottom: 1rem !important;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Fix Magnify Icon Distortion */
.magnifyIcon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  box-sizing: border-box !important;
  flex: none !important;
  padding: 0 !important;
}
.magnifyIcon svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  flex: none !important;
}

/* Fix spacing in footer brand */
.footerCompactBrand h3 {
  margin-bottom: 0.75rem;
}

/* FAQ Two-Column Layout */
.faqLayout {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr;
  gap: 4rem;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .faqLayout { grid-template-columns: 1fr; gap: 2rem; }
}

/* Tighter Card Padding */
.faqQuestion {
  padding: 0.75rem 0 !important;
}
.faqQuestion h4 {
  font-size: 1.25rem !important;
}
.faqItem {
  padding: 0 1.25rem !important;
}
.faqIcon {
  width: auto !important;
  height: auto !important;
  background: none !important;
  color: #789B93 !important;
}
.faqIcon svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 1.5;
}




/* Navbar link hover effect */
.hidden-mobile a:not(.btn) {
  position: relative;
  color: var(--text-color);
  transition: color 0.3s ease, opacity 0.3s ease;
}
.hidden-mobile a:not(.btn):hover {
  color: var(--secondary);
  opacity: 0.8;
}
.hidden-mobile a:not(.btn)::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background-color: var(--secondary);
  transition: width 0.3s ease;
  transform: translateX(-50%);
}
.hidden-mobile a:not(.btn):hover::after {
  width: 80%;
}

/* Foolproof FAQ CSS Override */
.faqItem .faqAnswer {
  max-height: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
  transition: all 0.4s ease !important;
  opacity: 0 !important;
}
.faqItem.faq-expanded .faqAnswer {
  max-height: 500px !important;
  padding-top: 0.5rem !important;
  margin-bottom: 1rem !important;
  opacity: 1 !important;
}
.faqQuestion {
  cursor: pointer !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Cookie Banner */
.cookieBanner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15), 0 2px 10px rgba(0,0,0,0.05);
  max-width: 320px;
  z-index: 999999;
  display: flex;
  pointer-events: none;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookieBanner.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookieText {
  font-size: 0.9375rem;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

.cookieText strong {
  font-weight: 700;
  color: var(--primary);
}

.cookieActions {
  display: flex;
  gap: 0.75rem;
}

.cookieBtnAccept, .cookieBtnReject {
  flex: 1;
  padding: 0.75rem 0;
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.cookieBtnAccept {
  background-color: #2b3941;
  color: white;
}
.cookieBtnAccept:hover {
  background-color: #1a2328;
}

.cookieBtnReject {
  background-color: #e8e8e8;
  color: #555;
}
.cookieBtnReject:hover {
  background-color: #d0d0d0;
}

.cookieBtnAccept:active, .cookieBtnReject:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .cookieBanner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

.contactSubmitBtn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4); background: linear-gradient(135deg, #10b981 0%, var(--cta) 100%); }

/* Tooltip for Social Icons */
.socialIcon {
  position: relative;
}

.socialIcon::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%; /* Position below */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #0f172a;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 20;
}

/* Little triangle pointer for tooltip */
.socialIcon::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(2px);
  border-width: 0 4px 5px 4px;
  border-style: solid;
  border-color: transparent transparent #0f172a transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 20;
}

.socialIcon:hover::after,
.socialIcon:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px); /* Animate up slightly */
}
.socialIcon:hover::before {
  transform: translateX(-50%) translateY(-2px); /* Animate up slightly */
}

.reviewCard {
  transition: all 0.3s ease;
}
.reviewCard:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(5, 150, 105, 0.4) !important;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Pricing Section */
.pricingSection {
  background-color: var(--bg-color);
  padding: 3rem 0 6rem 0;
}
.pricingContainer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.pricingTable {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.pricingHeader {
  display: grid;
  grid-template-columns: 2.5fr 2.5fr 1.5fr 1.5fr;
  padding: 1rem 2rem;
  background: rgba(248, 250, 252, 0.8);
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricingRow {
  display: grid;
  grid-template-columns: 2.5fr 2.5fr 1.5fr 1.5fr;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease;
  font-size: 0.95rem;
  color: var(--text-color);
  align-items: center;
  gap: 1rem;
}
.pricingRow:last-child {
  border-bottom: none;
}
.pricingRow:hover {
  background: rgba(5, 150, 105, 0.03);
  cursor: pointer;
  box-shadow: inset 3px 0 0 var(--secondary);
}
.pricingRow > div:first-child {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
}
.pricingRow > div:last-child {
  color: var(--secondary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .pricingHeader { display: none; }
  .pricingRow {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem;
  }
  .pricingRow > div:first-child {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
  }
  .pricingRow > div:not(:first-child) {
    font-size: 0.9rem;
    color: var(--text-muted);
  }
  .pricingRow > div:last-child {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: var(--secondary);
  }
}

/* --- COMPREHENSIVE MOBILE OVERRIDES (ADDED) --- */
@media (max-width: 768px) {
  /* Global */
  .section { padding: 2.5rem 0 !important; }
  .sectionHeader { margin-bottom: 2rem !important; }
  .sectionTitle { font-size: 2rem !important; }

  /* Hero */
  .heroEditorial { padding-top: 5rem !important; }
  .editorialTitle { font-size: 3.5rem !important; line-height: 1 !important; }
  .notaryBadge { display: none !important; }
  .actionGroup { flex-direction: column; width: 100%; align-items: stretch; }
  .actionGroup .btn { text-align: center; }

  /* Process */
  .processRightImage { min-height: 250px !important; }
  .processLeft { padding: 3rem 1.5rem !important; }
  
  /* Pricing */
  .pricingContainer > div:first-child { flex-direction: column !important; align-items: stretch !important; gap: 1.5rem !important; }
  .pricingContainer > div:first-child > div:last-child { padding: 1.25rem !important; }
  .pricingRow { padding: 1rem 1rem !important; border: 1px solid var(--border-color); border-radius: 0.5rem; margin-bottom: 0.75rem; }
  .pricingRow:hover { box-shadow: none; transform: none; border-color: var(--secondary); }
  .pricingTable { background: transparent; border: none; box-shadow: none; }
  .pricingTableWrapper { padding: 0 1rem; }

  /* Footer */
  .footerCompact { padding: 3rem 1rem 1.5rem !important; }
  .footerCompactGrid { gap: 1.5rem !important; }
  .footerCompactBottom { flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
}

/* FAB Toggle Styling */
.floatingToggle {
  display: none;
  background: var(--primary);
  z-index: 51;
}
.floatingItems {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 768px) {
  .floatingToggle {
    display: flex;
  }
  .floatingItems {
    position: absolute;
    bottom: 4rem;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
  }
  .floatingButtons.open .floatingItems {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 768px) {
  /* Mobile Hero Background Image & Center Alignment */
  .heroEditorial {
    display: block !important;
    padding: 0 !important;
    min-height: 100vh;
  }
  .heroImageWrapper {
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    min-height: 100vh !important;
    z-index: 1;
  }
  /* Light overlay to make dark text readable */
  .heroImageWrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(248, 250, 252, 0.72);
    backdrop-filter: blur(4px);
    z-index: 2;
  }
  .heroEditorialContent {
    position: relative;
    z-index: 3;
    padding: 7rem 1.5rem 4rem 1.5rem !important;
    text-align: center;
    align-items: center;
    min-height: 100vh;
  }
  .editorialTag {
    margin-left: 0 !important;
    margin-bottom: 1rem !important;
    display: inline-block !important;
  }
  .editorialTitle {
    align-items: center;
  }
  .titleLine2 {
    justify-content: center;
  }
  .editorialSubtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .editorialCta {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100%;
  }
  .editorialCta .btn {
    width: 100%;
    max-width: 300px;
    padding: 0.875rem 2rem !important;
    font-size: 1.1rem !important;
  }
  .actionGroup {
    align-items: center !important;
    gap: 1.5rem !important;
  }
  .editorialTitle {
    margin-bottom: 0.75rem !important;
    font-size: 4.2rem !important;
    line-height: 0.95 !important;
  }
  .editorialSubtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: var(--text-color) !important;
    line-height: 1.6;
    margin-bottom: 1.5rem !important;
    max-width: 95%;
  }
  .heroSocial {
    align-items: center !important;
  }
  .heroSocialLinks {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Ultra-Compact Services Grid */
  .servicesGrid {
    gap: 0.5rem !important;
  }
  .serviceCard {
    padding: 0.75rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  .serviceHeader {
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
  }
  .serviceIcon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
  }
  .serviceNum {
    display: none !important; /* Hide number to save space */
  }
  .serviceTitle {
    font-size: 1.05rem !important;
    margin: 0 !important;
    flex: 1;
  }
}

@media (max-width: 768px) {
  /* Process Section - Center & Compact */
  .processLeft .sectionHeaderCompact { text-align: center; margin-bottom: 1.5rem; }
  .processLeft .sectionTag, .processLeft .sectionTitle { text-align: center; display: block; margin: 0 auto; }
  .timelineVerticalContainer { padding-left: 0 !important; margin-top: 0 !important; }
  .timelineVerticalLine { display: none !important; }
  .timelineVerticalStep { 
    flex-direction: column !important; 
    align-items: center !important; 
    text-align: center !important; 
    padding: 1rem 0 !important; 
    margin-left: 0 !important;
    gap: 0.5rem !important;
  }
  .timelineVerticalStep:hover { transform: translateY(-4px) !important; background: transparent !important; border-color: transparent !important; }
  .timelineVerticalDot { margin-bottom: 0.25rem; }
  .timelineVerticalDesc { margin: 0 auto; }
  
  /* Pricing Section - Center & Compact */
  .pricingContainer > div:first-child .sectionHeader,
  .pricingContainer > div:first-child > div:last-child {
    text-align: center !important;
    align-items: center !important;
  }
  .pricingContainer > div:first-child .sectionTag { margin-bottom: 0.5rem !important; }
  .pricingContainer > div:first-child .sectionHeader > div { justify-content: center !important; flex-direction: column !important; gap: 0.5rem !important; }
  .pricingContainer > div:first-child > div:last-child h4, 
  .pricingContainer > div:first-child > div:last-child p { text-align: center !important; }
  
  /* Licence Section - Center */
  .licenceVisualCol .sectionHeader { text-align: center !important; align-items: center !important; display: flex; flex-direction: column; }
  .licenceDisclaimer { text-align: center !important; padding-top: 1rem !important; }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem !important;
  }
  .navbar .logo {
    margin-left: 0 !important;
  }
  .navbar .logo img {
    max-width: 220px !important;
    height: auto !important;
    object-position: left center;
  }
  .heroEditorialContent {
    padding: 6rem 1.5rem 3rem 1.5rem !important;
  }
}

@media (max-width: 768px) {
  /* Process Section - 2 Grid Columns */
  .timelineVerticalGrid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem 1rem !important;
  }
  .timelineVerticalStep {
    padding: 0 !important;
    gap: 0.25rem !important;
    justify-content: flex-start !important;
  }
  .timelineVerticalDot {
    margin-bottom: 0.25rem !important;
    width: 32px !important;
    height: 32px !important;
  }
  .timelineVerticalNum {
    font-size: 1.1rem !important;
  }
  .timelineVerticalTitle {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.25rem !important;
  }
  .timelineVerticalDesc {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 768px) {
  /* Pricing Cards - 2 Grid Columns & Center Aligned */
  .pricingGrid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }
  .pricingCard {
    padding: 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.25rem !important;
  }
  .pricingCardHeader {
    flex-direction: column !important;
    align-items: center !important;
    margin-bottom: 0.25rem !important;
    gap: 0.25rem !important;
  }
  .pricingCardHeader svg {
    margin: 0 auto !important;
    width: 20px !important;
    height: 20px !important;
  }
  .pricingCardTitle {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
  }
  .pricingCardDesc {
    font-size: 0.7rem !important;
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
  }
  .pricingCardDuration {
    font-size: 0.7rem !important;
    margin-bottom: 0.25rem !important;
  }
  .pricingCardPrice {
    font-size: 0.9rem !important;
    margin-top: 0 !important;
  }
  /* Make the main pricing left section more compact too */
  .pricingContainer {
    gap: 1.5rem !important;
  }
  .pricingContainer > div:first-child > div:last-child {
    padding: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  /* Process Section Background Image */
  .sectionDark {
    position: relative;
    overflow: hidden;
    background: transparent !important;
  }
  .processRightImage {
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    min-height: 100% !important;
    z-index: 0;
  }
  .processRightImage::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 44, 34, 0.88); /* Dark green overlay */
    z-index: 1;
  }
  .processLeft {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 768px) {
  /* Licence Section - Center & Compact */
  .licenceVisualCol .sectionHeaderCompact { 
    text-align: center !important; 
    display: flex !important; 
    flex-direction: column !important; 
    align-items: center !important;
    margin-bottom: 1.5rem !important;
  }
  .licenceCaption {
    text-align: center !important;
    margin-top: 1rem !important;
    font-size: 0.8rem !important;
  }
  .licenceGridData {
    gap: 1.5rem 1rem !important;
  }
  .licenceDataItem {
    text-align: center !important;
    padding-left: 0 !important;
    border-left: none !important; /* Remove the vertical line on mobile to keep it perfectly centered */
  }
  .licenceDataItem h4 {
    margin-bottom: 0.25rem !important;
  }
}

@media (max-width: 768px) {
  /* Swap Contact Info to be above the Form on mobile */
  .contactLayout {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 3rem !important;
  }
  .contactInfoContainer {
    text-align: center;
  }
  .contactInfoItem {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Reset offset margins for mobile title to be perfectly centered */
  .titleLine1, .titleLine2, .titleLine3 {
    margin-left: 0 !important;
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  /* Convert Services List to 2-column Grid on mobile */
  .servicesGrid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }
  .serviceCard {
    padding: 0.75rem 0.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
    justify-content: center !important;
  }
  .serviceCard .serviceHeader {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  .serviceCard .serviceTitle {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
  .serviceCard .serviceIcon {
    margin: 0 auto !important;
  }
}

@media (max-width: 768px) {
  /* Reduce top/bottom padding for the Process section on mobile */
  .processLeft {
    padding: 1.5rem 1.25rem !important;
  }
}

@media (max-width: 768px) {
  /* Pricing Table to 2-Column Grid on Mobile */
  .pricingTable {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .pricingRow {
    padding: 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 0 !important;
    gap: 0.25rem !important;
  }
  .pricingRow > div:first-child {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 0.25rem !important;
  }
  .pricingRow > div:first-child svg {
    margin: 0 auto 0.25rem auto !important;
  }
  .pricingRow > div:first-child span {
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
  }
  .pricingRow > div:not(:first-child):not(:last-child) {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }
  .pricingRow > div:last-child {
    font-size: 0.95rem !important;
    margin-top: 0.25rem !important;
    align-self: center !important;
  }
}

@media (max-width: 768px) {
  /* Make the contact form wider on mobile (almost edge-to-edge) */
  .contactFormContainer {
    padding: 1.5rem 1rem !important;
    margin: 0 -1rem !important;
    border-radius: 1rem !important;
  }
}

@media (max-width: 768px) {
  /* Enforce perfect centering on Pricing Header */
  .pricingContainer > div:first-child .sectionHeader {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .pricingContainer > div:first-child .sectionHeader > div {
    width: 100% !important;
    display: flex !important;
    flex-direction: row-reverse !important; /* NO HIDDEN FEES on the left */
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
  }
  .pricingContainer > div:first-child .sectionTag {
    margin: 0 !important;
    display: inline-block !important;
  }
  .pricingContainer > div:first-child .sectionTitle {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 768px) {
  /* Reduce top/bottom whitespace for Pricing section on mobile */
  .pricingSection {
    padding: 1.5rem 0 3rem 0 !important;
  }
  .pricingContainer > div:first-child {
    margin-bottom: 1.5rem !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  /* Move hero subtitle down slightly on mobile */
  .editorialSubtitle {
    margin-top: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  /* Make Contact Info much more compact */
  .contactDirect {
    gap: 0.75rem !important;
    margin-top: 1.5rem !important;
  }
  .contactDirectLink {
    gap: 0.75rem !important;
  }
  .contactDirectLink h4 {
    font-size: 0.75rem !important;
    margin-bottom: 0.15rem !important;
  }
  .contactDirectLink p {
    font-size: 0.95rem !important;
  }
  
  /* Make Contact Form stretch almost to edges */
  .contactFormContainer {
    width: 94vw !important;
    margin-left: calc(-47vw + 50%) !important;
    margin-right: calc(-47vw + 50%) !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
    box-sizing: border-box !important;
  }
}
.floatingActions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
}
.fabIcon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(5,150,105,0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.fabIcon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(5,150,105,0.4);
}
.fabIcon.dark {
  background: #1e293b;
  box-shadow: 0 4px 12px rgba(30,41,59,0.3);
}
.fabIcon.dark:hover {
  background: #0f172a;
  box-shadow: 0 6px 16px rgba(15,23,42,0.4);
}
@media (max-width: 768px) {
  .floatingActions {
    bottom: 1rem;
    right: 1rem;
    gap: 0.75rem;
  }
  .fabIcon {
    width: 40px;
    height: 40px;
  }
}

#contact {
    background-color: #07382F !important;
    background-image: url('./waves.svg') !important;
    background-position: center !important;
    background-size: cover !important;
    color: white !important;
}

/* RESTORED FOOTER STYLES */
.footerCompact {
  background-color: #083a29;
  padding: 5rem 0 2rem;
  color: rgba(255, 255, 255, 0.8);
}
.footerCompactGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footerCompactBrand h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: white;
}
.footerCompactBrand p {
  line-height: 1.6;
  font-size: 0.9rem;
  max-width: 40ch;
}
.footerCompactLinks h4, .footerCompactContact h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1.5rem;
}
.footerCompactBottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}
.footerCompactLegal {
  display: flex;
  gap: 2rem;
}
.footerCompactLegal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footerCompactLegal a:hover {
  color: white;
}

/* FAQ Background Override */
#faq {
  background-image: url('./FAQbg.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  aspect-ratio: 1024 / 576;
  display: flex;
  align-items: flex-start;
  padding-top: 8rem;
}
#faq .container {
  max-width: 1100px;
}

.fabLine {
  background: #06C755;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}
.fabLine:hover {
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.4);
}
.fabWhatsapp {
  background: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.fabWhatsapp:hover {
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
.fabEmail {
  background: #EA4335;
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.3);
}
.fabEmail:hover {
  box-shadow: 0 6px 16px rgba(234, 67, 53, 0.4);
}
.fabLink {
  background: #111111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.fabLink:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Process Section - refined hierarchy (desktop, compact) */
@media (min-width: 769px) {
  .processLeft { padding: 1.75rem 3vw; }
  .processLeft .sectionHeaderCompact { margin-bottom: 0.9rem; }
  .processLeft .sectionTag { color: #6ee7b7 !important; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem; }
  .processLeft .sectionTag::before { content: ''; width: 24px; height: 1px; background: currentColor; }
  .processLeft .sectionTitle { font-size: 2rem; letter-spacing: -0.01em; }

  .processRightImage { min-height: 0; }
  .timelineVerticalContainer { margin-top: 0; }
  .timelineVerticalGrid { gap: 0; }
  .timelineVerticalStep { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 1rem; row-gap: 0.2rem; align-items: start; padding: 0.7rem 0; background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,0.1); border-radius: 0; }
  .timelineVerticalStep:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .timelineVerticalStep:hover { background: transparent; border-color: rgba(255,255,255,0.1); transform: none; }
  .timelineVerticalStep:hover .timelineVerticalTitle { color: #a7f3d0; }

  .timelineVerticalContent { display: contents; }
  .timelineVerticalNum { grid-column: 1; grid-row: 1 / span 2; align-self: start; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.5rem; line-height: 1; letter-spacing: 0; color: #6ee7b7; margin: 0; }
  .timelineVerticalTitle { grid-column: 2; grid-row: 1; font-size: 1.05rem; line-height: 1.25; letter-spacing: -0.005em; margin-bottom: 0; transition: color 0.3s ease; }
  .timelineVerticalDesc { grid-column: 2; grid-row: 2; font-size: 0.8rem; line-height: 1.45; color: rgba(255,255,255,0.6); }
}

/* Process Section - hide step icons */
.timelineVerticalDot { display: none !important; }

/* Process Section - tighter outer spacing (desktop) */
@media (min-width: 769px) {
  #process.section { padding: 1.5rem 0; }
  #process .sectionDark { margin-top: 0; margin-bottom: 0; }
}

/* Process Section - a bit more breathing room, shorter lines (desktop) */
@media (min-width: 769px) {
  .timelineVerticalStep { padding: 1rem 0; }
  .timelineVerticalTitle { margin-bottom: 0.3rem; }
  .timelineVerticalDesc { max-width: 48ch; line-height: 1.6; }
}

/* Footer nav links - smaller */
.footerCompactLinks h4 { font-size: 1rem; }

/* Floating action buttons - hover labels */
.fabIcon { position: relative; }
.fabIcon[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #111;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.fabIcon[data-tooltip]::after {
  content: "";
  position: absolute;
  right: calc(100% + 1px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  border: 6px solid transparent;
  border-left-color: #111;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
@media (hover: hover) {
  .fabIcon[data-tooltip]:hover::before,
  .fabIcon[data-tooltip]:hover::after,
  .fabIcon[data-tooltip]:focus-visible::before,
  .fabIcon[data-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }
}

/* Process Section - center content block in green panel (desktop) */
@media (min-width: 769px) {
  .processLeft > .sectionHeaderCompact,
  .processLeft > .timelineVerticalContainer { width: 100%; max-width: 32rem; margin-left: auto; margin-right: auto; }
  .timelineVerticalDesc { max-width: none; }
}

/* Copy-link confirmation (shown without hover too) */
.fabIcon.showTip::before,
.fabIcon.showTip::after { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* Contact list - subtle hover */
.contactDirectIcon { transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.contactDirectLink span { transition: color 0.25s ease; }
.contactDirectLink > div:not(.contactDirectIcon) { transition: transform 0.25s ease; }
.contactDirectLink:hover .contactDirectIcon,
.contactDirectLink:focus-visible .contactDirectIcon { background: rgba(255,255,255,0.14); color: #fff; transform: scale(1.06); }
.contactDirectLink:hover > div:not(.contactDirectIcon) span,
.contactDirectLink:focus-visible > div:not(.contactDirectIcon) span { color: #a7f3d0; }
.contactDirectLink:hover > div:not(.contactDirectIcon),
.contactDirectLink:focus-visible > div:not(.contactDirectIcon) { transform: translateX(3px); }

/* Contact section - colours matched to site palette */
.contactSectionDark .sectionTag { color: #6ee7b7; }
.contactSubmitBtn { background: var(--primary); box-shadow: 0 4px 14px rgba(16, 94, 66, 0.18); }
.contactSubmitBtn:hover { background: #0b4a33; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 94, 66, 0.28); }

/* Process Section - right image framing */
.processRightImage img { object-position: 60% 55%; }

/* Contact form - larger field labels */
.formGroup label { font-size: 13px; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.01em; }

/* Contact form - send status */
.contactForm { position: relative; }
.formStatus { margin: 0.75rem 0 0; font-family: var(--font-sans); font-size: 13px; color: var(--primary); text-align: center; }
.formStatus:empty { display: none; }
.formStatus.isError { color: #b42318; }
.contactSubmitBtn:disabled { opacity: 0.7; cursor: wait; transform: none; }

/* Process Section - no divider above first / below last step */
@media (min-width: 769px) {
  .timelineVerticalStep:first-child { border-top: 0; }
  .timelineVerticalStep:last-child { border-bottom: 0; }
}

/* Font system: Playfair Display (headings) + Prompt (body) — contact title matched to other section titles */
.contactSectionDark .sectionTitle { font-size: clamp(2rem, 3vw, 2.5rem); }

/* ===== Thai typography ===== */
html[lang="th"] body { line-height: 1.7; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3, html[lang="th"] h4 { letter-spacing: 0; line-height: 1.3; }
html[lang="th"] .editorialTitle { font-family: var(--font-sans); font-weight: 600; line-height: 1.15; letter-spacing: 0; font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
html[lang="th"] .editorialTitle strong { font-weight: 600; }
html[lang="th"] .titleLine2 { font-style: normal; font-weight: 400; }
html[lang="th"] .sectionTitle, html[lang="th"] .licenceTitle, html[lang="th"] .timelineVerticalTitle,
html[lang="th"] .serviceTitle, html[lang="th"] .contactSectionDark .sectionTitle { font-family: var(--font-sans); font-weight: 600; }
html[lang="th"] .sectionTag, html[lang="th"] .editorialTag, html[lang="th"] .licenceTag, html[lang="th"] .marqueeItem { letter-spacing: 0.04em; }
html[lang="th"] .timelineVerticalNum { font-family: var(--font-serif); }
html[lang="th"] .licenceTitle em, html[lang="th"] em { font-style: normal; }
.licenceDesc { max-width: 44ch; text-wrap: pretty; }

/* =====================================================================
   MOBILE LAYOUT (≤768px) — consolidated fixes
   ===================================================================== */
@media (max-width: 768px) {
  /* --- Nav: logo + language toggle side by side, no overlap --- */
  .navbar { display: flex !important; align-items: center; justify-content: space-between; padding: 0.75rem 1rem !important; }
  .navbar > div:first-child { padding-left: 0 !important; flex: 1 1 auto; min-width: 0; }
  .navbar > div:last-child { padding: 0 !important; flex: 0 0 auto; justify-content: flex-end !important; }
  .navbar .logo img { max-width: 150px !important; height: auto !important; }
  .langSwitch { padding: 3px; }
  .langBtn { padding: 0.4rem 0.8rem; font-size: 0.8rem; }

  /* --- Hero: fit the screen width (was 1500px wide, text off-screen) --- */
  .heroEditorial { aspect-ratio: auto !important; width: 100% !important; min-height: 0 !important; height: auto !important;
    background-position: 18% center !important; background-size: cover !important; }
  .heroEditorial::before { content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(248,250,247,0.55) 0%, rgba(248,250,247,0.86) 38%, rgba(248,250,247,0.94) 100%); }
  .heroEditorialContent { width: 100% !important; min-height: 0 !important; margin-top: 0 !important; z-index: 3;
    padding: 6.5rem 1.25rem 3rem !important; align-items: center !important; text-align: center !important; }
  .heroEditorialContent::before { display: none !important; }
  .notaryBadge { display: none !important; }
  .editorialTag { font-size: 0.68rem !important; letter-spacing: 0.14em !important; }
  .editorialTag::after { display: none !important; }
  .editorialTitle { font-size: clamp(2.6rem, 12vw, 3.4rem) !important; line-height: 1 !important; margin: 0 0 1.25rem !important; align-items: center !important; }
  .titleLine2 { margin-left: 0 !important; }
  .editorialBottom { align-items: center !important; gap: 1.5rem !important; max-width: 100% !important; }
  .editorialSubtitle { font-size: 0.98rem !important; line-height: 1.6 !important; max-width: 32ch; margin: 0 auto !important; text-align: center !important; }
  .actionGroup, .editorialCta { width: 100%; align-items: center !important; }
  .editorialCta { flex-direction: column !important; gap: 0.9rem !important; }
  .editorialCta .btn { width: 100%; max-width: 300px; justify-content: center; text-align: center; }

  /* --- Section rhythm & readable type --- */
  .section { padding: 3rem 0 !important; }
  .container { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .sectionTitle { font-size: clamp(1.9rem, 8vw, 2.3rem) !important; line-height: 1.12 !important; }
  .sectionTag { font-size: 0.7rem !important; }
  p { overflow-wrap: anywhere; }

  /* --- Services: single column cards, easier to tap & read --- */
  .serviceCard { width: 100% !important; }

  /* --- Workflow: one step per row, number on the left --- */
  #process .sectionDark { margin: 0 1rem !important; border-radius: 1.25rem !important; }
  .processLeft { padding: 2.25rem 1.25rem !important; }
  .processLeft .sectionHeaderCompact { text-align: left !important; margin-bottom: 1rem !important; }
  .processLeft .sectionTag, .processLeft .sectionTitle { text-align: left !important; margin: 0 !important; }
  .processLeft .sectionTag { color: #6ee7b7 !important; margin-bottom: 0.4rem !important; }
  .processLeft .sectionTitle { color: #fff !important; font-size: 1.9rem !important; }
  .timelineVerticalGrid { display: flex !important; flex-direction: column !important; gap: 0 !important; }
  .timelineVerticalStep { display: grid !important; grid-template-columns: 2.4rem 1fr !important; column-gap: 0.75rem !important; row-gap: 0.25rem !important;
    align-items: start !important; text-align: left !important; padding: 1rem 0 !important; border-top: 1px solid rgba(255,255,255,0.12) !important; }
  .timelineVerticalStep:first-child { border-top: 0 !important; }
  .timelineVerticalContent { display: contents !important; }
  .timelineVerticalNum { grid-column: 1; grid-row: 1 / span 2; font-family: var(--font-serif) !important; font-style: italic; font-size: 1.4rem !important; color: #6ee7b7 !important; line-height: 1 !important; margin: 0 !important; }
  .timelineVerticalTitle { grid-column: 2; grid-row: 1; font-size: 1.05rem !important; line-height: 1.3 !important; margin: 0 !important; }
  .timelineVerticalDesc { grid-column: 2; grid-row: 2; font-size: 0.88rem !important; line-height: 1.55 !important; margin: 0 !important; max-width: none !important; }
  .timelineVerticalStep:hover { transform: none !important; }

  /* --- Pricing: one card per row, B2B banner fits --- */
  .pricingTableWrapper { padding: 0 !important; }
  #pricing [style*="flex-wrap: wrap"] > div { min-width: 0 !important; }
  #pricing [style*="min-width: 300px"] { min-width: 0 !important; flex-basis: 100% !important; }
  #pricing .btn { white-space: normal; }

  /* --- Licence certificates: fit the screen --- */
  .licenceImages { left: 0 !important; height: 330px !important; max-width: 340px; margin: 1rem auto 0 !important; }
  .certFront { width: 200px !important; height: 270px !important; left: 6px !important; }
  .certBack { width: 220px !important; height: 180px !important; left: auto !important; right: 6px !important; top: 40px !important; }
  .licenceDesc { font-size: 15px; line-height: 1.6; max-width: none; }

  /* --- Contact: comfortable form --- */
  .contactLayout { gap: 2rem !important; }
  .formRow { grid-template-columns: 1fr !important; display: grid !important; gap: 0 !important; }
  .formInput { font-size: 16px !important; } /* stops iOS zooming into fields */
  .contactSectionDark .sectionTitle { font-size: 2.1rem !important; }

  /* --- Footer: stacked, nothing cut off --- */
  .footerCompact { padding: 2.5rem 0 1.5rem !important; }
  .footerCompactGrid { grid-template-columns: 1fr 1fr !important; gap: 1.75rem 1rem !important; margin-bottom: 2rem !important; }
  .footerCompactBrand { grid-column: 1 / -1; }
  .footerCompactBrand p { max-width: none; }
  .footerCompactContact { grid-column: 1 / -1; }
  .footerCompactContact p, .footerCompactContact a { overflow-wrap: anywhere; }

  /* --- Floating buttons: smaller, don't cover so much text --- */
  .floatingActions { right: 0.75rem !important; bottom: 0.75rem !important; gap: 0.5rem !important; }
  .fabIcon { width: 40px !important; height: 40px !important; }
  .fabIcon svg { width: 20px; height: 20px; }
  .fabLink { display: none !important; }
}
@media (max-width: 380px) {
  .navbar .logo img { max-width: 128px !important; }
  .editorialTitle { font-size: 2.4rem !important; }
}
/* Thai on mobile */
@media (max-width: 768px) {
  html[lang="th"] .editorialTitle { font-size: clamp(2.2rem, 10vw, 2.9rem) !important; line-height: 1.2 !important; }
  html[lang="th"] .sectionTitle { line-height: 1.35 !important; }
}
@media (max-width: 768px) {
  #process .sectionDark { display: block !important; grid-template-columns: 1fr !important; }
  .serviceCard { width: 100% !important; flex: 0 0 100% !important; max-width: none !important; }
  .marquee { overflow: hidden; }
}
@media (max-width: 768px) {
  .licenceSection { aspect-ratio: auto !important; height: auto !important; overflow: visible !important; padding: 3rem 1.25rem !important;
    background-size: cover !important; align-items: flex-start !important; }
  .licenceLayout { width: 100%; gap: 2rem !important; }
  .licenceGrid { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
  .licenceCard { padding: 1rem !important; }
  .licenceTitle { font-size: 2rem !important; line-height: 1.15 !important; }
}
@media (max-width: 768px) {
  .licenceLayout { flex-direction: column !important; padding: 0 !important; }
  .licenceLeft, .licenceRight { width: 100% !important; max-width: none !important; margin: 0 !important; }
  .licenceGrid { grid-template-columns: 1fr !important; }
  .licenceCard { padding: 1rem 1rem 1rem 2.25rem !important; min-height: 0 !important; }
  .licenceImages { width: 100%; max-width: 330px !important; height: 300px !important; }
  .certFront { width: 180px !important; height: 245px !important; left: 0 !important; top: 0 !important; }
  .certBack { width: 200px !important; height: 160px !important; right: 0 !important; left: auto !important; top: 45px !important; }
  .licenceDisclaimer, .licenceDisclaimer p { text-align: left !important; }
  .licenceCaptionContainer { text-align: center; }
}
@media (max-width: 768px) { .licenceSection { background-image: none !important; } }

/* Kept-in-English parts: keep original typography when the page is in Thai */
html[lang="th"] .editorialTitle { font-family: var(--font-serif); font-weight: 400; line-height: 0.95; letter-spacing: -0.02em; font-size: clamp(3.25rem, 6.3vw, 5.85rem); }
html[lang="th"] .editorialTitle strong { font-weight: 500; }
html[lang="th"] .titleLine2 { font-style: italic; }
html[lang="th"] .contactSectionDark .sectionTitle { font-family: var(--font-serif); }
html[lang="th"] .sectionTag, html[lang="th"] .editorialTag, html[lang="th"] .licenceTag { letter-spacing: revert-layer; }
@media (max-width: 768px) {
  html[lang="th"] .editorialTitle { font-size: clamp(2.6rem, 12vw, 3.4rem) !important; line-height: 1 !important; }
}

/* Hero "NOTARY": original look = upright Playfair slanted by the browser (not the swash italic) */
.titleLine2 { font-family: 'Playfair Upright', var(--font-serif) !important; font-style: italic; font-synthesis: style; }

/* Numbers: even, same-height digits (lining figures) everywhere; text unchanged */
body, h1, h2, h3, h4, h5, h6, p, span, strong, div, a { font-variant-numeric: lining-nums; }
.timelineVerticalNum { font-variant-numeric: normal; } /* keep the decorative 01–04 */
.footerCompactBrand p { text-wrap: pretty; }
html[lang="th"] .editorialSubtitle { white-space: pre-line; }
html[lang="th"] #services .sectionTitle { white-space: pre-line; }
@media (max-width: 768px) {
  .serviceIcon { width: 42px !important; height: 42px !important; min-width: 42px !important; padding: 10px !important; }
}

/* Mobile: centre section headers & intro text */
@media (max-width: 768px) {
  .processLeft .sectionHeaderCompact, .processLeft .sectionTag, .processLeft .sectionTitle { text-align: center !important; }
  .processLeft .sectionTag { display: block !important; }
  .processLeft .sectionTag::before { display: none !important; }
  #pricing [style*="min-width: 300px"], #pricing [style*="min-width: 300px"] > * { text-align: center !important; }
  #pricing [style*="min-width: 300px"] > div:first-child { justify-content: center !important; }
  .licenceLeft { align-items: center !important; text-align: center !important; }
  .licenceHeader { justify-content: center !important; }
  .licenceHeader .licenceLine, .licenceLine { display: none !important; }
  .licenceTitle, .licenceDesc { text-align: center !important; }
  #reviews .sectionHeader, #reviews .sectionTag, #reviews .sectionTitle { text-align: center !important; }
  #reviews .container > div:first-child { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 1rem; }
  #faq .sectionHeader, #faq h2, #faq h2 + *, #faq .container > div:first-child, #faq .container > div > div:first-child { text-align: center !important; }
  #faq span + [style*="height: 1px"], #faq [style*="width: 40px"] { display: none !important; }
  #faq .container > div:first-child > div:first-child, #faq [style*="align-items: center"][style*="gap"] { justify-content: center !important; }
  .contactInfo, .contactInfo .sectionTag, .contactInfo .sectionTitle, .contactDesc { text-align: center !important; }
  .contactInfo > div:first-child { align-items: center !important; }
  .footerCompactBrand { text-align: center !important; }
  .footerCompactBrand p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
  .contactDirect { align-items: flex-start; width: fit-content; margin: 0 auto; }
  .contactDirectLink, .contactDirectLink * { text-align: left !important; }
  .contactDirectLink > div:not(.contactDirectIcon) { align-items: flex-start !important; }
}

/* ===== Mobile: compact & orderly ===== */
@media (max-width: 768px) {
  /* Pricing */
  #pricing.section { padding: 2.5rem 0 !important; }
  #pricing .sectionTitle { margin: 0.5rem 0 0.25rem !important; }
  #pricing [style*="min-width: 300px"] { padding: 1.25rem 1rem !important; gap: 0.5rem !important; }
  #pricing [style*="min-width: 300px"] h4 { font-size: 1.1rem !important; }
  #pricing [style*="min-width: 300px"] p { font-size: 0.88rem !important; }
  .pricingTableWrapper, #pricing [style*="margin-top: 3"] { margin-top: 1.25rem !important; }

  /* Licence cards: 2 × 2, icon + label on one row */
  .licenceGrid { grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; }
  .licenceCard { padding: 0.85rem 0.8rem 0.85rem 1.1rem !important; gap: 0.3rem !important; min-height: 0 !important; }
  .licenceCard::before, .licenceCard > [class*="Line"], .licenceCard > [class*="line"] { left: 0.45rem !important; top: 0.9rem !important; bottom: 0.9rem !important; height: auto !important; }
  .licenceCard [class*="Icon"], .licenceCard [class*="icon"] { width: 28px !important; height: 28px !important; min-width: 28px !important; margin-bottom: 0.2rem !important; }
  .licenceCard [class*="Icon"] svg, .licenceCard [class*="icon"] svg { width: 14px !important; height: 14px !important; }
  .licenceCard h4 { font-size: 10px !important; margin: 0 !important; line-height: 1.3 !important; }
  .licenceCard h3 { font-size: 1rem !important; line-height: 1.3 !important; margin: 0.1rem 0 0 !important; }
  .licenceCard p { font-size: 0.75rem !important; margin: 0 !important; line-height: 1.35 !important; }
  .licenceDisclaimer { margin-top: 0.5rem !important; }
  .licenceDisclaimer p { font-size: 0.75rem !important; }

  /* Reviews: centred header, arrows under it, tighter cards */
  #reviews.section { padding: 2.5rem 0 2rem !important; }
  #reviews .container > div:first-child { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 0.9rem !important; margin-bottom: 1.25rem !important; }
  #reviews .sectionHeader { text-align: center !important; }
  .carouselArrow { width: 38px !important; height: 38px !important; }
  .reviewCard { flex: 0 0 82vw !important; padding: 1.25rem !important; }
  .reviewCard > div:first-child { font-size: 2rem !important; margin-bottom: 0.25rem !important; }
  .reviewCard > p:first-of-type { font-size: 0.92rem !important; line-height: 1.55 !important; margin-bottom: 0.75rem !important; }
  .reviewCard h4 { font-size: 0.8rem !important; margin-bottom: 0.1rem !important; }
  .reviewCard h4 + p { font-size: 0.78rem !important; }

  /* Accepted-by: tidy two-column list */
  .acceptedBlock > p:first-child { font-size: 0.72rem !important; letter-spacing: 0.12em !important; margin-bottom: 1rem !important; }
  .acceptedList { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0.5rem !important; }
  .acceptedList > span { font-size: 0.95rem !important; line-height: 1.3 !important; padding: 0.65rem 0.5rem; border: 1px solid rgba(16,94,66,0.12);
    border-radius: 0.6rem; background: rgba(255,255,255,0.55); display: flex; align-items: center; justify-content: center; text-align: center; }
  .acceptedList > span:first-child { grid-column: 1 / -1; }
  .acceptedBlock > p:nth-of-type(2) { margin-top: 1rem !important; font-size: 0.82rem !important; }
  .acceptedBlock > div:last-child { margin-top: 1rem !important; text-align: left; align-items: flex-start !important; }
  .acceptedBlock > div:last-child span { font-size: 0.82rem !important; }
}
@media (max-width: 768px) {
  .licenceCard { flex-direction: column !important; align-items: flex-start !important; position: relative; }
  .licenceCardAccent { position: absolute !important; left: 0.45rem !important; top: 0.9rem !important; bottom: 0.9rem !important; height: auto !important; width: 2px !important; margin: 0 !important; }
  .licenceCardContent p { font-size: 0.72rem !important; }
}
@media (max-width: 768px) {
  .licenceCard { height: auto !important; }
  .licenceCardAccent { transform: none !important; top: 0.85rem !important; bottom: 0.85rem !important; height: auto !important; }
  .reviewCard { min-height: 0 !important; height: auto !important; }
  .acceptedBlock > p:nth-of-type(2) { margin-bottom: 0.5rem !important; }
  .acceptedBlock hr, .acceptedBlock > div:last-child { margin-top: 0.75rem !important; }
}
@media (max-width: 768px) {
  /* B2B banner: centre everything incl. the button */
  #pricing [style*="min-width: 300px"] + div { width: 100%; display: flex !important; justify-content: center !important; }
  #pricing [style*="min-width: 300px"] + div .btn { margin: 0 auto; }
  #pricing [style*="flex-wrap: wrap"][style*="justify-content: space-between"] { justify-content: center !important; }
}
@media (max-width: 768px) {
  .footerCompactBrand { text-align: left !important; }
  .footerCompactBrand p { margin-left: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 768px) {
  /* Contact info: left-aligned & compact */
  .contactSectionDark { padding: 2.5rem 0 !important; }
  .contactInfo, .contactInfo .sectionTag, .contactInfo .sectionTitle, .contactDesc { text-align: left !important; }
  .contactInfo > div:first-child { align-items: flex-start !important; }
  .contactSectionDark .sectionTitle { font-size: 1.9rem !important; margin: 0 0 0.5rem !important; }
  .contactDesc { font-size: 0.9rem !important; line-height: 1.55 !important; margin-bottom: 1.25rem !important; }
  .contactDirect { width: auto !important; margin: 0 !important; gap: 0.75rem !important; }
  .contactDirectLink { gap: 0.75rem !important; }
  .contactDirectIcon { width: 36px !important; height: 36px !important; }
  .contactDirectIcon svg { width: 16px !important; height: 16px !important; }
  .contactDirectLink strong { font-size: 9px !important; margin-bottom: 1px !important; }
  .contactDirectLink span { font-size: 13.5px !important; }
  .contactLayout { gap: 1.5rem !important; }
}
@media (max-width: 768px) {
  /* Pricing header: tighter spacing */
  .pricingContainer > div:first-child { gap: 0.75rem !important; margin-bottom: 0.75rem !important; }
  .pricingContainer .sectionHeader { padding: 0.5rem 0 0 !important; margin-bottom: 0 !important; gap: 0 !important; }
  .pricingContainer .sectionHeader > div:first-child { margin-bottom: 0.6rem !important; }
  .pricingContainer .sectionHeader .sectionTitle { margin: 0 0 0.35rem !important; }
  .pricingContainer .sectionHeader > p { margin-top: 0 !important; line-height: 1.4 !important; }
  .pricingContainer > div:first-child > div:last-child { padding: 1rem !important; gap: 0.4rem !important; }
  .pricingContainer > div:first-child > div:last-child p { line-height: 1.45 !important; }
  .pricingContainer > div:first-child > div:last-child .btn { margin-top: 0.35rem !important; }
  .pricingTableWrapper { margin-top: 0.5rem !important; }
  .pricingContainer { gap: 0.75rem !important; }
  .pricingContainer > div:last-child { margin-top: 1.25rem !important; padding: 1.25rem 1rem !important; }
}
@media (max-width: 768px) {
  /* B2B banner: compact */
  .pricingContainer > div:last-child { padding: 1.1rem 1rem !important; gap: 0.85rem !important; margin-top: 1rem !important; }
  .pricingContainer > div:last-child > div { padding: 0 !important; }
  .pricingContainer > div:last-child > div > div:first-child { margin-bottom: 0.4rem !important; }
  .pricingContainer > div:last-child h3 { font-size: 1.3rem !important; margin-bottom: 0.35rem !important; }
  .pricingContainer > div:last-child p { font-size: 0.85rem !important; line-height: 1.5 !important; }
  .pricingContainer > div:last-child .btn { padding: 0.6rem 1.4rem !important; font-size: 0.85rem !important; }
}
@media (max-width: 768px) {
  .pricingContainer > div:last-child { gap: 0.6rem !important; padding-bottom: 1rem !important; }
  .pricingContainer > div:last-child > div:last-child { margin-top: 0 !important; }
}
@media (max-width: 768px) {
  /* Licence cards: clearer hierarchy & breathing room */
  .licenceGrid { gap: 0.75rem !important; }
  .licenceCard { padding: 1rem 0.9rem 1rem 1.15rem !important; display: grid !important; grid-template-columns: 26px 1fr; column-gap: 0.5rem; row-gap: 0.55rem; align-items: center; }
  .licenceCardAccent { left: 0 !important; top: 1rem !important; bottom: 1rem !important; width: 3px !important; border-radius: 0 3px 3px 0; }
  .licenceCardIcon { grid-column: 1; grid-row: 1; width: 26px !important; height: 26px !important; min-width: 26px !important; margin: 0 !important; }
  .licenceCardIcon svg { width: 13px !important; height: 13px !important; }
  .licenceCardContent { display: contents !important; }
  .licenceCardContent h4 { grid-column: 2; grid-row: 1; font-size: 10.5px !important; font-weight: 600 !important; letter-spacing: 0.04em; line-height: 1.25 !important; color: #789B93; margin: 0 !important; }
  .licenceCardContent h3 { grid-column: 1 / -1; grid-row: 2; font-family: var(--font-sans) !important; font-size: 1.05rem !important; font-weight: 600 !important; line-height: 1.3 !important; color: #1f4a3a; margin: 0.15rem 0 0 !important; font-variant-numeric: lining-nums tabular-nums; }
  .licenceCardContent p { grid-column: 1 / -1; grid-row: 3; font-size: 0.75rem !important; line-height: 1.4 !important; color: #8aa79f !important; margin: -0.35rem 0 0 !important; }
}
@media (max-width: 768px) {
  /* Licence cards: one per row, icon left, text stack right */
  .licenceGrid { grid-template-columns: 1fr !important; gap: 0.6rem !important; }
  .licenceCard { grid-template-columns: 36px 1fr !important; column-gap: 0.85rem !important; row-gap: 0 !important; align-items: center !important; padding: 0.9rem 1rem 0.9rem 1.15rem !important; }
  .licenceCardIcon { grid-row: 1 / span 3 !important; align-self: center; width: 36px !important; height: 36px !important; min-width: 36px !important; }
  .licenceCardIcon svg { width: 16px !important; height: 16px !important; }
  .licenceCardContent h4 { grid-column: 2 !important; grid-row: 1 !important; }
  .licenceCardContent h3 { grid-column: 2 !important; grid-row: 2 !important; font-size: 1.05rem !important; margin: 0.15rem 0 0 !important; }
  .licenceCardContent p { grid-column: 2 !important; grid-row: 3 !important; margin: 0.1rem 0 0 !important; }
}
@media (max-width: 768px) {
  #reviews .container > div:first-child { gap: 0.6rem !important; }
  #reviews .sectionHeader, #reviews .sectionTitle { margin-bottom: 0 !important; padding-bottom: 0 !important; }
  #reviews .sectionHeader { gap: 0.3rem !important; }
}
@media (max-width: 768px) {
  /* Accepted-by list: desktop style (plain centred names, no boxes), just tighter */
  .acceptedList { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 0.6rem 1.5rem !important; }
  .acceptedList > span { border: 0 !important; background: none !important; padding: 0 !important; border-radius: 0 !important; display: inline !important; font-size: 1.15rem !important; line-height: 1.4 !important; }
  .acceptedList > span:first-child { flex-basis: 100%; }
}
@media (max-width: 768px) {
  /* Pricing cards: full borders on every card */
  .pricingTable { overflow: visible !important; padding: 1px !important; }
  .pricingRow, .pricingRow:last-child { border: 1px solid rgba(17, 24, 39, 0.09) !important; border-radius: 0.75rem !important; background: rgba(255,255,255,0.6) !important; position: relative; z-index: 1; }
  .pricingSection > div:not(.pricingContainer) { z-index: 0 !important; pointer-events: none; }
}
@media (max-width: 768px) {
  /* "Need a Custom Quote?" box: full content width, same as the cards below */
  .pricingContainer > div:first-child { width: 100% !important; max-width: none !important; align-items: stretch !important; }
  .pricingContainer > div:first-child > div:last-child { width: 100% !important; max-width: none !important; box-sizing: border-box; }
}
@media (max-width: 768px) {
  .pricingContainer { padding-left: 1rem !important; padding-right: 1rem !important; }
}
@media (max-width: 768px) {
  .pricingContainer .sectionHeader > div:first-child { margin-bottom: 0.2rem !important; }
  .pricingContainer .sectionHeader .sectionTitle { margin-top: 0 !important; }
}
@media (max-width: 768px) {
  #pricing .pricingContainer .sectionHeader { gap: 0 !important; }
  #pricing .pricingContainer .sectionHeader h2.sectionTitle { margin: 0.25rem 0 0.4rem !important; }
}
@media (max-width: 768px) {
  /* Hidden on mobile */
  .licenceCaptionContainer, .licenceDivider, .licenceDisclaimer, .faqHeader > div[style*="letter-spacing: 0.25em"] { display: none !important; }
}
@media (max-width: 768px) {
  html[lang="th"] .editorialSubtitle { white-space: normal !important; max-width: 30ch !important; }
}
@media (max-width: 768px) {
  html[lang="th"] .editorialSubtitle { white-space: pre-line !important; max-width: none !important; }
}
@media (max-width: 768px) {
  /* Odd last service card sits in the middle */
  .servicesGrid > .serviceCard:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.25rem) !important; flex: none !important; }
}
/* Thai FAQ heading on one line */
html[lang="th"] .faqHeader h2 br { display: none; }
html[lang="th"] .faqHeader h2 { white-space: nowrap; }
@media (max-width: 768px) { .fabLink { display: flex !important; } }

/* ===== Email pop-up: fits the screen, compact ===== */
#emailModal .qrModalContent { max-height: calc(100dvh - 2rem); overflow-y: auto; -webkit-overflow-scrolling: touch; }
#emailModal .contactFormContainer { background: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; flex: none !important; }
@media (max-width: 768px) {
  #emailModal { align-items: center !important; padding: 1rem !important; }
  #emailModal .qrModalContent { width: 100% !important; max-width: 420px !important; padding: 1.25rem 1.1rem 1.1rem !important; border-radius: 14px !important; }
  #emailModal .qrModalHeader { margin-bottom: 0.9rem !important; padding-right: 2rem; }
  #emailModal .qrModalHeader h3 { font-size: 1.35rem !important; }
  #emailModal .qrCloseBtn { top: 0.9rem !important; right: 0.9rem !important; }
  #emailModal .contactForm { display: flex; flex-direction: column; gap: 0.7rem; }
  #emailModal .formRow { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; margin: 0 !important; }
  #emailModal .formGroup { margin: 0 !important; min-width: 0; }
  #emailModal .formGroup label { font-size: 12px !important; margin-bottom: 4px !important; }
  #emailModal .formInput { padding: 0.6rem 0.7rem !important; min-height: 0 !important; height: auto !important; font-size: 16px !important; }
  #emailModal select.formInput { padding-right: 1.6rem !important; text-overflow: ellipsis; }
  #emailModal textarea.formInput { height: 88px !important; min-height: 88px !important; resize: none; }
  #emailModal .contactSubmitBtn { padding: 0.75rem 1rem !important; margin-top: 0.2rem !important; font-size: 0.9rem !important; }
}
#emailModal .contactFormContainer { margin: 0 !important; width: 100% !important; max-width: none !important; }
@media (max-width: 768px) {
  /* Service cards: identical width & height */
  .servicesGrid { grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; align-items: start !important; }
  .servicesGrid > .serviceCard { width: 100% !important; min-width: 0; box-sizing: border-box; padding: 0.9rem 0.6rem !important; }
  .servicesGrid > .serviceCard:last-child:nth-child(odd) { width: calc(50% - 0.3rem) !important; }
  .serviceCard .serviceHeader { margin-bottom: 0.5rem !important; }
  .serviceCard .serviceTitle { min-height: 2.6em; display: flex !important; align-items: center; justify-content: center; text-align: center; line-height: 1.3 !important; margin: 0 !important; padding-right: 1rem; position: relative; }
}
@media (max-width: 768px) {
  /* FAQ: questions and answers left-aligned */
  .faqItem, .faqItem *, .faqQuestion h4, [class*="faqAns"], [class*="faqAns"] * { text-align: left !important; }
}
@media (max-width: 768px) {
  /* Email pop-up: a little taller and more relaxed */
  #emailModal .qrModalContent { padding: 1.6rem 1.25rem 1.4rem !important; }
  #emailModal .qrModalHeader { margin-bottom: 1.2rem !important; }
  #emailModal .contactForm { gap: 1rem !important; }
  #emailModal .formRow { gap: 0.75rem !important; }
  #emailModal .formGroup label { margin-bottom: 6px !important; }
  #emailModal .formInput { padding: 0.75rem 0.8rem !important; }
  #emailModal textarea.formInput { height: 120px !important; min-height: 120px !important; }
  #emailModal .contactSubmitBtn { padding: 0.85rem 1rem !important; margin-top: 0.4rem !important; }
}
@media (max-width: 768px) {
  /* Licence cards: 2 columns, icon on top, clear hierarchy */
  .licenceGrid { grid-template-columns: 1fr 1fr !important; gap: 0.6rem !important; }
  .licenceCard { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 0 !important; padding: 0.9rem 0.8rem 0.9rem 1rem !important; }
  .licenceCardIcon { width: 30px !important; height: 30px !important; min-width: 30px !important; margin: 0 0 0.6rem !important; }
  .licenceCardIcon svg { width: 14px !important; height: 14px !important; }
  .licenceCardContent { display: flex !important; flex-direction: column; gap: 0.15rem; min-width: 0; }
  .licenceCardContent h4 { font-size: 10px !important; line-height: 1.3 !important; margin: 0 !important; }
  .licenceCardContent h3 { font-size: 0.95rem !important; line-height: 1.3 !important; margin: 0.15rem 0 0 !important; overflow-wrap: anywhere; }
  .licenceCardContent p { font-size: 0.7rem !important; line-height: 1.35 !important; margin: 0 !important; }
  .licenceCardAccent { top: 0.9rem !important; bottom: 0.9rem !important; }
}
@media (max-width: 768px) {
  .licenceGrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: 1fr; }
  .licenceCard { min-width: 0 !important; height: 100% !important; }
}
@media (max-width: 768px) {
  .licenceCardIcon { align-self: flex-start !important; margin-left: 0 !important; }
  .licenceCardContent { width: 100%; align-self: stretch; }
  .licenceCardContent h3 { white-space: normal !important; overflow-wrap: break-word !important; word-break: normal !important; }
}
@media (max-width: 768px) {
  /* FAQ questions: smaller on mobile */
  .faqQuestion { padding: 0.9rem 1rem !important; gap: 0.75rem; }
  .faqQuestion h4 { font-size: 1.05rem !important; line-height: 1.4 !important; }
  html[lang="th"] .faqQuestion h4 { font-family: var(--font-sans) !important; font-weight: 600 !important; font-size: 1rem !important; }
  .faqChevron { width: 18px; height: 18px; flex-shrink: 0; }
  [class*="faqAns"] p, .faqAnswer { font-size: 0.88rem !important; line-height: 1.6 !important; }
}
@media (max-width: 768px) {
  /* FAQ: question and answer share the same left edge */
  .faqItem { padding: 0 !important; }
  .faqQuestion { padding: 0.9rem 1rem !important; width: 100%; }
  .faqAnswer { padding: 0 1rem 1rem !important; margin: 0 !important; }
}
@media (max-width: 768px) {
  .faqHeader h2 { font-size: 2.1rem !important; line-height: 1.15 !important; margin-bottom: 1rem !important; }
  html[lang="th"] .faqHeader h2 { font-size: 2.1rem !important; }
}
@media (max-width: 768px) { .faqHeader > div:first-child { display: none !important; } }
@media (max-width: 768px) {
  /* Service cards: title sits right under the icon; cards still equal height */
  .servicesGrid { align-items: stretch !important; grid-auto-rows: 1fr; }
  .servicesGrid > .serviceCard { justify-content: flex-start !important; }
  .serviceCard .serviceHeader { margin-bottom: 0.45rem !important; }
  .serviceCard .serviceTitle { min-height: 0 !important; align-items: flex-start !important; }
}
@media (max-width: 768px) { .serviceCard .serviceHeader { margin-bottom: 0.3rem !important; } }
@media (max-width: 768px) {
  /* Service card description: never clipped, readable width */
  .serviceCard:hover .serviceDesc, .serviceCard:focus-within .serviceDesc, .serviceCard:active .serviceDesc { max-height: 400px !important; }
  .serviceDesc { padding: 0.25rem 0.85rem 1rem !important; font-size: 0.8rem !important; line-height: 1.55 !important; z-index: 20; }
  .serviceCard:hover { z-index: 30 !important; }
}
@media (max-width: 768px) {
  /* Licence header: tighter spacing */
  .licenceHeader { margin-bottom: 0.35rem !important; }
  .licenceTitle { margin: 0 0 0.5rem !important; }
  .licenceDesc { margin: 0 0 1.25rem !important; }
  .licenceSection { padding-top: 2.25rem !important; }
  .licenceLeft { gap: 0 !important; }
}

/* Floating buttons: hide/show toggle (mobile only) */
.fabToggle { display: none; }
@media (max-width: 768px) {
  .floatingActions { align-items: center; }
  .fabToggle { display: flex; order: 99; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.95); color: #374151; box-shadow: 0 3px 10px rgba(0,0,0,0.18); padding: 0; transition: all 0.25s ease; }
  .fabToggle .fabToggleOpen { display: none; }
  .floatingActions .fabIcon { transition: opacity 0.25s ease, transform 0.25s ease; }
  .floatingActions.fabsCollapsed .fabIcon { opacity: 0; transform: scale(0.6) translateY(10px); pointer-events: none; position: absolute; visibility: hidden; }
  .floatingActions.fabsCollapsed .fabToggle { width: 44px; height: 44px; background: var(--primary); color: #fff; }
  .floatingActions.fabsCollapsed .fabToggleClose { display: none; }
  .floatingActions.fabsCollapsed .fabToggleOpen { display: block; }
}
@media (max-width: 768px) {
  .floatingActions.fabsCollapsed .fabToggle { background: #111 !important; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.3); }
}
@media (max-width: 768px) {
  /* Contact section form (not the pop-up): compact, 1 column */
  .contactSectionDark .contactFormContainer { padding: 1.25rem 1.1rem !important; }
  .contactSectionDark .contactForm .formGroup { margin-bottom: 0.75rem !important; }
  .contactSectionDark .contactForm .formRow { gap: 0 !important; margin: 0 !important; }
  .contactSectionDark .formGroup label { font-size: 12px !important; margin-bottom: 5px !important; }
  .contactSectionDark .formInput { padding: 0.65rem 0.8rem !important; height: auto !important; min-height: 0 !important; }
  .contactSectionDark textarea.formInput { height: 96px !important; min-height: 96px !important; }
  .contactSectionDark .contactSubmitBtn { padding: 0.8rem 1rem !important; margin-top: 0.25rem !important; font-size: 0.9rem !important; }
}
@media (max-width: 768px) {
  .serviceIcon { width: 34px !important; height: 34px !important; min-width: 34px !important; padding: 8px !important; }
}
@media (max-width: 768px) {
  /* Reviews: show a slice of the next card */
  .reviewsCarousel { gap: 0.75rem !important; margin-right: -1.25rem !important; padding-right: 1.25rem !important; scroll-padding-left: 0; scroll-snap-type: x mandatory; }
  .reviewCard { flex: 0 0 78% !important; max-width: none !important; scroll-snap-align: start; }
}
@media (max-width: 768px) {
  /* Workflow: less space outside and inside the dark card */
  #process.section { padding: 1rem 0 !important; }
  .processLeft { padding: 1.5rem 1.15rem 1.25rem !important; }
  .processLeft .sectionHeaderCompact { margin-bottom: 0.5rem !important; }
  .timelineVerticalStep { padding: 0.8rem 0 !important; }
  .timelineVerticalStep:last-child { padding-bottom: 0.25rem !important; }
}
