/* ==========================================================================
   Organización DeFelice — identidad visual
   Se carga después de styles.css para conservar la estructura del template
   y adaptar paleta, tipografía y detalles de marca.
   ========================================================================== */

:root {
  --Primary: #c6a15b;
  --Secondary: #123f35;
  --Secondary-2: #c6a15b;
  --Hover: #b58f49;
  --Text-primary: #12211d;
  --Text-secondary: #5b665f;
  --Text-secondary-2: #a9b1a9;
  --Text-color-1: rgba(255, 255, 255, 0.62);
  --Text-muted: #ece3d1;
  --Text-light: #ffffff;
  --Bg-light: #f7f2e8;
  --Line: #e4ddce;
  --Text-on-suface: #6d7064;
  --Text-on-suface-2: #223a33;
  --DeFelice-green: #0f2e27;
  --DeFelice-green-deep: #0a211c;
  --DeFelice-cream: #faf6ee;
  --DeFelice-gold: #c6a15b;
  --DeFelice-gold-light: #e3c68f;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", Arial, sans-serif;
  background-color: #fffdf9;
  color: var(--Text-primary);
}

::selection {
  background: var(--Primary);
  color: var(--Text-primary);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--Secondary);
  color: var(--DeFelice-cream);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--DeFelice-gold-light);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -0.015em;
}

p {
  color: var(--Text-secondary);
}

a {
  text-decoration: none;
}

section,
div[id] {
  scroll-margin-top: 110px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 253, 249, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--Line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.is-scrolled {
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 10px 40px rgba(18, 33, 29, 0.08);
}

.header .header-inner {
  min-height: 88px;
}

.header .site-logo {
  padding: 0;
}

.site-logo.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  max-width: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: block;
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--Text-primary);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

.brand-sub {
  margin-top: 6px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2.35px;
  text-transform: uppercase;
  color: #8e7442;
}

.footer .brand-name {
  color: var(--DeFelice-cream);
}

.footer .brand-sub {
  color: var(--DeFelice-gold);
}

.main-menu .navigation {
  gap: 28px;
}

.main-menu .submenu {
  min-width: 246px;
  padding: 8px;
  background: #fffdf9;
  border: 1px solid var(--Line);
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(18, 33, 29, 0.14);
  overflow: hidden;
}

.main-menu .submenu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 7px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--Text-primary);
  white-space: nowrap;
}

.main-menu .submenu li a:hover,
.main-menu .submenu li a:focus-visible {
  background: var(--DeFelice-cream);
  color: #8e7442;
  outline: none;
}

.main-menu .navigation > li:focus-within > ul {
  transform: scaleY(1);
  opacity: 1;
  visibility: visible;
}

.main-menu .navigation > li:focus-within > ul li {
  opacity: 1;
  transform: none;
}

.main-menu .navigation > li > a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--Text-primary);
}

.main-menu .navigation > li {
  padding: 33px 0;
}

.header-right {
  gap: 22px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding-right: 22px;
  border-right: 1px solid var(--Line);
}

.header-phone .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #9a8358;
}

.header-phone .number {
  font-size: 15px;
  font-weight: 700;
  color: var(--Text-primary);
}

.header-phone .number:hover {
  color: var(--Hover);
}

.header .tf-btn {
  height: 46px;
  border-radius: 6px;
  padding: 0 22px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.header .tf-btn span {
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.page-title.style-3 {
  background: var(--DeFelice-cream);
}

.page-title.style-3 .thumbs {
  position: relative;
  overflow: hidden;
}

.page-title.style-3 .thumbs img {
  min-height: 700px;
  -o-object-fit: cover;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.page-title.style-3 .thumbs::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 246, 238, 0.97) 0%, rgba(250, 246, 238, 0.84) 25%, rgba(250, 246, 238, 0.38) 54%, rgba(250, 246, 238, 0) 76%),
    linear-gradient(0deg, #fffdf9 0%, rgba(255, 253, 249, 0) 14%),
    linear-gradient(90deg, rgba(250, 246, 238, 0.5) 0%, rgba(250, 246, 238, 0) 45%);
  pointer-events: none;
}

.page-title.style-3 .content {
  z-index: 2;
  margin-top: 128px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: #8e7442;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: rgba(142, 116, 66, 0.55);
}

.page-title .title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(52px, 6.6vw, 98px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--Text-primary);
  margin-bottom: 22px;
}

