/* ============================================
   Marielba Meléndez Realtor — style.css
   ============================================ */

:root {
  --black: #0A0A0A;
  --black-deep: #000000;
  --gold: #BA9653;
  --gold-light: #CDAE74;
  --bone: #F5F2EC;
  --white: #FFFFFF;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
}

section {
  position: relative;
}

section[id] {
  scroll-margin-top: 84px;
}

/* ============ Utility ============ */

.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.section-eyebrow--center {
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
  color: var(--black);
}

.section-title--center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn--gold {
  background-color: var(--gold);
  color: var(--black);
}

.btn--gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn--large {
  padding: 1.15rem 2.8rem;
  font-size: 1rem;
}

.btn--outline {
  background-color: transparent;
  color: var(--gold);
}

.btn--outline:hover {
  background-color: rgba(186, 150, 83, 0.12);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Navbar ============ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.4rem 0;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), padding var(--transition);
}

.navbar--scrolled {
  padding: 1rem 0;
  background-color: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid rgba(186, 150, 83, 0.2);
  backdrop-filter: blur(6px);
}

.navbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 44px;
  width: auto;
  max-width: none;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}

.navbar__logo:hover .navbar__logo-img {
  opacity: 0.85;
}

.navbar__links {
  display: flex;
  gap: 1.8rem;
  flex: 1;
  justify-content: center;
}

.navbar__links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(245, 242, 236, 0.85);
  transition: color var(--transition);
}

.navbar__links a:hover {
  color: var(--gold-light);
}

.navbar__cta {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(186, 150, 83, 0.5);
  padding: 0.6rem 1.3rem;
  border-radius: 2px;
  transition: border-color var(--transition), background-color var(--transition);
}

.navbar__cta:hover {
  border-color: var(--gold);
  background-color: rgba(186, 150, 83, 0.15);
}

/* ============ Hero ============ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--black);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__poster-image,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.2s ease;
}

.hero__poster-image {
  opacity: 1;
  object-position: center 30%;
  animation: heroPosterIn 1s ease-out;
}

.hero__video {
  opacity: 0;
  filter: grayscale(45%) contrast(1.05) brightness(0.85);
}

.hero__media.is-playing .hero__poster-image {
  opacity: 0;
}

.hero__media.is-playing .hero__video {
  opacity: 1;
}

@keyframes heroPosterIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(186, 150, 83, 0.1) 0%, rgba(186, 150, 83, 0) 35%),
    radial-gradient(circle at 100% 100%, rgba(186, 150, 83, 0.1) 0%, rgba(186, 150, 83, 0) 35%),
    radial-gradient(ellipse at center, rgba(20, 20, 20, 0) 40%, rgba(20, 20, 20, 0.5) 100%),
    linear-gradient(180deg, rgba(20, 20, 20, 0.5) 0%, rgba(10, 10, 10, 0.35) 45%, rgba(10, 10, 10, 0.8) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 1.5rem;
  text-align: center;
  color: var(--bone);
}

.hero__logo {
  height: clamp(64px, 8vw, 88px);
  width: auto;
  max-width: none;
  margin: 0 auto 1.6rem;
  opacity: 0.92;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  animation: fadeInUp 0.8s ease-out backwards;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero__brand::before,
.hero__brand::after {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--gold);
}

.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--bone);
  line-height: 1.1;
  margin-bottom: 1.3rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero__title-accent {
  color: var(--gold-light);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.04em;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(245, 242, 236, 0.9);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 2.2rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero__content .btn {
  animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(245, 242, 236, 0.5);
  border-radius: 12px;
}

.hero__scroll span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--gold);
  transform: translateX(-50%);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { top: 7px; opacity: 1; }
  70% { top: 20px; opacity: 0; }
  100% { top: 7px; opacity: 0; }
}

/* ============ Trust bar ============ */

.trust-bar {
  background-color: var(--black);
  border-top: 1px solid rgba(186, 150, 83, 0.2);
  border-bottom: 1px solid rgba(186, 150, 83, 0.2);
  padding: 1rem 1.5rem;
}

