/* =====================================================================
   The Curtain Company - site stylesheet
   One file, no frameworks. Replaces bootstrap, animate, owl carousel,
   magnific popup, nice-select, meanmenu, boxicons, flaticon, style.css
   and responsive.css.

   Contents
     1. Colours & settings
     2. Base / reset
     3. Layout helpers (container, grid, sections)
     4. Buttons & section titles
     5. Header: notice bar, top bar, navigation
     6. Home page sections
     7. Footer
     8. Utilities
   ===================================================================== */


/* 1. Colours & settings ------------------------------------------------ */
:root {
  --blue:        #0071dc;   /* buttons, links, icons */
  --blue-bar:    #3c69b6;   /* top bar */
  --blue-pale:   #e5f3ff;
  --teal:        #59c3c3;
  --yellow:      #ffc221;
  --navy:        #070b3b;   /* dark sections & footer */
  --navy-2:      #15163b;   /* testimonials */
  --maroon:      #800000;   /* announcement bar */
  --heading:     #252525;
  --text:        #444;
  --white:       #fff;

  --font: "Livvic", "Helvetica Neue", Arial, sans-serif;
  --container: 1170px;
  --gap: 30px;
  --radius: 15px;
  --shadow: 0 0 15px rgba(0, 0, 0, .1);
  --header-h: 72px;
}


/* 2. Base / reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
}
h3 { font-size: 22px; }

p { margin: 0 0 1rem; }

a { color: var(--blue); text-decoration: none; transition: color .3s, background-color .3s, border-color .3s; }
a:hover { color: var(--heading); }
a[href^="tel:"] { white-space: nowrap; }

img { max-width: 100%; height: auto; display: block; }

ul, ol.breadcrumb { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--blue); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }


/* 3. Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}
.container-wide { max-width: 1330px; }

/* Grid: one column on phones, add columns with breakpoint classes.
   sm = 576px+, md = 768px+, lg = 992px+
   e.g. <div class="grid sm-2 lg-3"> = 1 / 2 / 3 columns            */
.grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.align-center { align-items: center; }

@media (min-width: 576px) {
  .grid.sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .grid.md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .grid.lg-2   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.lg-3   { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.lg-4   { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid.lg-2-1 { grid-template-columns: 2fr 1fr; }
  .grid.lg-5-7 { grid-template-columns: 5fr 7fr; }
}

/* Sections: .section = normal spacing, .section-sm = tighter, .dark = navy */
.section    { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.dark       { background-color: var(--navy); color: var(--white); }
.dark h2, .dark h3, .dark p { color: var(--white); }

@media (max-width: 991px) {
  .section    { padding: 50px 0; }
  .section-sm { padding: 40px 0 50px; }
}


/* 4. Buttons & section titles ----------------------------------------- */
.btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 12px 32px;
  border-radius: 50px;
  color: var(--white);
  text-align: center;
  line-height: 1.5;
}
.btn::before {                          /* dark sweep on hover */
  content: "";
  position: absolute; z-index: -1;
  top: 0; left: -36%;
  width: 0; height: 100%;
  transform: skew(50deg);
  transform-origin: top left;
  transition: width .6s;
  background-color: var(--heading);
}
.btn:hover { color: var(--white); }
.btn:hover::before { width: 135%; }
.btn-blue { background-color: var(--blue); }
.btn-teal { background-color: var(--teal); }

.btn-row { display: flex; flex-wrap: wrap; gap: 15px 20px; }

.section-title { margin-bottom: 45px; }
.section-title:last-child { margin-bottom: 0; }
.section-title h2 { font-size: 35px; margin: 0; }
.section-title p  { padding-top: 10px; margin: 0; }
.section-title.center { text-align: center; }
.section-title.center h2,
.section-title.center p { max-width: 760px; margin-left: auto; margin-right: auto; }

.eyebrow { display: block; margin-bottom: 8px; font-weight: 600; }
.eyebrow.blue   { color: var(--blue); }
.eyebrow.yellow { color: var(--yellow); }

@media (max-width: 991px) {
  .btn { padding: 8px 18px; }
  .section-title { margin-bottom: 30px; }
  .section-title h2 { font-size: 26px; }
  .eyebrow { font-size: 14px; }
  h3 { font-size: 20px; }
}


/* 5. Header ------------------------------------------------------------ */

/* Announcement bar (set $site['notice'] in include/config.php) */
.notice-bar {
  background: var(--maroon);
  color: var(--white);
  text-align: center;
  font-size: 17px;
  padding: 8px 0;
  border-bottom: 1px solid var(--white);
}

/* Top bar */
.top-bar { background: var(--blue-bar); color: var(--white); font-size: 14px; padding: 7px 0 8px; }
.top-bar p { margin: 0; }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--yellow); }
.top-bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; }
.top-bar-tag { font-weight: 500; }
.top-bar-phone { font-size: 15px; }

@media (max-width: 767px) {
  .top-bar-inner { justify-content: center; text-align: center; flex-direction: column; }
}

/* Main header - sticks to the top when scrolling */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow .4s;
}
.site-header.scrolled { box-shadow: 0 0 15px rgba(0, 0, 0, .3); }

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-h);
  gap: 20px;
}
.logo { flex-shrink: 0; }
.logo-svg { display: block; height: auto; }
.logo .logo-svg { width: 270px; }
.footer-logo .logo-svg { width: 290px; max-width: 100%; }

.site-nav { flex: 1; display: flex; align-items: center; }
.nav-list { display: flex; margin: 0 auto; }
.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 23px 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--heading);
  position: relative;
  transition: color .3s;
}
.nav-link::before {                      /* underline */
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 20px;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s;
}
.nav-link .caret { font-size: 18px; color: var(--text); transition: color .3s, transform .3s; }

.nav-item:hover > .nav-link,
.nav-item.active > .nav-link,
.nav-link:focus-visible { color: var(--blue); }
.nav-item:hover > .nav-link .caret,
.nav-item.active > .nav-link .caret { color: var(--blue); }
.nav-item:hover > .nav-link::before,
.nav-item.active > .nav-link::before { transform: scaleX(1); }

/* Dropdowns (desktop) */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 10;
}
.nav-item:hover > .sub-menu,
.nav-item:focus-within > .sub-menu,
.nav-item.open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.sub-menu li { border-bottom: 1px solid #e1e1e1; }
.sub-menu li:last-child { border-bottom: 0; }
.sub-menu a {
  display: block;
  position: relative;
  z-index: 1;
  padding: 10px 25px;
  font-weight: 600;
  color: var(--heading);
  transition: color .5s, padding .5s;
}
.sub-menu a::before {                    /* blue bar that fills on hover */
  content: "";
  position: absolute; z-index: -1;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--blue);
  transition: width .5s;
}
.sub-menu a:hover,
.sub-menu a:focus-visible,
.sub-menu a.active { color: var(--white); padding-left: 35px; }
.sub-menu a:hover::before,
.sub-menu a:focus-visible::before,
.sub-menu a.active::before { width: 100%; }

.nav-cta { padding: 9px 25px; flex-shrink: 0; }

