/* Saint Germain - Nosotros */

/* Neutraliza los estilos de botón del tema (Hello Elementor pinta los botones de rosa #c36). */
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros button,
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros [type=button],
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros [type=submit] {
	box-shadow: none;
	text-transform: none;
	text-decoration: none;
	white-space: normal;
	user-select: auto;
	line-height: inherit;
	letter-spacing: inherit;
	font-weight: inherit;
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros a,
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros a:hover { text-decoration: none; }

body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn {
	--sgn-bg: #FAF2E7;
	--sgn-block: #E9DDC7;
	--sgn-navy: #0A1F3E;
	--sgn-gold: #C6A15B;
	--sgn-gold-dark: #7A5C26;

	position: relative;
	overflow: hidden;
	background: var(--sgn-bg);
	color: var(--sgn-navy);
	font-family: 'Jost', sans-serif;
	scroll-margin-top: 90px;
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn *,
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn *::before,
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn *::after { box-sizing: border-box; }

/* Nombre gigante calado de fondo */
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__ghost {
	position: absolute;
	left: 50%;
	top: 60px;
	transform: translateX(-50%);
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
	font-size: clamp(130px, 22vw, 340px);
	line-height: .8;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: transparent;
	-webkit-text-stroke: 1px rgba(10, 31, 62, .09);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__wrap {
	position: relative;
	max-width: 1320px;
	margin: 0 auto;
	padding: 88px 28px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 40px 80px;
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn--right .sgn__wrap { flex-direction: row-reverse; }

/* ---------- Foto ---------- */
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__photo {
	position: relative;
	flex: 1 1 340px;
	max-width: 500px;
	margin: 0;
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn--block .sgn__photo::before {
	content: "";
	position: absolute;
	left: 24px;
	right: -24px;
	top: 80px;
	bottom: 0;
	background: var(--sgn-block);
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn--right.sgn--block .sgn__photo::before { left: -24px; right: 24px; }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__photo img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Texto ---------- */
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__text {
	flex: 1 1 420px;
	min-width: 0;
	padding-bottom: 96px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__kicker {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--sgn-gold-dark);
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__kicker span { width: 40px; height: 1px; background: var(--sgn-gold); }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__name {
	margin: 0;
	font-family: 'Cormorant Garamond', serif;
	font-weight: 500;
	font-size: clamp(64px, 8vw, 120px);
	line-height: .9;
	color: var(--sgn-navy);
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__dot { color: var(--sgn-gold); }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__role {
	margin: -6px 0 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--sgn-gold-dark);
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__lead {
	margin: 0;
	max-width: 520px;
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(24px, 2.4vw, 30px);
	font-style: italic;
	line-height: 1.3;
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__body {
	margin: 0;
	max-width: 500px;
	font-size: 17px;
	line-height: 1.65;
	color: #2E3A50;
}

/* Idiomas */
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__langs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__langs-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: #4A5468;
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__chip {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 8px;
	border: 1px solid #D9CBB0;
	border-radius: 40px;
	background: rgba(255, 255, 255, .55);
	font-size: 14px;
	color: var(--sgn-navy);
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__chip svg { display: block; width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(10, 31, 62, .12); }

/* Botones */
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__btn {
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 28px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .25s ease, color .25s ease;
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__btn--solid { background: var(--sgn-navy); color: #FFFFFF; }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__btn--solid:hover { background: #13305C; color: #FFFFFF; }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__btn--ghost { border: 1px solid var(--sgn-navy); color: var(--sgn-navy); }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__btn--ghost:hover { background: var(--sgn-navy); color: #FFFFFF; }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn a:focus-visible { outline: 2px solid var(--sgn-gold); outline-offset: 3px; }

/* Aparición al hacer scroll (navegadores compatibles) */
@supports (animation-timeline: view()) {
	@keyframes sgn-rv { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn-rv { animation: sgn-rv linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
	body.elementor-editor-active .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn-rv { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__wrap { padding-top: 72px; gap: 32px 48px; }
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__text { padding-bottom: 72px; }
}
@media (max-width: 767px) {
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__wrap,
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn--right .sgn__wrap { flex-direction: column-reverse; align-items: stretch; padding: 64px 16px 0; gap: 8px; }
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__text { padding-bottom: 8px; }
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__photo { max-width: 420px; align-self: center; width: 100%; }
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__ghost { top: 30px; }
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn-rv { animation: none !important; }
}

/* ---------- Controles de diseño (v1.1) ---------- */
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__photo {
	transform: translate(var(--sgn-photo-x, 0px), var(--sgn-photo-y, 0px));
}
/* Fotos muy altas (cuerpo completo) se recortan en vez de empujar el texto */
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__photo img {
	max-height: 720px;
	object-fit: cover;
	object-position: center top;
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn--block .sgn__photo::before {
	top: var(--sgn-block-top, 80px);
	left: var(--sgn-block-x, 24px);
	right: calc(var(--sgn-block-x, 24px) * -1);
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn--right.sgn--block .sgn__photo::before {
	left: calc(var(--sgn-block-x, 24px) * -1);
	right: var(--sgn-block-x, 24px);
}
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__text { align-self: center; padding-bottom: 72px; }
body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__ghost { z-index: 0; }

@media (max-width: 767px) {
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__text { align-self: stretch; padding-bottom: 8px; }
	body .elementor-widget-sg-nosotros.elementor-widget-sg-nosotros .sgn__photo img { max-height: 520px; }
}