.trust-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
  text-align: center;
}

.trust-bar__inner span:not(.trust-bar__dot) {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(245, 242, 236, 0.8);
  font-weight: 300;
}

.trust-bar__dot {
  color: var(--gold);
  font-size: 0.7rem;
}

@media (max-width: 700px) {
  .trust-bar__inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .trust-bar__dot {
    display: none;
  }
}

/* ============ About ============ */

.about {
  padding: 7rem 1.5rem;
  background-color: var(--white);
}

.about__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
}

.about__media {
  overflow: hidden;
  border-radius: 2px;
}

.about__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1105 / 1642;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  border: 1px solid rgba(186, 150, 83, 0.35);
}

.about__content p {
  margin-bottom: 1.1rem;
  color: #2a2a27;
  font-weight: 300;
  font-size: 1.02rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.pill {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--black);
  padding: 0.55rem 1.1rem;
  border-bottom: 2px solid var(--gold);
  background-color: var(--bone);
}

/* ============ Who / cards ============ */

.who {
  padding: 7rem 1.5rem;
  background-color: var(--bone);
}

.who__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background-color: var(--white);
  border: 1px solid rgba(186, 150, 83, 0.4);
  border-radius: 3px;
  padding: 2.4rem 2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.1);
}

.card__icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--black);
}

.card p {
  font-size: 0.95rem;
  font-weight: 300;
  color: #464642;
}

/* ============ Áreas de cobertura ============ */

.areas {
  background-color: var(--black);
  padding: 5rem 1.5rem;
  text-align: center;
}

.areas__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.areas__title {
  color: var(--bone);
}

.areas__subtitle {
  color: rgba(245, 242, 236, 0.65);
  font-weight: 300;
  margin-top: -0.5rem;
}

.areas__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

/* ============ Process ============ */

.process {
  padding: 7rem 1.5rem;
  background-color: var(--white);
}

.process__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.steps {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.step {
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
}

.step__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.step p {
  font-size: 0.95rem;
  font-weight: 300;
  color: #2a2a27;
}

/* ============ Testimonios ============ */

.testimonials {
  background-color: var(--black);
  padding: 7rem 1.5rem;
  text-align: center;
}

.testimonials__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonials__title {
  color: var(--bone);
}

.testimonials__subtitle {
  color: rgba(245, 242, 236, 0.65);
  font-weight: 300;
  margin-bottom: 3.5rem;
  margin-top: -0.5rem;
}

.testimonial-cards {
  text-align: left;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 380px;
  scroll-snap-align: center;
  background-color: rgba(245, 242, 236, 0.03);
  border: 1px solid rgba(186, 150, 83, 0.3);
  border-radius: 3px;
  padding: 2.6rem 2rem 2.2rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.testimonial-card__quote {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.testimonial-card__text {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(245, 242, 236, 0.85);
  margin-bottom: 1.6rem;
}

.testimonial-card__name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bone);
}

.testimonial-card__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  margin-top: 0.3rem;
}

/* ============ Nuestros Clientes ============ */

.clients-gallery {
  background-color: var(--black);
  padding: 7rem 0;
  text-align: center;
  overflow: hidden;
}

.clients-gallery__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.clients-gallery__title {
  color: var(--bone);
}

.clients-gallery__subtitle {
  color: rgba(245, 242, 236, 0.65);
  font-weight: 300;
  max-width: 560px;
  margin: -0.5rem auto 3.5rem;
}

.carousel__wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel__track {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.clients-gallery__card {
  flex: 0 0 auto;
  width: 320px;
  height: 400px;
  scroll-snap-align: center;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(186, 150, 83, 0.4);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.clients-gallery__card:hover,
.clients-gallery__card.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(186, 150, 83, 0.3), 0 18px 40px rgba(186, 150, 83, 0.18);
}

.clients-gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.clients-gallery__card:hover img,
.clients-gallery__card.is-active img {
  transform: scale(1.05);
}

.carousel__arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(186, 150, 83, 0.5);
  background-color: transparent;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition), color var(--transition);
}

