/*
Theme Name: Reyes Living
Theme URI: https://reyesliving.com
Author: Mireia C'Direct
Description: Tema a medida para Reyes Living, inmobiliaria boutique en el Garraf. Incluye plantillas propias para Propiedades y Traspasos (requiere el plugin "JR Living Propiedades y Traspasos"). Diseñado para editarse con Elementor (versión gratuita) en las páginas de contenido libre.
Version: 3.2.10
Requires PHP: 7.4
Text Domain: reyes-living
*/

:root {
  --ink: #15212a;
  --navy: #153c64;
  --navy-soft: #1a4a7b;
  --paper: #f8f5ef;
  --white: #fff;
  --sand: #c48d46;
  --sand-light: #e9d6c2;
  --line: #e5ddd2;
  --muted: #687178;
  --shadow: 0 16px 40px rgba(16, 31, 40, .1);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", Arial, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -60px; z-index: 1000; padding: 10px 14px; background: var(--white); color: var(--navy); }
.skip-link:focus { top: 20px; }

h1, h2 { font-weight: 500; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(3rem, 6vw, 5.7rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); letter-spacing: -.035em; }
h3, p { margin-top: 0; }
.eyebrow { margin-bottom: 12px; color: var(--sand); font-size: .72rem; font-weight: 600; letter-spacing: .21em; text-transform: uppercase; }
.eyebrow.light { color: #d5a573; }

.site-header { position: fixed; top: 0; left: 0; z-index: 200; width: 100%; border-bottom: 1px solid rgba(255,255,255,.17); color: var(--white); transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site-header.is-solid,
.site-header.is-scrolled { background: var(--navy); border-bottom-color: transparent; box-shadow: 0 6px 20px rgba(8,30,43,.18); }
/* Compensa la altura del header fijo en páginas sin hero a pantalla completa (ej. Contacto) */
.page-shell-offset { padding-top: 84px; }
.nav-wrap { min-height: 84px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: "Playfair Display", serif; font-size: 1rem; line-height: 1; }
.brand-text { font-size: .8rem; font-weight: 600; letter-spacing: .24em; list-style-type: none; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: .82rem; }
.main-nav a { position: relative; padding: 31px 0 26px; opacity: .85; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 21px; width: 0; height: 1px; background: var(--sand); transition: width .25s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }
.main-nav a:hover, .main-nav a.is-active { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { font-size: .72rem; opacity: .75; }
.nav-cta { padding: 10px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .72rem; transition: background .2s ease, color .2s ease; }
.nav-cta:hover { background: var(--white); color: var(--navy); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 730px; padding: 110px; display: flex; align-items: center; color: var(--white); background-image: url("https://reyesliving.com/wp-content/uploads/2026/07/WhatsApp-Image-2026-07-31-at-17.01.46.jpeg"); background-position: center; background-size: cover; }
.hero-shade {     position: absolute;
    inset: 0;
    background-color: #1f1f1f6e;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) 410px; align-items: end; gap: 70px; }
.hero-copy { max-width: 720px; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-intro { max-width: 620px; font-size: 1.05rem; color: rgba(255,255,255,.82); }
.hero-links { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 0; border-radius: 2px; font-size: .77rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.button-primary { background: var(--sand); color: #171b1e; }
.button-dark { background: var(--navy); color: var(--white); }
.button-gold { background: var(--sand); }
.button-full { width: 100%; }
.text-link { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .82rem; }
.light-link { color: rgba(255,255,255,.92); }

.callback-card { padding: 15px 28px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: var(--shadow); }
.form-kicker { margin-bottom: 2px; color: var(--sand); font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.callback-card h2 { margin-bottom: 7px; font-family: "DM Sans", sans-serif; font-size: 1.45rem; font-weight: 600; letter-spacing: -.03em; }
.callback-card > p:not(.form-kicker):not(.form-status) { margin-bottom: 20px; color: var(--muted); font-size: .8rem; }
.callback-card label:not(.check-row), .contact-form label:not(.check-row) { display: block; margin-bottom: 12px; }
.callback-card label span, .contact-form label span { display: block; margin-bottom: 5px; font-size: .72rem; font-weight: 500; }
input, select, textarea { width: 100%; border: 1px solid #d9d9d9; border-radius: 0; background: var(--white); color: var(--ink); outline: none; }
input, select { height: 43px; padding: 0 12px; }
textarea { padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--sand); box-shadow: 0 0 0 2px rgba(201,148,93,.14); }
.check-row { display: flex !important; align-items: flex-start; gap: 8px; margin: 15px 0; }
.check-row input { width: 15px; height: 15px; margin-top: 3px; flex: 0 0 auto; }
.check-row span { color: var(--muted); font-size: .68rem !important; line-height: 1.4; }
.form-status { min-height: 18px; margin: 8px 0 0; color: #416b4a; font-size: .74rem; text-align: center; }

.property-search { position: relative; z-index: 4; margin-top: -34px; }
.search-panel { 
    display: grid;
    margin: auto;
    grid-template-columns: 1fr 1fr;
    width: 60%;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(20, 32, 40, .12);
 }
.search-panel label { min-height: 74px; display: flex; flex-direction: column; justify-content: center; padding: 12px 20px; border-right: 1px solid var(--line); }
.search-panel label span { margin-bottom: 5px; color: var(--muted); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; }
.search-panel select { height: auto; padding: 0; border: 0; background: transparent; font-size: 1.2rem; }
.search-button { border: 0; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .78rem; }
.search-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.advanced-link { display: block; width: max-content; margin: 8px auto 0; font-size: .68rem; color: var(--muted); }

.section { padding: 108px 0; }
.properties-section { background: var(--paper); }
.section-heading { margin-bottom: 38px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2 { font-family: "DM Sans", sans-serif; font-size: clamp(2rem, 3.1vw, 3rem); font-weight: 500; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.property-card { overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 26px rgba(25,34,39,.07); transition: transform .25s ease, box-shadow .25s ease; }
.property-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(25,34,39,.12); }
.property-image { display: block; aspect-ratio: 1.28; overflow: hidden; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .property-image img { transform: scale(1.035); }
.property-body { padding: 20px 21px 24px; }
.property-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.property-meta span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .58rem; }
.property-body h3 { min-height: 48px; margin-bottom: 9px; font-size: 1.02rem; font-weight: 500; line-height: 1.3; }
.price { margin-bottom: 17px; color: var(--sand); font-size: .9rem; font-weight: 600; }
.card-link { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .68rem; font-weight: 500; }

.services-section { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; color: black; }
.service-card { min-height: 190px; padding: 27px; border: 1px solid var(--line); border-radius: 14px; transition: background .2s ease, border-color .2s ease; background-color: var(--white) }
.service-card:hover { background: var(--paper); border-color: #ddc5ad; }
.service-card > span { display: block; margin-bottom: 24px; color: var(--sand); font-family: "Playfair Display", serif; font-size: 1.05rem; }
.service-card h3 { margin-bottom: 10px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .78rem; }

.process-section { padding: 90px 0 86px; background: var(--navy); color: var(--white); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.process-copy h2 { max-width: 470px; margin-bottom: 20px; font-family: "DM Sans", sans-serif; font-weight: 500; }
.process-copy p:last-child { max-width: 460px; color: rgba(255,255,255,.68); font-size: .88rem; }
.process-list { margin: 0; padding: 0; list-style: none; }

.process-list li { display: grid; grid-template-columns: 42px 1fr; gap: 17px; padding: 20px; margin-bottom: 12px; border: 1px solid var(--sand); border-radius: 12px; background: var(--sand-light); }
.process-list li > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: #17252d; font-size: .75rem; font-weight: 600; }
.process-list h3 { margin: 0 0 5px; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.process-list p { margin: 0; color: black; font-size: .74rem; }
.discreet-cta { padding-top: 115px; text-align: center; }
.discreet-cta h2 { max-width: 740px; margin: 0 auto 17px; font-family: "DM Sans", sans-serif; font-weight: 500; }
.discreet-cta > p:not(.eyebrow) { max-width: 690px; margin: 0 auto 29px; color: rgba(255,255,255,.7); }

.site-footer { padding: 65px 0 25px; background: var(--navy); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 50px; }
.footer-brand { margin-bottom: 20px; }
.footer-grid h2 { margin: 0 0 17px; font-family: "DM Sans", sans-serif; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a, .footer-grid p { display: block; margin-bottom: 8px; color: rgba(255,255,255,.68); font-size: .76rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { margin-top: 46px; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: .68rem; }

.contact-hero { padding: 110px 0 90px; background: var(--navy); color: var(--white); }
.contact-hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 90px; align-items: end; }
.contact-hero h1 { max-width: 760px; margin-bottom: 20px; }
.contact-hero p { max-width: 650px; color: rgba(255,255,255,.7); }
.contact-info { padding: 26px; border: 1px solid rgba(255,255,255,.15); }
.contact-info p { margin: 0 0 20px; }
.contact-info p:last-child { margin-bottom: 0; }
.contact-info strong { display: block; margin-bottom: 4px; color: #d5a573; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-info a, .contact-info span { color: var(--white); }
.contact-section { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: start; }
.contact-copy h2 { margin-bottom: 20px; font-family: "DM Sans", sans-serif; font-size: 2.5rem; }
.contact-copy p:last-child { color: var(--muted); }
.contact-form { padding: 36px; background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { margin: 0 !important; }
.form-grid .full { grid-column: 1 / -1; }
.contact-form .button { margin-top: 22px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .main-nav { gap: 15px; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr 360px; gap: 36px; }
  .property-grid, .services-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { gap: 55px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { position: fixed; }
  .page-shell-offset { padding-top: 72px; }
  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: block; margin-left: auto; color: inherit; }
  .main-nav { position: absolute; top: 72px; left: 14px; right: 14px; display: none; padding: 12px 20px 18px; background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
  .main-nav.is-open { display: block; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-actions { display: none; }
  .hero { min-height: auto; padding: 125px 0 74px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy h1 { font-size: clamp(3rem, 13vw, 4.6rem); }
  .hero-links { align-items: flex-start; flex-direction: column; gap: 17px; }
  .callback-card { max-width: 560px; }
  .property-search { margin-top: 0; background: var(--paper); padding: 20px 0 0; }
  .search-panel { grid-template-columns: 1fr; }
  .search-panel label { border-right: 0; border-bottom: 1px solid var(--line); }
  .search-button { min-height: 58px; }
  .section { padding: 75px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .property-grid, .services-grid { grid-template-columns: 1fr; }
  .property-card { max-width: 560px; width: 100%; margin-inline: auto; }
  .process-grid, .contact-hero-grid, .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .discreet-cta { padding-top: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero { background-position: 58% center; }
  .hero-copy h1 { font-size: 3.15rem; }
  .callback-card { padding: 22px; }
  .property-image { aspect-ratio: 1.4; }
  .services-grid { gap: 12px; }
  .process-section { padding-top: 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .contact-form { padding: 22px; }
}

/* =========================================================
   JR Living · ampliación de propiedades, traspasos y equipo
   ========================================================= */
.section-intro { max-width: 690px; margin: 13px 0 0; color: var(--muted); font-size: .9rem; }

/* Fichas de propiedades: imagen completa con panel superpuesto */
.property-grid { display: grid; grid-template-columns: 1fr; gap: 52px; }
.property-card {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 0;
  background: #d9d5ce;
  box-shadow: 0 18px 48px rgba(25,34,39,.13);
  isolation: isolate;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 28px 58px rgba(25,34,39,.18); }
.property-image { position: absolute; inset: 0; display: block; aspect-ratio: auto; overflow: hidden; }
.property-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.08), transparent 58%); }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.property-card:hover .property-image img { transform: scale(1.025); }
.property-panel {
  position: relative;
  z-index: 2;
  width: min(37%, 430px);
  min-height: 546px;
  margin: 32px 0 32px 0;
  padding: 34px 30px 25px;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.975);
  color: #111820;
  box-shadow: 12px 0 30px rgba(21,33,42,.08);
}
.property-panel h3 { min-height: 0; margin: 0 0 19px; font-size: clamp(1.5rem, 2.15vw, 2rem); font-weight: 600; line-height: 1.32; letter-spacing: -.025em; }
.property-address { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 20px; color: #121820; font-size: .77rem; line-height: 1.45; }
.property-address svg { width: 15px; min-width: 15px; margin-top: 2px; fill: none; stroke: #aeb2b4; stroke-width: 2; }
.property-date { margin-bottom: 13px; color: #6f777c; font-size: .72rem; }
.property-date strong { color: #20292f; }
.property-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 18px; }
.property-features > div { min-width: 0; }
.property-features span { display: block; min-height: 34px; color: #151d22; font-size: .68rem; font-weight: 600; line-height: 1.25; }
.property-features strong { display: flex; align-items: center; gap: 9px; color: #20292f; font-size: .82rem; font-weight: 600; }
.property-features svg { width: 27px; height: 27px; fill: none; stroke: #b5b8ba; stroke-width: 1.6; }
.property-features small { color: #738087; font-size: .7rem; font-weight: 400; }
.property-summary { margin-bottom: 19px; color: #788087; font-size: .78rem; line-height: 1.52; }
.property-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-top: auto; padding-bottom: 19px; border-bottom: 1px solid #e2e3e3; }
.property-price-row > div:first-child span { display: block; margin-bottom: 2px; color: #20292f; font-size: .72rem; font-weight: 600; }
.property-price-row > div:first-child strong { display: block; color: #091f2d; font-size: 1.36rem; font-weight: 500; line-height: 1; }
.property-actions { display: flex; align-items: center; gap: 4px; }
.property-actions button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: #aeb2b4; font-size: 1.85rem; line-height: 1; }
.property-actions button:last-child { font-size: 1.25rem; }
.property-actions button:hover { color: var(--sand); }
.property-agent { display: flex; align-items: center; gap: 14px; padding-top: 18px; }
.property-agent img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.property-agent span { font-size: .82rem; font-weight: 600; }

/* Traspasos */
.transfer-block { margin-top: 118px; padding-top: 94px; border-top: 1px solid var(--line); }
.transfer-heading { align-items: flex-start; }
.transfer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.transfer-card { overflow: hidden; background: var(--white); box-shadow: 0 14px 34px rgba(25,34,39,.08); transition: transform .25s ease, box-shadow .25s ease; }
.transfer-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(25,34,39,.13); }
.transfer-image { position: relative; display: block; aspect-ratio: 1.35; overflow: hidden; }
.transfer-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.transfer-card:hover .transfer-image img { transform: scale(1.035); }
.transfer-image > span { position: absolute; left: 16px; top: 16px; padding: 7px 10px; background: rgba(255,255,255,.94); color: var(--navy); font-size: .62rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.transfer-body { padding: 23px 22px 25px; }
.transfer-location { margin-bottom: 8px; color: var(--sand); font-size: .66rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.transfer-body h3 { min-height: 54px; margin-bottom: 14px; font-size: 1.04rem; font-weight: 600; line-height: 1.35; }
.transfer-details { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.transfer-details span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .61rem; }
.transfer-body .price { margin-bottom: 17px; color: var(--navy); font-size: .88rem; }

/* Equipo */
.team-section { padding-top: 105px; margin-top: 96px; border-top: 1px solid rgba(255,255,255,.13); }
.team-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: flex-end; gap: 80px; margin-bottom: 45px; }
.team-intro h2 { max-width: 540px; font-family: "DM Sans", sans-serif; font-weight: 500; }
.team-intro > p { margin: 0; color: rgba(255,255,255,.7); font-size: .91rem; }
.team-grid { display: grid; gap: 28px; }
.team-card { display: grid; min-height: 370px; overflow: hidden; background: var(--white); color: var(--ink); }
.team-card > img { width: 100%; height: 100%; min-height: 370px; object-fit: cover; }
.team-card-body { padding: 34px 31px; flex-direction: column; }
.team-role { margin-bottom: 8px; color: var(--sand); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.team-card h3 { margin-bottom: 16px; font-size: 1.55rem; font-weight: 600; }
.team-card-body > p:not(.team-role) { margin-bottom: 24px; color: var(--muted); font-size: .82rem; }
.social-links {
    gap: 7px;
    margin-top: auto;
    justify-content: left;
}
.social-links a { display: flow; align-items: left; margin: 7px; padding: 8px 11px; border: 1px solid var(--line); font-size: 1.2rem; font-weight: 600; transition: background .2s ease, border-color .2s ease; }
.social-links a:hover { background: var(--sand); border-color: var(--sand-light); }
.social-links svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.social-links a:last-child svg { fill: currentColor; stroke: none; }
.footer-legal-title { margin-top: 22px !important; }

@media (max-width: 1000px) {
  .property-panel { width: min(46%, 430px); }
  .transfer-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card { grid-template-columns: 1fr; }
  .team-card > img { min-height: 330px; height: 330px; }
}

@media (max-width: 780px) {
  .property-card { min-height: auto; }
  .property-image { position: relative; aspect-ratio: 1.45; }
  .property-image::after { display: none; }
  .property-panel { width: 100%; min-height: 0; margin: 0; padding: 28px 24px 24px; box-shadow: none; }
  .property-panel h3 { font-size: 1.55rem; }
  .property-grid { gap: 34px; }
  .transfer-block { margin-top: 82px; padding-top: 72px; }
  .transfer-grid { grid-template-columns: 1fr; }
  .transfer-card { max-width: 560px; width: 100%; margin-inline: auto; }
  .team-section { padding-top: 76px; margin-top: 72px; }
  .team-intro { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { max-width: 620px; width: 100%; margin-inline: auto; grid-template-columns: 42% 58%; }
  .team-card > img { height: 100%; min-height: 360px; }
}

@media (max-width: 560px) {
  .property-panel { padding: 24px 20px 21px; }
  .property-features { gap: 5px; }
  .property-features span { min-height: 38px; font-size: .61rem; }
  .property-features strong { gap: 5px; font-size: .75rem; }
  .property-features svg { width: 23px; height: 23px; }
  .property-summary { font-size: .74rem; }
  .property-price-row > div:first-child strong { font-size: 1.18rem; }
  .team-card { grid-template-columns: 1fr; }
  .team-card > img { min-height: 300px; height: 300px; }
  .team-card-body { padding: 28px 24px; }
}

/* =========================================================
   JR Living · versión en cuadrícula 2/3 columnas
   Las viviendas y los traspasos comparten la misma ficha visual.
   ========================================================= */
.properties-section > .container {
  width: min(calc(100% - 40px), 1480px);
}

.property-grid,
.transfer-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.property-card,
.transfer-property-card {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 0;
  background: #d9d5ce;
  box-shadow: 0 16px 42px rgba(25, 34, 39, .13);
  isolation: isolate;
}

.property-image {
  position: absolute;
  inset: 0;
  display: block;
  aspect-ratio: auto;
  overflow: hidden;
}

.property-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .10), transparent 72%);
  pointer-events: none;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-panel {
  position: absolute;
  z-index: 2;
  inset: 26px auto 26px 0;
  width: 84%;
  min-height: 0;
  margin: 0;
  padding: 25px 23px 21px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, .978);
  color: #111820;
  box-shadow: 12px 0 30px rgba(21, 33, 42, .09);
}

.property-category {
  width: max-content;
  margin: 0 0 8px;
  color: var(--sand);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.property-panel h3 {
  min-height: 0;
  margin: 0 0 14px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: clamp(1.14rem, 1.35vw, 1.38rem);
  font-weight: 600;
  line-height: 1.27;
  letter-spacing: -.025em;
}

.property-address {
  margin-bottom: 13px;
  font-size: .67rem;
  line-height: 1.4;
}

.property-address span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.property-date {
  margin-bottom: 11px;
  font-size: .63rem;
}

.property-features {
  gap: 7px;
  margin-bottom: 13px;
}

.property-features span {
  min-height: 29px;
  font-size: .56rem;
}

.property-features strong {
  gap: 5px;
  font-size: .69rem;
  line-height: 1.15;
}

.property-features svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.property-features small {
  font-size: .61rem;
}

.property-summary {
  margin-bottom: 13px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #788087;
  font-size: .69rem;
  line-height: 1.46;
}

.property-price-row {
  gap: 10px;
  padding-bottom: 13px;
}

.property-price-row > div:first-child span {
  font-size: .63rem;
}

.property-price-row > div:first-child strong {
  font-size: 1.13rem;
}

.property-actions button {
  width: 25px;
  height: 25px;
  font-size: 1.55rem;
}

.property-actions button:last-child {
  font-size: 1.05rem;
}

.property-agent {
  gap: 10px;
  padding-top: 13px;
}

.property-agent img {
  width: 37px;
  height: 37px;
}

.property-agent span {
  font-size: .7rem;
}

.transfer-block {
  margin-top: 108px;
  padding-top: 88px;
}

.transfer-property-grid {
  margin-top: 0;
}

.transfer-property-card .property-image::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, .12), transparent 72%);
}

@media (max-width: 1349px) {
  .properties-section > .container {
    width: min(calc(100% - 40px), 1180px);
  }

  .property-grid,
  .transfer-property-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .property-panel {
    width: 78%;
    padding: 27px 25px 22px;
  }

  .property-panel h3 {
    font-size: 1.35rem;
  }

  .property-summary {
    font-size: .72rem;
  }
}

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

  .property-grid,
  .transfer-property-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .property-card,
  .transfer-property-card {
    width: 100%;
    max-width: 620px;
    min-height: auto;
    margin-inline: auto;
  }

  .property-image {
    position: relative;
    inset: auto;
    aspect-ratio: 1.45;
  }

  .property-image::after {
    display: none;
  }

  .property-panel {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 28px 24px 24px;
    overflow: visible;
    box-shadow: none;
  }

  .property-panel h3 {
    display: block;
    overflow: visible;
    font-size: 1.5rem;
  }

  .property-address span,
  .property-summary {
    display: block;
    overflow: visible;
  }

  .property-summary {
    font-size: .75rem;
  }
}

@media (max-width: 520px) {
  .property-panel {
    padding: 24px 20px 21px;
  }

  .property-panel h3 {
    font-size: 1.34rem;
  }

  .property-features {
    gap: 4px;
  }

  .property-features span {
    min-height: 35px;
    font-size: .54rem;
  }

  .property-features strong {
    font-size: .65rem;
  }
}

/* =========================================================
   JR Living · fichas verticales
   Fotografía arriba e información debajo, en cuadrícula 3/2/1.
   ========================================================= */
.properties-section > .container {
  width: min(calc(100% - 40px), 1480px);
}

.property-grid,
.transfer-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.property-card,
.transfer-property-card {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 14px 34px rgba(25, 34, 39, .10);
  isolation: auto;
}

.property-card:hover,
.transfer-property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(25, 34, 39, .15);
}

.property-image,
.transfer-property-card .property-image {
  position: relative;
  inset: auto;
  width: 100%;
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 1.36 / 1;
  overflow: hidden;
  background: #d9d5ce;
}

.property-image::after,
.transfer-property-card .property-image::after {
  display: none;
  content: none;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-panel,
.transfer-property-card .property-panel {
  position: relative;
  inset: auto;
  z-index: auto;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 30px 27px 27px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: visible;
  background: rgba(255, 255, 255, .98);
  color: #111820;
  box-shadow: none;
}

.property-panel h3 {
  min-height: 60px;
  margin: 0 0 18px;
  display: block;
  overflow: visible;
  font-size: clamp(1.28rem, 1.45vw, 1.62rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.025em;
}

.property-category {
  margin-bottom: 9px;
}

.property-address {
  margin-bottom: 18px;
  font-size: .72rem;
}

.property-address span,
.property-summary {
  display: block;
  overflow: visible;
}

.property-date {
  margin-bottom: 15px;
  font-size: .68rem;
}

.property-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.property-features span {
  min-height: 34px;
  font-size: .61rem;
}

.property-features strong {
  gap: 7px;
  font-size: .77rem;
}

.property-features svg {
  width: 25px;
  height: 25px;
}

.property-features small {
  font-size: .66rem;
}

.property-summary {
  min-height: 63px;
  margin-bottom: 18px;
  font-size: .76rem;
  line-height: 1.5;
}

.property-price-row {
  margin-top: auto;
  padding-bottom: 18px;
}

.property-price-row > div:first-child span {
  font-size: .68rem;
}

.property-price-row > div:first-child strong {
  font-size: 1.38rem;
}

.property-actions button {
  width: 28px;
  height: 28px;
  font-size: 1.75rem;
}

.property-actions button:last-child {
  font-size: 1.15rem;
}

/* La referencia termina en la línea inferior del precio. */
.property-agent {
  display: none;
}

@media (max-width: 1349px) {
  .properties-section > .container {
    width: min(calc(100% - 40px), 1180px);
  }

  .property-grid,
  .transfer-property-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .property-panel,
  .transfer-property-card .property-panel {
    padding: 32px 29px 28px;
  }

  .property-panel h3 {
    min-height: 0;
    font-size: 1.6rem;
  }

  .property-summary {
    min-height: 0;
    font-size: .78rem;
  }
}

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

  .property-grid,
  .transfer-property-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .property-card,
  .transfer-property-card {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .property-image,
  .transfer-property-card .property-image {
    aspect-ratio: 1.38 / 1;
  }

  .property-panel,
  .transfer-property-card .property-panel {
    padding: 29px 25px 25px;
  }

  .property-panel h3 {
    min-height: 0;
    font-size: 1.5rem;
  }

  .property-summary {
    min-height: 0;
    font-size: .76rem;
  }
}

@media (max-width: 520px) {
  .property-panel,
  .transfer-property-card .property-panel {
    padding: 25px 20px 22px;
  }

  .property-panel h3 {
    font-size: 1.32rem;
  }

  .property-features {
    gap: 5px;
  }

  .property-features span {
    min-height: 37px;
    font-size: .55rem;
  }

  .property-features strong {
    gap: 5px;
    font-size: .67rem;
  }

  .property-features svg {
    width: 22px;
    height: 22px;
  }

  .property-price-row > div:first-child strong {
    font-size: 1.2rem;
  }
}

/* =========================================================
   Ajuste de anchura · propiedades y traspasos
   El bloque recupera el mismo contenedor de 1180 px que el
   resto de secciones. Las fichas pasan a dos columnas para
   conservar una lectura cómoda de toda la información.
   ========================================================= */
.properties-section > .container {
  width: min(calc(100% - 40px), var(--container));
}

.property-grid,
.transfer-property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}


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

  .property-grid,
  .transfer-property-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

}

/* =========================================================
   JR Living · ajuste final: 3 columnas + enlace a Idealista
   ========================================================= */

/* Tres columnas en escritorio, dos en tablet y una en móvil. */
.property-grid,
.transfer-property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.idealista-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: #091f2d;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease;
}

.idealista-link span {
  color: #aeb2b4;
  font-size: 1.25rem;
  transition: color .2s ease, transform .2s ease;
}

.idealista-link:hover,
.idealista-link:focus-visible {
  color: var(--sand);
}

.idealista-link:hover span,
.idealista-link:focus-visible span {
  color: var(--sand);
  transform: translate(2px, -2px);
}

@media (min-width: 1100px) {
  .property-panel,
  .transfer-property-card .property-panel {
    padding: 24px 22px 23px;
  }

  .property-panel h3 {
    min-height: 62px;
    font-size: 1.28rem;
    line-height: 1.28;
  }

  .property-address {
    font-size: .68rem;
  }

  .property-summary {
    min-height: 66px;
    font-size: .73rem;
  }

  .property-price-row > div:first-child strong {
    font-size: 1.2rem;
  }
}

@media (min-width: 781px) and (max-width: 1099px) {
  .property-grid,
  .transfer-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .property-grid,
  .transfer-property-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Añadidos para la ficha individual de propiedad/traspaso (no existían en el prototipo estático) ===== */
.single-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; color: var(--white); background-size: cover; background-position: center; }
.single-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,19,28,.78) 0%, rgba(5,22,31,.15) 60%); }
.single-hero-inner { position: relative; padding-bottom: 40px; }
.single-hero .eyebrow { color: #d5a573; }
.single-layout { display: grid; grid-template-columns: minmax(0,1.6fr) 360px; gap: 60px; padding: 70px 0; }
.single-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.single-gallery img { border-radius: 4px; aspect-ratio: 4/3; object-fit: cover; }
.single-side { background: var(--paper); padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow); height: max-content; }
.single-side .price { font-family: "Playfair Display", serif; font-size: 2rem; color: var(--navy); margin-bottom: 18px; }
.no-results { padding: 100px 0; text-align: center; color: var(--muted); }

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

.mv-card {
	background: rgba(255,255,255,0.06);
	border-radius: 12px;
	padding: 24px;
}

.mv-card h3 {
	color: #ffffff;
	font-size: 16px;
	margin-bottom: 10px;
}

.mv-card p {
	color: rgba(255,255,255,0.75);
	font-size: 14px;
	line-height: 1.6;
}

@media (max-width: 768px) {
	.mv-grid {
		grid-template-columns: 1fr;
	}
}


.extra-services-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.extra-service-card {
	background: var(--white);
	border-radius: 12px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	position: relative;
	border-color: var(--sand-light);
	border: 1px solid var(--sand-light);
}

.extra-service-badge {
	position: absolute;
	top: 18px;
	right: 18px;
	background: #fff2e2;
	color: #a86f38;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 20px;
}

.extra-service-icon {
	width: 44px;
	height: 44px;
	border-radius: 44px;
	background: var(--line);
	color: #c98a4b;
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.extra-service-kicker {
	color: var(--sand);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0 0 8px;
}

.extra-service-card h3 {
	color: #1a2b4a;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 10px;
}

.extra-service-card p {
	color: black;
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0 0 22px;
	flex-grow: 1;
}

.extra-service-button {
	align-self: flex-start;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding: 12px 22px;
	border-radius: 6px;
	text-decoration: none;
}

.extra-service-button.is-active {
	background: var(--navy);
	color: #fff;
}

.extra-service-button.is-active:hover {
	background: var(--sand);
}

.extra-service-button.is-disabled {
	background: transparent;
	color: #1a2b4a;
	border: 1px solid #1a2b4a;
	opacity: 0.55;
	cursor: not-allowed;
}

@media (max-width: 768px) {
	.extra-services-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== Blog / Noticias ===== */
.blog-hero { padding: 170px 0 60px; background: var(--navy); color: var(--white); text-align: center; }
.blog-hero p { max-width: 620px; margin: 14px auto 0; color: rgba(255,255,255,.72); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.blog-card-image { aspect-ratio: 4/3; overflow: hidden; background: var(--line); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-category { width: max-content; margin: 0 0 10px; color: var(--sand); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.blog-card-body h3 { font-size: 1.28rem; font-weight: 600; line-height: 1.32; margin: 0 0 10px; }
.blog-card-date { color: var(--muted); font-size: .78rem; margin-bottom: 12px; }
.blog-card-excerpt { color: var(--muted); font-size: .92rem; flex: 1; margin-bottom: 16px; }
.blog-card-readmore { align-self: flex-start; font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 2px; }
.blog-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 46px; }
.blog-pagination a, .blog-pagination span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; }
.blog-pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Ficha individual de noticia */
.single-noticia-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; color: var(--white); background-size: cover; background-position: center; }
.single-noticia-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,19,28,.8) 0%, rgba(5,22,31,.15) 65%); }
.single-noticia-hero-inner { position: relative; padding-bottom: 40px; max-width: 780px; }
.single-noticia-body { max-width: 740px; margin: 0 auto; padding: 70px 0 100px; }
.single-noticia-body p { color: var(--ink); font-size: 1.02rem; margin-bottom: 20px; }
.single-noticia-body h2, .single-noticia-body h3 { margin: 40px 0 16px; }
.single-noticia-body img { border-radius: var(--radius); margin: 24px 0; }
.single-noticia-back { display: inline-block; margin-bottom: 30px; font-size: .85rem; font-weight: 600; color: var(--navy); }

@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } .blog-hero { padding: 140px 0 50px; } }

/* ==========================================================================
   Reyes Living · Formulario de valoración (multi-paso)
   Pegar en un enqueue propio o en style.css bajo un comentario claro.
   ========================================================================== */

.rl-form-multistep {
  font-family: 'DM Sans', sans-serif;
  color: #153C64;
  max-width: 640px;
  margin: 0 auto;
}


/* Pasos */
.rl-step {
  display: none;
}

.rl-step.active {
  display: block;
  animation: rl-fade-in 0.25s ease;
}

@keyframes rl-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Campos */
.rl-field {
  margin-bottom: 22px;
}

.rl-row {
  display: flex;
  gap: 24px;
}

.rl-col {
  flex: 1;
  min-width: 0;
}

.rl-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #153C64;
  margin-bottom: 8px;
}

.rl-hint {
  font-size: 12.5px;
  color: #7c8a99;
  margin-top: 6px;
  line-height: 1.4;
}

/* Inputs, selects y textareas: estilo subrayado (sin bordes) */
.rl-form-multistep input[type="text"],
.rl-form-multistep input[type="number"],
.rl-form-multistep input[type="tel"],
.rl-form-multistep input[type="email"],
.rl-form-multistep select,
.rl-form-multistep textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #E5DDD2;
  background: transparent;
  padding: 8px 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #153C64;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.rl-form-multistep textarea {
  min-height: 80px;
  resize: vertical;
}

.rl-form-multistep input:focus,
.rl-form-multistep select:focus,
.rl-form-multistep textarea:focus {
  outline: none;
  border-bottom-color: #C48D46;
}

.rl-form-multistep select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23153C64' stroke-width='1.5' fill='none' fill-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 20px;
}

/* Checkbox de política de privacidad (acceptance) */
.rl-checkbox {
  font-size: 13px;
  color: #5b6b7a;
}

.rl-checkbox .wpcf7-list-item {
  margin: 0;
}

.rl-checkbox a {
  color: #C48D46;
  text-decoration: underline;
}

/* Botones */
.rl-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.rl-step-actions-single {
  justify-content: flex-end;
}

.rl-btn {
  border: none;
  border-radius: 2px;
  padding: 13px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.rl-btn-next,
.rl-btn-submit {
  background: #C48D46;
  color: #F8F5EF;
}

.rl-btn-next:hover,
.rl-btn-submit:hover {
  opacity: 0.9;
}

.rl-btn-prev {
  background: transparent;
  color: #153C64;
  padding-left: 0;
}

.rl-btn-prev:hover {
  color: #C48D46;
}

/* Mensajes de validación de CF7 */
.rl-form-multistep .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #b3452c;
  margin-top: 4px;
}

.rl-form-multistep .wpcf7-response-output {
  border-radius: 2px;
  font-size: 13px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 640px) {
  .rl-row {
    flex-direction: column;
    gap: 0;
  }
}


.gt_float_switcher {
    font-size: 10px !important;;
}

.gt_float_switcher img {
    width: 25px !important;
}

.gt_float_switcher .gt-selected .gt-current-lang {
    padding: 7px 7px !important;
}