/* Fotomaton Navarra — mejoras 2026 */

:root {
	--ftn-brand: #5BB12F;
	--ftn-dark: #293c5b;
	--ftn-muted: #6b7280;
	--ftn-border: #d8dee8;
	--ftn-radius: 6px;
}

html { scroll-behavior: smooth; }

body.index { padding-top: 0; }

.navbar-fixed-top {
	z-index: 1030;
}

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

/* Ocultar selector de colores (solapa contenido en móvil) */
.colors-switcher { display: none !important; }

/* Loader — fallback si jQuery tarda */
body.ftn-ready #loader { display: none; }

/* WhatsApp flotante */
.ftn-wa {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: 70px;
	top: auto;
	z-index: 1040;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: 1rem 1.4rem;
	border-radius: 999px;
	background: #25d366;
	color: #fff !important;
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none !important;
	box-shadow: 0 10px 28px rgba(0,0,0,.25);
	transition: transform .2s ease, box-shadow .2s ease;
}
.ftn-wa:hover,
.ftn-wa:focus {
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(0,0,0,.3);
}
.ftn-wa__icon {
	font-size: 1.65rem;
	line-height: 1;
}
@media (max-width: 480px) {
	.ftn-wa__label { display: none; }
	.ftn-wa {
		width: 64px;
		height: 64px;
		padding: 0;
		justify-content: center;
		border-radius: 50%;
		bottom: 70px;
	}
	.ftn-wa__icon { font-size: 1.85rem; }
}

