/* =============================================
   REFORMES MANRESA — style.css
   Estètica editorial: heroes foscos, section tags,
   targetes de colors sòlids, tipografia molt negreta
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-dark:      #1A202C;
  --color-dark-alt:  #232B3A;
  --color-light:     #F5F5F0;
  --color-white:     #FFFFFF;
  --color-muted:     #5C6375;
  --color-border:    #E2E5E9;

  --color-purple:    #6B42AF;
  --color-purple-lt: #EDE8F7;
  --color-orange:    #ED8936;
  --color-orange-lt: #FEF0E4;
  --color-green:     #48BB78;
  --color-green-lt:  #E6F7EE;
  --color-cta:       #ED8936;
  --color-cta-hover: #D4761E;

  --radius-sm:  4px;
  --radius-md:  10px;
  --radius-lg:  18px;

  --shadow-card: 0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.16);

  --font:   'Inter', system-ui, -apple-system, sans-serif;
  --max-w:  1100px;
  --py-lg:  5rem;
  --py-md:  3.5rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--color-light);
  color: var(--color-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-dark);
  border-top: 3px solid var(--color-cta);
  padding: 1rem 1.25rem;
}

.cookie-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  min-width: 200px;
}

.cookie-link {
  color: var(--color-cta);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: .625rem;
  flex-shrink: 0;
}

.btn-cookie-reject {
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s;
}

.btn-cookie-reject:hover { border-color: #fff; color: #fff; }

.btn-cookie-accept {
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 700;
  padding: .5rem 1.125rem;
  background: var(--color-cta);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s;
}

.btn-cookie-accept:hover { background: var(--color-cta-hover); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.75rem;
  font-family: var(--font);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background .2s, transform .15s, border-color .2s;
  white-space: nowrap;
  letter-spacing: .01em;
}

.btn-cta {
  background: var(--color-cta);
  color: #fff;
}
.btn-cta:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}

.btn-sm    { padding: .5rem 1.125rem; font-size: .875rem; }
.btn-hero  { padding: .875rem 2rem;   font-size: 1rem; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.header-nav {
  display: none;
  gap: 2rem;
}

.header-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
}
.header-nav a:hover { color: #fff; }

/* =============================================
   SECTION LABEL (barra + text)
   ============================================= */
.section-label {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: .875rem;
}

.label-bar {
  display: block;
  width: 24px;
  height: 4px;
  background: var(--color-purple);
  border-radius: 2px;
  flex-shrink: 0;
}

.label-bar--orange { background: var(--color-cta); }
.label-bar--green  { background: var(--color-green); }
.label-bar--white  { background: #fff; }

.label-text {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.label-text--light { color: rgba(255,255,255,.65); }

/* =============================================
   SECTION HEADINGS & LEADS
   ============================================= */
.section-heading {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.section-heading--light { color: #fff; }

.section-lead {
  font-size: 1.0625rem;
  color: var(--color-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-lead--light { color: rgba(255,255,255,.7); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  background-color: var(--color-dark);
  /* Foto de reforma interior — Unsplash (Rene Asmussen) */
  background-image: url('https://images.unsplash.com/photo-1581858726788-75bc0f6a952d?auto=format&fit=crop&w=1920&q=75');
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,12,22,.55) 0%,
    rgba(10,12,22,.72) 60%,
    rgba(10,12,22,.88) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 4.5rem 3rem;
}

.section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.2);
  padding: .3rem .75rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.hero-h1-sub {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 300;
  color: rgba(255,255,255,.85);
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
}

/* Stats bar al peu del hero */
.hero-stats {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}

.stats-bar {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.stat-item {
  padding: 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  text-align: center;
}

.stat-number {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}

.stat-label {
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.12);
  align-self: stretch;
  margin-block: .75rem;
}

/* =============================================
   SECTION LIGHT
   ============================================= */
.section-light {
  background: #fff;
  padding-block: var(--py-lg);
}

/* =============================================
   COM FUNCIONA — steps grid
   ============================================= */
.steps-grid {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

/* Animació d'entrada */
@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-card {
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(48px);
  transition: box-shadow .3s;
}

.step-card.is-visible {
  animation: cardSlideUp 1s cubic-bezier(.16,.84,.44,1) forwards;
}

/* Retard escalonat per targeta */
.step-card:nth-child(1).is-visible { animation-delay: 0s;   }
.step-card:nth-child(2).is-visible { animation-delay: .22s; }
.step-card:nth-child(3).is-visible { animation-delay: .44s; }

.step-card--purple { background: var(--color-purple); }
.step-card--orange { background: var(--color-cta); }
.step-card--green  { background: var(--color-green); }

.step-num {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,.15);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -.04em;
}

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: .75rem;
}

.step-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}

/* =============================================
   SECTION DARK (serveis)
   ============================================= */
.section-dark {
  position: relative;
  padding-block: var(--py-lg);
  /* Foto de reforma de cuina — Unsplash */
  background-color: var(--color-dark);
  background-image:
    linear-gradient(rgba(18,20,32,.82) 0%, rgba(18,20,32,.90) 100%),
    url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=1920&q=75');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.services-grid {
  list-style: none;
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  background: rgba(28,31,46,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.75rem;
  transition: background .2s;
}

.service-card:hover {
  background: rgba(46,50,72,.85);
}

.service-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: .875rem;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .375rem;
  line-height: 1.3;
}

.service-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
}

/* =============================================
   PER QUÈ NOSALTRES — reasons list
   ============================================= */
.reasons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.reason-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-block: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.reason-item:first-child { border-top: 1px solid var(--color-border); }

.reason-num {
  flex-shrink: 0;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-green);
  letter-spacing: -.04em;
  line-height: 1;
  min-width: 56px;
}

