/* =========================================================
   ALBERO INSTAL·LACIONS — OPTIMIZED GLOBAL STYLES
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f8f8fc;
  --bg-muted: #f3f2fb;
  --card: rgba(255, 255, 255, 0.9);
  --text: #0b0b12;
  --text-soft: #5a5a72;
  --text-muted: #7a7a94;
  --line: #e9e9f3;
  --line-strong: #dcdced;
  --primary: #4800fd;
  --primary-2: #3a00cf;
  --primary-dark: #1c0066;
  --white: #ffffff;
  --black: #08001e;
  --shadow-sm: 0 10px 30px rgba(8, 0, 30, 0.05);
  --shadow-md: 0 20px 50px rgba(8, 0, 30, 0.08);
  --shadow-lg: 0 28px 80px rgba(28, 0, 102, 0.16);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --container: 1200px;
  --header-height: 88px;
  --transition: 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.logo {
  width: auto;
  height: 50px;
}

/* TOPBAR */
.topbar {
  background: var(--black);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.topbar__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar a,
.footer a {
  transition: color var(--transition);
}

.topbar a:hover,
.footer a:hover {
  color: var(--white);
}

.topbar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
}

/* HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(233, 233, 243, 0.9);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 36px rgba(8, 0, 30, 0.07);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.brand__subtitle {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 500;
}

.nav,
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a,
.desktop-nav a,
.nav-parent {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

.nav a::after,
.desktop-nav a::after,
.nav-parent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav a:hover,
.nav a.is-active,
.nav a[aria-current="page"],
.nav-parent:hover,
.desktop-nav a:hover {
  color: var(--primary);
}

.nav a:hover::after,
.nav a.is-active::after,
.nav a[aria-current="page"]::after,
.nav-parent:hover::after,
.desktop-nav a:hover::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.arrow {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 230px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(8, 0, 30, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 20;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: #f6f6fb;
  color: var(--primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta {
  margin-left: 20px;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 12px 11px;
  transition: border-color var(--transition), transform var(--transition);
}

.menu-toggle:hover {
  border-color: var(--line-strong);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
  transition: var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px 18px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.mobile-menu a {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--text);
}

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

.mobile-menu__cta {
  margin-top: 8px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
  white-space: nowrap;
}

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

.btn--primary {
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-2) 60%,
    var(--primary-dark) 100%
  );
  box-shadow: 0 12px 28px rgba(72, 0, 253, 0.18);
}

.btn--primary:hover {
  box-shadow: 0 18px 36px rgba(72, 0, 253, 0.24);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--line);
  color: var(--text);
}

.btn--secondary:hover {
  border-color: rgba(72, 0, 253, 0.22);
  color: var(--primary);
}

.btn--light {
  background: var(--white);
  color: var(--primary-dark);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn--full {
  width: 100%;
}

/* GENERIC */
.section {
  padding: 110px 0;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(72, 0, 253, 0.68);
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-kicker--light {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.about__content h2,
.cta-box__content h2,
.contact-hero h1,
.reformes-mid-cta__box h2,
.form-card h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.section-heading p,
.about__content p,
.cta-box__content p,
.contact-hero p,
.form-card > p,
.reformes-mid-cta__box p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.72;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 0% 0%, rgba(72, 0, 253, 0.08), transparent 26%),
    radial-gradient(circle at 100% 10%, rgba(28, 0, 102, 0.09), transparent 24%),
    linear-gradient(180deg, #faf9ff 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(72, 0, 253, 0.08), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  margin: 0;
  max-width: 12.5ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero__text {
  margin: 24px 0 0;
  max-width: 650px;
  font-size: 1.08rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.hero__buttons,
.service-premium-hero__actions,
.reformes-hero__actions,
.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__buttons {
  margin-top: 34px;
}

.hero__stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card,
.reformes-trust-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(233, 233, 243, 0.95);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.stat-card strong,
.reformes-trust-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.stat-card span,
.reformes-trust-card span {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero__image-wrap,
.project-card__image,
.about__media,
.service-premium-hero__image,
.reformes-hero__media {
  overflow: hidden;
}

.hero__image-wrap {
  position: relative;
  min-height: 320px;
  border-radius: 34px;
  background: #d9d3f8;
  box-shadow: var(--shadow-lg);
}

.hero__image,
.service-premium-hero__image img,
.reformes-hero__media img,
.about__media img,
.project-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero__image-wrap:hover .hero__image,
.service-premium-hero__image:hover img,
.reformes-hero__media:hover img,
.about__media:hover img,
.project-card:hover .project-card__image img {
  transform: scale(1.03);
}

.hero-badge {
  position: absolute;
  border-radius: 20px;
  padding: 16px 18px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.hero-badge span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
}

.hero-badge strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.3;
}

.hero-badge--main {
  left: 24px;
  bottom: 24px;
  max-width: 260px;
  color: var(--white);
  background: rgba(8, 0, 30, 0.82);
}

.hero-badge--main span {
  color: rgba(255, 255, 255, 0.72);
}

/* TRUST STRIP */
.trust-strip {
  padding: 24px 0 0;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.trust-item__number {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
}

.trust-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
}

.trust-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* SERVICE / REFORMES / CONTACT / TIMELINE / FOOTER */
.section--services-modern-clean {
  background: linear-gradient(180deg, #fcfcff 0%, #f8f7fd 100%);
}

.services-clean__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.services-clean__intro {
  max-width: 900px;
}

.services-clean__intro h2 {
  margin: 0 0 16px;
  max-width: 16ch;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.services-clean__intro p {
  margin: 0;
  max-width: 820px;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.services-clean__btn {
  flex-shrink: 0;
}

.services-clean__grid,
.projects-grid,
.service-cards-premium__grid,
.reformes-benefits__grid,
.serveis-cards-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.reformes-benefits__grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.service-clean-card,
.project-card,
.service-mini-card,
.reformes-benefit-card,
.servei-lux-card,
.timeline-card__body,
.reformes-type-card,
.info-card,
.form-card {
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease;
}

.service-clean-card,
.servei-lux-card,
.service-mini-card,
.reformes-benefit-card,
.timeline-card__body,
.reformes-type-card,
.info-card,
.form-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(233, 233, 243, 0.95);
  box-shadow:
    0 10px 30px rgba(8, 0, 30, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.service-clean-card:hover,
.servei-lux-card:hover,
.service-mini-card:hover,
.reformes-benefit-card:hover,
.timeline-card__body:hover,
.reformes-type-card:hover,
.info-card:hover,
.form-card:hover {
  transform: translateY(-6px);
  border-color: rgba(72, 0, 253, 0.16);
  box-shadow:
    0 18px 44px rgba(8, 0, 30, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.service-clean-card,
.servei-lux-card {
  position: relative;
  min-height: 360px;
  padding: 30px 30px 28px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
}

.service-clean-card::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: 0;
  width: 76px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(72, 0, 253, 0) 100%);
}

.service-clean-card__top,
.servei-lux-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.service-clean-card__icon,
.servei-lux-card__icon,
.service-mini-card__icon,
.reformes-benefit-card__icon,
.timeline-card__number {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(72, 0, 253, 0.1), rgba(72, 0, 253, 0.04));
  color: var(--primary);
}

.service-clean-card__icon,
.servei-lux-card__icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  font-size: 1.25rem;
}

.service-mini-card__icon,
.reformes-benefit-card__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  font-size: 1.25rem;
}

.service-clean-card__number,
.servei-lux-card__number {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(72, 0, 253, 0.45);
}

.service-clean-card h3,
.servei-lux-card h2,
.service-mini-card h3,
.reformes-benefit-card h3,
.reformes-type-card h3,
.project-card h3,
.timeline-card__body h3,
.service-overview__grid h2,
.reformes-types__intro h2,
.reformes-hero__content h1,
.service-premium-hero__content h1 {
  margin: 0 0 12px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.service-clean-card h3 {
  font-size: 1.7rem;
}

.servei-lux-card h2 {
  font-size: 1.55rem;
}

.service-mini-card h3,
.reformes-benefit-card h3,
.reformes-type-card h3,
.timeline-card__body h3 {
  font-size: 1.15rem;
}

.service-clean-card p,
.servei-lux-card p,
.service-mini-card p,
.reformes-benefit-card p,
.reformes-type-card p,
.project-card p,
.timeline-card__body p,
.service-overview__text p,
.reformes-types__intro p,
.serveis-extra__box p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.68;
}

.service-clean-card__link,
.servei-lux-card__link,
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--primary);
  font-weight: 800;
}

.service-clean-card__link,
.service-link {
  margin-top: 26px;
  padding: 10px 18px;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(72, 0, 253, 0.18);
  background: rgba(72, 0, 253, 0.04);
}

.service-clean-card__link::after,
.servei-lux-card__link::after,
.service-link::after {
  content: "→";
  transition: transform var(--transition);
}

.service-clean-card__link:hover,
.service-link:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(72, 0, 253, 0.35);
}

.service-clean-card:hover .service-clean-card__link::after,
.servei-lux-card:hover .servei-lux-card__link::after,
.service-link:hover::after {
  transform: translateX(3px);
}

.section--about {
  background: var(--bg-soft);
}

.about {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 58px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  height: 560px;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.about__floating-card {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: 170px;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(8, 0, 30, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  border-left: 2px solid var(--primary);
}

.about__floating-card span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.62rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.about__floating-card strong {
  display: block;
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 700;
}

.about__content p + p {
  margin-top: 14px;
}

.about__features {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-pill {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.project-card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.project-card__image img {
  height: 320px;
}

.project-card__content {
  padding: 24px;
}

.project-card__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 42px;
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(135deg, var(--black) 0%, var(--primary-dark) 42%, var(--primary) 100%);
  box-shadow: var(--shadow-lg);
}

.cta-box__content {
  max-width: 760px;
}

.cta-box__content p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-hero {
  padding: 88px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(72, 0, 253, 0.05), transparent 32%),
    radial-gradient(circle at bottom left, rgba(72, 0, 253, 0.04), transparent 35%),
    linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(233, 233, 243, 0.8);
}

.contact-hero h1 {
  max-width: 10ch;
}

.contact-hero p {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-section {
  padding: 96px 0 120px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8fc 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.info-card,
.form-card {
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.info-card {
  padding: 24px;
}

.info-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(72, 0, 253, 0.62);
}

.info-card a {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.info-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.form-card {
  padding: 30px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fcfcff;
  color: var(--text);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    transform var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(72, 0, 253, 0.38);
  box-shadow: 0 0 0 4px rgba(72, 0, 253, 0.08);
  background: #ffffff;
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-note {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.serveis-cards-hero,
.service-premium-hero,
.reformes-hero {
  border-bottom: 1px solid rgba(233, 233, 243, 0.8);
}

.serveis-cards-hero,
.service-premium-hero {
  padding: 110px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(72, 0, 253, 0.05), transparent 32%),
    linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
}

.reformes-hero {
  padding: 110px 0 78px;
  background:
    radial-gradient(circle at top right, rgba(72, 0, 253, 0.07), transparent 30%),
    linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
}

.serveis-cards-hero__inner {
  max-width: 820px;
}

.serveis-cards-hero h1,
.service-premium-hero__content h1,
.reformes-hero__content h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.reformes-hero__content h1 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.serveis-cards-hero h1 span,
.service-premium-hero__content h1 span,
.reformes-hero__content h1 span {
  display: block;
  color: var(--primary);
}

.serveis-cards-hero p,
.service-premium-hero__content p,
.reformes-hero__content p {
  margin: 0;
  max-width: 720px;
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--text-soft);
}

.serveis-cards-page {
  padding-top: 78px;
}

.servei-lux-card {
  padding: 34px;
  min-height: 320px;
  border-radius: 28px;
  backdrop-filter: blur(10px);
}

.servei-lux-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  font-size: 1.45rem;
}

.serveis-extra {
  padding-top: 0;
}

.serveis-extra__box,
.service-values__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fcfcff 0%, #f8f8fc 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.serveis-extra__box h2,
.service-values__box h2,
.reformes-mid-cta__box h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.service-premium-hero__grid,
.reformes-hero__grid,
.service-overview__grid,
.reformes-types__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.service-premium-hero__grid,
.reformes-hero__grid {
  grid-template-columns: 1.02fr 0.98fr;
}

.service-overview {
  padding-top: 72px;
}

.service-overview__grid,
.reformes-types__grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.service-overview__grid h2,
.reformes-types__intro h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.service-overview__text p + p {
  margin-top: 16px;
}

.service-cards-premium,
.reformes-benefits,
.reformes-types,
.reformes-process {
  padding-top: 30px;
}

.service-mini-card,
.reformes-benefit-card {
  padding: 28px 24px;
  border-radius: 26px;
}

.reformes-types__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.reformes-type-card {
  padding: 24px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fcfcff 0%, #f8f8fc 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.reformes-mid-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fcfcff 0%, #f8f8fc 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.service-process-timeline {
  padding-top: 32px;
}

.timeline-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 56px;
}

.timeline-card {
  position: relative;
}

.timeline-card__top {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.timeline-card__number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.timeline-card__line {
  height: 1px;
  flex: 1;
  margin-left: 12px;
  background: linear-gradient(90deg, rgba(72, 0, 253, 0.35), rgba(72, 0, 253, 0.08));
}

.timeline-card__body {
  height: calc(100% - 70px);
  padding: 24px 22px;
  border-radius: 26px;
}

.site-footer {
  padding-top: 72px;
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  padding-bottom: 34px;
}

.footer h4,
.footer__column h4 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}

.footer ul,
.footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-copy,
.footer__brand p {
  max-width: 460px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.brand--footer .brand__title,
.brand--footer .brand__subtitle {
  color: var(--white);
}

.footer__column a,
.footer__column li {
  color: rgba(255, 255, 255, 0.72);
}

.footer__bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.56);
}

.whatsapp-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.34);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(37, 211, 102, 0.38);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

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

/* RESPONSIVE */
@media (max-width: 1180px) {
  .hero__grid,
  .about,
  .cta-box,
  .contact-grid,
  .service-premium-hero__grid,
  .reformes-hero__grid,
  .service-overview__grid,
  .reformes-types__grid {
    grid-template-columns: 1fr;
  }

  .footer,
  .reformes-benefits__grid,
  .timeline-cards,
  .serveis-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__image-wrap {
    min-height: 520px;
  }

  .about__media img {
    min-height: 500px;
  }

  .cta-box {
    align-items: flex-start;
  }

  .timeline-card:nth-child(2) .timeline-card__line,
  .timeline-card:nth-child(4) .timeline-card__line {
    display: none;
  }
}

@media (max-width: 980px) {
  .desktop-nav,
  .header__actions .btn,
  .nav,
  .header .btn,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .trust-strip__grid,
  .services-clean__grid,
  .projects-grid,
  .hero__stats,
  .form-row,
  .footer,
  .service-cards-premium__grid,
  .reformes-types__cards,
  .serveis-extra__box,
  .service-values__box,
  .reformes-mid-cta__box {
    grid-template-columns: 1fr;
  }

  .services-clean__head,
  .reformes-mid-cta__box {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-clean__btn {
    flex-shrink: unset;
  }

  .service-clean-card,
  .servei-lux-card {
    min-height: auto;
  }

  .topbar__inner {
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    min-height: auto;
  }

  .topbar__left,
  .topbar__right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-hero h1,
  .hero__title,
  .service-premium-hero__content h1,
  .reformes-hero__content h1,
  .service-overview__grid h2,
  .reformes-types__intro h2,
  .serveis-cards-hero h1 {
    max-width: 100%;
  }

  .service-premium-hero__image img,
  .reformes-hero__media img {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 82px 0;
  }

  .hero,
  .contact-hero,
  .serveis-cards-hero,
  .service-premium-hero,
  .reformes-hero {
    padding: 82px 0 56px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-box,
  .form-card,
  .info-card,
  .service-mini-card,
  .reformes-benefit-card,
  .reformes-mid-cta__box,
  .timeline-card__body,
  .servei-lux-card,
  .service-clean-card {
    padding: 24px;
  }

  .brand__subtitle {
    display: none;
  }

  .hero__image-wrap {
    min-height: 420px;
  }

  .about__media img {
    min-height: 380px;
  }

  .contact-section {
    padding: 72px 0 90px;
  }

  .timeline-cards,
  .reformes-benefits__grid,
  .serveis-cards-grid {
    grid-template-columns: 1fr;
  }

  .timeline-card__line {
    display: none;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header {
    min-height: 78px;
  }

  .brand__title {
    font-size: 0.92rem;
  }

  .btn {
    min-height: 50px;
    padding: 0 20px;
  }

  .hero-badge--main {
    right: 16px;
    left: 16px;
    bottom: 16px;
    max-width: none;
  }

  .whatsapp-button {
    right: 14px;
    bottom: 14px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ===== MOBILE SERVICES DROPDOWN ===== */

.mobile-dropdown {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-dropdown__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 4px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.mobile-dropdown__arrow {
  font-size: 0.9rem;
  transition: transform var(--transition);
}

.mobile-dropdown.is-open .mobile-dropdown__arrow {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  padding: 4px 0 8px 14px;
}

.mobile-submenu a {
  padding: 10px 4px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.mobile-dropdown.is-open .mobile-submenu {
  display: flex;
}