/* Brand extras on top of Elementor's global kit. Keep it small: colours and fonts live in
   Elementor Site Settings (so the client can change them). Put here only what Elementor
   can't express: effects, special type treatments, fixes. Project CSS is appended by make_plugin.py. */

.js .fx-ink img { clip-path: circle(0% at 50% 45%); transition: clip-path 1.8s cubic-bezier(.2,.7,.1,1); }
.js .fx-ink.is-in img { clip-path: circle(80% at 50% 45%); }

.fx-parallax { overflow: hidden; }
.fx-parallax img { will-change: transform; transform: scale(1.12); }

.fx-reel { overflow: hidden; }
.fx-reel--on .fx-reel__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.fx-reel--on .fx-reel__item { margin: 0; flex: 0 0 auto; height: clamp(220px, 34vw, 420px); }
.fx-reel--on .fx-reel__item img { height: 100%; width: auto; object-fit: cover; display: block; transition: filter .3s; }

/* Hide the TranslatePress floating switcher when the header carries its own language links */
.hds-own-switcher #trp-floater-ls, .hds-own-switcher .trp-floating-switcher { display: none !important; }

/* Admin bar must not cover a sticky Elementor header */
.admin-bar .elementor-sticky--active { top: 32px !important; }
@media (max-width: 782px) { .admin-bar .elementor-sticky--active { top: 46px !important; } }

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

/* GeneratePress boxes the whole page at 1200px even with Elementor's full-width template: let sections go edge to edge */
.page-template-elementor_header_footer .site.grid-container { max-width: none; }

/* ---------- project ---------- */
/* ===== Casa Collection · dirección «Arena y línea» =====
   Colores y tipografías viven en Elementor › Site Settings. Acá solo lo que Elementor no expresa. */

