/* ==========================================================================
   Parkhead Cross Orthodontics & Facial Aesthetics – main stylesheet
   Class names in page content (l-section, g-cols, w-btn…) are kept from the
   old WordPress build so existing page layouts render the same.
   Breakpoints: mobile ≤600px · tablet 601–1024px · laptop 1025–1280px
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --green: #1B4A34;
  --green-dark: #073e30;
  --green-bright: #01b173;
  --lime: #A2C617;
  --purple: #64328A;
  --purple-nav: #64318a;
  --pink: #e72a7c;
  --pink-dark: #c41661;
  --text: #1a1a1a;
  --heading: #000;
  --faded: #7f8a88;
  --border: #dadfe0;
  --bg: #fff;
  --bg-alt: #f2f4f5;
  --link: #333;

  /* old theme colour variables, still referenced by some page CSS */
  --color-content-primary: var(--green);
  --color-content-primary-grad: var(--green);
  --color-content-secondary: var(--purple);
  --color-content-secondary-grad: var(--purple);
  --color-content-bg: #fff;
  --color-content-bg-grad: #fff;
  --color-content-bg-alt: var(--bg-alt);
  --color-content-bg-alt-grad: var(--bg-alt);
  --color-content-border: var(--border);
  --color-content-text: var(--text);
  --color-content-heading: var(--heading);
  --color-content-faded: var(--faded);
  --color-content-link: var(--link);
  --color-alt-content-bg: var(--bg-alt);
  --color-alt-content-bg-grad: var(--bg-alt);
  --color-header-middle-bg: #fff;

  --font-body: 'Nunito', sans-serif;
  --font-heading: 'Varela Round', sans-serif;
  --font-h2: var(--font-heading);
  --h1: 3.7rem;
  --h2: 2.7rem;
  --h3: 1.9rem;
  --h4: 1.5rem;
  --h5: 1.4rem;
  --h6: 1.3rem;

  --site-content-width: 1200px;
  --padding-inline: 2.5rem;
  --margin-inline-stretch: min(var(--site-content-width) / 2 - 50vw, var(--padding-inline) * -1);
  --radius: .4rem;
  --shadow: 0 3px 5px -1px rgba(0, 0, 0, .1), 0 2px 1px -1px rgba(0, 0, 0, .05);
}
@media (min-width: 601px) and (max-width: 1280px) {
  :root { --h1: 3.2rem; --h2: 3rem; --h3: 1.7rem; }
}
@media (max-width: 600px) {
  :root { --h1: 2.8rem; --h2: 2rem; --h3: 1.7rem; --padding-inline: 1.5rem; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; font-synthesis: style; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 28px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}
img, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: top; }
a { color: var(--link); text-decoration: underline; text-underline-offset: .15em; transition: color .2s; }
a:hover { color: var(--green); }
p, ul, ol, table, blockquote, figure { margin: 0 0 1.5rem; }
p:last-child, ul:last-child, ol:last-child, table:last-child { margin-bottom: 0; }
ul, ol { padding-left: 2.5rem; }
li { margin-bottom: .5rem; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.5rem 0; }
sup { line-height: 0; }
del, .strike, .striketxt { text-decoration: line-through; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  margin: 0 0 1.5rem;
  padding-top: 1.5rem;
  line-height: 1.2;
  text-transform: none;
}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child { padding-top: 0; }
h1 { font-size: var(--h1); font-weight: 900; line-height: 1.1; }
h2 { font-size: var(--h2); font-weight: 900; }
h3 { font-size: var(--h3); font-weight: 400; }
h4 { font-size: var(--h4); font-weight: 400; margin-bottom: .5rem; color: var(--purple); }
h5 { font-size: var(--h5); font-weight: 400; }
h6 { font-size: var(--h6); font-weight: 400; }
h1 > strong, h2 > strong, h3 > strong, h4 > strong { font-weight: 700; }
h1, h2, .h1, .h2, .smallhd, .smallhd2 { text-transform: capitalize; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: .6rem 1rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { font-weight: 700; }

input, select, textarea, button { font: inherit; color: inherit; }

.ico { width: 1em; height: 1em; display: inline-block; fill: currentColor; vertical-align: -.125em; flex-shrink: 0; overflow: visible; }

.screen-reader-text, .hp-field {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--green); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- 3. Helper classes (from the old theme custom CSS) ---------- */
.txtgreen { color: var(--green) !important; }
.txtpurple, .purpletxt, .txtpruple { color: var(--purple) !important; }
.txtpink { color: #eb5496 !important; }
.txtwhite { color: #fff !important; }
.txtblack { color: #000 !important; }
.txtred { color: #f00 !important; }
.purplehref { color: #b387d4 !important; }
.linkunder { text-decoration: underline; }
.marg0 { margin-bottom: 0 !important; }
.pad0 { padding-top: 0 !important; }
.inlineblock { display: inline-block; }
.h1 { font-family: var(--font-heading); font-weight: 700; font-size: 3.5rem; line-height: 1.2; letter-spacing: 0; }
.h2 { font-family: var(--font-heading); font-weight: 700; font-size: 3rem; line-height: 1.2; margin-bottom: 1.5rem; }
.bigh1 { font-size: max(3.7rem, 3.7vw) !important; }
.smallhd, .smallhd2 { font-size: 2rem; font-weight: 400; }
.smallhd { color: var(--purple) !important; line-height: 2.5rem; }
.smallhd2 { color: var(--green) !important; line-height: 1.3; }
.subtitle { font-family: var(--font-heading); font-weight: 400; font-size: max(1.3rem, 1.3vw); line-height: 1.5; color: #6a6a6a; }
.subtitle .ico { color: var(--purple); }
.hr { width: 30%; height: 2px; border: 0; background-color: rgba(0, 0, 0, .3); }
.hrmL { margin-left: 0; }
.fR, .blogimg { float: right; }
.blogimg { margin: 0 1rem; }
.nobullets, .tickbulls, .macmovecheck { list-style: none; padding-left: 0; margin-left: 0; }
.tickbulls li { position: relative; padding-left: 25px; margin-bottom: 10px; }
.tickbulls li .ico { position: absolute; left: 0; top: 7px; color: #28a745; }
.homehd { font-size: 2rem !important; font-weight: 400; margin-bottom: 0; }
.homehd2 { font-size: 3.8rem !important; }

/* animations used on offer pages */
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes pulseBig { 0% { transform: scale(1); } 10% { transform: scale(1.5); } 20%, 100% { transform: scale(1); } }
@keyframes colorChange { 0%, 100% { color: #fff; } 50% { color: yellow; } }
@keyframes colorChange2 { 0%, 100% { color: #64328A; } 50% { color: red; } }
@keyframes moveUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes textPulse { 0% { color: #fff; } 10% { color: yellow; } 20%, 100% { color: #fff; } }
@keyframes shadowPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
@keyframes fadeGradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.movetxt { display: inline-block; animation: pulse 2s ease-in-out infinite; }
.movetxt2 { display: inline-block; animation: colorChange 2s linear infinite; }
.movetxt3, .movetxt3 .ico { display: inline-block; animation: moveUpDown 3s ease-in-out infinite; }
.dealfadetxt { display: inline-block; animation: colorChange2 2s linear infinite; }
.movefa { display: inline-block; animation: shadowPulse 1s infinite; }
.macmovecheck li { font-size: 1.9rem; line-height: 1.3; margin-bottom: 2.5rem; color: #fff; animation: textPulse 4s infinite ease-in-out; }
.macmovecheck li .ico { animation: pulseBig 4s infinite ease-in-out; }
.macmovecheck li:nth-child(2), .macmovecheck li:nth-child(2) .ico { animation-delay: 1s; }
.macmovecheck li:nth-child(3), .macmovecheck li:nth-child(3) .ico { animation-delay: 2s; }
.macmovecheck li:nth-child(4), .macmovecheck li:nth-child(4) .ico { animation-delay: 3s; }
.maccirclered { width: 120px; height: 120px; border-radius: 50%; background: #e53935; color: #fff; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; font-weight: 700; box-shadow: 0 0 15px rgba(0, 0, 0, .2); margin: 1rem auto; padding: 1rem; }
.maccircletext { background: linear-gradient(45deg, #fff, #ffe082, #ffeb3b, #fff); background-size: 300% 300%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; font-size: 2rem; animation: fadeGradient 5s ease infinite; }
.maccircletext small { font-size: 1rem; display: block; line-height: 1; margin-bottom: -20px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 4. Header ---------- */
.wrap { max-width: var(--site-content-width); margin: 0 auto; padding: 0 var(--padding-inline); display: flex; align-items: center; }
@media (max-width: 1024px) { .wrap { padding: 0 1rem; } }

.site-header { z-index: 100; background: #fff; }
/* The whole header is sticky, pulled up by the height of the top + middle bars,
   so only the menu bar (.hdr-nav) stays pinned to the top of the screen. */
.site-header:not(.landing-header) { position: sticky; top: calc(-1 * var(--hdr-hide, 151px)); --hdr-hide: 151px; }
.hdr-top { box-sizing: border-box; height: 41px; border-bottom: 1px solid #f5f5f5; color: #999; font-size: .9rem; }
.hdr-top .wrap { height: 40px; justify-content: space-between; }
.hdr-address .ico { margin-right: .3rem; }
.hdr-socials { display: flex; gap: .2rem; margin-left: auto; }
.hdr-socials a { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; text-decoration: none; transition: opacity .2s; }
.hdr-socials a:hover { opacity: .7; }
.soc-facebook { color: #1e77f0; }
.soc-x-twitter { color: #0f1419; }
.soc-instagram { color: #980ea0; }

.hdr-mid .wrap { height: 110px; justify-content: space-between; gap: 1rem; }
.logo img { display: block; width: 210px; height: auto; }
.hdr-actions { display: flex; align-items: center; gap: 2rem; }
.hdr-call { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.4; }
.hdr-call span { font-size: .85rem; font-weight: 700; }
.hdr-call a { font-size: 1.3rem; font-weight: 700; text-decoration: none; color: inherit; }

.hdr-nav { background: var(--green); color: #fff; position: relative; z-index: 99; box-shadow: var(--shadow); }
.hdr-purple .hdr-nav { background: var(--purple-nav); }
.hdr-nav .wrap { height: 50px; justify-content: space-between; }
.hdr-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; }
.hdr-nav .menu > li { position: relative; margin: 0; display: flex; align-items: center; }
.hdr-nav .menu > li > a, .hdr-nav .nav-label {
  display: flex; align-items: center; height: 100%; padding: 0 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; cursor: pointer; white-space: nowrap;
}
.hdr-nav .menu > li.has-sub > a, .hdr-nav .menu > li.has-sub > .nav-label { padding-right: 4px; }
/* hover / current highlight covers the whole item, including the dropdown arrow */
@media (min-width: 1025px) {
  .hdr-nav .menu > li { transition: background .2s; }
  .hdr-nav .menu > li:hover, .hdr-nav .menu > li:focus-within,
  .hdr-nav .menu > li.current, .hdr-nav .menu > li.current-parent { background: rgba(255, 255, 255, .12); }
  .hdr-purple .hdr-nav .menu > li.current, .hdr-purple .hdr-nav .menu > li.current-parent { background: var(--pink); }
}
.sub-toggle { background: none; border: 0; color: #fff; padding: 0 10px 0 2px; height: 100%; cursor: pointer; display: flex; align-items: center; }
.sub-toggle .ico { width: .7em; height: .7em; transform: rotate(90deg); transition: transform .2s; }
.hdr-nav .sub {
  list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 10;
}
.hdr-nav .sub li { margin: 0; }
.hdr-nav .sub a { display: block; padding: .55rem 1.25rem; color: var(--text); text-decoration: none; font-size: 1.05rem; line-height: 1.4; }
.hdr-nav .sub a:hover, .hdr-nav .sub li.current a { background: var(--bg-alt); color: var(--green); }
.hdr-purple .hdr-nav .sub a:hover, .hdr-purple .hdr-nav .sub li.current a { color: var(--purple); }
.hdr-nav .menu > li:hover > .sub, .hdr-nav .menu > li:focus-within > .sub, .hdr-nav .menu > li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; }
.nav-call { display: none; color: #fff; text-decoration: none; font-weight: 700; }
.nav-call:hover { color: #fff; }

/* landing-page header (offer + PPC pages) */
.landing-header { position: sticky; top: 0; box-shadow: var(--shadow); }
.landing-header .hdr-mid .wrap { height: 90px; }
.landing-header .hdr-actions { gap: .75rem; }

@media (max-width: 1280px) and (min-width: 1025px) {
  .hdr-nav .menu > li > a, .hdr-nav .nav-label { padding: 0 2px; font-size: 1rem; }
}
@media (max-width: 1024px) {
  .hdr-top { display: none; }
  .hdr-mid .wrap { height: 80px; }
  .site-header:not(.landing-header) { --hdr-hide: 80px; }
  .logo img { width: 160px; }
  .hdr-call { display: none; }
  .nav-toggle { display: flex; align-items: center; gap: .6rem; background: none; border: 0; color: #fff; font-weight: 700; cursor: pointer; padding: 0; height: 100%; }
  .burger { position: relative; width: 20px; height: 14px; display: inline-block; }
  .burger::before, .burger::after, .burger span { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
  .burger::before { top: 0; }
  .burger span { top: 6px; }
  .burger::after { bottom: 0; }
  .nav-open .burger::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .burger span { opacity: 0; }
  .nav-open .burger::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-call { display: block; }
  /* slide-in panel from the left, same colour as the menu bar */
  .hdr-nav .menu {
    position: fixed; left: 0; top: var(--menu-top, 50px); height: calc(100dvh - var(--menu-top, 50px));
    width: min(85vw, 360px); overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; background: var(--green); padding: 1.25rem .75rem 2rem;
    box-shadow: 6px 0 20px rgba(0, 0, 0, .2);
    transform: translateX(-105%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .hdr-purple .hdr-nav .menu { background: var(--purple-nav); }
  .nav-open .hdr-nav .menu { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
  .hdr-nav .menu > li { flex-wrap: wrap; align-items: stretch; margin-bottom: 2px; }
  .hdr-nav .menu > li > a, .hdr-nav .nav-label { color: #fff; padding: .85rem .75rem; flex: 1; height: auto; min-height: 50px; font-size: 1.2rem; font-weight: 400; }
  .hdr-nav .menu > li.current, .hdr-nav .menu > li.current-parent { background: rgba(255, 255, 255, .15); }
  .hdr-purple .hdr-nav .menu > li.current, .hdr-purple .hdr-nav .menu > li.current-parent { background: var(--pink); }
  .sub-toggle { color: #fff; padding: 0 .75rem; height: auto; min-height: 50px; align-self: stretch; }
  .sub-toggle .ico { width: .9em; height: .9em; }
  .sub-toggle[aria-expanded="true"] .ico { transform: rotate(-90deg); }
  .hdr-nav .sub { position: static; width: 100%; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; background: rgba(0, 0, 0, .15); padding: .25rem 0; }
  .hdr-nav .menu > li.open > .sub { display: block; }
  .hdr-nav .sub a { color: #fff; padding: .6rem .75rem .6rem 1.5rem; font-size: 1.1rem; }
  .hdr-nav .sub a:hover, .hdr-nav .sub li.current a { background: rgba(255, 255, 255, .12); color: #fff; }
  .hdr-purple .hdr-nav .sub a:hover, .hdr-purple .hdr-nav .sub li.current a { color: #fff; }
}
@media (max-width: 600px) {
  .hdr-mid .wrap { height: 70px; }
  .site-header:not(.landing-header) { --hdr-hide: 70px; }
  .logo img { width: 140px; }
  .hdr-book { font-size: .9rem !important; padding: .7em 1.1em !important; }
  .landing-header .hdr-mid .wrap { height: auto; padding-top: .6rem; padding-bottom: .6rem; flex-wrap: wrap; justify-content: center; }
  .landing-header .hdr-actions { width: 100%; justify-content: center; }
  .landing-header .hdr-actions .w-btn { flex: 1; justify-content: center; font-size: .9rem; padding: .7em .8em; }
}

/* ---------- 5. Footer ---------- */
.site-footer { color: rgba(255, 255, 255, .8); font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.ftr-main { background: var(--green); padding: 2.5rem 0; }
.ftr-purple .ftr-main { background: var(--purple); }
.ftr-main .wrap { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 3rem; align-items: start; }
.ftr-logo { width: 100%; max-width: 230px; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: 1.5rem; margin: 0 0 .75rem; padding: 0; }
.site-footer h4 a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .15rem; }
.ftr-socials { display: flex; gap: .4rem; margin-top: 1rem; }
.ftr-socials a { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.ftr-socials a:hover { background: rgba(255, 255, 255, .25); text-decoration: none; }
.ftr-bottom { background: var(--green-dark); padding: 1rem 0; font-size: .9rem; }
.ftr-purple .ftr-bottom { background: #4c2569; }
.ftr-bottom .wrap { justify-content: space-between; gap: 1rem; }
.ftr-bottom p { margin: 0; }
@media (max-width: 1024px) {
  .ftr-main .wrap { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .site-footer { text-align: center; }
  .ftr-main .wrap { grid-template-columns: 1fr; }
  .ftr-logo { width: 70%; margin: 0 auto 1rem; display: block; }
  .ftr-socials { justify-content: center; }
  .ftr-bottom .wrap { flex-direction: column; gap: .3rem; }
}

/* ---------- 6. Sections & columns (page builder layout) ---------- */
.l-main { display: block; overflow-x: clip; }
.l-main::after { content: ''; display: table; clear: both; }
.l-section { position: relative; margin: 0 auto; padding-left: var(--padding-inline); padding-right: var(--padding-inline); }
.l-section-h { position: relative; margin: 0 auto; width: 100%; max-width: var(--site-content-width); }
.l-section.width_full { --padding-inline: 0px; padding-left: 0; padding-right: 0; }
.l-section.width_full > .l-section-h { max-width: none; }
.l-section.height_auto { padding-top: 0; padding-bottom: 0; }
.l-section.height_small { padding-top: 2rem; padding-bottom: 2rem; }
.l-section.height_medium { padding-top: 4rem; padding-bottom: 4rem; }
.l-section.height_large { padding-top: 6vmax; padding-bottom: 6vmax; }
.l-section.height_huge { padding-top: 9vmax; padding-bottom: 9vmax; }
.l-section.full_height { min-height: 100vh; }
@media (max-width: 600px) {
  .l-section.height_small, .l-section.height_medium { padding-top: 1.5rem; padding-bottom: 1.5rem; }
}
.l-section-img, .l-section-overlay, .l-section-slider { position: absolute; inset: 0; }
.l-section-img { background-position: center center; background-size: cover; background-repeat: no-repeat; }
.l-section.parallax_fixed > .l-section-img { background-attachment: fixed; }
@media (hover: none), (max-width: 1024px) { .l-section.parallax_fixed > .l-section-img { background-attachment: scroll; } }
.l-section.with_slider { overflow: hidden; }
.l-section-slider { z-index: 0; pointer-events: none; }
.l-section-slider .slider-arrow, .l-section-slider .slider-dots { pointer-events: auto; }
.l-section.with_slider > .l-section-h, .l-section.with_slider > .l-section-overlay { z-index: 1; }
.l-section.with_slider > .l-section-h { z-index: 2; }
.l-section-slider .w-slider, .l-section-slider .w-slider-track { height: 100% !important; aspect-ratio: auto !important; }
.l-section-shape { overflow: hidden; position: absolute; left: 0; right: 0; height: 15vmin; color: var(--bg); z-index: 1; }
.l-section-shape.pos_top { top: -1px; }
.l-section-shape.pos_bottom { bottom: -1px; }
.l-section-shape > svg { display: block; }
.l-section-shape:not(.type_custom).pos_top > svg { transform: rotateX(180deg); }
.l-section-shape svg path { fill: currentColor; }

.l-section.color_primary { background: var(--green); color: #fff; }
.l-section.color_secondary { background: var(--purple); color: #fff; }
.l-section.color_alternate { background: var(--bg-alt); color: #3f4544; }
.l-section.color_primary a, .l-section.color_secondary a { color: inherit; }
.l-section[class*="color_"] :is(h1, h2, h3, h4, h5, h6), .has_text_color :is(h1, h2, h3, h4, h5, h6) { color: inherit; }
.l-section.color_alternate :is(h1, h2, h3, h5, h6) { color: #212121; }
.l-section.color_alternate h4 { color: var(--purple); }

.g-cols { display: flex; flex-wrap: wrap; }
.g-cols.type_default { margin: 0 -1.5rem; }
:where(.g-cols > div) { position: relative; width: 100%; display: flex; flex-direction: column; }
.g-cols > div > .vc_column-inner { display: flex; flex-direction: column; flex-grow: 1; position: relative; }
.g-cols.type_default > div > .vc_column-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
.g-cols.type_default > div.has_bg_color > .vc_column-inner { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.g-cols.type_boxes > div > .vc_column-inner { padding: 2.5rem; }
.g-cols.valign_middle > div > .vc_column-inner { justify-content: center; }
.g-cols.valign_bottom > div > .vc_column-inner { justify-content: flex-end; }
.g-cols.valign_top > div > .vc_column-inner { justify-content: flex-start; }
.g-cols.valign_stretch > div > .vc_column-inner > * { flex-grow: 1; }
.g-cols > .stretched { flex-grow: 1; }
.vc_column-inner.type_sticky > .sticky-inner, .vc_column-inner.type_sticky > .sidebar-box { position: sticky; top: 70px; }
.sticky-inner { height: auto; }

@media (min-width: 601px) {
  .vc_col-sm-1 { width: 8.3333%; } .vc_col-sm-2 { width: 16.6666%; } .vc_col-sm-3 { width: 25%; }
  .vc_col-sm-4 { width: 33.3333%; } .vc_col-sm-5 { width: 41.6666%; } .vc_col-sm-6 { width: 50%; }
  .vc_col-sm-7 { width: 58.3333%; } .vc_col-sm-8 { width: 66.6666%; } .vc_col-sm-9 { width: 75%; }
  .vc_col-sm-10 { width: 83.3333%; } .vc_col-sm-11 { width: 91.6666%; } .vc_col-sm-12 { width: 100%; }
  .vc_col-sm-offset-1 { margin-left: 8.3333%; } .vc_col-sm-offset-2 { margin-left: 16.6666%; } .vc_col-sm-offset-3 { margin-left: 25%; }
  /* columns that bleed to the edge of the screen */
  .g-cols.type_default > .stretched:first-child { margin-left: calc(var(--margin-inline-stretch) + 1.5rem); }
  .g-cols.type_default > .stretched:last-child { margin-right: calc(var(--margin-inline-stretch) + 1.5rem); }
  .g-cols.type_default > .stretched:first-child > .vc_column-inner { padding-left: 0; }
  .g-cols.type_default > .stretched:last-child > .vc_column-inner { padding-right: 0; }
  .g-cols.type_boxes > .stretched:first-child { margin-left: var(--margin-inline-stretch); }
  .g-cols.type_boxes > .stretched:last-child { margin-right: var(--margin-inline-stretch); }
}
@media (min-width: 1025px) {
  .vc_col-md-3 { width: 25%; } .vc_col-md-4 { width: 33.3333%; } .vc_col-md-6 { width: 50%; } .vc_col-md-8 { width: 66.6666%; }
}
@media (max-width: 600px) {
  .g-cols > div { width: 100%; margin: 0 0 1.5rem; }
  .g-cols > div:last-child, .g-cols.type_boxes > div, .g-cols > div.has_bg_color { margin-bottom: 0; }
  .g-cols.reversed > div:last-of-type { order: -1; }
  .g-cols.reversed > div:first-child { margin-bottom: 0; }
  .g-cols.reversed > div:last-of-type { margin-bottom: 1.5rem; }
  .g-cols.type_boxes > div > .vc_column-inner { padding: 1.5rem; }
}

/* visibility */
@media (min-width: 1281px) { .vc_hidden-lg, .hide_on_default { display: none !important; } }
@media (min-width: 1025px) and (max-width: 1280px) { .vc_hidden-md, .hide_on_laptops { display: none !important; } }
@media (min-width: 601px) and (max-width: 1024px) { .vc_hidden-sm, .hide_on_tablets { display: none !important; } }
@media (max-width: 600px) { .vc_hidden-xs, .hide_on_mobiles { display: none !important; } }
@media (max-width: 767px) {
  .mobcenter { text-align: center; }
  .mobimg { width: 70%; margin: auto; }
  .hrmL { margin: 1rem auto; }
  .blogimg { float: none; margin: 0 0 1rem; }
  .btnmob100, .btnmob100 .w-btn { width: 100%; }
}

/* ---------- 7. Content elements ---------- */
.text-block:not(:last-child) { margin-bottom: 0; }
.text-block::after { content: ''; display: table; clear: both; }

/* text / wrappers */
.w-text { margin: 0; padding: 0; line-height: 1.5; }
.w-text .w-text-h { color: inherit; text-decoration: none; }
.w-text.icon_atleft .ico { margin-right: .4em; }
.w-text.icon_atright .ico { margin-left: .4em; }
.w-text.nowrap { white-space: nowrap; }
.w-hwrapper { display: flex; align-items: center; gap: var(--hwrapper-gap, 1.2rem); }
.w-hwrapper.wrap { flex-wrap: wrap; }
.w-hwrapper.valign_top { align-items: flex-start; }
.w-hwrapper.align_center { justify-content: center; }
.w-hwrapper.align_right { justify-content: flex-end; }
.w-vwrapper { display: flex; flex-direction: column; gap: var(--vwrapper-gap, .7rem); }
.w-vwrapper.align_center { align-items: center; text-align: center; }
.w-vwrapper.align_right { align-items: flex-end; text-align: right; }
.w-vwrapper.align_none > *, .w-vwrapper.align_left > * { align-self: flex-start; }
.w-vwrapper.align_none > .w-image, .w-vwrapper.align_none > .text-block, .w-vwrapper.align_none > .w-grid { align-self: stretch; }
@media (max-width: 600px) {
  .w-hwrapper.stack_on_mobiles { display: block; }
  .w-hwrapper.stack_on_mobiles > * { display: block; margin: 0 0 var(--hwrapper-gap, 1.2rem); }
  .w-hwrapper.stack_on_mobiles > :last-child { margin-bottom: 0; }
}
.align_center { text-align: center; }
.align_right { text-align: right; }
.align_left { text-align: left; }

/* images */
.w-image { position: relative; max-width: 100%; }
.w-image-h { display: block; border-radius: inherit; border-color: inherit; color: inherit; }
.w-image img { width: auto; max-width: 100%; }
.w-image.align_center { margin-left: auto; margin-right: auto; text-align: center; }
.w-image.align_left { margin-right: auto; }
.w-image.align_right { margin-left: auto; text-align: right; }
.w-image.align_none img, .w-image.has_ratio img { width: 100%; }
.w-image.style_shadow-1 img { box-shadow: 0 1px 3px rgba(0, 0, 0, .15), 0 5px 15px rgba(0, 0, 0, .1); }
.w-image.style_shadow-2 img { box-shadow: 0 5px 20px rgba(0, 0, 0, .2), 0 20px 50px rgba(0, 0, 0, .2); }
.w-image-shadow { display: none; }
/* fixed-shape image boxes (ratio_* class on a has_ratio element) – the image fills and crops to the box */
.ratio_1x1 { --ratio: 1 / 1; }
.ratio_16x9 { --ratio: 16 / 9; }
.ratio_4x3 { --ratio: 4 / 3; }
.ratio_3x4 { --ratio: 3 / 4; }
.w-post-elm.post_image.has_ratio[class*="ratio_"], .w-image.has_ratio[class*="ratio_"] .w-image-h { position: relative; display: block; aspect-ratio: var(--ratio); overflow: hidden; }
.w-post-elm.post_image.has_ratio[class*="ratio_"] img, .w-image.has_ratio[class*="ratio_"] .w-image-h img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.macimgfloat { float: right; margin: 0 0 1rem 1.5rem; }
.macimgfloat2 { float: left; margin: 0 1.5rem 1rem 0; }

/* separators / spacers */
.w-separator { clear: both; position: relative; line-height: 0; height: 1.5rem; color: var(--border); }
.w-separator.size_small { height: 1.5rem; }
.w-separator.size_medium { height: 3rem; }
.w-separator.size_large { height: 4.5rem; }
.w-separator.size_huge { height: 6rem; }
.w-separator.with_line.size_small { height: 4rem; }
.w-separator.with_line.size_medium { height: 6rem; }
.w-separator.with_line.size_large { height: 7rem; }
.w-separator.with_line.size_huge { height: 9rem; }
.w-separator-h { display: block; height: 100%; position: relative; }
.w-separator.with_line .w-separator-h::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; border-top: 1px solid currentColor; }
.w-separator.thick_2 .w-separator-h::before { border-top-width: 2px; margin-top: -1px; }
.w-separator.style_dashed .w-separator-h::before { border-top-style: dashed; }
.w-separator.style_dotted .w-separator-h::before { border-top-style: dotted; }
.w-separator.width_30 { width: 30%; margin-left: auto !important; margin-right: auto !important; }
.w-separator.width_50 { width: 50%; margin-left: auto !important; margin-right: auto !important; }
.w-separator.color_border { color: var(--border); }
.w-separator.color_primary { color: var(--green); }
.w-separator.color_secondary { color: var(--purple); }
.w-separator.color_text { color: var(--text); }
.color_primary .w-separator.color_border, .color_secondary .w-separator.color_border { color: rgba(255, 255, 255, .33); }
.w-separator.separator_icon .w-separator-h { display: flex; align-items: center; justify-content: center; }
.w-separator.with_icon .ico { position: relative; background: inherit; padding: 0 .6em; box-sizing: content-box; color: var(--purple); }
@media (max-width: 1024px) {
  .w-separator.size_medium:not(.with_line) { height: calc(1rem + 2.5vw); }
  .w-separator.size_large:not(.with_line) { height: calc(1rem + 5vw); }
  .w-separator.size_huge:not(.with_line) { height: calc(1rem + 7.5vw); }
  .w-separator.with_line.size_small { height: calc(1.5rem + 2vw); }
  .w-separator.with_line.size_medium { height: calc(1.5rem + 4vw); }
  .w-separator.with_line.size_large { height: calc(1.5rem + 6vw); }
}

/* buttons */
.w-btn, .enquiry-form [type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; position: relative; z-index: 0;
  font-family: var(--font-body); font-size: 16px; line-height: 1.2; font-weight: 700; text-decoration: none; text-align: center;
  padding: .8em 1.8em; border: 0; border-radius: 1em; cursor: pointer; overflow: hidden;
  background: var(--btn-bg, var(--green)); color: var(--btn-color, #fff) !important;
  transition: background .3s, color .3s, box-shadow .3s;
}
.w-btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover-bg); opacity: 0; transition: opacity .3s; border-radius: inherit; }
.w-btn:hover::after, .w-btn:focus-visible::after { opacity: 1; }
.w-btn:hover { color: var(--btn-hover-color, #fff) !important; }
.w-btn .ico { width: .9em; height: .9em; }
.w-btn-wrapper { display: inline-block; margin: 0 .3rem .3rem 0; }
.w-btn-wrapper.align_center { display: block; text-align: center; margin-right: 0; }
.w-btn-wrapper.align_right { display: block; text-align: right; margin-right: 0; }
.w-btn-wrapper.align_left { display: block; }
.us-btn-style_1, .enquiry-form [type=submit] { --btn-bg: var(--green); --btn-hover-bg: var(--purple); }
.enquiry-form [type=submit]:hover { background: var(--purple); }
.us-btn-style_2 { --btn-bg: var(--border); --btn-hover-bg: #1a1a1a; border-radius: .3em; }
.us-btn-style_3 { --btn-bg: var(--lime); --btn-color: #073e30; --btn-hover-bg: var(--green); font-size: 1.1rem; padding: .8em 2em; }
.us-btn-style_4 { --btn-bg: var(--purple); --btn-hover-bg: linear-gradient(90deg, #64328A, #1B4A34); font-weight: 400; font-size: 1rem; border-radius: .3em; }
.us-btn-style_5 { --btn-bg: var(--pink); --btn-hover-bg: var(--pink-dark); font-size: 1.1rem; padding: 1em 2.3em; }
.us-btn-style_6 { --btn-bg: linear-gradient(180deg, #333233 92%, #000 8%); --btn-hover-bg: #000; text-transform: uppercase; font-weight: 500; padding: 1em 2em; }
.us-btn-style_8, .us-btn-style_10 { --btn-bg: linear-gradient(180deg, #FFBB00 95%, #cc9500 5%); --btn-color: #000; --btn-hover-bg: linear-gradient(180deg, #242424 95%, #333 5%); --btn-hover-color: #fff; text-transform: uppercase; padding: 1.5em 3.5em; border-radius: 1.5em; box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .2); }
.us-btn-style_9, .us-btn-style_11 { --btn-bg: linear-gradient(180deg, #fff 95%, #ccc 5%); --btn-color: #000; --btn-hover-bg: #ccc; --btn-hover-color: #000; text-transform: uppercase; padding: 1.5em 3.5em; border-radius: 1.5em; box-shadow: inset 0 0 2px 1px #ccc; }
.w-btn.icon_atleft .ico { order: -1; }
@media (max-width: 600px) {
  .us-btn-style_8, .us-btn-style_9, .us-btn-style_10, .us-btn-style_11 { padding: 1.2em 2em; }
}

/* icon boxes */
.w-iconbox { position: relative; }
.w-iconbox.iconpos_left { display: flex; align-items: flex-start; }
.w-iconbox.iconpos_top { text-align: center; }
.w-iconbox.iconpos_top.align_left { text-align: left; }
.w-iconbox-link { display: inline-flex; flex-shrink: 0; color: inherit; text-decoration: none; }
.w-iconbox-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 2rem; line-height: 1; text-align: center; transition: background .2s, color .2s; }
.w-iconbox-icon img { width: 1em; height: auto; }
.w-iconbox.iconpos_left .w-iconbox-icon { margin-right: calc(15px + .2em); }
.w-iconbox.iconpos_top .w-iconbox-icon { margin-bottom: .5rem; }
.w-iconbox.style_circle .w-iconbox-icon, .w-iconbox.style_outlined .w-iconbox-icon { height: 2.5em; width: 2.5em; border-radius: 50%; }
.w-iconbox.style_outlined .w-iconbox-icon { box-shadow: inset 0 0 0 2px; }
.w-iconbox.color_primary .w-iconbox-icon { color: var(--green); }
.w-iconbox.color_secondary .w-iconbox-icon { color: var(--purple); }
.w-iconbox.color_light .w-iconbox-icon { color: var(--border); }
.w-iconbox.color_custom .w-iconbox-icon { color: var(--icon-color); }
.w-iconbox.style_circle.color_primary .w-iconbox-icon { background: var(--green); color: #fff; }
.w-iconbox.style_circle.color_secondary .w-iconbox-icon { background: var(--purple); color: #fff; }
.w-iconbox.style_circle.color_custom .w-iconbox-icon { background: var(--icon-bg-color); }
.w-iconbox.style_outlined.color_custom .w-iconbox-icon { box-shadow: inset 0 0 0 2px var(--icon-bg-color); }
.w-iconbox.style_circle .w-iconbox-link:hover .w-iconbox-icon, .w-iconbox.style_outlined .w-iconbox-link:hover .w-iconbox-icon { background: var(--green); color: #fff; box-shadow: none; }
.w-iconbox-meta { flex-grow: 1; min-width: 0; }
.w-iconbox-title { margin: 0; padding: .5em 0 !important; }
.w-iconbox-title:empty { display: none; }
.w-iconbox-title > a { color: inherit; text-decoration: none; }
.w-iconbox-text p:not(:last-child) { margin-bottom: .75rem; }

/* action box */
.w-actionbox { display: flex; align-items: center; gap: 2rem; padding: 2.5rem; border-radius: var(--radius); background: var(--bg-alt); margin-bottom: 1.5rem; }
.w-actionbox.color_primary { background: var(--green); color: #fff; }
.w-actionbox.color_secondary { background: var(--purple); color: #fff; }
.w-actionbox.color_primary :is(h2, h3, h4), .w-actionbox.color_secondary :is(h2, h3, h4) { color: inherit; }
.w-actionbox-text { flex-grow: 1; }
.w-actionbox-title { margin: 0 0 .5rem; padding: 0; }
.w-actionbox-controls { flex-shrink: 0; }
@media (max-width: 767px) { .w-actionbox { flex-direction: column; text-align: center; padding: 1.5rem; } }

/* breadcrumbs */
.g-breadcrumbs { display: flex; flex-wrap: wrap; font-size: .9rem; line-height: 1.4; margin-bottom: 1rem; }
.g-breadcrumbs.align_right { justify-content: flex-end; }
.g-breadcrumbs.align_center { justify-content: center; }
.g-breadcrumbs a { color: inherit; text-decoration: none; }
.g-breadcrumbs a:hover { text-decoration: underline; }
.g-breadcrumbs-separator { margin: 0 .5em; opacity: .7; }

/* socials inside page content */
.w-socials-list { display: flex; flex-wrap: wrap; gap: var(--gap, .25em); }
.w-socials-item-link { display: inline-flex; align-items: center; justify-content: center; width: 2.5em; height: 2.5em; text-decoration: none; color: inherit; border-radius: 50%; transition: opacity .2s; }
.w-socials.shape_square .w-socials-item-link { border-radius: 0; }
.w-socials.shape_rounded .w-socials-item-link { border-radius: .3em; }
.w-socials.style_solid .w-socials-item-link { background: rgba(0, 0, 0, .1); }
.w-socials.style_colored .w-socials-item-link { color: #fff; }
.w-socials.style_colored .facebook .w-socials-item-link { background: #1e77f0; }
.w-socials.style_colored .twitter .w-socials-item-link { background: #0f1419; }
.w-socials.style_colored .instagram .w-socials-item-link { background: #980ea0; }
.w-socials.style_colored .youtube .w-socials-item-link { background: #f00; }
.w-socials.style_colored .whatsapp .w-socials-item-link { background: #25d366; }
.w-socials.color_brand .facebook .w-socials-item-link { color: #1e77f0; }
.w-socials.color_brand .instagram .w-socials-item-link { color: #980ea0; }
.w-socials.color_brand .youtube .w-socials-item-link { color: #f00; }
.w-socials-item-link:hover { opacity: .75; }
.w-socials-item-link-hover { display: none; }

/* vertical menu blocks (home page) */
.w-menu .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--main-gap, .5rem); }
.w-menu .menu li { margin: 0; }
.w-menu.style_blocks .menu a { display: block; padding: var(--main-ver-indent, .8em) var(--main-hor-indent, .8em); background: var(--main-bg-color); color: var(--main-color, #fff); text-decoration: none; line-height: 1.4; transition: background .2s; }
.w-menu.style_blocks .menu a:hover { background: var(--main-hover-bg-color); color: var(--main-color, #fff); }

/* accordions (w-tabs) */
.w-tabs { margin-bottom: 1.5rem; }
.w-tabs-section { border-top: 1px solid var(--border); }
.w-tabs-section:last-child { border-bottom: 1px solid var(--border); }
.w-tabs-section-header {
  display: flex; align-items: center; width: 100%; text-align: left; line-height: 1.5; cursor: pointer; padding: 1em 1.5em;
  background: transparent; border: 0; color: inherit; transition: background .2s, color .2s;
}
.w-tabs-section-header:hover, .w-tabs-section-header:focus-visible { background: rgba(0, 0, 0, .04); }
.w-tabs-section:not(.has_text_color).active > .w-tabs-section-header { color: var(--green); }
.w-tabs-section-title { margin: 0 .6em 0 0 !important; padding: 0 !important; color: inherit; font-size: var(--sections-title-size, 1.2rem); line-height: inherit; }
.w-tabs-section-header > .ico { margin-right: .6em; }
.w-tabs-section-control { position: relative; flex-shrink: 0; width: 1em; height: 1em; margin-left: auto; transition: transform .3s; }
.icon_chevron .w-tabs-section-control::before, .icon_chevron .w-tabs-section-control::after { content: ''; position: absolute; top: 20%; height: 60%; width: .15em; background: currentColor; border-radius: 1px; }
.icon_chevron .w-tabs-section-control::before { left: .262em; transform: rotate(-45deg); }
.icon_chevron .w-tabs-section-control::after { right: .262em; transform: rotate(45deg); }
.icon_chevron .active > .w-tabs-section-header .w-tabs-section-control { transform: rotate(180deg); }
.icon_plus .w-tabs-section-control::before { content: ''; position: absolute; top: 0; left: .45em; height: 100%; width: .1em; background: currentColor; }
.icon_plus .w-tabs-section-control::after { content: ''; position: absolute; top: .45em; left: 0; height: .1em; width: 100%; background: currentColor; }
.icon_plus .active > .w-tabs-section-header .w-tabs-section-control { transform: rotate(135deg); }
.cpos_left .w-tabs-section-control { order: -1; margin: 0 .6em 0 0; }
.titles-align_center .w-tabs-section-header { justify-content: center; }
.w-tabs-section-content { display: none; padding: 1.5rem; }
.w-tabs-section.active > .w-tabs-section-content { display: block; }
.w-tabs.remove_indents .w-tabs-section-header, .w-tabs.remove_indents .w-tabs-section-content { padding-left: 0; padding-right: 0; }
.w-tabs-section[style*="background"] { border-color: transparent; margin-bottom: 2px; }

/* simple image slider (replaces Royal Slider) */
.w-slider { position: relative; overflow: hidden; aspect-ratio: var(--aspect-ratio, auto); }
.w-slider-track { position: relative; width: 100%; height: 100%; display: grid; }
.w-slide { grid-area: 1 / 1; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.w-slide.active { opacity: 1; position: relative; z-index: 1; }
.w-slider.fit_cover .w-slide { object-fit: cover; }
.w-slider.fit_scaledown .w-slide { object-fit: scale-down; }
.w-slider.has_ratio .w-slider-track { position: absolute; inset: 0; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.slider-arrow:hover { background: rgba(0, 0, 0, .6); }
.slider-arrow.prev { left: .75rem; }
.slider-arrow.next { right: .75rem; }
@media (max-width: 600px) { .slider-arrow { display: none; } }
.slider-dots { position: absolute; bottom: .75rem; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; z-index: 2; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .6); cursor: pointer; }
.slider-dots button[aria-current="true"] { background: #fff; box-shadow: 0 0 0 2px var(--green); }

/* content carousel (replaces Owl Carousel) */
.w-content-carousel { position: relative; --items: 1; }
.carousel-track { display: flex; gap: var(--items-gap, 30px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 calc((100% - (var(--items) - 1) * var(--items-gap, 30px)) / var(--items)); scroll-snap-align: start; min-width: 0; }
.w-content-carousel .carousel-track { align-items: flex-start; }
.w-content-carousel.is-fade .carousel-track { display: grid; gap: 0; overflow: hidden; scroll-snap-type: none; scroll-behavior: auto; }
.w-content-carousel.is-fade .carousel-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s ease, visibility 0s linear .6s; }
.w-content-carousel.is-fade .carousel-item.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; z-index: 1; }
.w-content-carousel .slider-arrow { background: rgba(255, 255, 255, .85); color: var(--text); border-radius: 0; }
.w-content-carousel .slider-arrow:hover { background: #fff; }
.w-content-carousel .slider-dots { position: static; margin-top: 1rem; }
.w-content-carousel .slider-dots button { background: var(--border); }
.w-content-carousel .slider-dots button[aria-current="true"] { background: var(--green); box-shadow: none; }
@media (max-width: 1024px) {
  .home-banners { --padding-inline: 0px; padding-left: 0; padding-right: 0; }
  .home-banners > .l-section-h { max-width: none; }
}

/* gallery */
.w-gallery-list { display: grid; grid-template-columns: repeat(var(--columns, 3), 1fr); gap: var(--items-gap, 10px); }
.w-gallery-item { position: relative; overflow: hidden; }
.w-gallery.ratio_1x1 .w-gallery-item-img { aspect-ratio: 1; }
.w-gallery-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.w-gallery-item:hover img { transform: scale(1.04); }
.w-gallery-item-link { position: absolute; inset: 0; }
@media (max-width: 600px) { .w-gallery-list { grid-template-columns: repeat(2, 1fr); } }

/* popup */
.w-popup-overlay, .w-popup-wrap { display: none; }
.w-popup-overlay.open { display: block; position: fixed; inset: 0; z-index: 900; }
.w-popup-wrap.open { display: flex; position: fixed; inset: 0; z-index: 901; align-items: center; justify-content: center; padding: 1rem; pointer-events: none; }
.w-popup-wrap.open.layout_bottom_panel { align-items: flex-end; padding: 0; }
.w-popup-box { pointer-events: auto; background: #fff; color: var(--text); width: var(--popup-width, 600px); max-width: 100%; max-height: 90vh; overflow-y: auto; border-radius: var(--radius); animation: popIn .25s ease; text-align: left; }
.layout_bottom_panel .w-popup-box { width: 100%; max-width: 100%; border-radius: 0; }
.layout_bottom_panel .w-popup-box-h { max-width: var(--popup-width, 600px); margin: 0 auto; }
.w-popup-box .l-section { padding-top: 2rem; padding-bottom: 2rem; }
.w-popup-closer { position: fixed; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; pointer-events: auto; z-index: 2; }
.w-popup-closer::before, .w-popup-closer::after { content: ''; position: absolute; top: 50%; left: 20%; right: 20%; height: 2px; background: #fff; transform: rotate(45deg); }
.w-popup-closer::after { transform: rotate(-45deg); }
@keyframes popIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }

/* video */
.w-video-h { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.w-video-h iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
video.wp-video { width: 100%; height: auto; background: #000; }

/* static page grids (Orthodontics, Facial Aesthetics and Referrals landing pages) */
.w-grid-list { display: grid; grid-template-columns: repeat(var(--columns, 1), 1fr); gap: var(--gap, 1.5rem); }
@media (max-width: 1024px) { .w-grid[style*="--columns:3"] .w-grid-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .w-grid-list { grid-template-columns: 1fr !important; } }
.w-grid-item { margin: 0; }
.w-grid-item-h { height: 100%; }
.w-post-elm.post_image { position: relative; overflow: hidden; margin-bottom: 1rem; }
.w-post-elm.post_image.has_ratio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-post-elm.post_image > a { display: block; }
.w-post-elm.post_title { font-size: 1.4rem; font-weight: 700; padding: 0; margin: 0 0 .75rem; }
.w-post-elm.post_title a { color: inherit; text-decoration: none; }
.w-post-elm.post_title a:hover { color: var(--green); }
.layout_1249 .w-grid-item-h { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); padding-bottom: 1.5rem; }
.layout_1249 .w-post-elm.post_title, .layout_1249 .post_content { padding: 0 1.5rem; }
.layout_1366 .w-grid-item-h { text-align: center; }
.hide_if_not_first { }

/* tables */
.tablepress { margin-bottom: 1.5rem; }
.tablepress td { padding: .5rem .75rem; }
.tablepress td { border-bottom-color: rgba(127, 127, 127, .3); }
.pricing-table, .price-table { margin-bottom: 2rem; font-size: .95rem; }
.pricing-table th, .price-table th { background: var(--purple); color: #fff; }
.pricing-table tbody tr:nth-child(even), .price-table tbody tr:nth-child(even) { background: #faf7fc; }
@media (max-width: 600px) {
  .pricing-table, .price-table { font-size: .85rem; }
  .pricing-table th, .pricing-table td { padding: .5rem; }
}

/* dental implant fee tables (/orthodontics/dental-implants-glasgow/) */
.implant-fees { --fee-accent: #25a875; --fee-accent-dark: #18865c; --fee-accent-light: #eef8f4; --fee-text: #333; --fee-muted: #68726f; --fee-border: #dfe7e4; margin: 30px 0; }
.implant-fees h3 { margin: 40px 0 15px; }
.implant-fees h3:first-child { margin-top: 0; }
.fee-table-wrap { border: 1px solid var(--fee-border); border-radius: 10px; overflow: hidden; background: #fff; margin-bottom: 35px; }
.fee-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: #fff; }
.fee-table th, .fee-table td { padding: 15px 18px; border: 0; border-bottom: 1px solid var(--fee-border); text-align: left; vertical-align: middle; }
.fee-table td { color: var(--fee-text); background: #fff; }
.fee-table th:last-child, .fee-table td:last-child { text-align: right; width: 190px; }
.fee-table thead th { background: var(--fee-accent); color: #fff; font-weight: 600; }
.fee-table .fee-total td { background: var(--fee-accent-light); padding-top: 18px; padding-bottom: 18px; }
.fee-table .fee-total:not(:first-child) td { border-top: 1px solid var(--fee-border); }
.fee-table .fee-total strong { display: block; font-size: 1.08em; color: var(--fee-text); }
.fee-table .fee-total td:last-child strong { color: var(--fee-accent-dark); font-size: 1.2em; }
.fee-label { display: block; margin-top: 3px; color: var(--fee-muted); font-size: .82em; font-weight: 400; }
.fee-table .fee-breakdown-heading td { text-align: left !important; width: auto !important; padding: 11px 18px 8px 30px; border-bottom: 0; color: var(--fee-accent-dark); background: #fff; font-size: .82em; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.fee-table .fee-breakdown-heading span { margin-left: 7px; color: var(--fee-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.fee-table .fee-breakdown td { background: #fafcfb; color: var(--fee-muted); padding-top: 9px; padding-bottom: 9px; }
.fee-table .fee-breakdown td:first-child { padding-left: 38px; border-left: 3px solid var(--fee-accent); }
.fee-table .fee-breakdown td:last-child { font-weight: 600; }
.fee-table .fee-section-heading td { text-align: left !important; width: auto !important; background: #f5f6f6; padding: 11px 18px; color: var(--fee-text); font-size: .85em; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  .fee-table th, .fee-table td { padding: 13px 12px; }
  .fee-table th:last-child, .fee-table td:last-child { width: 125px; }
  .fee-table .fee-breakdown-heading td { padding-left: 20px; }
  .fee-table .fee-breakdown-heading span { display: block; margin: 2px 0 0; }
  .fee-table .fee-breakdown td:first-child { padding-left: 25px; }
  .fee-table .fee-total td:last-child strong { font-size: 1.1em; }
}

/* ---------- 8. Forms ---------- */
.enquiry-form { position: relative; }
.enquiry-form p { margin-bottom: 1rem; }
.enquiry-form label { display: block; font-weight: 600; line-height: 1.5; }
.enquiry-form .field { display: block; margin-top: .3rem; }
.enquiry-form input[type=text], .enquiry-form input[type=email], .enquiry-form input[type=tel], .enquiry-form input[type=date],
.enquiry-form input[type=number], .enquiry-form input[type=url], .enquiry-form select, .enquiry-form textarea {
  display: block; width: 100%; min-height: 2.8rem; padding: .6rem .8rem; font-size: 1rem; line-height: 1.5; font-weight: 400;
  color: var(--text); background: var(--bg-alt); border: 0; border-radius: var(--radius);
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, .15); transition: box-shadow .2s;
}
.enquiry-form textarea { min-height: 8rem; resize: vertical; }
.enquiry-form :is(input, select, textarea):focus { outline: none; box-shadow: 0 0 0 2px rgba(0, 0, 0, .3); }
.enquiry-form input[type=file] { display: block; width: 100%; padding: .5rem 0; }
.enquiry-form .choices { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin-top: .3rem; }
.enquiry-form .choice label, .enquiry-form label.choice { display: inline-flex; align-items: center; gap: .4rem; font-weight: 400; cursor: pointer; }
.enquiry-form input[type=checkbox], .enquiry-form input[type=radio] { width: 1.2em; height: 1.2em; accent-color: var(--green); }
.enquiry-form h2 { font-size: 1.8rem; padding-top: 1rem; margin-bottom: 1rem; }
.enquiry-form .is-invalid { box-shadow: 0 0 0 2px #dc3232 !important; }
.enquiry-form .field-error { display: block; color: #dc3232; font-size: .9rem; font-weight: 600; margin-top: .25rem; }
.enquiry-form .cf-turnstile { display: block; margin: 1rem 0; min-height: 65px; }
.enquiry-form .turnstile-status { display: block; font-size: .9rem; margin: .5rem 0; }
.enquiry-form .turnstile-status:empty { display: none; }
.enquiry-form [type=submit][disabled] { opacity: .6; cursor: wait; }
.form-response { margin-top: 1rem; }
.form-response:empty { display: none; }
.form-response { padding: .8rem 1rem; border-radius: var(--radius); border: 2px solid #ffb900; background: #fff; color: var(--text); font-weight: 600; }
.form-response.ok { border-color: #46b450; }
.form-response.error { border-color: #dc3232; }
.has_text_color .enquiry-form label, .color_primary .enquiry-form label, .color_secondary .enquiry-form label { color: inherit; }
.sig-pad { display: inline-block; max-width: 100%; }
.sig-pad canvas { display: block; max-width: 100%; height: auto; background: #ddd; border-radius: var(--radius); touch-action: none; cursor: crosshair; }
.sig-pad .sig-clear { margin-top: .5rem; padding: .5em 1.2em; font-size: .9rem; }

/* ---------- 9. Blog ---------- */
.title-bar .l-section-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.title-bar h1 { font-size: 1.3rem; padding: 0; margin: 0; }
.title-bar .g-breadcrumbs { margin: 0; }

.post-hero { color: #fff; }
.post-hero .l-section-img { background-repeat: no-repeat; }
.post-hero .l-section-overlay { background: rgba(1, 177, 115, .85); }
.post-hero .post-title { color: #fff; margin-bottom: 1rem; max-width: 83%; }
.post-hero-cat { margin-bottom: 1rem; font-weight: 700; }
.post-hero a { color: #fff; text-decoration: none; }
.post-hero .hr { background: rgba(255, 255, 255, .5); }
.post-meta { font-size: .9rem; font-weight: 700; }
@media (max-width: 767px) { .post-hero { text-align: center; } .post-hero .post-title { max-width: none; } }

.g-cols > div > .post-main { display: block; }
.post-main::after { content: ''; display: table; clear: both; }
.blogimg { width: 300px; max-width: 100%; text-align: center; margin-bottom: 1rem; }
.blogimg img { width: 100%; }
.blogimg figcaption { font-size: .9rem; margin-top: .3rem; text-align: right; }
.post-content .text-block + .text-block { margin-top: 1.5rem; }
.post-content img { margin-bottom: 1rem; }

.post-list { display: flex; flex-direction: column; }
.post-card { padding-bottom: 3rem; margin-bottom: 5rem; border-bottom: 1px solid #e8e8e8; }
.post-card:last-child { margin-bottom: 0; }
.post-card-img { display: block; position: relative; padding-bottom: 56.25%; overflow: hidden; margin-bottom: 1rem; }
.post-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card-img:hover img { transform: scale(1.03); }
.post-card-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--faded); font-size: 14px; line-height: 1.6; margin-bottom: 1rem; }
.post-card-meta a { color: inherit; text-decoration: none; }
.post-card-title { font-size: 1.2rem; font-weight: 700; padding: 0; margin: 0 0 1rem; }
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: var(--green); }
.post-card-more { display: flex; justify-content: flex-end; margin-top: 3rem; }

.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; border-radius: 50%; text-decoration: none; font-weight: 700; }
.pagination a:hover { background: var(--bg-alt); }
.pagination .current { background: var(--green); color: #fff; }

.sidebar-box { padding: 2rem; border: 4px solid #e8e8e8; }
.search-form { display: flex; margin-bottom: 2rem; position: relative; }
.search-form input { flex: 1; min-width: 0; height: 2.8rem; padding: 0 3rem 0 .8rem; border: 0; border-radius: var(--radius); background: var(--bg-alt); box-shadow: inset 2px 2px 5px rgba(0, 0, 0, .15); }
.search-form button { position: absolute; right: 0; top: 0; height: 2.8rem; width: 2.8rem; border: 0; background: none; cursor: pointer; color: var(--text); }
.sidebar-box h4 { margin-bottom: .5rem; }
.sidebar-box .sidebar-cats { margin-top: 2rem; }
.recent-posts { list-style: none; padding: 0; margin: 0; }
.recent-posts li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #e8e8e8; margin: 0; line-height: 1.4; }
.rp-img { width: 30%; flex-shrink: 0; }
.rp-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.recent-posts time { display: block; font-size: .8rem; margin-bottom: .3rem; }
.rp-title { font-family: var(--font-heading); font-size: 1rem; color: inherit; text-decoration: none; }
.rp-title:hover { color: var(--green); }
.cat-select { width: 100%; height: 2.8rem; padding: 0 .8rem; border: 0; border-radius: var(--radius); background: var(--bg-alt); box-shadow: inset 2px 2px 5px rgba(0, 0, 0, .15); }
@media (max-width: 600px) { aside.vc_col-sm-4 { margin-top: 2rem; } .post-card { margin-bottom: 3rem; } }

/* ---------- 10. Scroll-in animations ---------- */
.js .us_animate_this, .js .us_animate_afl, .js .us_animate_afr, .js .us_animate_aft, .js .us_animate_afb, .js .us_animate_fade { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.js .us_animate_afl { transform: translateX(-60px); }
.js .us_animate_afr { transform: translateX(60px); }
.js .us_animate_aft { transform: translateY(-40px); }
.js .us_animate_afb, .js .us_animate_this { transform: translateY(40px); }
.js .start { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .js [class*="us_animate_"] { opacity: 1 !important; transform: none !important; } }

/* ---------- 11. Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; padding: 3rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; box-shadow: 0 0 30px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; padding: .75rem; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox-close { top: .5rem; right: .5rem; }
.lightbox-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox.single .lightbox-prev, .lightbox.single .lightbox-next { display: none; }

/* ---------- 12. 404 ---------- */
.error-404 { text-align: center; }
.error-404 .big { font-family: var(--font-heading); font-size: 8rem; line-height: 1; color: var(--green); margin-bottom: 1rem; }
