/*
Theme Name: Rent a Car — Divi Child (Tropical)
Theme URI: https://localhost/
Description: Tema hijo de Divi para el sistema de Rent a Car. Diseño tropical, moderno y enfocado en turistas. Cada sección de cada página vive en un módulo de Código de Divi de ancho completo (ver carpeta divi-code-modules/). NO edites Divi directamente: edita aquí o los módulos de código.
Author: Global Directory Ecosystem
Template: Divi
Version: 2.0.6
Text Domain: rentacar-divi-child
*/

/* ============================================================================
   PALETA TROPICAL  (sobreescribe las variables del front del plugin .tbsr)
   - Primario / CTA:  coral atardecer
   - Secundario:      turquesa océano
   - Fondos:          arena clara
   `body .tbsr` gana en especificidad a `.tbsr` del plugin, sin !important.
   ========================================================================== */
:root {
	--rc-coral: #ff6a3d;
	--rc-coral-dark: #e85528;
	--rc-teal: #0ea5a4;
	--rc-teal-dark: #0b7c7b;
	--rc-sand: #fff7ef;
	--rc-deep: #0f3d3e;
	--rc-ink: #143131;
	--rc-muted: #5b7575;
	--rc-wa: #25d366;
	--rc-radius: 16px;
	--rc-shadow: 0 18px 40px -18px rgba(15, 61, 62, .35);
}
.scr-site-main,.scr-rental-page { width:100%; margin:0; padding:0; overflow:hidden; }
/* Tourfic's legacy global loader is injected outside its old templates. */
#loader.tft-page__loader,.tft-page__loader { display:none !important; visibility:hidden !important; pointer-events:none !important; }

