/* =========================================================
   WAS Technical Services — Core Design System
   ========================================================= */

:root {
  --primary: #c7a66d;
  --primary-dark: #8f774e;
  --primary-light: #f2ebde;
  --accent: #25d366;
  --dark: #14102a;
  --bg-light: #f7f7fb;
  --white: #ffffff;
  --text: #1a1330;
  --text-light: #6b6480;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 24px rgba(20, 16, 42, 0.08);
  --shadow-float: 0 14px 44px rgba(20, 16, 42, 0.16);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 92px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--dark);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

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

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(199, 166, 109, 0.35);
}
.btn--primary:hover { background: var(--primary-dark); }

.btn--whatsapp {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover { background: #1eb857; }

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid rgba(20, 16, 42, 0.12);
}
.btn--block { width: 100%; }

/* ---------------------------------------------------------
   Header — centered nav, docks into a floating pill on scroll
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 22px 0;
  transition: padding var(--transition);
}

.site-header__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  border-radius: var(--radius-pill);
  transition: max-width var(--transition), padding var(--transition),
              background var(--transition), box-shadow var(--transition),
              backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  padding: 12px 0;
}
.site-header.is-scrolled .site-header__inner {
  max-width: 1180px;
  padding: 10px 20px 10px 28px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-float);
}

.site-header__logo img { height: 40px; width: auto; }

.site-header__nav {
  display: flex;
  align-items: center;
}
.site-header__nav ul,
.site-header__nav .menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header__nav li { list-style: none; }
.site-header__nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.site-header__nav a:hover,
.site-header__nav a.is-active { color: var(--primary); }
.site-header__nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.site-header__nav a:hover::after,
.site-header__nav a.is-active::after { width: 100%; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header__actions .btn { padding: 11px 22px; font-size: 14px; }

.site-header__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary-light);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 960px) {
  .site-header__nav { display: none; }
  .site-header__nav.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    padding: 20px;
  }
  .site-header__nav.is-open ul,
  .site-header__nav.is-open .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }
  .site-header__burger { display: flex; }
  .site-header__actions .btn--outline { display: none; }
}

/* Account for WordPress's admin toolbar when logged in, so the
   floating pill header doesn't sit underneath/behind it */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* ---------------------------------------------------------
   Floating WhatsApp button
   --------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  animation: was-pulse 2.4s infinite;
}
.floating-whatsapp svg { width: 30px; height: 30px; fill: var(--white); }

@keyframes was-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--primary-light) 0%, #ffffff 55%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 40%, 100% 100%);
}

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

.hero__badge {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
}

.hero__content h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
}

.hero__content p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero__trust {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.hero__trust .trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary);
}
.hero__trust .trust-item span {
  font-size: 13px;
  color: var(--text-light);
}

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Quote form card */
.hero__form-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-float);
}
.quote-form h3 {
  font-size: 20px;
  margin-bottom: 4px;
}
.quote-form__note {
  font-size: 12.5px;
  color: var(--text-light);
  text-align: center;
  margin: 10px 0 0;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(20, 16, 42, 0.1);
  font-family: var(--font-body);
  font-size: 14.5px;
  margin-bottom: 14px;
  background: var(--bg-light);
  transition: border-color var(--transition);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}
.quote-form textarea { resize: vertical; min-height: 80px; }