.page-title .title .accent {
  font-style: italic;
  color: #9a7b44;
}

.page-title .content p {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.65;
  color: #45524b;
}

.hero-subtitle {
  animation: heroFadeUp 0.9s 0.2s both;
}

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

.page-title .content p br {
  display: none;
}

/* ---------- Buscador ---------- */
.flat-tab-form {
  position: relative;
  z-index: 4;
}

.flat-tab-form .nav-tab-form {
  margin-bottom: 0;
}

.flat-tab-form .nav-tab-form .nav-link-item {
  padding: 13px 38px;
  border-radius: 8px 8px 0 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.flat-tab-form .nav-tab-form.style-1 .nav-link-item {
  background: rgba(18, 33, 29, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.flat-tab-form .nav-tab-form.style-1 .nav-link-item.active,
.flat-tab-form .nav-tab-form.style-1 .nav-link-item:hover {
  background: #fffdf9;
  color: var(--Text-primary);
}

.wg-filter {
  border: 1px solid var(--Line);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 28px 70px rgba(18, 33, 29, 0.12);
  background: #fffdf9;
  padding: 30px;
}

.wg-filter.active {
  border-radius: 0 0 14px 14px;
}

.wg-filter .form-title {
  background: transparent;
}

.wg-filter .form-title .tf-btn {
  height: 50px;
  padding: 0 28px;
}

.wg-filter .form-title .btn-filter {
  border: 1px solid var(--Line);
  border-radius: 6px;
  color: var(--Text-primary);
  background: var(--DeFelice-cream);
}

.wg-filter .form-title .btn-filter:hover {
  background: var(--Primary);
  border-color: var(--Primary);
}

.wg-filter .wd-search-form {
  border: 1px solid var(--Line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fffdf9;
}

.text-button.text_primary-color {
  color: var(--Text-primary);
}

fieldset input,
fieldset textarea,
.wg-filter input[type="text"],
.wg-filter input[type="email"] {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--Line);
  border-radius: 6px;
  background: #fffdf9;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  color: var(--Text-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

fieldset textarea {
  height: auto;
  padding: 14px 16px;
}

fieldset input:focus,
fieldset textarea:focus,
.wg-filter input:focus {
  outline: none;
  border-color: var(--Primary);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.16);
}

fieldset input::-webkit-input-placeholder,
fieldset textarea::-webkit-input-placeholder {
  color: #8a938c;
}

.nice-select {
  width: 100%;
  height: 50px;
  line-height: 48px;
  padding-left: 16px;
  padding-right: 38px;
  border: 1px solid var(--Line);
  border-radius: 6px;
  background: #fffdf9;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  color: var(--Text-primary);
}

.nice-select:hover,
.nice-select.open {
  border-color: var(--Primary);
}

.nice-select .current {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nice-select::after {
  content: "";
  width: 7px;
  height: 7px;
  top: 50%;
  right: 18px;
  margin-top: -5px;
  border: 0;
  border-right: 1.6px solid var(--Text-primary);
  border-bottom: 1.6px solid var(--Text-primary);
  font-family: inherit;
  font-size: 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin-top 0.2s ease;
}

.nice-select.open::after {
  margin-top: -1px;
  transform: rotate(-135deg);
}

.nice-select .list {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(18, 33, 29, 0.14);
  border: 1px solid var(--Line);
  overflow: hidden;
  max-height: 260px;
  overflow-y: auto;
}

.nice-select .option {
  line-height: 38px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 13px;
}

.nice-select .option.selected,
.nice-select .option:hover {
  background: var(--DeFelice-cream);
  color: var(--Text-primary);
  font-weight: 600;
}

.form-title .text-button,
.flat-tab-form .text-button {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Textos del buscador centrados */
.wg-filter .form-title label,
.wg-filter .form-title .text-button,
.wg-filter .wd-search-form .text-button {
  display: block;
  text-align: center;
}

.wg-filter input[type="text"],
.wg-filter input[type="email"] {
  text-align: center;
}

.wg-filter .nice-select {
  padding-left: 38px;
  padding-right: 38px;
  line-height: 28px;
}

.wg-filter .nice-select .current,
.wg-filter .nice-select .option {
  text-align: center;
}

/* ---------- Botones ---------- */
.tf-btn {
  border-radius: 6px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  height: 48px;
}

.tf-btn:hover {
  background-color: var(--Text-primary);
}

.tf-btn.btn-bg-white {
  background: #fffdf9;
}

.tf-btn.btn-bg-white:hover {
  background: var(--Primary);
}

/* ---------- Secciones ---------- */
.tf-spacing-1 {
  padding: 108px 0;
}

.tf-spacing-3 {
  padding: 116px 0;
}

.heading-section .sub {
  display: inline-block;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: #8e7442;
  margin-bottom: 14px;
}

.heading-section h3 {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.heading-section h3 + p {
  margin-top: 16px;
}

/* ---------- Cards de propiedades ---------- */
.card-house .img-style img {
  border-radius: 12px;
}

.card-house .wrap-tag .tag {
  border-radius: 4px;
  padding: 6px 10px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.card-house .wrap-tag .tag.rent {
  background: var(--Primary);
  color: var(--Text-primary);
}

.card-house .wrap-tag .tag.sale {
  background: var(--Secondary);
  color: #fffdf9;
}

.card-house .wrap-tag .tag.categoreis {
  background: rgba(255, 253, 249, 0.92);
  color: var(--Text-primary);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.card-house .price {
  font-family: "Fraunces", Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--Text-primary);
}

.card-house .price span {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  margin-left: 5px;
}

.card-house .title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-transform: none;
}

/* En español no usamos mayúsculas en cada palabra */
.text-capitalize,
.recent-post .title,
.blog-article-item .title,
.card-house .title {
  text-transform: none !important;
}

.card-house .content p {
  font-size: 13px;
  line-height: 1.5;
  color: #77817a;
}

.card-house .info {
  border-top-color: var(--Line);
  color: var(--Text-primary);
}

.card-house .info li {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.card-house .info i {
  color: #9a7b44;
}

.wishlist .box-icon {
  color: var(--Text-primary);
}

.wishlist .box-icon.is-saved {
  background: var(--Secondary);
  color: var(--DeFelice-gold-light);
}

/* ---------- Categorías ---------- */
.section-categories {
  background: var(--DeFelice-cream);
}

.category-item {
  border-radius: 14px;
}

.category-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 33, 28, 0.78) 0%, rgba(10, 33, 28, 0.4) 30%, rgba(10, 33, 28, 0) 62%);
}

.category-item .content {
  z-index: 4;
}

.category-item::after {
  background: var(--Primary);
}

.category-item .img-style {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.category-item .img-style img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.category-item:hover .img-style img {
  transform: scale(1.04);
}

.tf-grid-layout.md-col-3 .category-item .img-style {
  aspect-ratio: 1 / 1;
}

.tf-grid-layout.md-col-2 .category-item .img-style {
  aspect-ratio: 630 / 410;
}

.category-item .content a {
  font-family: "Fraunces", Georgia, serif;
  font-size: 27px;
  letter-spacing: -0.02em;
}

.category-item .content p {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 253, 249, 0.78);
}

.category-item .content a {
  color: #fffdf9;
}

/* ---------- Proceso ---------- */
.section-process .process-item .title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 25px;
  letter-spacing: -0.015em;
}

.section-process .process-item .line {
  background: var(--Line);
}

.section-process .process-item.active .line {
  background: var(--Primary);
}

.section-process .process-item p {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.6;
}

.section-process .tab-content-wrap img,
.section-process .img-style img {
  border-radius: 14px;
}

.wrap-counter {
  border-top: 1px solid var(--Line);
  margin-top: 76px;
  padding-top: 46px;
}

.counter-item .counter-number h1,
.counter-item .counter-number .odometer {
  font-family: "Fraunces", Georgia, serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--Text-primary);
}

.counter-item .counter-number h1.odometer,
.counter-item .counter-number .odometer,
.counter-item .odometer-digit,
.counter-item .odometer-digit-spacer,
.counter-item .odometer-digit-inner,
.counter-item .odometer-ribbon,
.counter-item .odometer-ribbon-inner,
.counter-item .odometer-value {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 400 !important;
}

/* El 0 de Fraunces sobresale de su ancho; damos aire para que no se corte. */
.counter-item .odometer-digit {
  padding-right: 0.07em;
}

.counter-item h6 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #77817a;
}

/* ---------- Propiedades destacadas (fondo oscuro) ---------- */
.section-top-properties {
  background-color: var(--DeFelice-green);
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(198, 161, 91, 0.16), transparent 46%),
    radial-gradient(ellipse at 88% 92%, rgba(198, 161, 91, 0.1), transparent 44%);
}