/* Formulario profesional */
.ftn-form-wrap {
	max-width: 820px;
	margin: 0 auto;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--ftn-radius);
	padding: 1.5rem;
}
.ftn-form__intro {
	text-align: center;
	margin-bottom: 1.25rem;
	color: rgba(255,255,255,.92);
	font-size: .95rem;
}
.ftn-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.ftn-form__field label {
	display: block;
	font-size: .82rem;
	font-weight: 600;
	margin-bottom: .35rem;
	color: #fff;
}
.ftn-form__field .form-control,
.ftn-form__field select.form-control {
	border-radius: var(--ftn-radius);
	border: 1px solid var(--ftn-border);
	box-shadow: none;
	height: 42px;
}
.ftn-form__field textarea.form-control {
	height: auto;
	min-height: 110px;
	resize: vertical;
}
.ftn-form__field--full { grid-column: 1 / -1; }
.ftn-form__captcha {
	background: #f8fafc;
	border: 1px solid var(--ftn-border);
	border-radius: var(--ftn-radius);
	padding: .85rem 1rem;
	color: #333;
}
.ftn-form__captcha label {
	color: #333;
	margin-bottom: .5rem;
}
.ftn-form__captcha input {
	max-width: 120px;
	display: inline-block;
}
.ftn-form__privacy {
	display: flex;
	gap: .65rem;
	align-items: flex-start;
	font-size: .88rem;
	color: rgba(255,255,255,.92);
}
.ftn-form__privacy input { margin-top: .2rem; }
.ftn-form__privacy a { color: #fff; text-decoration: underline; }
.ftn-form__actions {
	text-align: center;
	margin-top: .5rem;
}
.ftn-form__actions .btn-primary {
	min-width: 220px;
	padding: .75rem 1.5rem;
	font-weight: 700;
	border-radius: var(--ftn-radius);
}
.ftn-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ftn-flash {
	margin: 1rem 0;
	padding: 1rem 1.15rem;
	border-radius: var(--ftn-radius);
	font-size: .95rem;
}
.ftn-flash--ok {
	background: #ecfdf3;
	color: #166534;
	border: 1px solid #bbf7d0;
}
.ftn-flash--err {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

/* Testimonios — imágenes completas */
.testimonial-content img {
	max-height: 220px;
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	margin: 0 auto 1rem;
	display: block;
}

/* Accesibilidad */
.ftn-skip {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.ftn-skip:focus {
	position: fixed;
	left: 1rem;
	top: 1rem;
	width: auto;
	height: auto;
	padding: .75rem 1rem;
	background: #fff;
	color: #111;
	z-index: 10000;
	border: 2px solid var(--ftn-brand);
	border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
	outline: 3px solid #2563eb;
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* CWV — reservar espacio imágenes */
.img-responsive {
	height: auto;
	max-width: 100%;
}
#main-slide .item img {
	width: 100%;
	object-fit: cover;
	min-height: 320px;
}

/* FAQ */
#faq h3 {
	font-size: 1.1rem;
	margin-top: 1.25rem;
	color: var(--ftn-dark);
}
#faq p {
	color: var(--ftn-muted);
}

@media (max-width: 767px) {
	.ftn-form__grid { grid-template-columns: 1fr; }
	.ftn-form-wrap { padding: 1rem; }
}

/* Señales de confianza */
.ftn-trust {
	padding: 3rem 0;
	background: #fff;
}
.ftn-trust--alt {
	background: #f8fafc;
}
.ftn-trust__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin: 2rem 0;
}
.ftn-trust__stat {
	text-align: center;
	padding: 1.25rem .75rem;
	background: #fff;
	border: 1px solid var(--ftn-border);
	border-radius: var(--ftn-radius);
}
.ftn-trust--alt .ftn-trust__stat { background: #fff; }
.ftn-trust__stat strong {
	display: block;
	font-size: 1.75rem;
	color: var(--ftn-brand);
	line-height: 1.2;
}
.ftn-trust__stat span {
	font-size: .85rem;
	color: var(--ftn-muted);
}
.ftn-trust__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}
.ftn-trust__card {
	background: #fff;
	border: 1px solid var(--ftn-border);
	border-radius: var(--ftn-radius);
	padding: 1.25rem;
	height: 100%;
}
.ftn-trust__card h3 {
	margin: 0 0 .5rem;
	font-size: 1.05rem;
	color: var(--ftn-dark);
}
.ftn-trust__card p:last-child { margin-bottom: 0; }
.ftn-trust__card .ftn-trust__meta {
	font-size: .82rem;
	color: var(--ftn-brand);
	font-weight: 700;
	margin-bottom: .5rem;
}
.ftn-process {
	counter-reset: ftn-proc;
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
}
.ftn-process li {
	counter-increment: ftn-proc;
	position: relative;
	padding: 0 0 1.25rem 3rem;
	border-left: 2px solid #e2e8f0;
	margin-left: 1rem;
}
.ftn-process li:last-child { border-left-color: transparent; padding-bottom: 0; }
.ftn-process li::before {
	content: counter(ftn-proc);
	position: absolute;
	left: -1.05rem;
	top: 0;
	width: 2rem;
	height: 2rem;
	background: var(--ftn-brand);
	color: #fff;
	border-radius: 50%;
	text-align: center;
	line-height: 2rem;
	font-weight: 700;
	font-size: .85rem;
}
.ftn-process li strong { display: block; color: var(--ftn-dark); margin-bottom: .25rem; }
.ftn-guarantee {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
	padding: 1rem 0;
	border-bottom: 1px solid var(--ftn-border);
}
.ftn-guarantee:last-child { border-bottom: 0; }
.ftn-guarantee__icon {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	background: #ecfdf3;
	color: var(--ftn-brand);
	border-radius: 50%;
	text-align: center;
	line-height: 2.25rem;
	font-weight: 700;
}
.ftn-reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}
.ftn-review {
	background: #fff;
	border: 1px solid var(--ftn-border);
	border-radius: var(--ftn-radius);
	padding: 1.25rem;
}
.ftn-review blockquote {
	margin: 0 0 .75rem;
	font-style: italic;
	border: 0;
	padding: 0;
	color: #444;
}
.ftn-review footer {
	font-size: .88rem;
	color: var(--ftn-muted);
}
.ftn-review footer strong { color: var(--ftn-dark); }
.ftn-review img {
	max-height: 140px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	margin-bottom: .75rem;
	display: block;
}
.ftn-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: .75rem;
	margin-top: 1.5rem;
}
.ftn-gallery img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: var(--ftn-radius);
}
.ftn-faq-trust details {
	border: 1px solid var(--ftn-border);
	border-radius: var(--ftn-radius);
	margin-bottom: .75rem;
	padding: .85rem 1rem;
	background: #fff;
}
.ftn-faq-trust summary {
	font-weight: 700;
	cursor: pointer;
	color: var(--ftn-dark);
}
.ftn-faq-trust p { margin: .75rem 0 0; color: var(--ftn-muted); }
@media (max-width: 767px) {
	.ftn-trust__stats { grid-template-columns: repeat(2, 1fr); }
	.ftn-gallery { grid-template-columns: repeat(2, 1fr); }
}
/* Fotomaton Navarra — CRO 2026 */