.quote-form__status {
  font-size: 13.5px;
  margin-top: 10px;
  text-align: center;
}
.quote-form__status.success { color: #1eb857; }
.quote-form__status.error { color: #e0433d; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__trust { flex-wrap: wrap; row-gap: 12px; }
}

/* ---------------------------------------------------------
   Scroll-reveal (paired with GSAP in main.js)
   --------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .floating-whatsapp { animation: none; }
}

/* ---------------------------------------------------------
   Badge (reused across sections)
   --------------------------------------------------------- */
.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

/* ---------------------------------------------------------
   Services grid
   --------------------------------------------------------- */
.services {
  padding: 100px 0;
  background: var(--white);
}

.services__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.services__header h2 { font-size: clamp(26px, 3.2vw, 38px); }
.services__header p { color: var(--text-light); font-size: 16px; }

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

.service-card {
  display: block;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: none;
  border: 1px solid rgba(20, 16, 42, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  background: var(--white);
  box-shadow: var(--shadow-float);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background var(--transition), transform var(--transition);
}
.service-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
}
.service-card:hover .service-card__icon {
  background: var(--primary);
  transform: rotate(-6deg) scale(1.05);
}
.service-card:hover .service-card__icon svg { stroke: var(--white); }

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.5;
}

.service-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}
.service-card:hover .service-card__link svg { transform: translateX(4px); }

.services__cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services { padding: 70px 0; }
  .services__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Why Choose Us
   --------------------------------------------------------- */
.why-us {
  padding: 90px 0 100px;
  background: var(--bg-light);
}

.why-us__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.why-us__header h2 { font-size: clamp(26px, 3.2vw, 38px); }
.why-us__header p { color: var(--text-light); font-size: 16px; }

.why-us__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-md);
  padding: 44px 32px;
  margin-bottom: 56px;
}
.why-us__stats .stat {
  text-align: center;
  color: var(--white);
}
.why-us__stats .stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  margin-bottom: 6px;
}
.why-us__stats .stat span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

.why-us__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid rgba(20, 16, 42, 0.06);
}
.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}
.feature-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1100px) {
  .why-us__stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .why-us__features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-us { padding: 60px 0 70px; }
  .why-us__stats { padding: 32px 20px; }
}

/* ---------------------------------------------------------
   About Us teaser
   --------------------------------------------------------- */
.about-teaser {
  padding: 100px 0;
  background: var(--white);
}
.about-teaser__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-teaser__media {
  position: relative;
}
.about-teaser__media::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -24px;
  right: 24px;
  bottom: 24px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  z-index: 0;
}
.about-teaser__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
}

.about-teaser__content h2 { font-size: clamp(26px, 3.2vw, 36px); }
.about-teaser__content p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 28px;
}

.about-teaser__checklist {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}
.about-teaser__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}
.about-teaser__checklist svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

.about-teaser__cta { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .about-teaser__inner { grid-template-columns: 1fr; }
  .about-teaser__media { max-width: 420px; margin: 0 auto; }
  .about-teaser__checklist { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .about-teaser { padding: 60px 0; }
}

/* ---------------------------------------------------------
   How It Works
   --------------------------------------------------------- */
.how-it-works {
  position: relative;
  padding: 120px 0;
  background-color: var(--dark);
  overflow: hidden;
}
.how-it-works::before,
.how-it-works::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 70px;
  background: var(--white);
  z-index: 1;
}
.how-it-works::before {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
}
.how-it-works::after {
  bottom: -1px;
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.how-it-works__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--dark) 0%, var(--primary-dark) 100%);
}

.how-it-works__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.how-it-works__panel { max-width: 480px; }

.how-it-works__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  aspect-ratio: 4 / 3;
}
.how-it-works__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .how-it-works__inner { grid-template-columns: 1fr; }
  .how-it-works__panel { max-width: none; }
}

.badge--light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.how-it-works__panel h2 {
  color: var(--white);
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 36px;
}

.how-it-works__steps {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.how-it-works__steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.how-it-works__steps h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 6px;
}
.how-it-works__steps p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

.how-it-works__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-it-works__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
}

@media (max-width: 700px) {
  .how-it-works { padding: 90px 0; }
}

/* ---------------------------------------------------------
   Recent Projects carousel
   --------------------------------------------------------- */
.projects {
  padding: 100px 0 90px;
  background: var(--bg-light);
}

.projects__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.projects__header h2 { font-size: clamp(26px, 3.2vw, 38px); }
.projects__header p { color: var(--text-light); font-size: 16px; }

