/* FRN Atlántico — Jet Black refinement
 * Keeps the existing visual system and layout intact while removing the
 * dominant blue cast. A very subtle Atlantic blue-black undertone remains.
 */
:root {
	--frn-black: #050505;
	--frn-jet: #090A0B;
	--frn-navy: #0D1115;
	--frn-ivory: #F3EFE6;
	--frn-steel: #9A9A96;
	--frn-gold: #A9823F;
	--frn-gold-dark: #745824;
	--frn-hairline: 1px solid rgba(154, 154, 150, 0.22);
	--frn-hairline-gold: 1px solid rgba(169, 130, 63, 0.40);
}

body,
.frn-section {
	background-color: #050505;
}

.frn-section--jet,
.frn-section--cta {
	background-color: #090A0B;
}

.frn-section--navy {
	background: linear-gradient(180deg, #0A0B0C 0%, #0D1115 100%);
}

.frn-header {
	background: rgba(5, 5, 5, 0.94);
	border-bottom-color: rgba(169, 130, 63, 0.18);
}

/* Compact premium utility strip: language + verified social profiles + email. */
.frn-header__utility {
	border-bottom: 1px solid rgba(154, 154, 150, 0.14);
	background: rgba(0, 0, 0, 0.34);
}
.frn-header__utility-inner {
	min-height: 31px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.frn-header__utility-location {
	color: rgba(243, 239, 230, 0.52);
	white-space: nowrap;
}
.frn-header__utility-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.9rem;
	margin-left: auto;
}
.frn-header__langs,
.frn-header__socials {
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
}
.frn-header__langs {
	padding-right: 0.75rem;
	border-right: 1px solid rgba(154, 154, 150, 0.18);
}
.frn-header__langs a,
.frn-header__langs span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 25px;
	padding: 0 0.35rem;
	color: rgba(243, 239, 230, 0.58);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.frn-header__langs a:hover,
.frn-header__langs .is-active {
	color: var(--frn-gold);
	border-bottom-color: var(--frn-gold);
}
.frn-header__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border: 1px solid rgba(154, 154, 150, 0.24);
	border-radius: 50%;
	color: rgba(243, 239, 230, 0.72);
	text-decoration: none;
	font-size: 0.62rem;
	letter-spacing: 0;
	text-transform: none;
}
.frn-header__socials a:hover {
	border-color: var(--frn-gold);
	color: var(--frn-gold);
}
.frn-header__utility-mail {
	color: rgba(243, 239, 230, 0.64);
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0.04em;
}
.frn-header__utility-mail:hover { color: var(--frn-gold); }

/* Main communication triangle: phone, WhatsApp and quote. */
.frn-header__actions { gap: 0.55rem; }
.frn-header__phone {
	display: none;
	align-items: baseline;
	gap: 0.45rem;
	padding: 0.55rem 0.7rem;
	text-decoration: none;
	border-left: 1px solid rgba(154, 154, 150, 0.18);
	color: var(--frn-ivory);
	white-space: nowrap;
}
.frn-header__phone-label {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--frn-steel);
}
.frn-header__phone-number {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}
.frn-header__phone:hover .frn-header__phone-number { color: var(--frn-gold); }
@media (min-width: 1180px) {
	.frn-header__phone { display: inline-flex; }
}

@media (max-width: 760px) {
	.frn-header__utility-inner { min-height: 34px; }
	.frn-header__utility-location,
	.frn-header__utility-mail { display: none; }
	.frn-header__utility-right { width: 100%; justify-content: space-between; }
	.frn-header__langs { padding-right: 0; border-right: 0; }
}