.nav-toggle { display: none; }

/* Smaller desktops */
@media (min-width: 992px) and (max-width: 1199px) {
  .logo .logo-svg { width: 200px; }
  .nav-link { padding-left: 8px; padding-right: 8px; }
  .nav-link::before { left: 8px; right: 8px; }
  .nav-cta { padding: 9px 15px; }
}

/* Mobile & tablet navigation */
@media (max-width: 991px) {
  .header-inner { justify-content: space-between; }
  .logo .logo-svg { width: 210px; }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    margin-right: -8px;
    font-size: 34px;
    color: var(--blue);
  }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--white);
    box-shadow: 0 15px 20px rgba(0, 0, 0, .1);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }

  .nav-list { flex-direction: column; margin: 0; }
  .nav-item { border-top: 1px solid #dbeefd; }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 15px 5%;
    font-size: 15px;
    color: #677294;
  }
  .nav-link::before { display: none; }
  .nav-link .caret { transition: transform .3s; }
  .nav-item.open > .nav-link .caret { transform: rotate(180deg); }

  .sub-menu {
    position: static;
    width: auto;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    background: #f7fbff;
  }
  .nav-item:hover > .sub-menu,
  .nav-item:focus-within > .sub-menu { display: none; }
  .nav-item.open > .sub-menu { display: block; }
  .sub-menu li { border-top: 1px solid #dbeefd; border-bottom: 0; }
  .sub-menu a { padding: 13px 10%; font-weight: 500; font-size: 14px; color: #677294; }

  .nav-cta { margin: 15px 5% 20px; align-self: flex-start; }
}


/* 6. Home page sections ----------------------------------------------- */

/* Hero banner */
.hero {
  position: relative;
  z-index: 1;
  background: url(../images/test1.jpeg) center / cover no-repeat;
  color: var(--white);
  padding: 140px 0 160px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(37, 37, 37, .75), rgba(37, 37, 37, 0));
}
.hero h1 { font-size: 70px; font-weight: 700; color: var(--white); max-width: 780px; margin: 0 0 20px; }
.hero p  { font-size: 18px; max-width: 660px; margin-bottom: 35px; }

@media (min-width: 992px) and (max-width: 1199px) {
  .hero h1 { font-size: 55px; }
  .hero p  { font-size: 17px; }
}
@media (max-width: 991px) {
  .hero { padding: 90px 0 80px; }
  .hero::before { background: rgba(0, 0, 0, .6); }
  .hero h1 { font-size: 35px; }
  .hero p  { font-size: 16px; margin-bottom: 25px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hero { padding: 160px 0; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
}

.rounded-lg { border-radius: var(--radius); }

/* What we offer */
.services { position: relative; z-index: 1; padding-bottom: 160px; }
.services::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url(../images/services/services-bg.png) center / cover no-repeat;
}
.service-grid { row-gap: 80px; }
.service-card {
  display: block;
  position: relative;
  transition: transform .5s;
}
.service-card img { border-radius: 5px; width: 100%; }
.service-card h3 {
  position: absolute;
  left: 0; right: 0; bottom: -30px;
  width: 82%;
  margin: 0 auto;
  padding: 15px;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, .05);
  text-align: center;
  font-size: 20px;
  color: var(--heading);
  transition: color .3s;
}
a.service-card:hover { transform: translateY(-5px); }
a.service-card:hover h3 { color: var(--yellow); }

@media (max-width: 991px) {
  .services { padding-bottom: 100px; }
  .service-grid { row-gap: 60px; }
  .service-card h3 { width: 92%; font-size: 18px; }
}

/* Working process */
.process-intro {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--navy);
  padding: 148px 50px;
  border-radius: 10px;
}
.process-intro::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  opacity: .2;
  background: url(../images/shape/bg-shape.png) center / cover no-repeat;
}
.process-intro h2 { color: var(--white); }
.process-intro .section-title { margin-bottom: 30px; }

.process-card {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 30px 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.process-card::before {                  /* quarter circle behind the number */
  content: "";
  position: absolute; z-index: -1;
  top: 0; right: 0;
  width: 70px; height: 55px;
  background: var(--blue);
  border-radius: 0 0 0 270px;
  opacity: .1;
  transition: opacity .5s;
}
.process-card:hover::before { opacity: .2; }
.process-card > .icon { font-size: 60px; color: var(--blue); }
.process-card h3 { margin: 15px 0 10px; }
.process-card p { margin: 0; }
.process-card .number { position: absolute; top: 5px; right: 15px; font-size: 24px; font-weight: 600; color: var(--blue); }

@media (min-width: 992px) and (max-width: 1199px) {
  .process-intro { padding: 120px 25px; }
}
@media (max-width: 991px) {
  .process-intro { padding: 50px 25px; text-align: center; }
  .process-card { text-align: center; }
}

/* Why choose us */
.choose .section-title { margin-bottom: 15px; }
.choose-points { margin-bottom: 30px; }
.choose-points h3 { display: flex; align-items: center; gap: 15px; margin: 20px 0 15px; }
.choose-points h3 .icon { font-size: 60px; color: var(--blue); }
.choose-points p { margin: 0; }

@media (max-width: 991px) {
  .choose { text-align: center; }
  .choose-points h3 { flex-direction: column; gap: 10px; font-size: 18px; }
  .choose-points h3 .icon { font-size: 45px; }
  .choose-points p { font-size: 14px; }
}

/* Offers */
.offer-card {
  height: 100%;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 0 15px rgba(0, 0, 0, .5);
}
.offer-card > .icon {
  width: 80px; height: 80px;
  padding: 18px;
  margin-bottom: 15px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--heading);
  transition: background-color .5s, color .5s;
}
.offer-card h3 { margin-bottom: 10px; }
.offer-card h3 a { color: var(--heading); }
.offer-card p { margin: 0; }
.offer-card:hover > .icon { background: var(--blue); color: var(--white); }
.offer-card:hover h3 a { color: var(--blue); }

@media (max-width: 767px) {
  .offer-card { padding: 30px 20px; }
  .offer-card > .icon { width: 65px; height: 65px; padding: 16px; }
}

/* Testimonials slider */
.testimonials { position: relative; z-index: 1; background: var(--navy-2); }
.testimonials::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url(../images/clients-img/client-bg.png) center / cover no-repeat;
}
.testimonials h2 { color: var(--white); }

.slider { position: relative; }
.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 5px;
  margin: -5px;
}
.slider-track::-webkit-scrollbar { display: none; }
@media (min-width: 992px) {
  .slider-track { grid-auto-columns: calc((100% - var(--gap)) / 2); }
}