.projects__carousel-wrap { position: relative; }

.projects__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 24px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}
.projects__track.is-dragging { cursor: grabbing; }
.projects__track::-webkit-scrollbar { display: none; }

.project-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
}

.project-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(
    135deg,
    var(--primary-light) 0px, var(--primary-light) 18px,
    #ffffff 18px, #ffffff 36px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card__media img { transform: scale(1.08); }

.project-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: var(--white);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.project-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  opacity: 0.6;
}
.project-card__placeholder svg { width: 40px; height: 40px; }
.project-card__placeholder span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-light);
}

.project-card__body { padding: 20px 22px 24px; }
.project-card__body h3 {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.4;
}
.project-card__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}
.project-card:hover .project-card__link svg { transform: translateX(4px); }

.projects__controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 4px;
}
.projects__progress {
  flex: 1;
  height: 4px;
  background: rgba(20, 16, 42, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.projects__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: var(--radius-pill);
  transition: width 0.1s linear;
}

.projects__nav { display: flex; gap: 10px; flex-shrink: 0; }
.projects__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 16, 42, 0.12);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.projects__arrow svg { width: 18px; height: 18px; }
.projects__arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

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

@media (max-width: 600px) {
  .projects { padding: 70px 0; }
  .project-card { flex-basis: 260px; }
}

/* ---------------------------------------------------------
   Portfolio page — static grid (reuses .project-card)
   --------------------------------------------------------- */
.portfolio-grid { padding: 20px 0 100px; background: var(--white); }
.portfolio-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-grid__list .project-card { flex: none; width: 100%; }
.project-card__desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1000px) {
  .portfolio-grid__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .portfolio-grid__list { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   About page
   --------------------------------------------------------- */
.about-story { padding: 20px 0 90px; background: var(--white); }
.about-story__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-story__media img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.about-story__content h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; }
.about-story__content p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.about-story__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

.about-values { padding: 20px 0 100px; background: var(--bg-light); }
.about-values__header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.about-values__header h2 { font-size: clamp(24px, 3vw, 34px); }

@media (max-width: 900px) {
  .about-story__inner { grid-template-columns: 1fr; }
  .about-story__media { max-width: 380px; margin: 0 auto; }
}

/* ---------------------------------------------------------
   CTA banner
   --------------------------------------------------------- */
.cta-banner {
  padding: 0 24px;
}
.cta-banner__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  overflow: hidden;
}
.cta-banner__inner::before,
.cta-banner__inner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.cta-banner__inner::before { width: 260px; height: 260px; top: -120px; left: -80px; }
.cta-banner__inner::after { width: 180px; height: 180px; bottom: -100px; right: -40px; }

.cta-banner h2 {
  position: relative;
  color: var(--white);
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 14px;
}
.cta-banner p {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 30px;
}
.cta-banner__actions {
  position: relative;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn--light {
  background: var(--white);
  color: var(--primary);
}
.btn--light:hover { background: #f0ecff; }

@media (max-width: 600px) {
  .cta-banner__inner { padding: 48px 24px; }
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 90px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 80px 24px 56px;
}

.footer__brand img { height: 32px; margin-bottom: 18px; }
.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 22px;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
}
.footer__social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__col h5 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__contact .footer__links li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}
.footer__contact svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-light);
}
.footer__contact a { color: inherit; transition: color var(--transition); }
.footer__contact a:hover { color: var(--white); }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: rgba(255, 255, 255, 0.5); transition: color var(--transition); }
.footer__legal a:hover { color: var(--white); }

@media (max-width: 960px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    padding: 64px 24px 44px;
  }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* ---------------------------------------------------------
   Breadcrumb
   --------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-light); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current] { color: var(--text); font-weight: 500; }

/* ---------------------------------------------------------
   Page hero (generic — services archive, and future inner pages)
   --------------------------------------------------------- */