/* Hero carousel: same commercial copy, rotating category photography. */
.frn-hero__media { position: absolute; inset: 0; }
.frn-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.1s ease, visibility 1.1s ease;
}
.frn-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
}
.frn-hero__slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.frn-hero__overlay {
	background:
		linear-gradient(90deg, rgba(3, 3, 3, 0.91) 0%, rgba(4, 4, 4, 0.70) 46%, rgba(4, 5, 6, 0.32) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.58) 100%);
}
.frn-hero__controls {
	position: absolute;
	left: 50%;
	bottom: 1.25rem;
	z-index: 4;
	transform: translateX(-50%);
	display: flex;
	gap: 0.55rem;
	justify-content: flex-end;
	pointer-events: none;
}
.frn-hero__dot {
	pointer-events: auto;
	width: 34px;
	height: 3px;
	padding: 0;
	border: 0;
	background: rgba(243, 239, 230, 0.36);
	cursor: pointer;
}
.frn-hero__dot.is-active,
.frn-hero__dot:hover { background: var(--frn-gold); }
@media (prefers-reduced-motion: reduce) {
	.frn-hero__slide { transition: none; }
}

.frn-btn--primary,
.wp-block-button.frn-btn--primary .wp-block-button__link {
	background: var(--frn-gold);
	border-color: var(--frn-gold);
}

.frn-btn--primary:hover,
.wp-block-button.frn-btn--primary .wp-block-button__link:hover {
	background: var(--frn-gold-dark);
	border-color: var(--frn-gold-dark);
}

.frn-card,
.frn-product-card,
.frn-tech-card,
.frn-market-card,
.frn-process-card {
	background-color: #0A0A0A;
}

/* Make missing media explicit and unmistakable. */
.frn-product-placeholder,
.frn-photo-pending {
	position: relative;
	min-height: 100%;
	background: linear-gradient(145deg, #070707 0%, #101010 100%);
	border: 1px solid rgba(169, 130, 63, 0.34);
}
.frn-product-placeholder::before,
.frn-photo-pending::before {
	content: "";
	display: block;
	width: min(180px, 62%);
	height: 64px;
	margin: 0 auto 1.1rem;
	background-image: var(--frn-product-placeholder-logo, none);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.88;
}
.frn-product-placeholder::after,
.frn-photo-pending::after {
	content: "SIN FOTO ASIGNADA";
	display: block;
	margin-top: 0.85rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--frn-gold);
}
.frn-product-placeholder-mark,
.frn-photo-pending__mark { display: none; }