.carousel__arrow svg {
  width: 20px;
  height: 20px;
}

.carousel__arrow:hover {
  border-color: var(--gold);
  background-color: rgba(186, 150, 83, 0.12);
  color: var(--gold-light);
}

.carousel__progress {
  max-width: 320px;
  height: 2px;
  margin: 0.5rem auto 0;
  background-color: rgba(186, 150, 83, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.carousel__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--gold);
  transition: width 0.15s ease-out;
}

/* ============ Calculadora ============ */

.calculator {
  background-color: var(--white);
  padding: 7rem 1.5rem;
  text-align: center;
}

.calculator__inner {
  max-width: 980px;
  margin: 0 auto;
}

.calculator__subtitle {
  color: #464642;
  font-weight: 300;
  margin-bottom: 3.5rem;
  margin-top: -0.5rem;
}

.calculator__card {
  background-color: var(--bone);
  border: 1px solid rgba(186, 150, 83, 0.4);
  border-radius: 4px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  text-align: left;
}

.calculator__form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.calculator__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.calculator__field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--black);
}

.calculator__field input[type="number"],
.calculator__field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(186, 150, 83, 0.5);
  border-radius: 2px;
  background-color: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.calculator__field input[type="number"]:focus,
.calculator__field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(186, 150, 83, 0.18);
}

.calculator__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.calculator__prefix {
  position: absolute;
  left: 0.9rem;
  color: #7a7a72;
  font-size: 0.9rem;
  pointer-events: none;
}

.calculator__input-wrap input {
  padding-left: 1.7rem !important;
}

.calculator__slider-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calculator__slider-row input[type="range"] {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 3px;
  background: rgba(186, 150, 83, 0.35);
  border-radius: 2px;
  outline: none;
}

.calculator__slider-row input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--gold);
  cursor: pointer;
  transition: background-color var(--transition);
}

.calculator__slider-row input[type="range"]::-webkit-slider-thumb:hover {
  background-color: var(--gold-light);
}

.calculator__slider-row input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background-color: var(--gold);
  cursor: pointer;
}

.calculator__slider-value {
  font-weight: 600;
  color: var(--black);
  min-width: 3ch;
}

.calculator__hint {
  font-size: 0.75rem;
  color: #7a7a72;
  font-weight: 300;
}

.calculator__result {
  background-color: var(--black);
  border-radius: 3px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.calculator__result-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.6);
  margin-bottom: 0.6rem;
}

.calculator__result-total {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--gold);
  margin-bottom: 1.6rem;
}

.calculator__breakdown {
  width: 100%;
  border-top: 1px solid rgba(186, 150, 83, 0.25);
  padding-top: 1.2rem;
  margin-bottom: 1.6rem;
}

.calculator__breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(245, 242, 236, 0.85);
  padding: 0.4rem 0;
}

.calculator__disclaimer {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(245, 242, 236, 0.55);
  margin-bottom: 1.4rem;
  line-height: 1.5;
}

.calculator__actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
}

.calculator__actions .btn {
  text-align: center;
}

/* ============ CTA final ============ */

.cta-final {
  background-color: var(--black);
  padding: 7rem 1.5rem;
  text-align: center;
}

.cta-final__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
}

.cta-final__media {
  padding: 10px;
  border: 1px solid rgba(186, 150, 83, 0.35);
  border-radius: 12px;
  background-color: rgba(186, 150, 83, 0.03);
}

.cta-final__photo {
  width: 100%;
  aspect-ratio: 1134 / 1569;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.cta-final__title {
  color: var(--bone);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 1.2rem;
}

.cta-final__subtitle {
  color: rgba(245, 242, 236, 0.75);
  font-weight: 300;
  margin-bottom: 2.4rem;
  font-size: 1.05rem;
}

.contact-card {
  max-width: 440px;
  margin: 0;
  text-align: left;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.social-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  border: 1px solid rgba(186, 150, 83, 0.35);
  border-radius: 999px;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.social-chip:hover {
  background-color: rgba(186, 150, 83, 0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.social-chip__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  transition: background-color var(--transition), color var(--transition);
}

.social-chip__icon svg {
  width: 17px;
  height: 17px;
}

.social-chip:hover .social-chip__icon {
  background-color: var(--gold);
  color: var(--black);
}

.social-chip__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.social-chip__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bone);
}

.social-chip__handle {
  font-size: 0.7rem;
  color: rgba(245, 242, 236, 0.55);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form__field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bone);
}