body { background: #EEE6DA; color: #2A2724; }
::selection { background: #111; color: #EEE6DA; }

/* Títulos finos en mayúsculas, eco del logotipo */
.elementor-widget-heading h1.elementor-heading-title { font-size: clamp(28px, 4vw, 54px); line-height: 1.12; letter-spacing: .1em; font-weight: 300; max-width: 22ch; margin-inline: auto; }
.elementor-widget-heading h2.elementor-heading-title { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.2; letter-spacing: .1em; font-weight: 300; }
.elementor-widget-heading h3.elementor-heading-title { font-size: clamp(20px, 2vw, 26px); letter-spacing: .14em; font-weight: 300; }
.cc-eyebrow .elementor-heading-title { font-size: 12px !important; letter-spacing: .26em !important; margin-bottom: 4px; }
.cc-hero-sub .elementor-heading-title { font-family: Manrope, sans-serif; text-transform: none; letter-spacing: 0; font-size: clamp(16px, 1.6vw, 19px); }
.elementor-widget-text-editor { font-size: 17px; line-height: 1.7; }

/* Botones rectos, finos */
.elementor-button { border-radius: 0 !important; font-family: Jost, sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: 13px; font-weight: 500; padding: 17px 30px; transition: background .3s, color .3s, border-color .3s; }
.cc-btn-light .elementor-button { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.85) !important; }
.cc-btn-light .elementor-button:hover { background: #fff !important; color: #111 !important; }

/* Portada */
.cc-hero-logo img { width: clamp(220px, 32vw, 440px) !important; height: auto; margin-bottom: clamp(18px, 3vw, 36px); }
.cc-hero { text-align: center; }

/* Encabezado GeneratePress: logotipo en vez del nombre tipeado */
.site-header, .main-navigation, .main-navigation ul ul { background: #EEE6DA !important; }
.site-header { border-bottom: 1px solid rgba(17,17,17,.12); }
.site-branding .main-title a { display: block; width: 168px; height: 62px; background: url("img/logo-black.png") left center / contain no-repeat; text-indent: -9999px; overflow: hidden; }
.site-description { display: none; }
.main-navigation .main-nav ul li a { font-family: Jost, sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: #111 !important; }
.main-navigation .main-nav ul li a:hover { color: #7A6A55 !important; }
.cc-hdr-cta a { border: 1px solid #111; margin-left: 10px; }
.cc-hdr-cta a:hover { background: #111; color: #EEE6DA !important; }

/* Listas con íconos de línea */
.cc-list .elementor-icon-list-item { padding: 12px 0 !important; border-bottom: 1px solid rgba(17,17,17,.12); font-size: 16px; }
.cc-list .elementor-icon-list-icon i { color: #7A6A55; font-size: 15px; width: 22px; }

/* Selector de casas con pestañas (fx-tabs) */
.cc-tabbar { display: flex; justify-content: center; gap: clamp(12px, 3vw, 40px); margin: 0 auto 36px; flex-wrap: wrap; width: 100%; }
.cc-tabbar button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 10px 2px; font-family: Jost, sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: #7A6A55; cursor: pointer; }
.cc-tabbar button[aria-selected="true"] { color: #111; border-bottom-color: #111; }
.fx-tabs--on .cc-tab[hidden] { display: none !important; }
.fx-tabs--on .cc-tab { width: 100% !important; max-width: 900px; margin-inline: auto; animation: ccFade .5s ease; }
.fx-tabs--on .cc-tab .elementor-widget-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@keyframes ccFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Armador de consulta */
.cc-form { display: grid; gap: 16px; background: #F7F3EC; padding: clamp(20px, 3vw, 36px); border: 1px solid rgba(17,17,17,.12); }
.cc-form .cc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cc-form label { display: grid; gap: 6px; font-family: Jost, sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: 11px; color: #7A6A55; }
.cc-form input, .cc-form select { font: 16px Manrope, sans-serif; color: #111; background: #fff; border: 1px solid rgba(17,17,17,.2); border-radius: 0; padding: 12px 14px; width: 100%; }
.cc-form button { background: #111; color: #EEE6DA; border: 0; border-radius: 0; padding: 17px; font-family: Jost, sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: 13px; cursor: pointer; }
.cc-form button:hover { background: #7A6A55; }
@media (max-width: 520px) { .cc-form .cc-row { grid-template-columns: 1fr; } }

/* Preguntas frecuentes */
.elementor-accordion .elementor-tab-title, .e-n-accordion-item-title { font-family: Jost, sans-serif; text-transform: uppercase; letter-spacing: .1em; font-weight: 400; }

/* Pie */
.cc-foot { color: #EEE6DA; }
.cc-foot-logo img { width: 220px !important; height: auto; }
.cc-foot-list .elementor-icon-list-text, .cc-foot-list .elementor-icon-list-icon i { color: #EEE6DA !important; font-size: 15px; }
.cc-foot-list a:hover .elementor-icon-list-text { color: #fff !important; text-decoration: underline; }
.site-footer .site-info { background: #111; color: rgba(238,230,218,.7); font-size: 13px; }
.site-footer .site-info a { color: #EEE6DA; }

/* Barra fija de WhatsApp en el celular */
.cc-sticky { display: none; }
@media (max-width: 767px) {
  .cc-sticky { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 999; background: #111; color: #EEE6DA !important; text-align: center; padding: 15px; font: 500 13px Jost, sans-serif; text-transform: uppercase; letter-spacing: .2em; transition: transform .3s; }
  .cc-sticky.is-hidden { transform: translateY(160%); }
  .site-footer { padding-bottom: 84px; }
}

/* ===== Ronda 1 de ajustes ===== */
/* Selector de idioma propio en el menú: fuera el flotante de TranslatePress */
#trp-floater-ls, .trp-floating-switcher { display: none !important; }
.cc-lang a { opacity: .7; }
/* Pestañas arriba, contenido abajo */
.fx-tabs--on, .fx-tabs--on > .e-con-inner { flex-wrap: wrap !important; flex-direction: row !important; }
.fx-tabs--on .cc-tabbar { flex: 0 0 100%; }
/* Portada más contenida */
.cc-hero h1.elementor-heading-title { font-size: clamp(22px, 3vw, 42px); max-width: 24ch; }
.cc-hero .cc-eyebrow .elementor-heading-title, .cc-hero p.elementor-heading-title { letter-spacing: .2em; }
/* Galería a color */
.fx-reel img, .fx-reel--on .fx-reel__item img { filter: none !important; }
/* Preguntas más livianas */
.elementor-accordion .elementor-tab-title, .e-n-accordion-item-title, .elementor-accordion .elementor-tab-title a { font-weight: 400 !important; font-size: 14px !important; letter-spacing: .08em !important; line-height: 1.5 !important; }
/* Barra fija sin subrayado */
.cc-sticky, .cc-sticky:hover { text-decoration: none !important; }
@media (max-width: 767px) { .cc-hero h1.elementor-heading-title { font-size: 22px; letter-spacing: .08em; } }
/* Ronda 1b */
.fx-reel__item, .fx-reel figure, .fx-reel .gallery-item { filter: none !important; }
@media (min-width: 1025px) { .main-navigation .main-nav ul li a { padding-left: 11px !important; padding-right: 11px !important; letter-spacing: .14em; } }
.cc-dark .elementor-widget-button, .cc-dark .elementor-button-wrapper { text-align: center !important; }
