/* Formulario de contacto / cotización */
.jl-contact-layout {
	max-width: 760px;
}

/* Sección cotizar: marino oscuro + contraste blanco */
#cotizar.jl-section--alt {
	background: linear-gradient(165deg, #071c33 0%, #0b2a4a 48%, #0a2340 100%);
	color: #ffffff;
}

#cotizar .jl-section__head h2 {
	color: #ffffff;
}

#cotizar .jl-section__head p {
	color: rgba(255, 255, 255, 0.82);
}

.jl-form-msg {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	font-weight: 600;
}

.jl-form-msg--ok {
	background: rgba(20, 108, 67, 0.22);
	color: #b8f0d0;
	border: 1px solid rgba(183, 235, 201, 0.45);
}

.jl-form-msg--error {
	background: rgba(180, 35, 24, 0.22);
	color: #ffc9c5;
	border: 1px solid rgba(245, 194, 192, 0.45);
}

.jl-sim-summary {
	margin: 0 0 1.25rem;
	padding: 1rem 1.1rem;
	border-radius: 12px;
	border: 1px solid rgba(249, 188, 2, 0.45);
	background: rgba(249, 188, 2, 0.12);
}

.jl-sim-summary__title {
	margin: 0 0 0.55rem;
	font-family: var(--jl-display, "Space Grotesk", sans-serif);
	font-size: 0.95rem;
	font-weight: 700;
	color: #ffe08a;
}

.jl-sim-summary__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.35rem;
}

.jl-sim-summary__list li {
	font-size: 0.88rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.9);
}

.jl-sim-summary__list strong {
	color: #ffe08a;
	font-weight: 700;
	margin-right: 0.25rem;
}

.jl-sim-summary__note {
	margin: 0.7rem 0 0;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.55);
}

.jl-contact-form {
	margin-top: 0.5rem;
}

.jl-contact-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.1rem;
	margin-bottom: 1.35rem;
}

.jl-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}

.jl-field--full {
	grid-column: 1 / -1;
}

.jl-field input,
.jl-field select,
.jl-field textarea {
	width: 100%;
	padding: 0.8rem 0.95rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font: inherit;
	font-weight: 500;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.jl-field input::placeholder,
.jl-field textarea::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.jl-field select {
	color: #ffffff;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%23ffffff' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.95rem center;
	padding-right: 2.4rem;
}

.jl-field select option {
	color: #0b2a4a;
	background: #ffffff;
}

.jl-field textarea {
	resize: vertical;
	min-height: 110px;
}

.jl-field input:focus,
.jl-field select:focus,
.jl-field textarea:focus {
	outline: none;
	border-color: rgba(122, 214, 255, 0.85);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 0 0 3px rgba(94, 200, 245, 0.22);
}

.jl-btn--form {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 210px;
	color: #ffffff !important;
	background: transparent;
	border-color: transparent;
}

#cotizar .jl-btn--form .jl-btn__path--lead,
#cotizar .jl-btn--form .jl-btn__path--trail {
	stroke: #ffffff;
}

.jl-btn--form:hover,
.jl-btn--form:focus-visible {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.08);
}

/* Misma animación de borde en botones de servicios */
.jl-service-card__btn {
	position: relative;
	overflow: visible;
	isolation: isolate;
}

.jl-service-card__btn::before,
.jl-service-card__btn::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 10px;
	pointer-events: none;
	opacity: 0;
}

.jl-service-card__btn::before {
	border: 2px solid currentColor;
	clip-path: inset(0 100% 0 0);
	z-index: 1;
}

.jl-service-card__btn::after {
	border: 2px solid var(--jl-blue);
	z-index: 0;
}

.jl-service-card__btn:hover::before,
.jl-service-card__btn:focus-visible::before {
	animation: jl-card-btn-lead 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.jl-service-card__btn:hover::after,
.jl-service-card__btn:focus-visible::after {
	animation: jl-card-btn-trail 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes jl-card-btn-lead {
	0% { opacity: 1; clip-path: inset(0 100% 0 0); }
	100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes jl-card-btn-trail {
	0% { opacity: 0; }
	40% { opacity: 0.35; }
	100% { opacity: 1; }
}

@media (max-width: 700px) {
	.jl-contact-form__grid {
		grid-template-columns: 1fr;
	}
}
