/* =========================================================
   BAILEY'S PLASTERING & DECORATING SERVICES LTD
   Stylesheet
   ========================================================= */

/* ---------------------------------------------------------
   1. CUSTOM PROPERTIES
--------------------------------------------------------- */
:root {
  --color-primary: #f7931d;
  --color-primary-dark: #e07f0d;
  --color-dark: #5a5a5a;
  --color-dark-deep: #3f3f3f;
  --color-heading: #222222;
  --color-text: #666666;
  --color-light: #f7f7f5;
  --color-white: #ffffff;
  --color-border: #e5e5e5;

  --font-heading: "Bebas Neue", sans-serif;
  --font-body: "Raleway", sans-serif;

  --container-width: 1300px;
  --radius-sm: 6px;
  --radius-md: 12px;

  --section-space: 76px;
  --section-space-tablet: 56px;
  --section-space-mobile: 42px;

  --transition: 0.25s ease;
}

/* ---------------------------------------------------------
   2. RESET & BASE
--------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: 1px;
}

h1 {
  font-size: 62px;
}
h2 {
  font-size: 44px;
  font-weight: 700;
}
h3 {
  font-size: 24px;
  font-weight: 700;
}

p {
  margin: 0 0 16px;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* Consistent focus states */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   3. LAYOUT HELPERS
--------------------------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-space) 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 14px;
}

.section-heading {
  max-width: 680px;
  margin: 0 0 56px;
}

.section-heading-light h2 {
  color: var(--color-white);
}

.section-intro {
  font-size: 18px;
  color: var(--color-text);
}

/* ---------------------------------------------------------
   4. BUTTONS
--------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  clip-path: polygon(
    14px 0,
    100% 0,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    0 100%,
    0 14px
  );
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 12px 24px;
  font-size: 13px;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
}

.btn-primary {
  background-color: var(--color-primary);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0px,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 6px
  );
  color: var(--color-white);
  border-color: var(--color-primary-dark);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 12px 24px rgba(224, 127, 13, 0.35);
}

.btn-primary .icon-arrow {
  transition: transform var(--transition);
}

.btn-primary:hover .icon-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-heading);
  border-color: var(--color-heading);
}

.btn-secondary:hover {
  background-color: var(--color-heading);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 6px
  );
  color: var(--color-white);
  box-shadow: 0 12px 24px rgba(34, 34, 34, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background-color: var(--color-white);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(34, 34, 34, 0.05) 0px,
    rgba(34, 34, 34, 0.05) 1px,
    transparent 1px,
    transparent 6px
  );
  color: var(--color-dark-deep);
  border-color: var(--color-white);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.icon-arrow {
  width: 18px;
  height: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-heading);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 3px;
}

.text-link .icon-arrow {
  transition: transform var(--transition);
}

.text-link:hover .icon-arrow {
  transform: translateX(4px);
}

/* ---------------------------------------------------------
   5. HEADER
--------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--color-white);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--transition),
    border-color var(--transition);
  /* Prevents the browser's scroll-anchoring from compensating for the
     header's own height change, which otherwise creates a feedback
     loop with the scroll threshold below and makes the header shake. */
  overflow-anchor: none;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 116px;
  transition: height var(--transition);
}

.site-header.is-scrolled .header-inner {
  height: 84px;
}

.logo img {
  height: 84px;
  width: auto;
  transition: height var(--transition);
}

.site-header.is-scrolled .logo img {
  height: 64px;
}

.main-nav ul {
  display: flex;
  gap: 36px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading);
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-heading);
  transition: color var(--transition);
}

.header-phone .icon {
  color: var(--color-primary);
}

.header-phone:hover {
  color: var(--color-primary);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  margin: 0 auto;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 28px 24px 32px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-heading);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-actions .btn {
  justify-content: center;
}