.section-top-properties .heading-section h3 {
  color: var(--DeFelice-cream);
}

.section-top-properties .heading-section .sub {
  color: var(--DeFelice-gold-light);
}

.card-house.dark .price {
  color: var(--DeFelice-gold-light);
}

.card-house.dark .title {
  color: var(--DeFelice-cream);
}

.card-house.dark .content p {
  color: rgba(250, 246, 238, 0.55);
}

.card-house.dark .info {
  border-top-color: rgba(250, 246, 238, 0.14);
  color: rgba(250, 246, 238, 0.9);
}

.card-house.dark .info i {
  color: var(--DeFelice-gold);
}

.section-top-properties .wrap-nav {
  border-top: 1px solid rgba(250, 246, 238, 0.14);
  padding-top: 28px;
}

.section-top-properties .sw-button {
  color: var(--DeFelice-cream);
}

.section-top-properties .sw-progress-layout {
  background: rgba(250, 246, 238, 0.18);
}

.section-top-properties .sw-progress-layout .swiper-pagination-progressbar-fill {
  background: var(--Primary);
}

/* ---------- Equipo ---------- */
.section-agents {
  background: #fffdf9;
}

.section-agents .wrap-box-agents {
  border-bottom: 0;
}

.section-agents .box .content h6 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.section-agents .box .content p {
  font-size: 14px;
  line-height: 1.65;
}