.testimonial {
  scroll-snap-align: start;
  margin: 0;
  padding: 30px 40px 25px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, .06);
}
.testimonial figcaption {
  position: relative;
  min-height: 85px;
  padding: 20px 0 0 110px;
  margin-bottom: 30px;
}
.testimonial figcaption img { position: absolute; top: 0; left: 0; width: 85px; height: 85px; border-radius: 50%; }
.testimonial figcaption .icon {
  position: absolute; left: 60px; bottom: -10px;
  width: 35px; height: 35px;
  padding: 9px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--white);
}
.testimonial strong { display: block; font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--heading); }
.testimonial blockquote { margin: 0; text-align: center; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px; height: 45px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-size: 25px;
  transition: background-color .3s, color .3s;
}
.slider-btn:hover { background: var(--blue); color: var(--white); }
.slider-btn.prev { left: -75px; }
.slider-btn.next { right: -75px; }

@media (max-width: 1299px) {
  .slider { padding-bottom: 60px; }
  .slider-btn { top: auto; bottom: 0; transform: none; width: 38px; height: 38px; font-size: 20px; }
  .slider-btn.prev { left: calc(50% - 46px); }
  .slider-btn.next { right: calc(50% - 46px); }
}
@media (max-width: 767px) {
  .testimonial { padding: 30px 15px; }
  .testimonial strong { font-size: 18px; }
}


/* 6b. Inner pages ------------------------------------------------------ */

/* Blue title banner + breadcrumbs */
.page-banner { background: var(--blue-bar); color: var(--white); text-align: center; padding: 30px 0 26px; }
.page-banner h1 { font-size: 45px; color: var(--white); margin: 0 0 6px; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; font-size: 16px; }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: .6; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb [aria-current] { color: #dbe8ff; }
@media (max-width: 767px) { .page-banner h1 { font-size: 30px; } .breadcrumb { font-size: 14px; } }

.bg-light { background: #f4f8fd; }

/* Long-form text */
.prose p { margin-bottom: 1.1rem; }
.prose h2 { font-size: 30px; margin-bottom: 15px; }
.prose a:not(.btn) { text-decoration: underline; }
.lead { font-size: 17px; }

.rounded { border-radius: 10px; }
.stack > * + * { margin-top: 30px; }

/* Ticked list */
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li > .icon { position: absolute; left: 0; top: 3px; font-size: 20px; color: var(--blue); }

/* Image placeholder - replace with a real <img> later */
.img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 100%; aspect-ratio: 4/3;
  padding: 15px;
  background: repeating-linear-gradient(45deg, #eef2f8, #eef2f8 12px, #e6ecf5 12px, #e6ecf5 24px);
  border: 2px dashed #b8c6dc;
  border-radius: 10px;
  color: #6b7a93;
  font-size: 14px;
  text-align: center;
}
.img-placeholder .icon { font-size: 40px; opacity: .7; }

/* Feature cards (icon + heading + text) */
.feature-card { height: 100%; padding: 30px 25px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.feature-card > .icon {
  width: 70px; height: 70px; padding: 17px; margin-bottom: 15px;
  border-radius: 50%; background: var(--blue-pale); color: var(--blue);
  transition: background-color .4s, color .4s;
}
.feature-card:hover > .icon { background: var(--blue); color: var(--white); }
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p { margin: 0; }

/* Option cards (image + heading + text) */
.option-card { height: 100%; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.option-card > img, .option-card > .img-placeholder { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; border-width: 0 0 2px; }
.option-card-body { padding: 22px 25px 25px; flex: 1; }
.option-card h3 { font-size: 20px; margin-bottom: 8px; }
.option-card p { margin: 0; }
.option-card p + p { margin-top: 10px; }

/* FAQ (uses <details>, no script needed) */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, .06); margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 15px;
  padding: 18px 22px; font-weight: 600; font-size: 17px; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { font-size: 22px; color: var(--blue); transition: transform .3s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 22px 18px; }
.faq .answer p:last-child { margin: 0; }

/* Explore our range */
.range-grid { display: grid; gap: 25px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.range-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); color: var(--text);
  transition: transform .4s, box-shadow .4s;
}
.range-card img, .range-card .img-placeholder { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; border: 0; transition: transform .6s; }
.range-card-body { padding: 16px 20px 18px; flex: 1; display: flex; flex-direction: column; position: relative; background: var(--white); }
.range-card h3 { font-size: 18px; margin-bottom: 4px; transition: color .3s; }
.range-card p { font-size: 14px; margin-bottom: 10px; }
.range-link { margin-top: auto; display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 14px; color: var(--blue); }
.range-link .icon { transition: transform .3s; }
.range-card:hover { color: var(--text); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, .12); }
.range-card:hover h3 { color: var(--blue); }
.range-card:hover .range-link .icon { transform: translateX(4px); }
@media (max-width: 575px) { .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; } .range-card-body { padding: 12px 14px 14px; } .range-card h3 { font-size: 16px; } .range-card p { display: none; } }

/* Quote call-to-action box */
.quote-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 30px;
  padding: 30px 35px; border-radius: var(--radius);
  background: var(--navy); color: var(--white);
}
.quote-box h3 { color: var(--white); margin-bottom: 5px; }
.quote-box p { margin: 0; color: #cfd6ff; max-width: 520px; }

/* 6c. Fabric ranges ---------------------------------------------------- */

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; background: var(--yellow); color: var(--heading); font-size: 12px; font-weight: 600; line-height: 1.5; }