/* ---------------------------------------------------------
   6. HERO
--------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  min-height: 80dvh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background-color: var(--color-dark-deep);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-image: url("assets/img/hero-video-poster.jpg");
  background-size: cover;
  background-position: center;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(34, 34, 34, 0.6) 0%, rgba(34, 34, 34, 0.8) 100%),
    linear-gradient(180deg, rgba(34, 34, 34, 0.45) 0%, rgba(34, 34, 34, 0.55) 50%, rgba(34, 34, 34, 0.8) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-primary);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0px,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px,
    transparent 5px
  );
  color: var(--color-white);
  padding: 8px 16px;
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
}

.text-accent {
  color: var(--color-primary);
}

.hero-ratings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-rating-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.hero-rating-badge:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(34, 34, 34, 0.1);
}

.hero-rating-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-rating-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.hero-rating-stars {
  color: #f5a623;
  font-size: 11px;
  letter-spacing: 1px;
}

.hero-rating-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-heading);
}

.hero-rating-text strong {
  font-weight: 800;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 700px;
  margin: 0 auto 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
}

.hero-trust li {
  position: relative;
  padding-left: 26px;
  min-height: 18px;
  display: flex;
  align-items: center;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  background-color: var(--color-primary);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.hero-trust li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------
   7. TRUST STRIP
--------------------------------------------------------- */
.trust-strip {
  padding: 36px 0;
  background: var(--color-light);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-heading);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background-color: var(--color-primary);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0px,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px,
    transparent 5px
  );
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
}

.trust-item .icon {
  width: 18px;
  height: 18px;
  color: var(--color-white);
}

.trust-divider {
  width: 7px;
  height: 7px;
  background: var(--color-primary);
  border-radius: 1px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   9. SERVICES
--------------------------------------------------------- */
.services {
  background: var(--color-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-item {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  padding: 40px 34px;
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 6px 20px rgba(34, 34, 34, 0.06);
  clip-path: polygon(
    20px 0,
    100% 0,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    0 100%,
    0 20px
  );
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transition: background var(--transition);
}

.service-item:hover::before {
  background: var(--color-dark-deep);
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(34, 34, 34, 0.12);
  border-color: var(--color-dark-deep);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: var(--color-primary);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0px,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px,
    transparent 5px
  );
  border: 1.5px solid var(--color-primary-dark);
  clip-path: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-white);
  margin-bottom: 20px;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.service-item:hover .service-number {
  background-color: var(--color-dark-deep);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0px,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px,
    transparent 5px
  );
  border-color: var(--color-heading);
  color: var(--color-white);
}

.service-item h3 {
  font-size: 21px;
  margin-bottom: 12px;
  color: var(--color-primary);
  transition: color var(--transition);
}

.service-item:hover h3 {
  color: var(--color-dark-deep);
}

.service-item p {
  font-size: 15.5px;
  margin-bottom: 20px;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-heading);
}

.learn-more .icon-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.service-item:hover .learn-more .icon-arrow {
  transform: translateX(4px);
}

/* ---------------------------------------------------------
   10. PREPARATION
--------------------------------------------------------- */
.preparation-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.preparation-media {
  position: relative;
}

.preparation-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  z-index: 2;
}

.preparation-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preparation-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--color-white);
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.overlay-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--color-primary);
  text-transform: uppercase;
}

.overlay-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--color-heading);
}

.preparation-accent {
  position: absolute;
  bottom: -22px;
  left: -22px;
  width: 130px;
  height: 130px;
  border: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  z-index: 1;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 26px 0 32px;
}

.checklist li {
  position: relative;
  padding-left: 38px;
  font-weight: 700;
  color: var(--color-heading);
  font-size: 16px;
  min-height: 26px;
  display: flex;
  align-items: center;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background-color: var(--color-primary);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0px,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1px,
    transparent 5px
  );
  clip-path: polygon(
    6px 0,
    100% 0,
    100% calc(100% - 6px),
    calc(100% - 6px) 100%,
    0 100%,
    0 6px
  );
  box-shadow: 0 4px 10px rgba(224, 127, 13, 0.3);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--color-white);
  border-bottom: 2.5px solid var(--color-white);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------
   11. WHY CHOOSE US
--------------------------------------------------------- */
.why-choose {
  position: relative;
  background-color: var(--color-dark-deep);
  background-image:
    linear-gradient(rgba(63, 63, 63, 0.93), rgba(63, 63, 63, 0.93)),
    url("assets/img/gallery-2.jpg");
  background-size: cover;
  background-position: center;
  color: rgba(255, 255, 255, 0.78);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 48px;
}

