/*
 * Estrella Inversiones — modern skin
 * Loaded after webflow.css; overrides the 2016-era Webflow look
 * with the Estrella red/orange brand palette.
 */

:root {
	--ei-red: #f04e23;
	--ei-red-deep: #d91e18;
	--ei-orange: #f97316;
	--ei-tint: #fdf3ec;
	--hm-ink: #1a1b1f;
	--hm-ink-soft: #43464d;
	--hm-muted: #6b7280;
	--hm-surface: #ffffff;
	--hm-bg: #fdfbfa;
	--hm-radius: 18px;
	--hm-radius-sm: 12px;
	--hm-shadow: 0 8px 30px rgba(26, 27, 31, 0.08);
	--hm-shadow-lg: 0 20px 50px rgba(26, 27, 31, 0.14);
	--hm-gradient: linear-gradient(135deg, #f97316 0%, #f04e23 45%, #d91e18 100%);
}

/* ---------- base ---------- */

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--hm-bg);
	color: var(--hm-ink);
	font-family: Montserrat, system-ui, -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--ei-red);
	color: #fff;
}

h1, h2, h3, h4, h5,
.heading-jumbo, .headingaboutus, .heading-2, .headinghome, .heading {
	font-family: Poppins, Montserrat, system-ui, sans-serif;
}

h1, h2, h3, h4, h5 {
	color: var(--hm-ink);
	letter-spacing: -0.02em;
	font-weight: 700;
}

p, li {
	color: var(--hm-ink-soft);
}

img {
	max-width: 100%;
	height: auto;
}

/* ---------- navigation: sticky glass bar ---------- */