.contact-form__field input,
.contact-form__field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0.75rem 0.9rem;
  background-color: rgba(245, 242, 236, 0.04);
  border: 1px solid rgba(186, 150, 83, 0.45);
  border-radius: 2px;
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form__field select option {
  background-color: var(--black);
  color: var(--bone);
}

.contact-form__field input:focus,
.contact-form__field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(186, 150, 83, 0.18);
}

.contact-form button[type="submit"] {
  width: 100%;
  margin-top: 0.3rem;
  text-align: center;
}

.contact-card__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.8rem 0 1.5rem;
  color: rgba(245, 242, 236, 0.5);
  font-size: 0.8rem;
  font-weight: 300;
  text-align: center;
}

.contact-card__divider::before,
.contact-card__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(186, 150, 83, 0.25);
}

.contact-card > .btn {
  display: block;
  width: 100%;
  text-align: center;
}

/* ============ Footer ============ */

.footer {
  background-color: var(--black-deep);
  border-top: 1px solid rgba(186, 150, 83, 0.25);
  padding: 3.5rem 1.5rem 2.5rem;
  color: rgba(245, 242, 236, 0.7);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer__name {
  font-family: var(--font-serif);
  color: var(--bone);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 1.4rem;
}

.footer__contact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
  font-size: 0.92rem;
}

.footer__contact a {
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: var(--gold-light);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(186, 150, 83, 0.35);
  border-radius: 50%;
  color: rgba(245, 242, 236, 0.75);
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__social a:hover {
  border-color: var(--gold);
  background-color: rgba(186, 150, 83, 0.12);
  color: var(--gold-light);
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(245, 242, 236, 0.4);
}

/* ============ Página de gracias ============ */

.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  padding: 3rem 1.5rem;
  text-align: center;
}

.thanks-page__inner {
  max-width: 480px;
}

.thanks-page__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.thanks-page__brand::before,
.thanks-page__brand::after {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--gold);
}

.thanks-page__title {
  color: var(--bone);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.thanks-page__text {
  color: rgba(245, 242, 236, 0.75);
  font-weight: 300;
  margin-bottom: 2.4rem;
  font-size: 1.05rem;
}

/* ============ WhatsApp flotante ============ */

.whatsapp-float {
  position: fixed;
  right: 1.8rem;
  bottom: 1.8rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--black);
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.28);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(10, 10, 10, 0.34);
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 1.2rem;
    bottom: 1.2rem;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
}

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .navbar__links {
    display: none;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }

  .carousel__arrow {
    display: none;
  }

  .testimonial-card {
    width: 300px;
  }

  .clients-gallery__card {
    width: 260px;
    height: 340px;
  }

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

  .cta-final__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .cta-final__content {
    text-align: center;
  }

  .cta-final__media {
    max-width: 260px;
    margin: 0 auto;
  }

  .contact-card {
    max-width: 440px;
    margin: 0 auto;
  }

  .social-row {
    justify-content: center;
  }

  .social-chip__text {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .navbar__cta {
    display: none;
  }

  .about,
  .who,
  .areas,
  .process,
  .testimonials,
  .calculator,
  .cta-final {
    padding: 4.5rem 1.25rem;
  }

  .clients-gallery {
    padding: 4.5rem 0;
  }

  .clients-gallery__inner {
    padding: 0 1.25rem;
  }

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

  .footer__contact {
    flex-direction: column;
    gap: 0.8rem;
  }

  .calculator__card {
    padding: 2rem 1.5rem;
  }

  .calculator__result-total {
    font-size: 2.1rem;
  }
}