/* Homepage cadence: denser copy, less dead vertical space, clearer chapters. */
.home .frn-section {
	padding-block: clamp(3.25rem, 5.8vw, 5.4rem);
	border-top: 1px solid rgba(154, 154, 150, 0.08);
}
.home .frn-section--navy {
	background:
		radial-gradient(circle at 88% 18%, rgba(169, 130, 63, 0.06), transparent 26%),
		linear-gradient(180deg, #0D1115 0%, #08090A 100%);
	border-top-color: rgba(169, 130, 63, 0.20);
	border-bottom: 1px solid rgba(169, 130, 63, 0.13);
}
.home .frn-section--jet {
	background: linear-gradient(180deg, #090A0B 0%, #050505 100%);
}
.home .frn-section-header { margin-bottom: 1.8rem; }
.home .frn-section-intro { max-width: 76ch; }
.home .frn-section-more { margin-top: 1.5rem; }

.frn-section-header--wide { max-width: 900px; }

.frn-commercial-pillars,
.frn-company-cards,
.frn-company-sectors {
	margin-top: 2rem;
}

.frn-commercial-pillar,
.frn-company-cards article,
.frn-company-sectors article {
	padding: 1.5rem 0 0;
	border-top: var(--frn-hairline-gold);
}

.frn-commercial-pillar h3,
.frn-company-cards h3,
.frn-company-sectors h3 { font-size: 1.25rem; }

.frn-commercial-pillar p,
.frn-company-cards p,
.frn-company-sectors p {
	color: var(--frn-steel);
	margin-bottom: 0;
}

/* Ivory technical/documentary chapter: force readable text and useful density. */
.frn-section--ivory {
	background: #EEE9DF;
	color: #171717;
}
.frn-section--ivory .frn-kicker { color: #745824; }
.frn-section--ivory .frn-section-title,
.frn-section--ivory h2,
.frn-section--ivory h3 { color: #111; }
.frn-section--ivory p,
.frn-section--ivory .frn-section-intro,
.frn-section--ivory .frn-spec-list li { color: #403E39; }
.frn-section--ivory .frn-spec-list {
	border-top: 1px solid rgba(5, 5, 5, 0.18);
}
.frn-section--ivory .frn-spec-list li {
	font-weight: 700;
	padding-block: 0.95rem;
}
.frn-section--ivory .frn-link-arrow { color: #745824; }

.frn-quality-copy { max-width: 900px; }

.frn-quality-points {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	gap: 0;
	border-top: var(--frn-hairline);
}

.frn-quality-points li {
	padding: 0.9rem 0;
	border-bottom: var(--frn-hairline);
	color: var(--frn-ivory);
}

@media (min-width: 760px) {
	.frn-quality-points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2rem;
	}
}

@media (min-width: 980px) {
	.frn-steps {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 1.35rem;
	}
}

.frn-company-hero {
	padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
	background:
		radial-gradient(circle at 78% 18%, rgba(169, 130, 63, 0.09), transparent 34%),
		linear-gradient(180deg, #050505 0%, #090A0B 100%);
	border-bottom: var(--frn-hairline);
}

.frn-company-hero__title {
	max-width: 950px;
	font-size: clamp(2.7rem, 6vw, 5.4rem);
	line-height: 0.98;
	margin-bottom: 1.4rem;
}

.frn-company-hero__lead {
	max-width: 760px;
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.45rem);
	color: var(--frn-steel);
}

.frn-company-intro { max-width: 900px; }

.frn-company-intro h2,
.frn-company-cta h2 {
	font-size: clamp(2rem, 1.6rem + 2vw, 3.3rem);
}

.frn-company-intro p {
	max-width: 78ch;
	color: var(--frn-steel);
}

.frn-section--ivory .frn-company-value article {
	padding-top: 1.25rem;
	border-top: 1px solid rgba(5, 5, 5, 0.18);
}

.frn-section--ivory .frn-company-value p { color: #45433f; }

.frn-company-base {
	display: grid;
	gap: 2rem;
	align-items: start;
}

.frn-company-base p {
	max-width: 70ch;
	color: var(--frn-steel);
}

.frn-company-base address {
	padding: 1.4rem 0 1.4rem 1.5rem;
	border-left: 2px solid var(--frn-gold);
	color: var(--frn-steel);
}

.frn-company-base address strong { color: var(--frn-ivory); }

@media (min-width: 900px) {
	.frn-company-base {
		grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	}
}

.frn-company-cta { text-align: center; }

.frn-company-cta p {
	max-width: 68ch;
	margin-inline: auto;
	color: var(--frn-steel);
}

.frn-company-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
	margin-top: 1.5rem;
}

.frn-catalogue-filter {
	padding: 1.25rem 1.35rem;
	background: #090909;
	border: var(--frn-hairline);
}

.frn-catalogue-filter .frn-filter-bar { margin-bottom: 1rem; }
.frn-catalogue-filter .frn-filter-bar:last-of-type { margin-bottom: 0; }

.frn-filter-bar--line {
	padding-bottom: 0.25rem;
	border-bottom-color: rgba(169, 130, 63, 0.35);
}

.frn-filter-bar--line a {
	font-size: 0.88rem;
	letter-spacing: 0.11em;
}

.frn-filter-hint {
	margin: 0.85rem 0 0;
	max-width: 70ch;
	color: var(--frn-steel);
	font-size: 0.94rem;
}

.frn-filter-reset {
	margin: 1.1rem 0 0;
	padding-top: 0.9rem;
	border-top: var(--frn-hairline);
}

.frn-filter-reset a {
	color: var(--frn-gold);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

@media (max-width: 720px) {
	.frn-catalogue-filter { padding: 1rem; }
	.frn-filter-bar { display: block; }
	.frn-filter-bar__label { display: block; margin-bottom: 0.35rem; }
	.frn-filter-bar ul { gap: 0.2rem 1.1rem; }
	.frn-hero__controls { justify-content: center; }
}