.section-agents .agent-item .img-style img {
  aspect-ratio: 1 / 1.08;
  -o-object-fit: cover;
  object-fit: cover;
  filter: saturate(0.9);
}

.agent-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 46px 18px 16px;
  background: linear-gradient(0deg, rgba(10, 33, 28, 0.78) 0%, rgba(10, 33, 28, 0) 100%);
  pointer-events: none;
}

.agent-caption span {
  display: block;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fffdf9;
}

/* ---------- Blog / guías ---------- */
.section-latest-new {
  background: var(--DeFelice-cream);
}

.section-latest-new .article-thumb img {
  border-radius: 12px;
}

.section-latest-new .article-content .title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section-latest-new .article-content .description {
  font-size: 14px;
  line-height: 1.6;
}

.section-latest-new .recent-post .img-style img {
  border-radius: 8px;
}

.section-latest-new .recent-post .title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-latest-new .tag {
  background: var(--Primary);
  color: var(--Text-primary);
  border-radius: 4px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--DeFelice-green-deep);
  margin-top: 96px;
  padding-top: 32px;
}

.footer .footer-body {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(250, 246, 238, 0.12);
}

.footer .footer-logo {
  margin-bottom: 12px;
}

.footer .footer-about {
  max-width: 500px;
}

.footer .footer-about > .mb_24 {
  margin-bottom: 12px;
}

