:root {
  --primary: #94151f;
  --primary-dark: #711018;
  --primary-light: #b72b35;
  --background: #f7efe6;
  --background-soft: #fcf8f2;
  --surface: #ffffff;
  --surface-warm: #fff8e8;
  --text: #3f2c22;
  --text-soft: #755f52;
  --border: rgba(85, 54, 39, 0.12);
  --green: #20c96b;
  --green-dark: #11994d;
  --shadow-sm: 0 10px 30px rgba(67, 39, 28, 0.07);
  --shadow-md: 0 20px 55px rgba(67, 39, 28, 0.12);
  --shadow-primary: 0 18px 38px rgba(148, 21, 31, 0.24);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(148, 21, 31, 0.28);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

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

.section--primary {
  background: var(--primary);
  color: #ffffff;
}

.section--cta {
  padding-top: 75px;
  padding-bottom: 75px;
}

.section-header {
  max-width: 790px;
  margin: 0 auto 54px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #ffd6d9;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  color: var(--primary);
  font-size: clamp(2.65rem, 5vw, 5rem);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 20px;
  color: var(--primary);
  font-size: clamp(2.05rem, 4vw, 3.5rem);
  letter-spacing: -0.03em;
}

.section--primary h2 {
  color: #ffffff;
}

h3 {
  line-height: 1.25;
}

.section-description {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.section--primary .section-description {
  color: rgba(255, 255, 255, 0.78);
}

.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  stroke-width: 2;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

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

.button--primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.button--primary:hover {
  background: var(--primary-dark);
}

.button--outline {
  border-color: rgba(148, 21, 31, 0.25);
  background: transparent;
  color: var(--primary);
}

.button--outline:hover {
  border-color: var(--primary);
  background: rgba(148, 21, 31, 0.05);
}

.button--light {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.button--light:hover {
  background: var(--surface-warm);
}

/* Barra superior */

.topbar {
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 0.86rem;
}

.topbar__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.topbar__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f0bfc2;
}

/* Navegación */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 239, 230, 0.94);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;

  object-fit: contain;
  object-position: center;

  border-radius: 18px;
  background: transparent;

  transform: none;
  box-shadow: 0 9px 22px rgba(148, 21, 31, 0.16);
}

.brand__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 15px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 9px 20px rgba(148, 21, 31, 0.2);
}

.brand__icon svg {
  width: 25px;
  height: 25px;
}

.brand__text {
  line-height: 1.1;
}

.brand__name {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.brand__subtitle {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.73rem;
  font-weight: 700;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navigation a:not(.button) {
  position: relative;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.navigation a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  margin: auto;
  background: var(--primary);
  content: "";
  transition: width var(--transition);
}

.navigation a:not(.button):hover::after {
  width: 100%;
}

.navigation__button {
  min-height: 43px;
  padding: 10px 19px;
}

.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 82px;
}

.hero::before {
  position: absolute;
  top: -180px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(148, 21, 31, 0.05);
  content: "";
}

.hero::after {
  position: absolute;
  right: -190px;
  bottom: -270px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(148, 21, 31, 0.06);
  content: "";
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
}

.hero__copy h1 {
  max-width: 760px;
  margin-bottom: 25px;
}

.hero__lead {
  max-width: 690px;
  color: var(--text-soft);
  font-size: 1.17rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__note svg {
  width: 18px;
  color: var(--primary);
}

.hero__visual {
  position: relative;
  min-height: 560px;
}

.hero__image {
  position: absolute;
  inset: 0 0 0 35px;
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, 0.8);
  border-radius: 46% 46% 31% 31% / 34% 34% 28% 28%;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(52, 25, 20, 0.18) 100%);
  content: "";
}

.hero__floating-card {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 0;
  display: flex;
  width: min(310px, 88%);
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(148, 21, 31, 0.08);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.hero__floating-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 15px;
  background: rgba(148, 21, 31, 0.09);
  color: var(--primary);
}

.hero__floating-card strong {
  display: block;
  color: var(--primary);
  font-size: 0.98rem;
}

.hero__floating-card span {
  display: block;
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero__years {
  position: absolute;
  z-index: 2;
  top: 38px;
  right: -12px;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 7px solid var(--background);
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-primary);
}

.hero__years strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1;
}

.hero__years span {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Tira de confianza */

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -22px;
}

.trust-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  min-height: 118px;
  align-items: center;
  gap: 14px;
  padding: 24px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--border);
}

.trust-item__icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 13px;
  background: rgba(148, 21, 31, 0.08);
  color: var(--primary);
}

.trust-item strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

/* Tarjetas generales */