.page-hero {
  background: linear-gradient(160deg, var(--primary-light) 0%, #ffffff 65%);
  padding: 64px 0 60px;
}
.page-hero h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  max-width: 720px;
}
.page-hero p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 620px;
  line-height: 1.6;
}
.services--archive { padding-top: 70px; }

/* ---------------------------------------------------------
   Single service — hero
   --------------------------------------------------------- */
.service-hero {
  background: linear-gradient(160deg, var(--primary-light) 0%, #ffffff 60%);
  padding: 56px 0 80px;
}
.service-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.service-hero__content h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 18px;
}
.service-hero__content p {
  color: var(--text-light);
  font-size: 16.5px;
  line-height: 1.65;
  margin-bottom: 30px;
}
.service-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.service-hero__media img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.service-hero__placeholder {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(135deg, var(--primary-light) 0px, var(--primary-light) 18px, #ffffff 18px, #ffffff 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary);
  text-align: center;
  padding: 20px;
}
.service-hero__placeholder svg { width: 44px; height: 44px; opacity: 0.6; }
.service-hero__placeholder span { font-size: 14px; font-weight: 600; color: var(--text-light); }
.service-hero__placeholder small { font-size: 11.5px; color: var(--text-light); opacity: 0.75; }

@media (max-width: 900px) {
  .service-hero__inner { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Single service — long-form SEO content
   --------------------------------------------------------- */
.service-long-content { padding: 20px 0 10px; background: var(--white); }
.service-long-content .post-content { max-width: 820px; margin: 0 auto; }
.service-long-content .post-content h2:first-child { margin-top: 0; }

/* ---------------------------------------------------------
   Single service — what's included
   --------------------------------------------------------- */
.service-included { padding: 70px 0; background: var(--white); }
.service-included__inner { max-width: 900px; margin: 0 auto; }
.service-included h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 36px;
}
.service-included__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}
.service-included__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}
.service-included__list svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}
@media (max-width: 700px) {
  .service-included__list { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Single service — gallery
   --------------------------------------------------------- */
.service-gallery { padding: 70px 0; background: var(--bg-light); }
.service-gallery h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 36px;
}
.service-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-gallery__item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.service-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.service-gallery__placeholder {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, var(--white) 0px, var(--white) 18px, var(--primary-light) 18px, var(--primary-light) 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary);
  opacity: 0.7;
}
.service-gallery__placeholder svg { width: 32px; height: 32px; }
.service-gallery__placeholder small { font-size: 11px; color: var(--text-light); }
@media (max-width: 700px) {
  .service-gallery__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Single service — FAQ accordion (native details/summary)
   --------------------------------------------------------- */
.service-faqs { padding: 70px 0 90px; background: var(--white); }
.service-faqs h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 36px;
}
.service-faqs__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 6px 22px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq-item[open] .faq-item__chevron { transform: rotate(180deg); }
.faq-item p {
  margin: 0 0 18px;
  color: var(--text-light);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------------------------------------------------------
   Single service — related services
   --------------------------------------------------------- */
.service-related { padding: 0 0 90px; background: var(--white); }
.service-related h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 36px;
}

/* ---------------------------------------------------------
   Generic carousel shell (reused by blog, future carousels)
   --------------------------------------------------------- */
.carousel { position: relative; }

.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 24px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}
.carousel__track.is-dragging { cursor: grabbing; }
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 4px;
}
.carousel__progress {
  flex: 1;
  height: 4px;
  background: rgba(20, 16, 42, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.carousel__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: var(--radius-pill);
  transition: width 0.1s linear;
}
.carousel__nav { display: flex; gap: 10px; flex-shrink: 0; }
.carousel__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 16, 42, 0.12);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.carousel__arrow svg { width: 18px; height: 18px; }
.carousel__arrow:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ---------------------------------------------------------
   Blog section
   --------------------------------------------------------- */