.navigation {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 999;
	padding: 12px 40px;
	background-color: rgba(253, 246, 240, 0.88);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid rgba(139, 26, 16, 0.08);
	border-top: 4px solid transparent;
	border-image: linear-gradient(90deg, #f97316, #f04e23, #d91e18) 1;
	border-left: none;
	border-right: none;
	box-shadow: 0 1px 20px rgba(139, 26, 16, 0.07);
}

.logo-link img {
	border-radius: 12px;
}

.navigation-item {
	position: relative;
	margin-left: 6px;
	padding: 10px 16px;
	border-radius: 999px;
	color: var(--hm-ink-soft);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	mix-blend-mode: normal;
	transition: color 200ms ease, background-color 200ms ease;
}

.navigation-item:hover {
	border-bottom: none;
	color: var(--ei-red-deep);
	background-color: var(--ei-tint);
	opacity: 1;
}

.navigation-item.w--current {
	color: #fff;
	background-image: var(--hm-gradient);
	box-shadow: 0 4px 14px rgba(240, 78, 35, 0.35);
}

.navigation-item.w--current:hover {
	color: #fff;
	opacity: 1;
}

/* ---------- hero ---------- */

.intro-header {
	position: relative;
	height: auto;
	min-height: 620px;
	margin-bottom: 90px;
	padding: 70px 5vw;
	align-items: center;
	background-color: #3b0905;
	background-image:
		linear-gradient(100deg, rgba(59, 9, 5, 0.93) 0%, rgba(107, 15, 9, 0.78) 48%, rgba(240, 78, 35, 0.5) 100%),
		url("../images/estrella-hero.jpg");
	background-position: 50% 50%, 50% 50%;
	background-size: cover, cover;
	background-repeat: no-repeat, no-repeat;
	border-radius: 0;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
	padding-bottom: 110px;
	overflow: hidden;
}

.intro-header.about {
	min-height: 340px;
	height: auto;
	background-image:
		linear-gradient(100deg, rgba(59, 9, 5, 0.9) 0%, rgba(240, 78, 35, 0.45) 100%),
		url("../images/estrella-nosotros.jpg");
}

.intro-header.about.productos {
	background-image:
		linear-gradient(100deg, rgba(59, 9, 5, 0.9) 0%, rgba(240, 78, 35, 0.45) 100%),
		url("../images/estrella-productos.jpg");
}

.heading-jumbo {
	font-size: clamp(40px, 6vw, 72px);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.intro-text .paragraph-bigger.cc-bigger-light {
	border-bottom: none;
	opacity: 1;
	color: rgba(255, 255, 255, 0.92);
	font-weight: 500;
	font-size: 20px;
}

/* headline on inner-page heros */
.headingaboutus {
	color: #fff;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* ---------- hero form card ---------- */

.form-block-2 {
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: var(--hm-radius);
	background-color: rgba(255, 255, 255, 0.96);
	box-shadow: var(--hm-shadow-lg);
	padding: 14px 8px;
}

.form-block-2 .heading {
	color: var(--hm-ink);
	font-weight: 700;
}

.form-block-2 h5.heading {
	color: var(--hm-muted);
	font-weight: 500;
}

/* ---------- inputs & buttons ---------- */

.w-input,
.text-field {
	padding: 14px 16px;
	border: 1.5px solid #e5e7eb;
	border-radius: var(--hm-radius-sm);
	background-color: #f9fafb;
	font-size: 15px;
	line-height: 1.5;
	transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.w-input:focus,
.text-field:focus {
	border-color: var(--ei-red);
	background-color: #fff;
	box-shadow: 0 0 0 4px rgba(240, 78, 35, 0.18);
	outline: none;
}

.w-input::placeholder,
.text-field::placeholder {
	color: #9ca3af;
	text-transform: capitalize;
}

.submit-button,
.button {
	padding: 14px 28px;
	border: none;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background-color: var(--ei-red);
	background-image: var(--hm-gradient);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(240, 78, 35, 0.4);
	transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.submit-button:hover,
.button:hover {
	background-color: var(--ei-red-deep);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(240, 78, 35, 0.5);
	filter: brightness(1.05);
}

.submit-button:active,
.button:active {
	transform: translateY(0);
}

/* success / error banners */
.hm-form-wrap .w-form-done {
	background-color: var(--ei-tint);
	border: 1px solid var(--ei-orange);
	border-radius: var(--hm-radius-sm);
	color: #8b1a10;
	font-weight: 600;
}

.hm-form-wrap .w-form-fail {
	border-radius: var(--hm-radius-sm);
}

/* ---------- section headings & dividers ---------- */

.main-heading-wrap h1 {
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 800;
}

.paragraph-bigger.cc-bigger-light {
	border-bottom: none;
	opacity: 1;
	color: var(--hm-muted);
	font-weight: 500;
}

/* green underline accent under section titles */
.main-heading-wrap {
	position: relative;
	padding-bottom: 18px;
	text-align: center;
}

.main-heading-wrap::after {
	content: "";
	display: block;
	width: 64px;
	height: 5px;
	margin: 18px auto 0;
	border-radius: 999px;
	background-image: var(--hm-gradient);
}

.divider {
	height: 1px;
	margin-top: 60px;
	margin-bottom: 20px;
	background: linear-gradient(90deg, transparent, rgba(240, 78, 35, 0.45), transparent);
}

/* ---------- feature columns -> modern cards ---------- */

.colcontainer {
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px 24px;
}

.colmain {
	height: auto;
	min-height: 100%;
	margin: 10px;
	padding: 34px 26px;
	border-right: none;
	border-radius: var(--hm-radius);
	background-color: var(--hm-surface);
	box-shadow: var(--hm-shadow);
	border-top: none;
	border-left: 5px solid var(--ei-red);
	transition: transform 250ms ease, box-shadow 250ms ease;
}

.colmain:hover {
	transform: translateY(-6px);
	box-shadow: var(--hm-shadow-lg);
}

.colmain .heading-2 {
	font-size: 18px;
	letter-spacing: 0.02em;
	color: var(--hm-ink);
}

.colmain .div-block-2 img {
	max-width: 110px;
}

.colmain ul {
	padding-left: 18px;
}

.colmain li {
	margin-bottom: 8px;
	line-height: 1.5;
}

/* ---------- checklist section ---------- */

.main-paragraph-wrap .list li,
.container .list li {
	position: relative;
	margin-bottom: 10px;
	padding: 10px 14px 10px 40px;
	list-style: none;
	border-radius: var(--hm-radius-sm);
	background-color: var(--hm-surface);
	box-shadow: 0 2px 10px rgba(26, 27, 31, 0.05);
	font-weight: 500;
	color: var(--hm-ink-soft);
}

.main-paragraph-wrap .list li::before,
.container .list li::before {
	content: "✓";
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background-image: var(--hm-gradient);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

/* ---------- "Paso 1/2/3" steps ---------- */

.headinghome {
	display: inline-block;
	margin-top: 34px;
	padding: 8px 22px;
	border-radius: 999px;
	background-color: var(--ei-tint);
	color: var(--ei-red-deep);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	letter-spacing: -0.01em;
}

.paragraph-bigger.cc-bigger-light.others {
	margin-top: 8px;
	margin-bottom: 14px;
	color: var(--hm-ink-soft);
	font-size: 19px;
}

/* ---------- about page cards ---------- */

.aboutcard {
	border-radius: var(--hm-radius);
	background-color: var(--hm-surface);
	box-shadow: var(--hm-shadow);
	padding: 28px;
	transition: transform 250ms ease, box-shadow 250ms ease;
}

.aboutcard:hover {
	transform: translateY(-4px);
	box-shadow: var(--hm-shadow-lg);
}

.about-quote {
	border-left: 4px solid var(--ei-red);
	border-radius: 0 var(--hm-radius-sm) var(--hm-radius-sm) 0;
	background-color: var(--ei-tint);
	padding: 22px 26px;
	font-style: italic;
	color: var(--hm-ink-soft);
}

/* ---------- contact page ---------- */

.get-in-touch-form-wrap {
	border-radius: var(--hm-radius);
	background-color: var(--hm-surface);
	box-shadow: var(--hm-shadow);
	padding: 30px;
}

.status-message.cc-success-message {
	border-radius: var(--hm-radius-sm);
	background-color: var(--ei-tint);
	color: #8b1a10;
}

.status-message.cc-error-message {
	border-radius: var(--hm-radius-sm);
}

.support-link {
	color: var(--ei-red-deep);
	font-weight: 600;
}

/* ---------- footer: dark & modern ---------- */

.footer,
.section .w-layout-grid.footer {
	padding: 60px 40px 30px;
	background-color: #2b0a06;
	background-image: linear-gradient(160deg, #4a0e08 0%, #2b0a06 60%);
	border-radius: 0;
	border-top: 4px solid;
	border-image: linear-gradient(90deg, #f97316, #f04e23, #d91e18) 1;
	color: rgba(255, 240, 235, 0.78);
}

.footer .label {
	color: #fff;
	letter-spacing: 0.1em;
}

.footer-link {
	opacity: 1;
	color: rgba(255, 255, 255, 0.65);
	transition: color 200ms ease;
}

.footer-link:hover {
	color: var(--ei-orange);
}

.footer-link.w--current {
	color: var(--ei-orange);
}

.footer .paragraph-bigger.footeradress,
.footer .paragraph-contact-text.footeradress {
	color: var(--ei-orange);
}

.footer .paragraph-tiny,
.paragraph-tiny.cc-paragraph-tiny-light {
	color: rgba(255, 255, 255, 0.45);
}

.footer img {
	border-radius: 12px;
}

/* the footer sits inside .section which has side margins — bleed it full width */
.section:has(> .container > .w-layout-grid.footer),
.section:has(.footer) {
	margin-right: 0;
	margin-left: 0;
}

/* ---------- responsive polish ---------- */

@media (max-width: 991px) {
	.navigation {
		padding: 10px 20px;
	}
	.intro-header {
		min-height: auto;
		padding: 50px 20px 80px;
		border-radius: 0;
		clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%);
	}
	.colmain {
		margin: 10px 0;
	}
}

@media (max-width: 767px) {
	.heading-jumbo {
		font-size: 38px;
	}
	.footer,
	.section .w-layout-grid.footer {
		padding: 40px 24px 24px;
		border-radius: 0;
	}
}

/* mobile nav dropdown (webflow collapses at medium) */
.w-nav-overlay .navigation-item {
	margin: 6px 12px;
	text-align: center;
}

.w-nav[data-collapse="medium"] .w-nav-menu {
	background-color: rgba(255, 255, 255, 0.97);
}

.menu-button.w--open {
	background-color: var(--ei-red);
	border-radius: 10px;
}

/* ---------- round 2 polish (from visual review) ---------- */

/* gray section bands -> soft rounded panels */
.container {
	background-color: #f8f3ee;
	border-radius: 24px;
	padding: 36px 32px;
}

.container.cc-heading-wrap {
	background-color: #f8f3ee;
}

/* warm checklist band -> rounded panel */
.main-paragraph-wrap,
.w-layout-grid.main-paragraph-wrap {
	border-radius: 20px;
	padding: 28px;
	background-color: rgba(240, 78, 35, 0.07);
}

/* nosotros: cards had a fixed 350px height -> text overflowed */
.aboutcard {
	height: auto;
	min-height: 100%;
	border: none;
}

/* nosotros row wrapper had a flat green background behind the cards */
.columns-2 {
	background-color: transparent;
}

/* mission/vision/values icon headers inside cards */
.div-block-5 {
	border-radius: var(--hm-radius-sm);
	overflow: hidden;
}

/* footer logo shouldn't crowd the MENU label */
.footer .image-6,
.footer img.image-6 {
	margin-bottom: 16px;
	display: block;
}

/* steps container: center content block nicely */
.container-2 {
	display: block;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.container-2 ul {
	display: inline-block;
	text-align: left;
	margin-top: 10px;
}

@media (max-width: 767px) {
	.container {
		border-radius: 18px;
		padding: 24px 18px;
	}
}

/* Paso pills: force each onto its own centered line (they were inline-block
   and "Paso 3" floated up next to the Paso 2 list) */
.headinghome {
	display: block;
	width: -moz-fit-content;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	clear: both;
}

.container-2 ul {
	display: block;
	max-width: 420px;
	margin: 10px auto 0;
}

/* ---------- two-column hero: headline left, loan form right ---------- */

.intro-header:not(.about) {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(340px, 460px);
	gap: 24px 56px;
	align-items: center;
	justify-content: center;
	padding-left: 6vw;
	padding-right: 6vw;
}

.intro-header:not(.about) .intro-content.image {
	width: 100%;
	max-width: none;
	align-self: center;
}

.intro-header:not(.about) .intro-text {
	width: 100%;
	margin-bottom: 0;
	text-align: left;
}

.intro-header:not(.about) .form-block-2 {
	width: 100%;
	margin-left: 0;
	justify-self: end;
	padding: 22px 18px;
}

@media (max-width: 991px) {
	.intro-header:not(.about) {
		grid-template-columns: 1fr;
		gap: 34px;
	}
	.intro-header:not(.about) .intro-text {
		text-align: center;
	}
	.intro-header:not(.about) .form-block-2 {
		justify-self: center;
		width: 100%;
		max-width: 520px;
	}
}

/* hero column order: headline left, form right (explicit, not auto-placed) */
.intro-header:not(.about) .intro-content.image {
	grid-column: 1;
	grid-row: 1;
}

.intro-header:not(.about) .form-block-2 {
	grid-column: 2;
	grid-row: 1;
}

@media (max-width: 991px) {
	.intro-header:not(.about) .intro-content.image,
	.intro-header:not(.about) .form-block-2 {
		grid-column: 1;
	}
	.intro-header:not(.about) .intro-content.image { grid-row: 1; }
	.intro-header:not(.about) .form-block-2 { grid-row: 2; }
}

/* logo sizing: readable wordmark in nav and footer */
.navigation .logo-link img {
	width: 148px;
	height: auto;
	border-radius: 0;
}

.footer .image-6,
.footer img.image-6 {
	width: 170px;
	height: auto;
	background-color: #fff;
	padding: 10px 14px;
	border-radius: 12px;
}