.footer .footer-about .text_color-1 {
  color: rgba(250, 246, 238, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.footer .footer-about .h5 {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.footer .leave-comment .form-leave-comment input,
.footer .leave-comment .form-leave-comment textarea {
  background: rgba(250, 246, 238, 0.08);
  border: 1px solid rgba(250, 246, 238, 0.28);
  color: var(--DeFelice-cream);
  caret-color: var(--DeFelice-gold-light);
}

.footer .leave-comment .form-leave-comment input::placeholder,
.footer .leave-comment .form-leave-comment textarea::placeholder {
  color: rgba(250, 246, 238, 0.58);
  opacity: 1;
}

.footer .leave-comment .form-leave-comment input::-webkit-input-placeholder,
.footer .leave-comment .form-leave-comment textarea::-webkit-input-placeholder {
  color: rgba(250, 246, 238, 0.58);
}

.footer .leave-comment .form-leave-comment input:focus,
.footer .leave-comment .form-leave-comment textarea:focus {
  border-color: var(--Primary);
  background: rgba(250, 246, 238, 0.1);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.16);
  outline: none;
}

.footer .leave-comment .form-leave-comment .tf-btn {
  background: var(--Primary);
  color: var(--DeFelice-green-deep);
}

.footer .leave-comment .form-leave-comment .tf-btn:hover {
  background: var(--Hover);
  color: var(--DeFelice-green-deep);
}

.footer .footer-bottom {
  padding: 16px 0;
}

.footer .footer-bottom p {
  font-size: 12px;
  color: rgba(250, 246, 238, 0.5);
}

.footer .social a {
  color: rgba(250, 246, 238, 0.82);
  font-size: 18px;
  transition: color 0.25s ease;
}

.footer .social a:hover {
  color: var(--Primary);
}

.footer .footer-contact-block {
  padding-top: 4px;
}

.footer .footer-contact-block .text_color-1 {
  color: rgba(250, 246, 238, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.footer .footer-contact-list {
  display: grid;
  gap: 8px;
}

.footer .footer-contact-list a,
.footer .footer-contact-list span {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(250, 246, 238, 0.82);
}

.footer .footer-contact-list a:hover {
  color: var(--Primary);
}

.footer .footer-note {
  margin-top: 10px;
  max-width: 480px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(250, 246, 238, 0.45);
}

.footer .footer-form-head {
  margin-bottom: 24px;
}

.footer .footer-form-head h4 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--DeFelice-cream);
  margin-bottom: 6px;
}

.footer .footer-form-head p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(250, 246, 238, 0.45);
}

.footer .form-success {
  margin-top: 14px;
  font-size: 13px;
  color: var(--DeFelice-gold-light);
}

.footer .footer-bottom {
  padding: 12px 72px 12px 0;
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(18, 33, 29, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(18, 33, 29, 0.32);
  color: #fff;
}

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

/* ---------- Formulario de búsqueda: panes ---------- */
.flat-tab .tab-content > .tab-pane {
  display: none;
}

.flat-tab .tab-content > .active {
  display: block;
}

.flat-tab .tab-content > .tab-pane .wg-filter {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ---------- Ajustes de animaciones del template ---------- */
.split-text .whitespace {
  width: 0.25em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1439px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1199px) {
  .main-menu .navigation {
    gap: 20px;
  }

  .main-menu .navigation > li > a {
    font-size: 13px;
  }

  .page-title .title {
    font-size: clamp(48px, 7vw, 80px);
  }
}

@media (max-width: 991px) {
  .header .header-inner {
    min-height: 78px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-name {
    font-size: 26px;
  }

  .brand-sub {
    font-size: 7px;
    letter-spacing: 1.9px;
  }

  .page-title.style-3 .content {
    margin-top: 90px;
  }

  .page-title.style-3 .thumbs img {
    min-height: 620px;
  }

  .page-title .title {
    font-size: clamp(44px, 8.4vw, 64px);
  }

  .page-title .content p {
    font-size: 15px;
    max-width: 540px;
  }

  .tf-spacing-1 {
    padding: 78px 0;
  }

  .tf-spacing-3 {
    padding: 84px 0;
  }

  .wg-filter {
    padding: 24px;
  }

  .wg-filter .form-title {
    gap: 14px;
  }

  .wg-filter .form-title .wrap-fill {
    width: 100%;
  }

  .wrap-counter {
    margin-top: 54px;
  }

  .counter-item .counter-number h1,
  .counter-item .counter-number .odometer {
    font-size: 54px;
  }

  .footer .footer-body .row {
    row-gap: 18px;
  }

  .footer .footer-contact-block {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .page-title.style-3 .content {
    margin-top: 62px;
  }

  .page-title.style-3 .thumbs img {
    min-height: 560px;
  }

  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px;
    margin-bottom: 16px;
  }

  .hero-eyebrow::before,
  .hero-eyebrow::after {
    width: 20px;
  }

  .page-title .title {
    font-size: clamp(40px, 10.5vw, 54px);
  }

  .page-title .content p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 10px;
  }

  .flat-tab-form .nav-tab-form .nav-link-item {
    padding: 12px 26px;
    font-size: 11px;
  }

  .wg-filter {
    padding: 20px 16px;
    border-radius: 0 0 12px 12px;
  }

  .tf-spacing-1 {
    padding: 64px 0;
  }

  .tf-spacing-3 {
    padding: 70px 0;
  }

  .heading-section h3 {
    font-size: 34px;
  }

  .counter-item .counter-number h1,
  .counter-item .counter-number .odometer {
    font-size: 46px;
  }

  .footer {
    margin-top: 64px;
    padding-top: 28px;
  }

  .footer .footer-body {
    margin-bottom: 0;
    padding-bottom: 20px;
  }

  .footer .footer-form-head h4 {
    font-size: 26px;
  }

  .footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 76px 20px 0;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