.price s { color: #888; font-size: .9em; margin-right: 4px; }
.price strong { color: var(--blue); font-weight: 700; }

/* Supplier filter */
.filters { display: grid; gap: 12px; margin-bottom: 35px; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.no-results { text-align: center; padding: 30px 0; }
.fabric-types { margin-bottom: 35px; }
.fabric-types > div { padding: 20px 24px; border-radius: 12px; background: #f4f8fd; border: 1px solid #dce7f5; }
.fabric-types h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.fabric-types h3 .icon { color: var(--blue); font-size: 24px; }
.fabric-types p { margin: 0; font-size: 14px; }
.chip { padding: 7px 18px; border-radius: 50px; border: 1px solid #cfd9e8; background: var(--white); font-size: 14px; font-weight: 500; transition: all .3s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* Fabric cards */
.fabric-grid { display: grid; gap: 25px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.fabric-card { display: flex; flex-direction: column; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform .4s, box-shadow .4s; }
.fabric-card[hidden] { display: none; }
.fabric-card:hover { color: var(--text); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, .12); }
.fabric-card-img { position: relative; aspect-ratio: 1; background: #eef2f8; }
.fabric-card-img img { width: 100%; height: 100%; object-fit: cover; }
.fabric-card-img .badge { position: absolute; top: 12px; left: 12px; }
.fabric-card-body { padding: 14px 18px 16px; }
.fabric-card h3 { font-size: 19px; margin-bottom: 2px; transition: color .3s; }
.fabric-card:hover h3 { color: var(--blue); }
.fabric-card p { font-size: 14px; margin-bottom: 6px; }
.fabric-footnote { text-align: center; font-size: 14px; color: #777; margin: 30px 0 0; }
@media (max-width: 575px) {
  .fabric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .fabric-card-body { padding: 10px 12px 12px; }
  .fabric-card h3 { font-size: 16px; }
  .fabric-card p { font-size: 13px; }
}

/* Fabric page layout */
.fabric-detail { align-items: start; }
@media (min-width: 992px) { .swatch-viewer { position: sticky; top: calc(var(--header-h) + 20px); } }

.swatch-main { margin: 0 0 15px; position: relative; }
.swatch-main img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: #eef2f8; }
.swatch-main figcaption {
  position: absolute; left: 15px; bottom: 15px;
  padding: 6px 14px; border-radius: 50px;
  background: rgba(255, 255, 255, .92); color: var(--heading); font-size: 15px;
}

.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.swatch { display: block; width: 100%; text-align: center; font-size: 12px; line-height: 1.3; color: var(--text); }
.swatch img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 2px solid transparent; outline: 1px solid #e1e6ee; transition: border-color .2s; background: #eef2f8; }
.swatch span { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swatch:hover img { border-color: #9cc4f0; }
.swatch[aria-pressed="true"] img { border-color: var(--blue); }
.swatch[aria-pressed="true"] span { color: var(--blue); font-weight: 600; }

.fabric-info h2 { font-size: 32px; margin-bottom: 10px; }
.fabric-price { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 15px; }

.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 20px 0 30px; background: #e1e6ee; border: 1px solid #e1e6ee; border-radius: 10px; overflow: hidden; }
.spec-list div { background: var(--white); padding: 10px 15px; }
.spec-list dt { font-size: 13px; color: #777; }
.spec-list dd { margin: 0; font-weight: 600; color: var(--heading); }
.spec-list .spec-wide { grid-column: 1 / -1; }

/* Quick quote */
.quick-quote { padding: 28px 30px; border-radius: var(--radius); background: #f4f8fd; border: 1px solid #dce7f5; }
.quick-quote h3 { display: flex; align-items: center; gap: 10px; }
.quick-quote h3 .icon { color: var(--blue); }

.heading-choice { border: 0; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.heading-choice legend { font-weight: 600; color: var(--heading); margin-bottom: 8px; padding: 0; }
.heading-choice label { cursor: pointer; display: flex; }
.heading-choice input { position: absolute; opacity: 0; pointer-events: none; }
.heading-choice span {
  display: flex; align-items: center; justify-content: center; flex: 1; min-height: 100%; padding: 10px 12px; text-align: center;
  border: 1px solid #cfd9e8; border-radius: 8px; background: var(--white);
  font-weight: 500; transition: all .2s;
}
.heading-choice label:hover span { border-color: var(--blue); }
.heading-choice input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.heading-choice input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (min-width: 576px) { .heading-choice { grid-template-columns: repeat(4, minmax(0, 1fr)); } .heading-choice legend { grid-column: 1 / -1; } }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 20px; }
.field > span:first-child { display: block; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.input-unit { display: flex; border: 1px solid #cfd9e8; border-radius: 8px; background: var(--white); overflow: hidden; transition: border-color .2s; }
.input-unit:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 220, .15); }
.input-unit input { flex: 1; min-width: 0; border: 0; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--heading); background: none; outline: none; }
.input-unit > span { padding: 11px 12px; background: #eef3fa; color: #666; }
.quote-form .btn { border: 0; cursor: pointer; font: inherit; }
.quote-form .btn:disabled { opacity: .7; cursor: wait; }

.quote-result { margin-top: 25px; padding: 22px 24px; background: var(--white); border-radius: 12px; border-top: 3px solid var(--blue); box-shadow: var(--shadow); }
.quote-result[hidden] { display: none; }
.quote-result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.quote-result-head span { font-weight: 600; color: var(--heading); }
.quote-result-head strong { font-size: 34px; color: var(--blue); line-height: 1; }
.quote-result-head small, .quote-total small { display: block; font-size: 13px; font-weight: 400; color: #777; }
.quote-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 15px; padding: 14px 16px; border-radius: 10px; background: #eef5fd; }
.quote-total span { font-weight: 600; color: var(--heading); }
.quote-total strong { font-size: 26px; color: var(--heading); line-height: 1; white-space: nowrap; }
.quote-lines { margin-bottom: 15px; }
.quote-lines li { display: flex; justify-content: space-between; gap: 15px; padding: 7px 0; border-bottom: 1px dashed #e1e6ee; font-size: 14px; }
.quote-lines li span:last-child { text-align: right; color: var(--heading); font-weight: 500; }
.quote-warn { padding: 8px 12px; border-radius: 6px; background: #fff6dc; color: #7a5a00; font-size: 14px; }
.quote-note { font-size: 13px; color: #777; }
.quote-error { margin: 0; color: #b42318; font-weight: 500; }
@media (max-width: 575px) { .quick-quote { padding: 22px 18px; } .fabric-info h2 { font-size: 26px; } }

/* Curtain heading cards */
.heading-card { height: 100%; display: flex; flex-direction: column; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.heading-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.heading-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.heading-card h3 { font-size: 19px; margin: 10px 0 8px; }
.heading-card p { font-size: 14px; margin-bottom: 12px; }
.badge-soft { background: var(--blue-pale); color: var(--blue); }
@media (max-width: 575px) {
  .heading-card { flex-direction: row; align-items: stretch; }
  .heading-card img { width: 120px; flex-shrink: 0; aspect-ratio: auto; height: auto; min-height: 100%; }
  .heading-card-body { padding: 14px 16px; }
  .heading-card h3 { font-size: 17px; margin: 8px 0 6px; }
  .heading-card p { font-size: 13px; margin-bottom: 8px; }
}

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 560px; }
.compare-table th { background: var(--navy); color: var(--white); text-align: left; padding: 14px 18px; font-weight: 600; }
.compare-table td { padding: 13px 18px; border-top: 1px solid #e6ebf2; vertical-align: top; }
.compare-table td:first-child { font-weight: 600; color: var(--heading); white-space: nowrap; }
.compare-table tbody tr:nth-child(even) td { background: #f9fbfe; }

/* Curtain track colours */
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.colour-grid { display: grid; gap: 25px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.colour-card { display: flex; flex-direction: column; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: opacity .3s, filter .3s; }
.colour-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #eef2f8; }
.colour-card-body { padding: 16px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.colour-card h3 { font-size: 19px; margin-bottom: 6px; }
.colour-card p { font-size: 14px; margin-bottom: 14px; }
.colour-card.dimmed { opacity: .3; filter: grayscale(1); }
.avail { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.avail li { display: flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 6px; font-size: 13px; font-weight: 500; }
.avail .yes { background: #e7f6ec; color: #17723a; }
.avail .no  { background: #f5f5f5; color: #9a9a9a; text-decoration: line-through; }
.avail .icon { font-size: 16px; }

/* Blind fabrics */
.badge-dark { background: rgba(7, 11, 59, .85); color: var(--white); }
.fabric-card-img .badge-dark { left: auto; right: 12px; }
.type-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.type-pills li > * { display: inline-block; padding: 3px 11px; border-radius: 20px; background: var(--blue-pale); color: var(--blue); font-size: 13px; font-weight: 500; }
.type-pills a:hover { background: var(--blue); color: var(--white); }
.fabric-card .type-pills li > * { font-size: 12px; padding: 2px 9px; }
.small-heading { font-size: 16px; margin: 22px 0 10px; }
.spec-table { margin: 0 0 25px; border: 1px solid #e1e6ee; border-radius: 10px; overflow: hidden; }
.spec-table div { display: grid; grid-template-columns: 150px 1fr; gap: 15px; padding: 10px 16px; border-top: 1px solid #e1e6ee; font-size: 14px; }
.spec-table div:first-child { border-top: 0; }
.spec-table div:nth-child(even) { background: #f9fbfe; }
.spec-table dt { font-weight: 600; color: var(--heading); }
.spec-table dd { margin: 0; }
@media (max-width: 575px) { .spec-table div { grid-template-columns: 1fr; gap: 2px; } }
.cert-badges { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; margin-bottom: 25px; }
.cert-badges img { height: 70px; width: auto; }
.quote-box-light { background: #f4f8fd; border: 1px solid #dce7f5; color: var(--text); }
.quote-box-light h3 { color: var(--heading); }
.quote-box-light p { color: var(--text); }

/* Gallery */
.gallery-grid { display: grid; gap: 15px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.gallery-item { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #eef2f8; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s; }
.gallery-zoom {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7, 11, 59, .45); color: var(--white); font-size: 44px;
  opacity: 0; transition: opacity .4s;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; }
@media (max-width: 575px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(5, 8, 30, .94);
  color: var(--white);
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lb-in .3s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 70px 20px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; opacity: 0; transition: opacity .3s; }
.lightbox img.loaded { opacity: 1; }
.lightbox figcaption { margin-top: 12px; font-size: 15px; text-align: center; }
.lb-count { opacity: .7; margin-left: 8px; }
.lb-btn {
  position: absolute;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); font-size: 30px;
  transition: background-color .3s;
}
.lb-btn:hover { background: var(--blue); }
.lb-prev { left: 15px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 15px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 15px; right: 15px; font-size: 26px; }
@media (max-width: 767px) {
  .lightbox figure { padding: 60px 10px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* Tips & Help: articles, hints, steps, glossary */
.article-hero { width: 100%; max-height: 420px; object-fit: cover; margin-bottom: 30px; background: #eef2f8; }
.article-hero.contain { object-fit: contain; background: var(--white); border: 1px solid #e1e6ee; }
.narrow > .prose:last-child p:last-child { margin-bottom: 0; }

.guide-card { display: grid; grid-template-columns: 200px 1fr; gap: 0; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform .4s, box-shadow .4s; }
.guide-card img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; background: #eef2f8; }
.guide-card > div { padding: 22px 24px; display: flex; flex-direction: column; }
.guide-card h3 { transition: color .3s; }
.guide-card p { font-size: 14px; }
.guide-card .range-link { margin-top: auto; }
.guide-card:hover { color: var(--text); transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0, 0, 0, .12); }
.guide-card:hover h3 { color: var(--blue); }
@media (max-width: 575px) { .guide-card { grid-template-columns: 1fr; } .guide-card img { min-height: 0; aspect-ratio: 16/9; } }

.hint-grid { margin-top: 35px; }
.hint-card { position: relative; height: 100%; padding: 28px 25px 25px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--blue); }
.hint-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--blue-pale); color: var(--blue); font-weight: 700; font-size: 18px; }
.hint-card h3 { font-size: 19px; }
.hint-card p { margin: 0; font-size: 14px; }

.callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 10px; margin: 0 0 25px; }
.callout > .icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.callout p { margin: 4px 0 0; font-size: 14px; }
.callout-blue { background: #f4f8fd; border: 1px solid #dce7f5; }
.callout-blue > .icon { color: var(--blue); }
.callout-warn { background: #fff4e5; border: 1px solid #ffd8a8; color: #8a4b00; align-items: center; margin: 12px 0 0; font-size: 14px; }
.callout-warn > .icon { font-size: 20px; margin: 0; }
.record-intro { margin-bottom: 10px; }
.record-intro .callout { height: calc(100% - 25px); }

.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 28px 62px; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; font-size: 18px;
}
.steps > li::after { content: ""; position: absolute; left: 20px; top: 48px; bottom: 6px; width: 2px; background: #dce7f5; }
.steps > li:last-child::after { display: none; }
.steps h3 { font-size: 19px; margin: 8px 0 6px; }
.steps p { margin-bottom: 8px; }
.steps-media > li { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.steps-media > li:not(:has(img)) { grid-template-columns: 1fr; }
.steps-media img { width: 100%; border-radius: 8px; border: 1px solid #e1e6ee; background: #fff; }
.steps-media > li > div { padding-top: 8px; }
@media (max-width: 767px) { .steps-media > li { grid-template-columns: 1fr; gap: 12px; } .steps-media img { max-width: 320px; } }

.search-box { display: flex; align-items: center; gap: 10px; padding: 0 16px; margin: 10px 0 25px; border: 1px solid #cfd9e8; border-radius: 50px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 220, .15); }
.search-box .icon { font-size: 20px; color: #888; }
.search-box input { flex: 1; border: 0; outline: none; padding: 13px 0; font: inherit; font-size: 16px; background: none; }
.glossary { margin: 0; }
.glossary-item { padding: 16px 0; border-bottom: 1px solid #e6ebf2; }
.glossary-item[hidden] { display: none; }
.glossary dt { font-weight: 700; font-size: 17px; color: var(--heading); margin-bottom: 4px; }
.glossary dd { margin: 0; }
.glossary dd a { font-weight: 500; white-space: nowrap; }

/* Why us */
.reason-card { text-align: left; }
.reason-card > .icon { display: block; }
.reason-card p { font-size: 14px; }
.btn .icon { vertical-align: -.15em; margin-right: 2px; }

/* Forms (contact & appointment) */
.contact-layout { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 992px) { .contact-layout { grid-template-columns: 340px minmax(0, 1fr); } }
.contact-panel { padding: 30px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.contact-panel h2 { color: var(--white); font-size: 26px; }
.contact-panel p { color: #cfd6ff; font-size: 14px; }
.contact-panel ul { margin-top: 20px; }
.contact-panel li { display: flex; gap: 15px; margin-bottom: 22px; font-size: 14px; }
.contact-panel li > .icon { width: 44px; height: 44px; padding: 11px; flex-shrink: 0; border-radius: 50%; background: var(--white); color: var(--blue); }
.contact-panel h3 { font-size: 17px; color: var(--white); margin-bottom: 4px; }
.contact-panel a { color: var(--white); }
.contact-panel a:hover { color: var(--yellow); }

.form-card { padding: 35px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-card h2 { font-size: 28px; }
@media (max-width: 575px) { .form-card { padding: 24px 18px; } .contact-panel { padding: 24px 20px; } }

.site-form { margin-top: 25px; }
.site-form[hidden] { display: none; }
.form-grid { display: grid; gap: 18px 20px; grid-template-columns: minmax(0, 1fr); margin-bottom: 25px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-field.full { grid-column: 1 / -1; } }
.form-field { display: block; margin: 0; }
.form-field > span:first-child, .form-field legend { display: block; margin-bottom: 6px; font-weight: 600; color: var(--heading); }
.form-field em { color: #c62828; font-style: normal; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"], .form-field textarea, .postcode-row input {
  width: 100%; padding: 12px 14px;
  border: 1px solid #cfd9e8; border-radius: 8px; background: var(--white);
  font: inherit; font-size: 16px; color: var(--heading);
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field textarea:focus, .postcode-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 220, .15); }
.form-field.has-error input, .form-field.has-error textarea { border-color: #c62828; }
.field-error { display: block; margin-top: 5px; color: #c62828; font-size: 13px; font-weight: 500; }

.choice-group { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choice-group legend { width: 100%; padding: 0; }
.choice-group label { cursor: pointer; }
.choice-group input { position: absolute; opacity: 0; pointer-events: none; }
.choice-group label span { display: inline-block; padding: 8px 16px; border: 1px solid #cfd9e8; border-radius: 50px; background: var(--white); font-size: 14px; font-weight: 500; transition: all .2s; }
.choice-group label:hover span { border-color: var(--blue); }
.choice-group input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.choice-group input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.choice-group small { width: 100%; color: #777; }

.site-form .btn, .postcode-row .btn { border: 0; cursor: pointer; font: inherit; }
.postcode-step { margin-top: 25px; }
.postcode-row { display: flex; gap: 10px; max-width: 380px; }
.postcode-row input { flex: 1; min-width: 0; }

.alert { padding: 14px 18px; border-radius: 8px; margin: 15px 0; font-size: 15px; }
.alert-error { background: #fdecea; color: #8e1c1c; border: 1px solid #f5c2bd; }
.alert-warn  { background: #fff4e5; color: #8a4b00; border: 1px solid #ffd8a8; }
.alert-info  { background: #e8f3ff; color: #0b4f8f; border: 1px solid #bcdcfb; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.thanks-icon { width: 80px; height: 80px; margin: 0 auto 20px; padding: 18px; border-radius: 50%; background: #e7f6ec; color: #17723a; font-size: 44px; }
.thanks-icon .icon { width: 100%; height: 100%; }

/* Quote estimator */
.estimator-layout { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 992px) { .estimator-layout { grid-template-columns: minmax(0, 1fr) 320px; } .est-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.est-step { border: 0; padding: 25px 0 0; margin: 25px 0 0; border-top: 1px solid #e6ebf2; }
.est-step[hidden] { display: none; }
.est-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 15px; font-size: 19px; font-weight: 600; color: var(--heading); }
.est-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 15px; }
.est-options { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .est-options { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.est-option { cursor: pointer; }
.est-option input { position: absolute; opacity: 0; pointer-events: none; }
.est-option > span { display: block; height: 100%; padding: 16px 14px; border: 2px solid #dce3ee; border-radius: 12px; background: var(--white); text-align: center; transition: all .2s; }
.est-option strong { display: block; color: var(--heading); font-size: 16px; }
.est-option small { display: block; margin-top: 4px; font-size: 13px; color: #777; line-height: 1.35; }
.est-option:hover > span { border-color: #9cc4f0; }
.est-option input:checked + span { border-color: var(--blue); background: #f0f7ff; box-shadow: 0 0 0 3px rgba(0, 113, 220, .12); }
.est-option input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.est-note { padding: 10px 14px; border-radius: 8px; background: #f4f8fd; border-left: 3px solid var(--blue); font-size: 14px; }
.est-headings { margin-bottom: 8px; }
.est-help { font-size: 13px; color: #777; }
.est-prices [hidden] { display: none; }
.select { width: 100%; padding: 11px 12px; border: 1px solid #cfd9e8; border-radius: 8px; background: var(--white); font: inherit; font-size: 16px; color: var(--heading); }
.select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 113, 220, .15); }
.estimator .btn { border: 0; cursor: pointer; font: inherit; margin-top: 5px; }
.est-totals { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 15px; }
.est-totals > div { padding: 14px 16px; border-radius: 10px; background: #f4f8fd; }
.est-totals span { display: block; font-size: 13px; font-weight: 600; color: #666; }
.est-totals strong { display: block; font-size: 30px; color: var(--blue); line-height: 1.2; }
.est-totals small { font-size: 12px; color: #777; }
.quote-lines b { color: var(--heading); }
.est-aside .callout { background: var(--white); box-shadow: var(--shadow); border: 0; }

/* Upload quote (private admin page) */
.admin-card { margin-bottom: 25px; }
.admin-card h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; }
.admin-card h2 .icon { color: var(--blue); }
.upload-done h2 .icon { color: #17723a; }
.admin-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; padding: 10px 16px; border-radius: 8px; background: #f4f8fd; font-size: 14px; }
.admin-bar .icon { color: #17723a; }
.drop-zone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 35px 20px; margin-bottom: 20px; border: 2px dashed #b8c6dc; border-radius: 12px; background: #f9fbfe; text-align: center; cursor: pointer; transition: all .2s; }
.drop-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-zone > .icon { font-size: 44px; color: var(--blue); }
.drop-zone small { color: #777; }
.drop-zone:hover, .drop-zone.drag { border-color: var(--blue); background: #f0f7ff; }
.drop-zone.has-file { border-style: solid; border-color: #17723a; background: #f1faf4; }
.copy-row { display: flex; gap: 10px; }
.copy-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #cfd9e8; border-radius: 8px; font: inherit; font-size: 16px; background: #f9fbfe; }
.copy-row .btn { border: 0; cursor: pointer; font: inherit; }
.upload-log li { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px solid #e6ebf2; }
.upload-log li:last-child { border-bottom: 0; }
.upload-log small { display: block; color: #777; font-size: 13px; word-break: break-all; }
.btn-copy { flex-shrink: 0; padding: 6px 14px; border: 1px solid #cfd9e8; border-radius: 50px; font-size: 13px; font-weight: 500; transition: all .2s; }
.btn-copy:hover { border-color: var(--blue); color: var(--blue); }

/* 404 page */
.error-img { max-width: 420px; width: 100%; margin: 0 auto 25px; }
.error-title { font-size: 38px; }
.popular-links { margin-top: 45px; padding: 25px 30px; border-radius: var(--radius); background: #f4f8fd; text-align: left; }
.popular-links h2 { font-size: 20px; margin-bottom: 12px; }
.popular-links ul { display: grid; gap: 6px 25px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.popular-links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
@media (max-width: 575px) { .error-title { font-size: 28px; } }

/* Commercial curtains */
.photo-stack { display: grid; gap: 20px; }
.photo-stack img { width: 100%; }
.project-grid { display: grid; gap: 15px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.project-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); }
.project-card > .icon { width: 46px; height: 46px; padding: 12px; flex-shrink: 0; border-radius: 50%; background: var(--blue-pale); color: var(--blue); }
.project-card h3 { font-size: 16px; margin: 0 0 2px; }
.project-card span { font-size: 13px; color: #777; }

/* Locations */
.region-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.region-card { padding: 24px 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--blue); }
.region-card h3 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin-bottom: 12px; }
.region-card h3 .icon { color: var(--blue); }
.region-card li { padding: 7px 0; border-bottom: 1px solid #eef1f6; }
.region-card li:last-child { border-bottom: 0; }
.suburb-list { columns: 4 150px; column-gap: 22px; max-width: 1000px; margin: 0 auto; padding: 18px 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--blue); }
.suburb-list li { break-inside: avoid; border-bottom: 1px solid #eef1f6; }
.suburb-list a { display: flex; align-items: center; gap: 8px; padding: 9px 0; color: var(--heading); font-weight: 500; transition: color .2s; }
.suburb-list a:hover { color: var(--blue); }
.suburb-list .icon { flex-shrink: 0; color: var(--blue); }
@media (max-width: 575px) { .suburb-list { columns: 2; column-gap: 16px; padding: 12px 18px; } .suburb-list a { font-size: 15px; gap: 6px; } }
.suburb-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.suburb-links a { display: inline-flex; align-items: center; gap: 5px; padding: 7px 15px; border: 1px solid #cfd9e8; border-radius: 50px; background: var(--white); font-size: 14px; font-weight: 500; color: var(--heading); transition: all .2s; }
.suburb-links .icon { color: var(--blue); }
.suburb-links a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.suburb-links a:hover .icon { color: var(--white); }

/* Service area */
.service-layout { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 992px) { .service-layout { grid-template-columns: minmax(0, 1fr) 340px; } }
.map-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.service-map { position: relative; height: 520px; background: #e8eef6; }
@media (max-width: 767px) { .service-map { height: 400px; } }
.map-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #6b7a93; text-align: center; padding: 20px; }
.map-loading .icon { font-size: 40px; opacity: .6; }
.map-caption { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 18px; font-size: 14px; }
.map-caption .icon { color: var(--blue); flex-shrink: 0; }
.service-info .callout { background: var(--white); box-shadow: var(--shadow); border: 0; }

/* Heading pages: compare other headings */
.heading-switch { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 35px; font-size: 14px; }
.heading-switch span { font-weight: 600; color: var(--heading); }
.heading-switch a { padding: 6px 15px; border: 1px solid #cfd9e8; border-radius: 50px; background: var(--white); color: var(--heading); font-weight: 500; transition: all .2s; }
.heading-switch a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* Offer pages */
.offer-hero { display: flex; align-items: center; gap: 24px; margin-bottom: 10px; }
.offer-big {
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--yellow); color: var(--navy); box-shadow: 0 10px 25px rgba(255, 194, 33, .35);
}
.offer-big span { font-size: 46px; font-weight: 700; line-height: 1; }
.offer-big small { font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.offer-icon > .icon { font-size: 48px; margin-bottom: 2px; }
.offer-icon small { font-size: 12px; letter-spacing: 1px; text-align: center; line-height: 1.2; }
.offer-hero h2 { font-size: 30px; }
.conditions-box { padding: 30px 34px; background: var(--white); border-radius: var(--radius); border: 2px solid #dce7f5; }
.conditions-box h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; margin-bottom: 18px; }
.conditions-box h2 .icon { color: var(--blue); }
.conditions-box .check-list li { margin-bottom: 12px; }
.conditions-box .quote-note { margin: 15px 0 20px; }
@media (max-width: 575px) { .conditions-box { padding: 24px 20px; } }
.offer-hero p { margin: 0; }
.steps-compact > li { padding-bottom: 18px; }
.steps-compact h3 { font-size: 17px; margin-top: 10px; }
.steps-compact p { font-size: 14px; }
.steps-compact + .btn-row { margin-top: 10px; }
@media (max-width: 575px) { .offer-hero { flex-direction: column; text-align: center; } .offer-big { width: 110px; height: 110px; } .offer-big span { font-size: 38px; } }


/* Payment page ------------------------------------------------------ */
.pay-intro { max-width: 820px; margin-bottom: 30px; }
.pay-layout { display: grid; gap: 30px; align-items: start; }
@media (min-width: 992px) { .pay-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 45px; } .pay-card-wrap { position: sticky; top: 110px; } }
@media (max-width: 991px) { .pay-card-wrap { order: -1; } .pay-card { max-width: 320px; } }
@media (max-width: 575px) { .pay-card-wrap { display: none; } }
.input-prefix { display: flex; }
.input-prefix b { display: flex; align-items: center; padding: 0 14px; border: 1px solid #cfd9e8; border-right: 0; border-radius: 8px 0 0 8px; background: var(--light, #f4f7fb); color: var(--heading); font-weight: 600; }
.form-field .input-prefix input { border-radius: 0 8px 8px 0; }
.pay-form .btn .icon { margin-right: 4px; }
.pay-form .btn:disabled { opacity: .7; cursor: wait; }
.pay-secure { margin: 14px 0 0; font-size: 13px; color: #777; }
.pay-form.shake { animation: pay-shake .45s; }
@keyframes pay-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .pay-form.shake { animation: none; } }

.pay-card { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1.586; margin: 0 auto; transform-style: preserve-3d; transition: transform .6s; font-family: "Courier New", monospace; color: #fff; }
.pay-card.flipped { transform: rotateY(180deg); }
.pay-card-face { position: absolute; inset: 0; padding: 22px 24px; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: linear-gradient(135deg, #0b1a4a 0%, #0071dc 100%); box-shadow: 0 15px 35px rgba(11, 26, 74, .3); display: flex; flex-direction: column; justify-content: space-between; transition: background .4s; }
.pay-card.is-visa .pay-card-face { background: linear-gradient(135deg, #1a1f71 0%, #2a6fd6 100%); }
.pay-card.is-mastercard .pay-card-face { background: linear-gradient(135deg, #222 0%, #8a2d0b 60%, #eb7d1e 100%); }
.pay-card.is-amex .pay-card-face { background: linear-gradient(135deg, #6b6b6b 0%, #9a9a9a 100%); }
.pay-card-top { display: flex; justify-content: space-between; align-items: center; }
.pay-chip { width: 46px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #e9c46a, #b8892f); }
.pay-brand { font-family: var(--font, sans-serif); font-weight: 800; font-size: 22px; font-style: italic; letter-spacing: 1px; }
.pay-card-number { font-size: clamp(17px, 5vw, 23px); letter-spacing: 2px; white-space: nowrap; }
.pay-card-bottom { display: flex; justify-content: space-between; gap: 15px; font-size: 14px; text-transform: uppercase; }
.pay-card-bottom div { min-width: 0; }
.pay-card-bottom div:first-child span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-card-bottom small { display: block; font-size: 10px; opacity: .7; letter-spacing: 1px; }
.pay-card-back { transform: rotateY(180deg); padding: 22px 0; justify-content: flex-start; gap: 22px; }
.pay-strip { height: 44px; background: #111; }
.pay-sig { margin: 0 24px; height: 40px; border-radius: 4px; background: repeating-linear-gradient(-45deg, #fff, #fff 6px, #eee 6px, #eee 12px); display: flex; align-items: center; justify-content: flex-end; padding: 0 14px; color: #111; font-weight: 700; font-style: italic; }
.pay-card-wrap { perspective: 1200px; }
.pay-accepted { text-align: center; margin-top: 18px; font-size: 14px; color: #666; }
.pay-done { max-width: 620px; margin: 0 auto; text-align: center; }

/* Payments admin ---------------------------------------------------- */
.btn-green { background-color: #17723a; }
.btn-danger { background-color: #c62828; }
.btn-danger, .btn-green { border: 0; cursor: pointer; font: inherit; }
.btn-text-danger { padding: 8px 4px; border: 0; background: none; color: #c62828; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.pa-unlock { padding: 22px 28px; }
.pa-unlock.is-unlocked { background: #e7f6ec; box-shadow: none; }
.pa-unlock-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.pa-unlock-row .form-field { flex: 1; min-width: 200px; }
.pa-unlock-row .form-field input { width: 100%; padding: 12px 14px; border: 1px solid #cfd9e8; border-radius: 8px; font: inherit; font-size: 16px; }
.pa-unlock-row .btn { border: 0; cursor: pointer; font: inherit; }
.pa-unlock .form-field .icon { color: var(--blue); }
.pa-unlocked { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; color: #17723a; font-weight: 600; }
.pa-unlocked[hidden], .pa-unlock-row[hidden] { display: none; }
.pa-heading { display: flex; align-items: center; gap: 10px; margin: 35px 0 18px; font-size: 24px; }
.pa-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 50px; background: var(--blue); color: #fff; font-size: 15px; }
.pa-empty { color: #777; }
.pa-item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #e6ebf2; }
.pa-item-head h3 { margin: 0 0 2px; font-size: 20px; }
.pa-item-head small { color: #777; font-size: 13px; }
.pa-amount { font-size: 24px; color: var(--heading); white-space: nowrap; }
.pa-details { display: grid; gap: 10px 25px; margin: 0 0 15px; }
@media (min-width: 640px) { .pa-details { grid-template-columns: 1fr 1fr; } }
.pa-details dt { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #888; }
.pa-details dd { margin: 0; font-weight: 500; word-break: break-word; }
.pa-expiry { margin: 0 0 15px; padding: 8px 12px; border-radius: 6px; background: #fff4e5; color: #8a4b00; font-size: 14px; }
.pa-secret { display: grid; gap: 12px 25px; margin-bottom: 18px; padding: 16px 18px; border-radius: 10px; background: #0b1a4a; color: #fff; font-family: "Courier New", monospace; }
.pa-secret[hidden] { display: none; }
@media (min-width: 640px) { .pa-secret { grid-template-columns: 1fr auto auto; } }
.pa-secret small { display: block; font-family: var(--font); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: .7; }
.pa-secret span { font-size: 20px; letter-spacing: 1.5px; }
.pa-secret div:first-child { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.pa-secret div:first-child small { width: 100%; }
.pa-secret .btn-copy { color: #fff; border-color: rgba(255,255,255,.4); font-family: var(--font); }
.pa-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pa-actions form { margin: 0; }
.pa-actions .btn { border: 0; cursor: pointer; font: inherit; }
.pa-actions .btn:disabled { opacity: .45; cursor: not-allowed; }
.pa-actions form:last-child { margin-left: auto; }
.pa-history { overflow-x: auto; }
.pa-history table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pa-history th, .pa-history td { padding: 10px 8px; border-bottom: 1px solid #e6ebf2; text-align: left; white-space: nowrap; }
.pa-history th { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #888; }
.pa-expired { color: #8a4b00; }

/* Warranties --------------------------------------------------------- */
.warranty-cards { max-width: 980px; margin: 0 auto; }
.warranty-period { color: var(--text, #555); }
.warranty-period span { display: block; font-size: 52px; font-weight: 700; line-height: 1.1; color: var(--blue); }
.terms-list { counter-reset: term; list-style: none; margin: 0; padding: 0; }
.terms-list li { counter-increment: term; position: relative; padding: 12px 0 12px 52px; border-bottom: 1px solid #e6ebf2; }
.terms-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.terms-list li::before { content: "1." counter(term); position: absolute; left: 0; top: 12px; font-weight: 700; color: var(--blue); }
.warranty-claim { display: flex; gap: 18px; align-items: flex-start; margin-top: 30px; padding: 24px 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.warranty-claim > .icon { flex-shrink: 0; width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: #e8f1fc; color: var(--blue); }
.warranty-claim h3 { font-size: 20px; margin-bottom: 6px; }
.warranty-claim p { margin: 0; }
.warranty-claim a { text-decoration: underline; }

/* Image tiles: photos of any size shown as matching 4:3 tiles ----------- */
.img-tiles img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--radius); }

/* 7. Footer ------------------------------------------------------------ */

/* Blue contact strip */
.cta-strip {
  position: relative;
  z-index: 1;
  padding: 70px 0 40px;
  background: var(--blue);
  color: var(--white);
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url(../images/brand-logo/brand-bg.png) center / cover no-repeat;
}
.cta-item > .icon { font-size: 48px; margin-bottom: 8px; }
.cta-item h3, .cta-item p, .cta-item a { color: var(--white); }
.cta-item a:hover { color: var(--yellow); }

.site-footer { background: var(--navy); color: var(--white); }
.footer-top { padding: 80px 15px 40px; }
.site-footer p { color: var(--white); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.footer-logo { display: inline-block; margin-bottom: 20px; }

.footer-contact h2 { font-size: 26px; color: var(--white); margin-bottom: 15px; }
.footer-contact li { position: relative; padding-left: 60px; margin-bottom: 30px; }
.footer-contact li > .icon {
  position: absolute; left: 0; top: 0;
  width: 45px; height: 45px;
  padding: 12px;
  border-radius: 50%;
  border: 1px solid #e2e2e2;
  background: var(--white);
  color: var(--blue);
}
.footer-contact h3 { font-size: 18px; color: var(--white); margin-bottom: 10px; }
.footer-contact span { display: block; }
.underline { text-decoration: underline; }

.copyright { padding: 15px; border-top: 1px solid rgba(0, 113, 220, .38); text-align: center; }
.copyright p { margin: 0; }
.copyright a { color: var(--yellow); border-bottom: 1px solid var(--yellow); }
.copyright a:hover { color: var(--blue); border-color: var(--blue); }

@media (max-width: 991px) {
  .cta-strip { padding: 50px 0 20px; }
  .footer-top { padding-top: 50px; }
}

/* Back-to-top button */
.go-top {
  position: fixed;
  right: 3%;
  bottom: 30px;
  z-index: 900;
  width: 45px; height: 45px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s, visibility .4s, background-color .3s;
}
.go-top.show { opacity: 1; visibility: visible; transform: none; }
.go-top:hover { background: var(--yellow); }


/* 8. Utilities --------------------------------------------------------- */
.text-center { text-align: center; }

/* little "tada" wiggle used on the phone icons */
.tada { animation: tada 1.5s ease infinite; }
@keyframes tada {
  0%   { transform: scale(1); }
  10%, 20% { transform: scale(.9) rotate(-3deg); }
  30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
  40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