.feature-grid {
  display: grid;
  gap: 22px;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-card::after {
  position: absolute;
  top: -45px;
  right: -45px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(148, 21, 31, 0.045);
  content: "";
}

.feature-card__icon {
  display: grid;
  width: 55px;
  height: 55px;
  margin-bottom: 23px;
  place-items: center;
  border-radius: 17px;
  background: rgba(148, 21, 31, 0.09);
  color: var(--primary);
}

.feature-card__icon svg {
  width: 27px;
  height: 27px;
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.22rem;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 0.96rem;
}

/* Peluquería especializada */

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

.specialized__media {
  position: relative;
}

.specialized__media img {
  width: 100%;
  min-height: 570px;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.specialized__label {
  position: absolute;
  right: -22px;
  bottom: 34px;
  max-width: 280px;
  border-radius: 20px;
  padding: 18px 20px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.specialized__label strong {
  display: block;
  margin-bottom: 4px;
}

.specialized__label span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.45;
}

.specialized__copy h2 {
  margin-bottom: 25px;
}

.specialized__copy > p {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 27px 0 32px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
}

.check-list__icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: rgba(148, 21, 31, 0.1);
  color: var(--primary);
}

.check-list__icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}

/* Ficha e historial */

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

.followup-card {
  display: grid;
  min-height: 440px;
  align-content: space-between;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 38px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.followup-card--highlight {
  border-color: transparent;
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.followup-card .feature-card__icon {
  margin-bottom: 28px;
}

.followup-card--highlight .feature-card__icon {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.followup-card h3 {
  max-width: 490px;
  margin-bottom: 17px;
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.followup-card--highlight h3 {
  color: #ffffff;
}

.followup-card p {
  color: var(--text-soft);
}

.followup-card--highlight p {
  color: rgba(255, 255, 255, 0.8);
}

.followup-details {
  display: grid;
  gap: 11px;
  margin-top: 27px;
}

.followup-details span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.followup-details svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.followup-card--highlight .followup-details svg {
  color: #ffd4d7;
}

.free-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 27px;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Equipo */

.team-grid {
  display: grid;
  align-items: stretch;
  gap: 23px;
  grid-template-columns: repeat(3, 1fr);
}

.team-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.team-card__top {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.team-card__top--light {
  background:
    radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.65), transparent 28%),
    linear-gradient(135deg, #f5d9c6, #d9b49f);
}

.team-card__avatar {
  display: grid;
  width: 124px;
  height: 124px;
  place-items: center;
  border: 6px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-size: 3.25rem;
  box-shadow: 0 18px 40px rgba(39, 16, 14, 0.18);
}

.team-card__badge {
  position: absolute;
  right: 17px;
  bottom: 17px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-card__content {
  flex: 1;
  padding: 30px;
}

.team-card__content h3 {
  margin-bottom: 5px;
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
}

.team-card__role {
  display: block;
  margin-bottom: 17px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.team-card__content p {
  color: var(--text-soft);
  font-size: 0.93rem;
}

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

.team-note {
  max-width: 850px;
  margin: 40px auto 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 21px 25px;
  background: var(--surface-warm);
  color: var(--text-soft);
  text-align: center;
}

/* Servicios */

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

.service-card {
  min-height: 275px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.07);
  transition: transform var(--transition), background-color var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.service-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.service-card h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.16rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.91rem;
}

/* Proceso */

.process-grid {
  display: grid;
  gap: 18px;
  counter-reset: process;
  grid-template-columns: repeat(4, 1fr);
}

.process-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 23px;
  padding: 31px 25px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  counter-increment: process;
}

.process-card::before {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 21px;
  place-items: center;
  border-radius: 13px;
  background: var(--primary);
  color: #ffffff;
  content: counter(process, decimal-leading-zero);
  font-size: 0.83rem;
  font-weight: 900;
}

.process-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.08rem;
}

.process-card p {
  color: var(--text-soft);
  font-size: 0.89rem;
}

/* Reseñas */

.reviews-summary {
  display: flex;
  max-width: 710px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: -26px auto 45px;
  color: var(--text-soft);
  text-align: center;
}

.stars {
  color: #eba928;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

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

.review-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.review-card blockquote {
  margin: 15px 0 25px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.7;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-person__avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: rgba(148, 21, 31, 0.09);
  color: var(--primary);
  font-weight: 900;
}

.review-person strong {
  display: block;
  font-size: 0.9rem;
}

.review-person span {
  display: block;
  margin-top: 1px;
  color: var(--text-soft);
  font-size: 0.76rem;
}

.reviews-action {
  margin-top: 35px;
  text-align: center;
}

/* Productos */

.products-grid {
  display: grid;
  gap: 17px;
  grid-template-columns: repeat(5, 1fr);
}

.product-card {
  display: grid;
  min-height: 210px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 23px;
  padding: 24px 17px;
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-card__icon {
  display: grid;
  width: 65px;
  height: 65px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 20px;
  background: var(--surface-warm);
  color: var(--primary);
}

.product-card__icon svg {
  width: 30px;
  height: 30px;
}

.product-card h3 {
  color: var(--text);
  font-size: 1rem;
}

.products-description {
  max-width: 760px;
  margin: 36px auto 0;
  color: var(--text-soft);
  text-align: center;
}

.products-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* Preguntas frecuentes */

.faq {
  display: grid;
  align-items: start;
  gap: 60px;
  grid-template-columns: 0.75fr 1.25fr;
}

.faq__intro {
  position: sticky;
  top: 125px;
}

.faq__intro p {
  margin-bottom: 26px;
  color: var(--text-soft);
}

.faq__list {
  display: grid;
  gap: 13px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__plus {
  display: grid;
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: rgba(148, 21, 31, 0.08);
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item[open] .faq-item__plus {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 24px 23px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

/* CTA */

.cta-box {
  position: relative;
  display: grid;
  overflow: hidden;
  align-items: center;
  gap: 40px;
  border-radius: 34px;
  padding: 56px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  grid-template-columns: 1fr auto;
}

.cta-box::after {
  position: absolute;
  top: -140px;
  right: -100px;
  width: 330px;
  height: 330px;
  border: 55px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.cta-box__content {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.cta-box h2 {
  margin-bottom: 13px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.cta-box .button {
  position: relative;
  z-index: 1;
}

/* Contacto */

.contact {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  grid-template-columns: 0.85fr 1.15fr;
}

.contact__content {
  padding: 50px;
}

.contact__content h2 {
  margin-bottom: 15px;
}

.contact__content > p {
  margin-bottom: 31px;
  color: var(--text-soft);
}

.contact-list {
  display: grid;
  gap: 19px;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-list__icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 13px;
  background: rgba(148, 21, 31, 0.08);
  color: var(--primary);
}

.contact-list strong {
  display: block;
  color: var(--text);
}

.contact-list span,
.contact-list a {
  display: block;
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.91rem;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact__map {
  min-height: 540px;
  background: #e9dfd4;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 540px;
  border: 0;
}

/* Footer */

.footer {
  margin-top: 100px;
  background: #3e1e1e;
  color: #ffffff;
}

.footer__main {
  display: grid;
  gap: 42px;
  padding: 62px 0 44px;
  grid-template-columns: 1.45fr repeat(3, 1fr);
}

.footer__brand {
  max-width: 350px;
}

.footer .brand__name {
  color: #ffffff;
}

.footer .brand__subtitle {
  color: rgba(255, 255, 255, 0.62);
}

.footer__brand > p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer__column h3 {
  margin-bottom: 15px;
  font-size: 0.94rem;
}

.footer__column ul {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer__column a,
.footer__column span,
.footer__link-button {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.87rem;
  text-decoration: none;
}

.footer__column a:hover,
.footer__link-button:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer__link-button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.8rem;
}

.footer .brand__logo {
  width: 68px;
  height: 68px;
  flex-basis: 68px;
}


/* WhatsApp flotante */

.whatsapp-floating {
  position: fixed;
  z-index: 1200;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  background: var(--green);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(18, 145, 73, 0.31);
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition);
}

.whatsapp-floating:hover {
  transform: translateY(-3px);
  background: var(--green-dark);
}

.whatsapp-floating svg {
  width: 24px;
  height: 24px;
}

/* Responsive */

@media (max-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1050px) {
  .navigation {
    position: fixed;
    z-index: 999;
    top: 117px;
    right: 20px;
    left: 20px;
    display: none;
    max-height: calc(100vh - 140px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 23px;
    padding: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
  }

  .navigation.open {
    display: flex;
  }

  .navigation a:not(.button) {
    padding: 14px;
  }

  .navigation a:not(.button)::after {
    display: none;
  }

  .navigation__button {
    margin-top: 10px;
  }

  .menu-toggle {
    display: grid;
  }

  .hero__grid {
    gap: 45px;
    grid-template-columns: 1fr 0.82fr;
  }

  .hero__visual {
    min-height: 500px;
  }

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

  .trust-item:nth-child(3) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

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

  .team-card:first-child {
    grid-column: 1 / 3;
    width: min(100%, 560px);
    justify-self: center;
  }

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

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

  .footer__main {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__column:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 75px 0;
  }

  .topbar__inner {
    gap: 6px;
    font-size: 0.73rem;
  }

  .topbar__dot {
    display: none;
  }

  .brand__subtitle {
    display: none;
  }

  .navbar {
    min-height: 70px;
  }

  .navigation {
    top: 108px;
  }

  .hero {
    padding: 50px 0 64px;
  }

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

  .hero__copy {
    text-align: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__notes {
    justify-content: center;
  }

  .hero__visual {
    min-height: 520px;
  }

  .hero__image {
    inset: 0 20px;
  }

  .hero__years {
    right: 3px;
  }

  .hero__floating-card {
    left: 4px;
  }

  .feature-grid--three,
  .followup-grid,
  .specialized,
  .contact,
  .faq {
    grid-template-columns: 1fr;
  }

  .specialized__copy {
    order: -1;
  }

  .specialized__media img {
    min-height: 470px;
  }

  .specialized__label {
    right: 15px;
    bottom: 20px;
    left: 15px;
    max-width: none;
  }

  .followup-card {
    min-height: auto;
  }

  .faq__intro {
    position: static;
  }

  .cta-box {
    justify-items: start;
    padding: 42px 30px;
    grid-template-columns: 1fr;
  }

  .contact__content {
    padding: 36px 28px;
  }

  .contact__map,
  .contact__map iframe {
    min-height: 410px;
  }

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

  .footer__brand {
    grid-column: 1 / 3;
  }

  .footer__column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 580px) {
  h1 {
    font-size: clamp(2.55rem, 13vw, 3.65rem);
  }

  h2 {
    font-size: 2.2rem;
  }

  .button {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__notes {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  .hero__visual {
    min-height: 430px;
  }

  .hero__image {
    inset: 0 5px;
  }

  .hero__years {
    top: 18px;
    right: -3px;
    width: 98px;
    height: 98px;
  }

  .hero__years strong {
    font-size: 1.65rem;
  }

  .hero__floating-card {
    right: 5px;
    bottom: 15px;
    left: 5px;
    width: auto;
  }

  .trust-grid,
  .team-grid,
  .services-grid,
  .process-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .team-card:first-child {
    grid-column: auto;
    width: 100%;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .trust-item {
    min-height: 95px;
  }

  .section-header {
    margin-bottom: 38px;
  }

  .feature-card,
  .followup-card {
    padding: 28px 24px;
  }

  .specialized__media img {
    min-height: 390px;
  }

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

  .product-card {
    min-height: 185px;
    padding: 20px 12px;
  }

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

  .footer__brand,
  .footer__column:last-child {
    grid-column: auto;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-floating {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    padding: 0;
  }

  .whatsapp-floating span {
    display: none;
  }
  
  .brand__logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   REFINAMIENTO FINAL DE MARCA, HEADER Y FOOTER
   ========================================================= */

/* Header más equilibrado */
.navbar {
  min-height: 88px;
}

.brand {
  gap: 14px;
}

.brand__logo {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 19px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transform: none;
  box-shadow: 0 7px 20px rgba(148, 21, 31, 0.14);
}

.brand__name {
  font-size: 1.2rem;
  letter-spacing: 0.055em;
  line-height: 1.05;
}

.brand__subtitle {
  margin-top: 5px;
  color: #6f594d;
  font-size: 0.78rem;
  line-height: 1.2;
}

/* Footer más compacto y con mejor proporción */
.footer {
  margin-top: 84px;
}

.footer__main {
  align-items: start;
  gap: 54px;
  padding: 56px 0 38px;
}

.footer__brand {
  max-width: 390px;
}

.footer__brand .brand {
  align-items: center;
}

.footer .brand__logo {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  border-radius: 20px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.16);
}

.footer .brand__name {
  color: #ffffff;
  font-size: 1.22rem;
}

.footer .brand__subtitle {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.79rem;
}

.footer__brand > p {
  max-width: 360px;
  margin-top: 24px;
  line-height: 1.7;
}

.footer__column h3 {
  margin-bottom: 17px;
}

.footer__column ul {
  gap: 11px;
}

.footer__bottom {
  min-height: 72px;
  padding: 20px 220px 20px 0;
}

/* WhatsApp flotante menos invasivo */
.whatsapp-floating {
  right: 20px;
  bottom: 18px;
  min-height: 52px;
  padding: 12px 18px;
  font-size: 0.95rem;
  box-shadow: 0 13px 30px rgba(18, 145, 73, 0.28);
}

/* Tablet */
@media (max-width: 1050px) {
  .navbar {
    min-height: 82px;
  }

  .brand__logo {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  .footer__bottom {
    padding-right: 190px;
  }
}

/* Celular y tablet angosta */
@media (max-width: 780px) {
  .navbar {
    min-height: 74px;
  }

  .brand {
    gap: 10px;
  }

  .brand__logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 15px;
  }

  .brand__name {
    font-size: 1.03rem;
  }

  .brand__subtitle {
    display: none;
  }

  .footer {
    margin-top: 70px;
  }

  .footer__main {
    gap: 34px;
    padding: 46px 0 32px;
  }

  .footer .brand__logo {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
    border-radius: 18px;
  }

  .footer .brand__subtitle {
    display: block;
  }

  .footer__bottom {
    padding-right: 0;
  }
}

/* Celular */
@media (max-width: 580px) {
  .brand__logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 14px;
  }

  .footer .brand__logo {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .whatsapp-floating {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
  }
}