.reason-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: .375rem;
}

.reason-body p {
  font-size: .9375rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* =============================================
   SECTION FORM
   ============================================= */
.section-form {
  background: var(--color-purple);
  padding-block: var(--py-lg);
}

/* Targeta blanca que conté el formulari */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.5rem;
  margin-bottom: 1.25rem;
}

/* Formulari */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.form-row {
  display: grid;
  gap: 1.125rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-dark);
}

.req { color: #C0392B; }
.opt { font-weight: 400; color: var(--color-muted); font-size: .8rem; }

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--color-dark);
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .625rem .875rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A8B0BF;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(107,76,154,.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.6;
}

/* Select personalitzat */
.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  pointer-events: none;
  position: absolute;
  right: .875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-muted);
}

.select-wrap select {
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--color-dark);
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .625rem 2.25rem .625rem .875rem;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}

.select-wrap select:focus {
  border-color: var(--color-purple);
  box-shadow: 0 0 0 3px rgba(107,76,154,.15);
}

/* Checkbox */
.form-check { flex-direction: column; }

.error-privacitat {
  font-size: .8125rem;
  color: #E53E3E;
  margin-top: .375rem;
  padding-left: 1.5rem;
}

.checkbox-label {
  display: flex;
  gap: .625rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: .8375rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: .15rem;
  accent-color: var(--color-purple);
  cursor: pointer;
  border-radius: 3px;
  padding: 0;
  border: 1.5px solid var(--color-border);
}

.form-link {
  color: var(--color-purple);
  text-decoration: underline;
}

/* Botó d'enviament */
.btn-submit {
  width: 100%;
  padding: .9375rem 2rem;
  font-size: 1rem;
  font-family: var(--font);
  font-weight: 700;
  background: var(--color-cta);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s, transform .15s;
  letter-spacing: .01em;
}

.btn-submit:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* Nota sota el formulari */
.form-note {
  text-align: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
}

/* reCAPTCHA badge: posicionament per no tapar el botó */
.grecaptcha-badge {
  z-index: 50;
}

/* Responsive form */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 2.5rem; }
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding-block: .625rem;
}
.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  font-size: .8125rem;
  color: var(--color-muted);
}
.breadcrumb-list a { color: var(--color-purple); text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--color-border); margin-inline: .125rem; user-select: none; }

/* =============================================
   SECTION GREY (fons alternatiu)
   ============================================= */
.section-grey {
  background: var(--color-light);
  padding-block: var(--py-lg);
}

/* =============================================
   INCLUDES GRID (Que inclou)
   ============================================= */