:root {
	--ftn-cro-wa: #25d366;
	--ftn-cro-urgency: #b45309;
	--ftn-cro-urgency-bg: #fffbeb;
}

/* Barra urgencia superior */
.ftn-cro-urgency {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1050;
	background: var(--ftn-cro-urgency-bg);
	border-bottom: 1px solid #fcd34d;
	color: #78350f;
	font-size: .82rem;
	font-weight: 600;
	text-align: center;
	padding: .45rem 3rem .45rem .75rem;
	line-height: 1.35;
}
.ftn-cro-urgency a {
	color: #92400e;
	text-decoration: underline;
	font-weight: 700;
}
.ftn-cro-urgency__close {
	position: absolute;
	right: .5rem;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: 0;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	color: #78350f;
	padding: .25rem .5rem;
}
body.ftn-has-urgency .navbar-fixed-top { top: 34px; }
body.ftn-has-urgency { padding-top: 34px; }
body.ftn-has-urgency.index { padding-top: 34px; }
@media (max-width: 480px) {
	.ftn-cro-urgency { font-size: .75rem; padding-right: 2.5rem; }
}

/* Nav CTA destacado */
.ftn-nav-cta {
	background: var(--ftn-brand) !important;
	color: #fff !important;
	border-radius: 4px;
	margin-left: .35rem !important;
	padding: .35rem .85rem !important;
}
.ftn-nav-cta:hover,
.ftn-nav-cta:focus {
	background: #4a9626 !important;
	color: #fff !important;
}
.ftn-nav-wa {
	color: var(--ftn-cro-wa) !important;
	font-weight: 700 !important;
}

/* Barra sticky inferior */
.ftn-cro-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1035;
	display: flex;
	gap: .5rem;
	padding: .65rem max(.75rem, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
	background: rgba(41, 60, 91, .97);
	box-shadow: 0 -4px 20px rgba(0,0,0,.2);
	transform: translateY(100%);
	transition: transform .3s ease;
}
.ftn-cro-sticky.is-visible { transform: translateY(0); }
.ftn-cro-sticky__btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	padding: .75rem 1rem;
	border-radius: 6px;
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none !important;
	border: 0;
	cursor: pointer;
	min-height: 48px;
}
.ftn-cro-sticky__btn--wa {
	background: var(--ftn-cro-wa);
	color: #fff !important;
}
.ftn-cro-sticky__btn--book {
	background: #fff;
	color: var(--ftn-dark) !important;
}
body.ftn-has-sticky .ftn-wa {
	bottom: calc(70px + 58px);
	top: auto;
}

/* Franja confianza */
.ftn-cro-trustbar {
	background: #fff;
	border-bottom: 1px solid var(--ftn-border);
	padding: .85rem 0;
}
.ftn-cro-trustbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.75rem;
	font-size: .88rem;
	color: var(--ftn-dark);
}
.ftn-cro-trustbar__item {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 600;
}
.ftn-cro-trustbar__item span { color: var(--ftn-brand); }

/* CTA intermedio (inyectado + manual) */
.ftn-cro-mid {
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
	border: 1px solid #bbf7d0;
	border-radius: var(--ftn-radius);
	padding: 1.5rem;
	margin: 2rem 0;
	text-align: center;
}
.ftn-cro-mid h3 {
	margin: 0 0 .5rem;
	font-size: 1.15rem;
	color: var(--ftn-dark);
}
.ftn-cro-mid p {
	margin: 0 0 1rem;
	color: var(--ftn-muted);
	font-size: .92rem;
}
.ftn-cro-mid__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: center;
}
.ftn-cro-mid__actions .btn { font-weight: 700; min-width: 160px; }
.ftn-cro-mid__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem 1.25rem;
	margin-top: 1rem;
	font-size: .78rem;
	color: var(--ftn-muted);
	font-weight: 600;
}

/* Botones WhatsApp inline */
.ftn-cro-wa-btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	background: var(--ftn-cro-wa) !important;
	color: #fff !important;
	border-color: var(--ftn-cro-wa) !important;
	font-weight: 700;
}
.ftn-cro-wa-btn:hover,
.ftn-cro-wa-btn:focus {
	background: #1ebe57 !important;
	color: #fff !important;
}

/* Reserva rápida */
.ftn-cro-quick {
	background: #fff;
	border: 2px solid var(--ftn-brand);
	border-radius: var(--ftn-radius);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}
