/*!
 * NovaSmile Contact Card [novasmile_contact] — Creado por Creovationstudio.com
 */
.nscc {
	--nsc-primary: #13235b;
	--nsc-accent: #005da9;
	--nsc-highlight: #00bfe8;
	--nsc-sparkle: #e84aa8;
	--nscc-bg: #ffffff;
	--nscc-text: #263a59;
	--nscc-muted: #5b6587;
	--nscc-card: rgba(255, 255, 255, .72);
	--nscc-card-border: rgba(19, 35, 91, .09);
	--nscc-font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--nscc-serif: "Cormorant Garamond", "Instrument Serif", Georgia, serif;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(28px, 4.5vw, 64px);
	border-radius: 32px;
	background: var(--nscc-bg);
	border: 1px solid rgba(19, 35, 91, .07);
	box-shadow: 0 40px 90px -50px rgba(19, 35, 91, .45);
	font-family: var(--nscc-font);
	color: var(--nscc-text);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.nscc *, .nscc *::before, .nscc *::after { box-sizing: border-box; }

/* Idioma: el HTML trae EN y ES; se muestra el activo */
.nscc:not([data-lang="es"]) [data-l="es"],
.nscc[data-lang="es"] [data-l="en"] { display: none !important; }

.nscc em {
	font-family: var(--nscc-serif);
	font-style: italic;
	font-weight: 500;
	letter-spacing: -.02em;
}

/* Fondo decorativo */
.nscc-blob {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	filter: blur(60px);
	pointer-events: none;
	opacity: .22;
	animation: nscc-drift 14s ease-in-out infinite alternate;
}
.nscc-blob--1 { width: 360px; height: 360px; top: -140px; right: -90px; background: var(--nsc-highlight); }
.nscc-blob--2 { width: 280px; height: 280px; bottom: -120px; left: -80px; background: var(--nsc-sparkle); opacity: .1; animation-delay: -7s; }

/* ------------------------------- Cabecera ------------------------------- */
.nscc-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: clamp(26px, 3.5vw, 44px);
}
.nscc-eyebrow {
	margin: 0 0 16px;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--nsc-highlight);
}
.nscc .nscc-title {
	margin: 0;
	font-family: var(--nscc-font);
	font-size: clamp(36px, 4vw, 51px);
	font-weight: 300;
	line-height: 1.12;
	letter-spacing: -.055em;
	color: var(--nscc-text);
}
.nscc .nscc-title em { font-size: 1.13em; color: var(--nsc-primary); }
.nscc-intro {
	max-width: 560px;
	margin: 18px 0 0;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.8;
	color: var(--nscc-muted);
}

.nscc-lang {
	flex: 0 0 auto;
	display: inline-flex;
	padding: 3px;
	border-radius: 999px;
	background: rgba(19, 35, 91, .06);
	border: 1px solid rgba(19, 35, 91, .08);
}
.nscc-lang button {
	appearance: none;
	margin: 0;
	padding: 6px 12px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--nscc-muted);
	font: 600 11px/1.2 var(--nscc-font);
	letter-spacing: .08em;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.nscc-lang button:hover { background: transparent; color: var(--nsc-primary); }
.nscc-lang button.is-active { background: var(--nsc-primary); color: #fff; }

/* -------------------------------- Rejilla -------------------------------- */
.nscc-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: start;
}
.nscc-grid--nomap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

/* ------------------------------- Opciones ------------------------------- */
.nscc-options { display: grid; gap: 12px; }
.nscc-opt {
	--c: var(--nsc-accent);
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border-radius: 20px;
	background: var(--nscc-card);
	border: 1px solid var(--nscc-card-border);
	box-shadow: 0 10px 26px -20px rgba(19, 35, 91, .55);
	color: var(--nscc-text) !important;
	text-decoration: none !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .5s, transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s, background .3s;
	transition-delay: calc(var(--i, 0) * 80ms);
}
.nscc.is-in .nscc-opt { opacity: 1; transform: none; }
.nscc-opt:hover, .nscc-opt:focus-visible {
	background: #fff;
	border-color: color-mix(in srgb, var(--c) 35%, white);
	box-shadow: 0 18px 36px -22px color-mix(in srgb, var(--c) 75%, transparent);
	transform: translateX(6px);
	transition-delay: 0s;
	outline: none;
}
.nscc-opt--call { --c: var(--nsc-accent); }
.nscc-opt--sms { --c: var(--nsc-highlight); }
.nscc-opt--wa { --c: #1fb855; }
.nscc-opt--consult { --c: var(--nsc-sparkle); }
.nscc-opt--directions { --c: var(--nsc-primary); }

.nscc-opt__ico {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 15px;
	display: grid;
	place-items: center;
	color: #fff;
	background: linear-gradient(135deg, color-mix(in srgb, var(--c) 78%, white), var(--c));
	box-shadow: 0 10px 18px -10px var(--c), inset 0 1px 0 rgba(255, 255, 255, .4);
	transition: transform .3s cubic-bezier(.2, .8, .2, 1.4);
}
.nscc-opt:hover .nscc-opt__ico { transform: scale(1.07) rotate(-6deg); }
.nscc-opt__ico svg { width: 22px; height: 22px; }
.nscc-opt__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nscc-opt__txt strong { font-size: 16px; font-weight: 500; color: var(--nsc-primary); letter-spacing: -.01em; }
.nscc-opt__txt small { font-size: 13px; font-weight: 300; color: var(--nscc-muted); }
.nscc-opt__arrow { flex: 0 0 auto; width: 20px; height: 20px; color: var(--nscc-muted); transition: transform .3s, color .3s; }
.nscc-opt__arrow svg { width: 100%; height: 100%; display: block; }
.nscc-opt:hover .nscc-opt__arrow { color: var(--c); transform: translate(3px, -3px); }

.nscc-chat {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 4px 0 6px;
	border-bottom: 1px solid color-mix(in srgb, var(--nsc-highlight) 60%, transparent);
	color: var(--nscc-text) !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 400;
	transition: color .2s, gap .25s;
}
.nscc-chat em { color: var(--nsc-primary); font-size: 1.12em; }
.nscc-chat:hover { gap: 14px; color: var(--nsc-accent) !important; }
.nscc-chat__ico { width: 18px; height: 18px; color: var(--nsc-highlight); display: grid; }
.nscc-chat__ico svg { width: 100%; height: 100%; }
.nscc-chat[hidden] { display: none; }

/* --------------------------------- Datos --------------------------------- */
.nscc-info {
	display: grid;
	gap: 6px;
	padding: 10px;
	border-radius: 24px;
	background: linear-gradient(160deg, color-mix(in srgb, var(--nsc-primary) 4%, white), rgba(255, 255, 255, .6));
	border: 1px solid var(--nscc-card-border);
}
.nscc-info__row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 12px 12px 10px;
}
.nscc-info__row + .nscc-info__row { border-top: 1px solid rgba(19, 35, 91, .07); }
.nscc-info__ico {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: var(--nsc-accent);
	background: color-mix(in srgb, var(--nsc-highlight) 14%, white);
}
.nscc-info__ico svg { width: 17px; height: 17px; }
.nscc-info__row small {
	display: block;
	margin-bottom: 2px;
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--nscc-muted);
}
.nscc-info__row a, .nscc-info__row span {
	font-size: 15px;
	font-weight: 400;
	color: var(--nsc-primary);
	text-decoration: none;
	line-height: 1.55;
}
.nscc-info__row a:hover { color: var(--nsc-accent); text-decoration: underline; text-underline-offset: 3px; }