.includes-grid {
  list-style: none;
  display: grid;
  gap: .875rem;
}
.includes-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  font-size: .9375rem;
  color: var(--color-dark);
  line-height: 1.5;
}
.includes-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-green-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green);
  font-weight: 800;
  font-size: .65rem;
  margin-top: .1rem;
}
@media (min-width: 640px) { .includes-grid { grid-template-columns: 1fr 1fr; } }

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding-block: 1.5rem;
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-q {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: .625rem;
}
.faq-a {
  font-size: .9375rem;
  color: var(--color-muted);
  line-height: 1.65;
}
.faq-a a { color: var(--color-purple); }

/* =============================================
   RELATED SERVICES GRID
   ============================================= */
.related-grid {
  list-style: none;
  display: grid;
  gap: .75rem;
}
.related-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.125rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-dark);
  font-size: .9375rem;
  font-weight: 600;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.related-link:hover {
  border-color: var(--color-purple);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}
.related-icon { font-size: 1.25rem; flex-shrink: 0; }
.related-arrow { margin-left: auto; color: var(--color-muted); font-size: .875rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.75);
  padding-block: 3rem;
  border-top: 3px solid var(--color-cta);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-tagline {
  margin-top: .625rem;
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  max-width: 320px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.footer-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}

.footer-nav a:hover { color: #fff; }

.footer-legal {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
}

.legal-block h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: .5rem;
}

.legal-block p {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
}

.legal-block em { font-style: normal; color: rgba(255,255,255,.6); }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.25rem;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* =============================================
   RESPONSIVE — TABLET (≥ 640px)
   ============================================= */
@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step-card:last-child {
    grid-column: 1 / -1;
  }

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

/* =============================================
   RESPONSIVE — DESKTOP (≥ 900px)
   ============================================= */
@media (min-width: 900px) {
  .header-nav { display: flex; }

  .hero-inner { padding-block: 6rem 4rem; }

  .hero-content h1 { max-width: 800px; }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .step-card:last-child {
    grid-column: auto;
  }

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

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-legal {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================
   RESPONSIVE — WIDE (≥ 1100px)
   ============================================= */
@media (min-width: 1100px) {
  .hero-content h1 { font-size: 5.5rem; }

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

/* =============================================
   BREADCRUMB INSIDE HERO
   ============================================= */
.breadcrumb--hero {
  background: none;
  border: none;
  padding-block: 0;
  margin-bottom: 1.75rem;
}
.breadcrumb--hero .breadcrumb-list {
  color: rgba(255,255,255,.5);
  font-size: .8rem;
}
.breadcrumb--hero .breadcrumb-list a {
  color: rgba(255,255,255,.7);
}
.breadcrumb--hero .breadcrumb-list a:hover {
  color: #fff;
  text-decoration: underline;
}
.breadcrumb--hero .breadcrumb-sep {
  color: rgba(255,255,255,.3);
}
.breadcrumb--hero [aria-current="page"] {
  color: rgba(255,255,255,.45);
}

/* =============================================
   FORM FIELD VALIDATION
   ============================================= */
.field-error {
  border-color: #E53E3E !important;
  box-shadow: 0 0 0 3px rgba(229,62,62,.15) !important;
}
.error-field {
  font-size: .8125rem;
  color: #E53E3E;
  margin-top: .25rem;
}

/* =============================================
   HEADER NAV DROPDOWN
   ============================================= */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: .25rem;
  cursor: default;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
}
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: #fff;
}
.nav-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + .25rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-dark-alt);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  min-width: 270px;
  padding: .375rem 0;
  z-index: 300;
  box-shadow: var(--shadow-lg);
  list-style: none;
  transition: opacity .15s ease, visibility .15s ease;
  transition-delay: 0s, 0s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s, 0s;
}
.nav-dropdown:not(:hover):not(:focus-within) .nav-dropdown-menu {
  transition-delay: .2s, .2s;
}
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem 1.125rem;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}

/* =============================================
   SERVICE CARD LINK
   ============================================= */
.service-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.service-card-arrow {
  display: block;
  margin-top: auto;
  padding-top: .875rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--color-cta);
  letter-spacing: .02em;
}

/* =============================================
   FOOTER SERVICE LINKS
   ============================================= */
.footer-services {
  flex-shrink: 0;
}
.footer-services-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: .75rem;
}
.footer-services-nav {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.footer-services-nav a {
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.footer-services-nav a:hover { color: #fff; }