.ftn-cro-quick__badge {
	display: inline-block;
	background: #fef3c7;
	color: #92400e;
	font-size: .75rem;
	font-weight: 700;
	padding: .25rem .65rem;
	border-radius: 999px;
	margin-bottom: .75rem;
}
.ftn-cro-quick h3 {
	margin: 0 0 .35rem;
	color: var(--ftn-dark);
	font-size: 1.2rem;
}
.ftn-cro-quick__sub {
	color: var(--ftn-muted);
	font-size: .9rem;
	margin-bottom: 1rem;
}
.ftn-cro-quick__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .75rem;
}
.ftn-cro-quick__field label {
	display: block;
	font-size: .78rem;
	font-weight: 600;
	margin-bottom: .25rem;
	color: #333;
}
.ftn-cro-quick__field .form-control {
	height: 42px;
	border-radius: var(--ftn-radius);
}
.ftn-cro-quick__field--full { grid-column: 1 / -1; }
.ftn-cro-quick__privacy {
	display: flex;
	gap: .5rem;
	align-items: flex-start;
	font-size: .82rem;
	margin: .75rem 0;
}
.ftn-cro-quick__privacy input { margin-top: .15rem; }
.ftn-cro-quick__submit {
	width: 100%;
	padding: .85rem;
	font-weight: 700;
	font-size: 1rem;
	border-radius: var(--ftn-radius);
}
.ftn-cro-quick__alt {
	text-align: center;
	margin-top: .75rem;
	font-size: .85rem;
}
.ftn-cro-quick__alt a { font-weight: 600; }
.ftn-cro-quick--sidebar {
	margin-top: 1rem;
	padding: 1rem;
}
.ftn-cro-quick--sidebar h4 {
	font-size: .95rem;
	margin: 0 0 .65rem;
	color: var(--ftn-dark);
}
.ftn-cro-quick--sidebar .ftn-cro-quick__grid { grid-template-columns: 1fr; }

/* Badges confianza formulario */
.ftn-cro-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem 1.25rem;
	margin: 1rem 0 1.5rem;
}
.ftn-cro-badge {
	display: flex;
	align-items: center;
	gap: .4rem;
	font-size: .82rem;
	font-weight: 600;
	color: rgba(255,255,255,.95);
}
.ftn-cro-badge__icon {
	width: 1.75rem;
	height: 1.75rem;
	background: rgba(255,255,255,.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .9rem;
}

/* Prueba social flotante */
.ftn-cro-proof {
	position: fixed;
	left: max(12px, env(safe-area-inset-left));
	bottom: calc(88px + env(safe-area-inset-bottom));
	z-index: 1038;
	max-width: 280px;
	background: #fff;
	border: 1px solid var(--ftn-border);
	border-radius: var(--ftn-radius);
	padding: .75rem 1rem;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	font-size: .82rem;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .35s ease, transform .35s ease;
	pointer-events: none;
}
.ftn-cro-proof.is-show {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.ftn-cro-proof strong { color: var(--ftn-dark); display: block; }
.ftn-cro-proof span { color: var(--ftn-muted); font-size: .75rem; }

/* Sidebar social proof */
.ftn-cro-sidebar-proof {
	background: #fff;
	border: 1px solid var(--ftn-border);
	border-radius: var(--ftn-radius);
	padding: 1rem;
	margin-top: 1rem;
	font-size: .85rem;
}
.ftn-cro-sidebar-proof blockquote {
	margin: 0 0 .5rem;
	font-style: italic;
	border: 0;
	padding: 0;
	color: #444;
	font-size: .88rem;
}
.ftn-cro-sidebar-proof footer {
	font-size: .78rem;
	color: var(--ftn-muted);
}
.ftn-cro-stars { color: #f59e0b; letter-spacing: .05em; }

/* Hero CTA extra */
.ftn-cro-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: center;
	margin-top: .75rem;
}

/* Sección reserva online home */
#reserva-rapida {
	padding: 3rem 0;
	background: #f8fafc;
}
#reserva-rapida .section-title h3 { color: var(--ftn-dark); }

@media (max-width: 767px) {
	.ftn-cro-quick__grid { grid-template-columns: 1fr; }
	.ftn-cro-proof { display: none; }
	.ftn-cro-sticky__btn { font-size: .82rem; padding: .65rem .5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.ftn-cro-sticky,
	.ftn-cro-proof { transition: none; }
}