body .tbsr {
	--tbsr-primary: var(--rc-coral);
	--tbsr-secondary: var(--rc-wa);
	--tbsr-text: var(--rc-ink);
	--tbsr-muted: var(--rc-muted);
	--tbsr-border: #e4ece9;
	--tbsr-radius: var(--rc-radius);
}
body .tbsr .tbsr-btn-secondary { background: #e8f6f5; color: var(--rc-teal-dark); }
body .tbsr .tbsr-qrow.tbsr-total { background: #eafaf8; }
body .tbsr .tbsr-chip.is-active { background: var(--rc-teal); border-color: var(--rc-teal); }

/* ============================================================================
   ESTRUCTURA DE SECCIONES (usada por los módulos de código)
   ========================================================================== */
.rc-section { padding: 64px 22px; }
.rc-section--tight { padding: 40px 22px; }
.rc-wrap { width:100%; min-width:0; max-width:1180px; margin:0 auto; }
.rc-bg-sand { background: var(--rc-sand); }
.rc-bg-white { background: #ffffff; }

.rc-section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.rc-eyebrow {
	display: inline-block;
	font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	color: var(--rc-teal); margin-bottom: 10px;
}
.rc-title { font-size: clamp(26px, 4vw, 40px); line-height: 1.1; margin: 0 0 12px; color: var(--rc-ink); font-weight: 800; }
.rc-subtitle { font-size: 17px; line-height: 1.6; color: var(--rc-muted); margin: 0; }

/* ============================================================================
   HERO + BUSCADOR
   ========================================================================== */
.rc-hero {
	position: relative;
	padding: 96px 22px 120px;
	color: #fff;
	background:
		linear-gradient(180deg, rgba(15,61,62,.55), rgba(15,61,62,.78)),
		linear-gradient(120deg, #0ea5a4 0%, #0b7c7b 45%, #0f3d3e 100%);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}
/* Para usar una foto tropical: añade en el módulo de código
   style="--rc-hero-img:url('https://.../playa.jpg')" al div .rc-hero
   y descomenta la regla de abajo en tu copia. */
.rc-hero[style*="--rc-hero-img"] {
	background:
		linear-gradient(180deg, rgba(15,61,62,.45), rgba(15,61,62,.82)),
		var(--rc-hero-img) center/cover no-repeat;
}
.rc-hero::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
	background: var(--rc-sand);
	clip-path: ellipse(75% 100% at 50% 100%);
}
.rc-hero-inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; text-align: center; }
.rc-hero .rc-eyebrow { color: #ffe2b8; }
.rc-hero-title { color:#fff; font-size: clamp(30px, 5.5vw, 56px); line-height: 1.05; font-weight: 800; margin: 0 0 14px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.rc-hero-sub { font-size: clamp(16px, 2.2vw, 20px); opacity: .95; margin: 0 auto 30px; max-width: 620px; }
.rc-hero .tbsr-search-form {
	box-shadow: var(--rc-shadow);
	border: none;
	text-align: left;
}
.rc-hero-trust { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 18px 26px; justify-content: center; font-size: 14px; font-weight: 600; }
.rc-hero-trust span { display: inline-flex; align-items: center; gap: 7px; }

/* ============================================================================
   VENTAJAS (trust badges)
   ========================================================================== */
.rc-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rc-feature {
	background: #fff; border: 1px solid #e4ece9; border-radius: var(--rc-radius);
	padding: 24px 20px; text-align: center; box-shadow: 0 10px 24px -18px rgba(15,61,62,.4);
}
.rc-feature-ico {
	width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-size: 26px;
	background: linear-gradient(135deg, #e8f6f5, #d8f0ef);
}
.rc-feature h3 { margin: 0 0 6px; font-size: 17px; color: var(--rc-ink); }
.rc-feature p { margin: 0; font-size: 14px; color: var(--rc-muted); line-height: 1.5; }

/* ============================================================================
   CTA WHATSAPP
   ========================================================================== */
.rc-cta {
	background: linear-gradient(120deg, var(--rc-coral) 0%, var(--rc-coral-dark) 100%);
	border-radius: 22px; color: #fff; padding: 40px 32px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	box-shadow: var(--rc-shadow);
}
.rc-cta h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); }
.rc-cta p { margin: 0; opacity: .95; font-size: 16px; }
.rc-btn {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 14px 26px; border-radius: 999px; font-weight: 800; font-size: 16px;
	text-decoration: none; cursor: pointer; border: none; transition: transform .06s ease, filter .15s ease;
}
.rc-btn:hover { filter: brightness(1.06); }
.rc-btn:active { transform: translateY(1px); }
.rc-btn-wa { background: var(--rc-wa); color: #fff; box-shadow: 0 12px 24px -12px rgba(37,211,102,.8); }
.rc-btn-light { background: #fff; color: var(--rc-coral-dark); }
.rc-btn-teal { background: var(--rc-teal); color: #fff; }

/* Botón flotante de WhatsApp (global, opcional) */
.rc-wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 9999;
	width: 58px; height: 58px; border-radius: 50%; background: var(--rc-wa);
	display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff;
	box-shadow: 0 12px 28px -10px rgba(37,211,102,.9); text-decoration: none;
}

/* ============================================================================
   COMPARADOR (placeholder preparado)
   ========================================================================== */
.rc-compare-soon {
	background: #fff; border: 2px dashed var(--rc-teal); border-radius: var(--rc-radius);
	padding: 48px 28px; text-align: center; color: var(--rc-ink);
}
.rc-compare-soon .rc-feature-ico { background: linear-gradient(135deg,#fff0e8,#ffe0d3); }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
	.rc-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.rc-section { padding: 48px 16px; }
	.rc-hero { padding: 72px 16px 96px; }
	.rc-features { grid-template-columns: 1fr; }
	.rc-cta { flex-direction: column; text-align: center; align-items: stretch; }
	.rc-cta .rc-btn { justify-content: center; }
}

/* Savings Car Rental 2026 visual system */
:root {
	--rc-coral: #f5b51b;
	--rc-coral-dark: #d89600;
	--rc-teal: #f5b51b;
	--rc-teal-dark: #c68700;
	--rc-sand: #f7f8fa;
	--rc-deep: #061d2b;
	--rc-ink: #10212b;
	--rc-muted: #64727b;
	--rc-radius: 12px;
	--rc-shadow: 0 18px 45px -20px rgba(3, 24, 37, .42);
}
.rc-bg-soft { background:#f6f7f8; }
.rc-section-head--left { text-align:left; margin-left:0; }
.rc-hero--video { min-height:760px; display:flex; align-items:flex-end; padding:140px 22px 52px; background:var(--rc-deep); }
.rc-hero--video::after { display:none; }
.rc-hero-video,.rc-hero-shade { position:absolute; inset:0; width:100%; height:100%; }
.rc-hero-video { object-fit:cover; }
.rc-hero-shade { background:linear-gradient(90deg,rgba(2,19,30,.95) 0%,rgba(2,19,30,.78) 48%,rgba(2,19,30,.25) 100%),linear-gradient(0deg,rgba(2,19,30,.58),transparent 55%); }
.rc-hero--video .rc-hero-inner { max-width:1180px; width:100%; text-align:left; }
.rc-hero-copy { max-width:720px; }
.rc-hero-logo { display:block; width:clamp(220px,30vw,340px); height:auto; margin:0 0 22px; padding:12px 18px; border-radius:16px; background:rgba(255,255,255,.94); box-shadow:0 18px 45px rgba(0,0,0,.28); }
.rc-pill { display:inline-flex; padding:8px 13px; border:1px solid rgba(245,181,27,.45); border-radius:999px; color:#ffd670; background:rgba(245,181,27,.12); text-transform:uppercase; letter-spacing:.08em; font-size:11px; font-weight:800; }
.rc-hero-title strong { color:#f5b51b; }
.rc-hero-rating { display:flex; flex-wrap:wrap; gap:10px; align-items:center; font-size:13px; font-weight:700; margin:18px 0 28px; }
.rc-stars { color:#f5b51b; letter-spacing:2px; }
.rc-hero-search { background:rgba(255,255,255,.97); color:var(--rc-ink); border-radius:14px; padding:12px; box-shadow:0 22px 55px rgba(0,0,0,.35); }
.rc-search-note { font-size:11px; color:#52616a; margin:8px 5px 0; }
.rc-features--three { grid-template-columns:repeat(3,1fr); }
.rc-process .rc-feature { position:relative; text-align:left; padding:28px; }
.rc-process .rc-feature-ico { margin:0 0 18px; background:var(--rc-deep); color:#f5b51b; border-radius:12px; }
.rc-step { position:absolute; top:18px; right:18px; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#f5b51b; color:var(--rc-deep); font-weight:900; }
.rc-dark { background:#061d2b; color:white; }
.rc-dark .rc-title,.rc-dark .rc-benefits b { color:white; }
.rc-dark .rc-subtitle,.rc-dark .rc-benefits p { color:rgba(255,255,255,.68); }
.rc-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; margin:0 0 36px; }
.rc-stats div { text-align:center; padding:24px 14px; border:1px solid rgba(255,255,255,.1); border-radius:12px; background:rgba(255,255,255,.035); }
.rc-stats strong { display:block; color:#f5b51b; font-size:32px; line-height:1; }
.rc-stats span { display:block; margin-top:7px; font-size:12px; color:rgba(255,255,255,.7); }
.rc-benefits { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.rc-benefits article { padding:24px; border:1px solid rgba(255,255,255,.1); border-radius:12px; background:rgba(255,255,255,.035); }
.rc-benefits b { font-size:16px; }
.rc-benefits p { font-size:13px; line-height:1.55; margin:8px 0 0; }
.rc-location-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.rc-location-grid a { position:relative; padding:22px; border:1px solid #e1e5e8; border-radius:12px; color:var(--rc-ink); background:#fff; box-shadow:0 10px 25px -24px #061d2b; }
.rc-location-grid b,.rc-location-grid span { display:block; }
.rc-location-grid span { color:var(--rc-muted); font-size:12px; margin-top:5px; padding-right:36px; }
.rc-location-grid em { position:absolute; top:18px; right:18px; padding:4px 7px; border-radius:6px; background:#fff4d6; color:#a96f00; font-size:10px; font-style:normal; font-weight:900; }
.rc-closing-cta { background:linear-gradient(120deg,#061d2b,#0b3145); color:#fff; text-align:center; }
.rc-closing-inner { max-width:760px; }
.rc-closing-cta h2 { color:#fff; font-size:clamp(30px,4vw,46px); font-weight:800; }
.rc-closing-cta p { color:rgba(255,255,255,.72); }
.rc-closing-actions { display:flex; justify-content:center; gap:12px; margin-top:24px; }
.rc-btn-amber { background:#f5b51b; color:#061d2b; }
.rc-btn-outline { border:1px solid rgba(255,255,255,.5); color:#fff; }
@media (max-width:900px) {
	.rc-features--three,.rc-benefits,.rc-location-grid { grid-template-columns:1fr 1fr; }
	.rc-hero--video { min-height:700px; }
}
@media (max-width:600px) {
	html,body,#page-container,#et-main-area,#main-content,.scr-site-main,.scr-rental-page {
		width:100% !important;
		max-width:none !important;
		margin:0 !important;
		padding-left:0 !important;
		padding-right:0 !important;
	}
	html,body { overflow-x:hidden; }
	#et-main-area,#main-content,.scr-site-main,.scr-rental-page { padding-top:0 !important; }
	body.home .et-l--post>.et_builder_inner_content>.et_pb_section:first-child {
		padding-top:0 !important;
	}
	body.home .et-l--post>.et_builder_inner_content>.et_pb_section:first-child>.et_pb_row:first-child {
		box-sizing:border-box;
		width:100% !important;
		max-width:none !important;
		margin:0 !important;
		padding-top:0 !important;
	}
	.rc-hero--video {
		box-sizing:border-box;
		width:100vw !important;
		max-width:none !important;
		min-height:760px;
		margin:0 calc(50% - 50vw) !important;
		padding:118px 16px 52px;
	}
	.logo-img-v5 { width:190px !important; max-width:52vw !important; height:auto !important; max-height:none !important; }
	.rc-hero-logo { width:min(230px,72vw); margin:0 auto 20px; padding:10px 15px; }
	.rc-hero-shade { background:linear-gradient(0deg,rgba(2,19,30,.96),rgba(2,19,30,.55)); }
	.rc-hero--video>.rc-wrap { box-sizing:border-box; flex:0 0 100%; width:100% !important; max-width:100% !important; margin:0 !important; }
	.rc-section>.rc-wrap { flex:0 1 calc(100vw - 32px); width:calc(100vw - 32px); max-width:calc(100vw - 32px); margin-left:auto; margin-right:auto; }
	.rc-hero--video .rc-hero-inner,.rc-hero-copy,.rc-hero-search,
	.rc-hero-search .tbsr,.rc-hero-search .tbsr-search-form,
	.rc-hero-search .tbsr-field,.rc-hero-search .tbsr-dt { width:100%; min-width:0; max-width:100%; }
	.rc-hero-search .tbsr-search-form { display:flex; flex-direction:column; }
	.rc-hero-search .tbsr-dt { display:grid; grid-template-columns:minmax(0,1fr) 88px; }
	.rc-hero-search input,.rc-hero-search select { width:100%; min-width:0; }
	.rc-title,.rc-hero-title,.rc-subtitle,.rc-hero-sub { overflow-wrap:anywhere; }
	.tbsr-grid { grid-template-columns:minmax(0,1fr); }
	.tbsr-card,.rc-feature,.rc-benefits article,.rc-location-grid a { min-width:0; max-width:100%; }
	.rc-features--three,.rc-benefits,.rc-location-grid { grid-template-columns:1fr; }
	.rc-stats { grid-template-columns:1fr 1fr; }
	.rc-closing-actions { flex-direction:column; }
}

/* Only the official rental agent should occupy the floating support position. */
.unified-float-btn-wrapper,
#unifiedContactModal,
.rc-wa-float { display:none !important; }