.blog-section { padding: 100px 0 90px; background: var(--bg-light); }
.blog-section__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.blog-section__header h2 { font-size: clamp(26px, 3.2vw, 38px); }
.blog-section__header p { color: var(--text-light); font-size: 16px; }

.blog-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }

.blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(135deg, var(--primary-light) 0px, var(--primary-light) 18px, #ffffff 18px, #ffffff 36px);
  overflow: hidden;
}
.blog-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__media img { transform: scale(1.08); }
.blog-card__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); opacity: 0.5;
}
.blog-card__placeholder svg { width: 36px; height: 36px; }

.blog-card__cat {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  background: var(--white);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.blog-card__body { padding: 20px 22px 24px; }
.blog-card__date {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}
.blog-card__body h3 {
  font-size: 16.5px;
  margin: 8px 0 10px;
  line-height: 1.4;
}
.blog-card__body h3 a { transition: color var(--transition); }
.blog-card__body h3 a:hover { color: var(--primary); }
.blog-card__body p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 16px;
}
.blog-card__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-card__link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.blog-card:hover .blog-card__link svg { transform: translateX(4px); }

.blog-section__empty {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 40px;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
}
.blog-section__empty p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 20px;
}

.blog-section__cta { text-align: center; margin-top: 44px; }

@media (max-width: 600px) {
  .blog-section { padding: 70px 0; }
  .blog-card { flex-basis: 260px; }
}

/* ---------------------------------------------------------
   Blog archive grid + pagination
   --------------------------------------------------------- */
.blog-archive { padding: 60px 0 100px; background: var(--white); }
.blog-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-archive__grid .blog-card { flex: none; width: 100%; }

.blog-archive__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.blog-archive__pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(20, 16, 42, 0.12);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.blog-archive__pagination .page-numbers.current,
.blog-archive__pagination .page-numbers:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

@media (max-width: 1000px) {
  .blog-archive__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-archive__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Single post — hero, featured image, prose content
   --------------------------------------------------------- */
.post-hero {
  background: linear-gradient(160deg, var(--primary-light) 0%, #ffffff 65%);
  padding: 56px 0 48px;
}
.post-hero h1 {
  font-size: clamp(26px, 3.6vw, 40px);
  max-width: 780px;
  margin: 14px 0 16px;
}
.post-hero__meta {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-light);
  font-weight: 500;
}

.post-featured-img {
  margin-top: -30px;
  position: relative;
  z-index: 1;
}
.post-featured-img img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.post-content-wrap { padding: 56px 0 20px; background: var(--white); }
.post-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text);
}
.post-content h2 {
  font-size: 24px;
  margin: 40px 0 16px;
}
.post-content h3 {
  font-size: 19px;
  margin: 30px 0 12px;
}
.post-content p { margin: 0 0 20px; }
.post-content ul, .post-content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--primary); text-decoration: underline; }
.post-content strong { color: var(--dark); }

.post-related { padding: 20px 0 100px; background: var(--white); }
.post-related h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 36px;
}

@media (max-width: 700px) {
  .post-featured-img { margin-top: -16px; }
  .post-content-wrap { padding: 40px 0 10px; }
}

/* ---------------------------------------------------------
   Contact page
   --------------------------------------------------------- */
.contact-section { padding: 60px 0 100px; background: var(--white); }
.contact-section__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 28px;
}
.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info__icon svg { width: 22px; height: 22px; color: var(--primary); }
.contact-info__item h3 { font-size: 15px; margin-bottom: 4px; }
.contact-info__item p { font-size: 14.5px; color: var(--text-light); margin: 0; }
.contact-info__item a { color: inherit; transition: color var(--transition); }
.contact-info__item a:hover { color: var(--primary); }

.contact-info__social {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.contact-info__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.contact-info__social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.contact-info__social svg { width: 17px; height: 17px; }

.contact-info__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  line-height: 0;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-float);
  height: fit-content;
}

@media (max-width: 900px) {
  .contact-section__inner { grid-template-columns: 1fr; }
}