.nscc-map {
	position: relative;
	margin-top: 4px;
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: color-mix(in srgb, var(--nsc-primary) 6%, white);
}
.nscc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* ------------------------------- Créditos ------------------------------- */
.nscc-foot { display: flex; justify-content: flex-end; margin-top: 28px; }
.nscc-credit {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .7);
	border: 1px solid rgba(19, 35, 91, .08);
	color: var(--nscc-muted) !important;
	text-decoration: none !important;
	font-size: 11px;
	letter-spacing: .02em;
	transition: background .25s, box-shadow .25s;
}
.nscc-credit b {
	font-weight: 700;
	background: linear-gradient(90deg, var(--nsc-accent), var(--nsc-sparkle));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.nscc-credit:hover { background: #fff; box-shadow: 0 6px 16px -8px rgba(19, 35, 91, .35); }

/* ------------------------------ Tema oscuro ------------------------------ */
.nscc--dark {
	--nscc-bg: #14265b;
	--nscc-text: #ffffff;
	--nscc-muted: rgba(255, 255, 255, .68);
	--nscc-card: rgba(255, 255, 255, .07);
	--nscc-card-border: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .08);
}
.nscc--dark .nscc-title em,
.nscc--dark .nscc-opt__txt strong,
.nscc--dark .nscc-chat em,
.nscc--dark .nscc-info__row a,
.nscc--dark .nscc-info__row span { color: #fff; }
.nscc--dark .nscc-opt:hover, .nscc--dark .nscc-opt:focus-visible { background: rgba(255, 255, 255, .13); }
.nscc--dark .nscc-lang { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
.nscc--dark .nscc-lang button.is-active { background: #fff; color: var(--nsc-primary); }
.nscc--dark .nscc-lang button:hover { color: #fff; }
.nscc--dark .nscc-info { background: rgba(255, 255, 255, .05); }
.nscc--dark .nscc-info__row + .nscc-info__row { border-top-color: rgba(255, 255, 255, .1); }
.nscc--dark .nscc-info__ico { background: rgba(0, 191, 232, .14); color: var(--nsc-highlight); }
.nscc--dark .nscc-info__row a:hover { color: var(--nsc-highlight); }
.nscc--dark .nscc-credit { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); }
.nscc--dark .nscc-credit b { background: linear-gradient(90deg, var(--nsc-highlight), #f39ad0); -webkit-background-clip: text; background-clip: text; }
.nscc--dark .nscc-blob--1 { opacity: .18; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 900px) {
	.nscc-grid, .nscc-grid--nomap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.nscc { border-radius: 24px; padding: 26px 18px; }
	.nscc-head { flex-direction: column-reverse; gap: 16px; }
	.nscc-eyebrow { font-size: 9px; letter-spacing: 2.4px; }
	.nscc-intro { font-size: 15px; line-height: 1.7; }
	.nscc-opt { padding: 13px 14px; gap: 13px; border-radius: 18px; }
	.nscc-opt__ico { width: 42px; height: 42px; border-radius: 13px; }
	.nscc-opt__txt strong { font-size: 15px; }
	.nscc-opt__txt small { font-size: 12px; }
	.nscc-foot { justify-content: center; }
}

@keyframes nscc-drift { from { transform: translate(0, 0); } to { transform: translate(-30px, 40px); } }

@media (prefers-reduced-motion: reduce) {
	.nscc *, .nscc *::before, .nscc *::after { animation: none !important; transition-duration: .01ms !important; }
	.nscc-opt { opacity: 1; transform: none; }
}