.benefit-item {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.benefit-item .icon {
  color: var(--color-primary);
  width: 26px;
  height: 26px;
  margin-bottom: 16px;
}

.benefit-item h3 {
  color: var(--color-white);
  font-size: 19px;
  margin-bottom: 10px;
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15.5px;
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   13. GALLERY
--------------------------------------------------------- */
.gallery {
  background: var(--color-light);
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gallery-row-top {
  display: flex;
  gap: 18px;
  height: 440px;
}

.gallery-row-top .gallery-item-large {
  flex: 0 0 65%;
}

.gallery-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gallery-stack .gallery-item {
  flex: 1 1 0;
  min-height: 0;
}

.gallery-row-bottom {
  display: flex;
  gap: 18px;
  height: 240px;
}

.gallery-row-bottom .gallery-item:nth-child(1) {
  flex: 1.15 1 0;
}
.gallery-row-bottom .gallery-item:nth-child(2) {
  flex: 0.9 1 0;
}
.gallery-row-bottom .gallery-item:nth-child(3) {
  flex: 0.95 1 0;
}

.gallery-item,
.gallery-item-large {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  min-width: 0;
  min-height: 0;
}

.gallery-item img,
.gallery-item-large img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.65) 100%
  );
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-type {
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
}

.gallery-view {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.gallery-cta {
  margin-top: 44px;
  text-align: center;
}

/* ---------------------------------------------------------
   14. CUSTOMER TYPES
--------------------------------------------------------- */
.customer-types {
  background: var(--color-white);
}

.customer-types h2 {
  max-width: 640px;
  margin-bottom: 54px;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.customer-item {
  border-top: 3px solid var(--color-primary);
  padding-top: 22px;
}

.customer-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--color-heading);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.customer-item p {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   15. AREAS WE COVER
--------------------------------------------------------- */
.areas {
  background: var(--color-light);
}

.areas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.areas-content p {
  max-width: 460px;
  margin-bottom: 28px;
}

.areas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.areas-list li {
  border-bottom: 1px solid var(--color-border);
}

.areas-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-weight: 600;
  color: var(--color-heading);
  transition:
    color var(--transition),
    padding-left var(--transition);
}

.areas-list a::after {
  content: "\2192";
  color: var(--color-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.areas-list a:hover {
  color: var(--color-primary);
  padding-left: 10px;
}

.areas-list a:hover::after {
  opacity: 1;
}

/* ---------------------------------------------------------
   16. FAQ
--------------------------------------------------------- */
.faq-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro p {
  max-width: 380px;
}

.faq-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 20px 22px;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.faq-contact-card .icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-contact-label {
  display: block;
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 2px;
}

.faq-contact-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--color-heading);
  transition: color var(--transition);
}

.faq-contact-card:hover .faq-contact-number {
  color: var(--color-primary);
}

.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border: none;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-heading);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-primary);
  transition: transform var(--transition);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding-bottom: 24px;
  margin: 0;
  max-width: 640px;
}

/* ---------------------------------------------------------
   17. FINAL CTA
--------------------------------------------------------- */
.final-cta {
  position: relative;
  background-color: var(--color-heading);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.035) 0px,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 15px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 22px
    );
  overflow: hidden;
}

.cta-graphic {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border: 2px solid rgba(247, 147, 29, 0.35);
}

.cta-shape-1 {
  width: 220px;
  height: 220px;
  top: -80px;
  left: -80px;
  transform: rotate(20deg);
  border-radius: var(--radius-md);
}

.cta-shape-2 {
  width: 120px;
  height: 120px;
  bottom: -40px;
  right: 8%;
  transform: rotate(-15deg);
  border-radius: var(--radius-sm);
  border-color: rgba(255, 255, 255, 0.14);
}

.cta-shape-3 {
  width: 3px;
  height: 140px;
  right: 20%;
  top: 20%;
  background: rgba(247, 147, 29, 0.4);
  border: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.final-cta h2 {
  color: var(--color-white);
}

.final-cta-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 34px;
}

.final-cta .hero-buttons {
  justify-content: flex-start;
  margin-bottom: 28px;
}

.final-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.final-cta-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.final-cta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--color-primary);
  transform: rotate(45deg);
}

.final-cta-panel {
  position: relative;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.final-cta-panel .panel-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.7);
}

.panel-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: 1px;
}

.panel-divider {
  height: 1px;
  background: rgba(34, 34, 34, 0.18);
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-heading);
}

.panel-link .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   18. FOOTER
--------------------------------------------------------- */
.site-footer {
  background-color: var(--color-dark-deep);
  background-image:
    linear-gradient(rgba(63, 63, 63, 0.95), rgba(63, 63, 63, 0.95)),
    url("assets/img/gallery-4.jpg");
  background-size: cover;
  background-position: center;
  color: rgba(255, 255, 255, 0.62);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 60px;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14.5px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact .icon {
  color: var(--color-primary);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13.5px;
  margin: 0;
}

.footer-bottom p a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    color var(--transition),
    border-color var(--transition);
}

.footer-bottom p a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.footer-legal {
  display: flex;
  gap: 24px;
  font-size: 13.5px;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

/* ---------------------------------------------------------
   19. BACK TO TOP
--------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--color-dark-deep);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    background var(--transition);
  z-index: 400;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------------------------------------------------------
   FLOATING CALL BUTTON
--------------------------------------------------------- */
.floating-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition:
    background var(--transition),
    transform var(--transition);
  z-index: 400;
}

.floating-call:hover {
  background: var(--color-primary-dark);
  transform: scale(1.06);
}

.floating-call svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.floating-call::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-primary);
  z-index: 0;
  animation: bpd-call-pulse 2.2s ease-out infinite;
}

@keyframes bpd-call-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .floating-call {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .floating-call svg {
    width: 22px;
    height: 22px;
  }
}

/* ---------------------------------------------------------
   20. SCROLL REVEAL ANIMATION
--------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------------------------------------------------
   21. RESPONSIVE - TABLET (768px - 1199px)
--------------------------------------------------------- */
@media (max-width: 1199px) {
  :root {
    --section-space: var(--section-space-tablet);
  }

  h1 {
    font-size: 50px;
  }
  h2 {
    font-size: 38px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    height: 84px;
  }

  .site-header.is-scrolled .header-inner {
    height: 64px;
  }

  .logo img {
    height: 64px;
  }

  .site-header.is-scrolled .logo img {
    height: 44px;
  }

  .preparation-inner,
  .areas-inner,
  .faq-inner,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .final-cta-panel {
    max-width: 420px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro p,
  .faq-list {
    max-width: none;
  }

  .hero {
    padding: 120px 0 70px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .customer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .gallery-row-top {
    flex-direction: column;
    height: auto;
  }

  .gallery-row-top .gallery-item-large {
    flex: none;
    height: 320px;
  }

  .gallery-stack {
    flex-direction: row;
    height: 220px;
  }

  .gallery-row-bottom {
    height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 44px;
  }
}

/* ---------------------------------------------------------
   22. RESPONSIVE - MOBILE (below 768px)
--------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --section-space: var(--section-space-mobile);
  }

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 21px;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 0 56px;
  }

  .hero-buttons,
  .final-cta .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn,
  .final-cta .btn {
    justify-content: center;
  }

  .trust-strip-inner {
    justify-content: flex-start;
    gap: 16px 22px;
  }

  .trust-divider {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    padding: 34px 26px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gallery-grid {
    gap: 12px;
  }

  .gallery-row-top {
    gap: 12px;
  }

  .gallery-row-top .gallery-item-large {
    height: 220px;
  }

  .gallery-stack {
    gap: 12px;
    height: 160px;
  }

  .gallery-row-bottom {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .gallery-row-bottom .gallery-item {
    height: 180px;
    flex: none;
  }

  .customer-grid {
    gap: 30px;
  }

  .areas-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-to-top {
    right: 16px;
    bottom: 76px;
    width: 42px;
    height: 42px;
  }

  .faq-question {
    font-size: 16.5px;
    padding: 18px 0;
    gap: 14px;
  }
}
