/* Price Menu */
.nd-prices { display: grid; gap: 2.5rem 3rem; }
.nd-prices__cat { margin: 0 0 .75rem; font-family: var(--e-global-typography-secondary-font-family, Teko), sans-serif; font-weight: 500; font-size: 1.6rem; letter-spacing: .02em; color: var(--e-global-color-primary, #af1a25); }
.nd-prices__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.nd-prices__list li { display: flex; align-items: baseline; gap: .5rem; }
.nd-prices__name { flex: 0 1 auto; }
.nd-prices__dots { flex: 1 1 1.5rem; border-bottom: 1px dotted currentColor; opacity: .35; transform: translateY(-.25em); }
.nd-prices__price { flex: 0 0 auto; font-weight: 600; white-space: nowrap; }
.nd-prices__price small { font-size: .75em; font-weight: 400; opacity: .7; text-transform: lowercase; }

/* Team */
.nd-team { display: grid; gap: 1.5rem; align-items: start; }
.nd-team__card { display: flex; flex-direction: column; background: #fff; box-shadow: 0 24px 44px -30px rgba(0, 0, 0, .4); transition: transform .45s cubic-bezier(.2, .7, .3, 1), box-shadow .45s ease; }
.nd-team__card:hover { transform: translateY(-4px); box-shadow: 0 34px 54px -30px rgba(0, 0, 0, .5); }
.nd-team__photo { position: relative; overflow: hidden; aspect-ratio: 9 / 10; background: #eee; }
.nd-team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .8s cubic-bezier(.2, .7, .3, 1); }
.nd-team__card:hover .nd-team__photo img { transform: scale(1.05); }
.nd-team__years { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: baseline; gap: .35rem; padding: .55rem .9rem; background: #af1a25; color: #fff; font: 600 .75rem/1 Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.nd-team__years strong { font: 700 1.3rem/1 "Playfair Display", Georgia, serif; letter-spacing: 0; text-transform: none; }
.nd-team__body { display: flex; flex-direction: column; flex: 1; gap: .5rem; padding: 1.2rem 1.3rem 1.4rem; text-align: left; }
.nd-team h3.nd-team__name { margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.45rem; line-height: 1.2; letter-spacing: 0; color: #0e0e0e; }
.nd-team__role { margin: 0; font: 600 11.5px/1.6 Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #af1a25; }
@media (min-width: 768px) { .nd-team__role { min-height: 3.2em; } }
.nd-team button.nd-team__more { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; align-self: flex-start; gap: .5rem; cursor: pointer; margin-top: .3rem; font: 600 12px/1 Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #0e0e0e; }
.nd-team button.nd-team__more::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #0e0e0e; border-radius: 50%; font-size: 15px; line-height: 1; transition: background-color .3s, color .3s, border-color .3s; }
.nd-team button.nd-team__more:hover::after, .nd-team button.nd-team__more[aria-expanded="true"]::after { background: #af1a25; border-color: #af1a25; color: #fff; }
.nd-team button.nd-team__more:focus-visible, .nd-team button.nd-team__close:focus-visible { outline: 3px solid #e5646d; outline-offset: 3px; }
.nd-team__panel { position: absolute; z-index: 3; inset: 0; padding: 3.2rem 1.4rem 1.4rem; overflow-y: auto; background: rgba(14, 14, 14, .985); color: #ececec; font-size: .9rem; line-height: 1.7; text-align: left; visibility: hidden; opacity: 0; transform: translateY(24px); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .3, 1), visibility 0s linear .5s; }
.nd-team__card.is-open .nd-team__panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nd-team__panel p { margin: 0 0 .8rem; }
.nd-team__panel p:last-child { margin-bottom: 0; }
.nd-team__panel::before { content: ""; position: absolute; top: 1.3rem; left: 1.4rem; width: 38px; height: 2px; background: #af1a25; }
.nd-team button.nd-team__close { all: unset; box-sizing: border-box; position: absolute; top: .7rem; right: .8rem; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; font-size: 22px; line-height: 1; color: #fff; cursor: pointer; transition: background-color .3s, border-color .3s; }
.nd-team button.nd-team__close:hover { background: #af1a25; border-color: #af1a25; }
.nd-team__body > :has(+ .nd-team__cta) { margin-bottom: 1.1rem; }
.nd-team a.nd-team__cta { margin-top: auto; align-self: stretch; padding: .8rem 1rem; border: 1px solid #0e0e0e; text-align: center; font: 600 12.5px/1 Poppins, sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #0e0e0e; transition: background-color .3s, color .3s, border-color .3s; }
.nd-team a.nd-team__cta:hover, .nd-team a.nd-team__cta:focus-visible { background: #af1a25; border-color: #af1a25; color: #fff; }
.nd-team a.nd-team__cta b { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .nd-team__card, .nd-team__photo img, .nd-team__panel { transition: none; } .nd-team__card:hover { transform: none; } }

/* FAQ */
.nd-faq { display: grid; gap: .75rem; }
.nd-faq__item { border: 1px solid rgba(0, 0, 0, .12); background: #fff; transition: border-color .3s, box-shadow .3s; }
.nd-faq__item[open] { border-color: var(--e-global-color-primary, #af1a25); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.nd-faq__q { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative; font-weight: 600; }
.nd-faq__q::-webkit-details-marker { display: none; }
.nd-faq__q::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--e-global-color-primary, #af1a25); transition: transform .3s; }
.nd-faq__item[open] .nd-faq__q::after { transform: translateY(-50%) rotate(45deg); }
.nd-faq__a { padding: 0 1.25rem 1.1rem; }
.nd-faq__a p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
	.nd-faq__item, .nd-faq__q::after { transition: none; }
}

/* Hero Slider */
.nd-hero { position: relative; display: grid; grid-template: 1fr / 1fr; overflow: hidden; background: #0e0e0e; color: #fff; }
.nd-hero__slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.nd-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.nd-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nd-hero--zoom .nd-hero__slide.is-active .nd-hero__img { animation: nd-hero-zoom 9s ease-out forwards; }
.nd-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 14, var(--nd-overlay)) 20%, rgba(14, 14, 14, calc(var(--nd-overlay) * .35)) 100%); }
.nd-hero__content { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin-inline: auto; padding: 120px 24px; display: grid; gap: 1.25rem; justify-items: start; }
.nd-hero__eyebrow { margin: 0; font: 600 13px/1.4 Poppins, sans-serif; text-transform: uppercase; letter-spacing: 3px; color: #e5646d; }
.nd-hero__title { margin: 0; max-width: 800px; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(2.4rem, 5.2vw, 4.25rem); line-height: 1.08; min-height: 2.16em; color: #fff; }
.nd-hero__text { margin: 0; max-width: 560px; font-size: 1.0625rem; line-height: 1.75; min-height: 3.5em; color: #d6d6d6; }
.nd-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.nd-hero__btn { transition: transform .3s, background-color .3s, color .3s !important; }
.nd-hero__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(175, 26, 37, .75); }
.nd-hero__btn .fab, .nd-hero__btn .e-font-icon-svg { margin-right: .5em; }
.nd-hero__btn .e-font-icon-svg { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; }
.nd-hero__btn--outline { background: transparent !important; border: 1px solid #fff !important; color: #fff !important; }
.nd-hero__btn--outline:hover { background: #fff !important; color: #0e0e0e !important; }
.nd-hero__slide.is-active .nd-hero__content > * { animation: nd-hero-rise .8s cubic-bezier(.2, .7, .3, 1) both; }
.nd-hero__slide.is-active .nd-hero__content > :nth-child(2) { animation-delay: .12s; }
.nd-hero__slide.is-active .nd-hero__content > :nth-child(3) { animation-delay: .24s; }
.nd-hero__slide.is-active .nd-hero__content > :nth-child(4) { animation-delay: .36s; }
html:not(.nd-loaded) .nd-hero__slide.is-active .nd-hero__content > * { animation-play-state: paused; }
.nd-hero__arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(14, 14, 14, .3); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background-color .3s, border-color .3s; }
.nd-hero__arrow:hover, .nd-hero__arrow:focus-visible { background: #af1a25; border-color: #af1a25; }
.nd-hero__arrow--prev { left: 24px; }
.nd-hero__arrow--next { right: 24px; }
.nd-hero__dots { position: absolute; z-index: 2; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.nd-hero__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s, background-color .3s; }
.nd-hero__dot.is-active { width: 32px; background: #af1a25; }
@keyframes nd-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes nd-hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 1024px) { .nd-hero__arrow { display: none; } }
@media (max-width: 767px) {
	.nd-hero__content { padding: 96px 20px 88px; }
	.nd-hero__overlay { background: rgba(14, 14, 14, var(--nd-overlay)); }
}
@media (prefers-reduced-motion: reduce) {
	.nd-hero__slide, .nd-hero__slide.is-active { transition: none; }
	.nd-hero__slide.is-active .nd-hero__img, .nd-hero__slide.is-active .nd-hero__content > * { animation: none; }
}
/* Botones del slider: anular el estilo global de <button> del Kit de Elementor. */
.nd-hero button.nd-hero__arrow { display: grid; place-items: center; padding: 0; min-height: 0; border-radius: 50%; font-size: 28px; top: auto; bottom: 24px; left: auto; transform: none; background: rgba(14, 14, 14, .35); border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.nd-hero button.nd-hero__arrow:hover, .nd-hero button.nd-hero__arrow:focus-visible { background: #af1a25; border-color: #af1a25; }
.nd-hero button.nd-hero__arrow--prev { right: 84px; }
.nd-hero button.nd-hero__arrow--next { right: 24px; }
.nd-hero button.nd-hero__dot { padding: 0; min-height: 0; border: 0; border-radius: 10px; }
.nd-hero button.nd-hero__dot:not(.is-active) { background: rgba(255, 255, 255, .45); }
@media (max-width: 1024px) { .nd-hero button.nd-hero__arrow { display: none; } }

/* Gallery posts (grid + lightbox) */
.nd-works__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.75rem; }
.nd-works .nd-works__filters button { all: unset; box-sizing: border-box; cursor: pointer; padding: .55rem 1.1rem; border: 1px solid rgba(0, 0, 0, .2); border-radius: 999px; font: 600 12px/1 Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; transition: background-color .25s, color .25s, border-color .25s; }
.nd-works .nd-works__filters button:hover { border-color: #af1a25; color: #af1a25; }
.nd-works .nd-works__filters button.is-active { background: #af1a25; border-color: #af1a25; color: #fff; }
.nd-works .nd-works .nd-works__filters button:focus-visible, .nd-works button.nd-works__tile:focus-visible, .nd-lightbox button:focus-visible, .nd-lightbox a:focus-visible { outline: 3px solid #e5646d; outline-offset: 2px; }
.nd-on-dark .nd-works .nd-works__filters button { border-color: rgba(255, 255, 255, .35); color: #fff; }
.nd-works__grid { --nd-cols: 3; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; justify-content: center; grid-template-columns: repeat(auto-fit, calc((100% - (var(--nd-cols) - 1) * 6px - .5px) / var(--nd-cols))); }
.nd-works__grid li[hidden] { display: none; }
.nd-works button.nd-works__tile { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; cursor: pointer; background: #1b1b1b; }
.nd-works__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.nd-works button.nd-works__tile:hover img, .nd-works button.nd-works__tile:focus-visible img { transform: scale(1.06); }
.nd-works__multi { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.nd-works__over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem; padding: 1.15rem 1.2rem; background: linear-gradient(to top, rgba(14, 14, 14, .9) 0%, rgba(14, 14, 14, .4) 42%, transparent 72%); color: #fff; opacity: 0; transition: opacity .45s ease; }
.nd-works__over small { font: 600 10.5px/1.3 Poppins, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #e5646d; transform: translateY(10px); transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.nd-works__over > span { font: 600 1.15rem/1.25 "Playfair Display", Georgia, serif; transform: translateY(10px); transition: transform .5s cubic-bezier(.2, .7, .3, 1) .05s; }
.nd-works__over > span::after { content: ""; display: block; width: 0; height: 2px; margin-top: .6rem; background: #af1a25; transition: width .5s cubic-bezier(.2, .7, .3, 1) .1s; }
.nd-works__over::before { content: "+"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; font: 300 26px/1 Poppins, sans-serif; transform: scale(.6); opacity: 0; transition: transform .5s cubic-bezier(.2, .7, .3, 1), opacity .4s; }
.nd-works button.nd-works__tile:hover .nd-works__over, .nd-works button.nd-works__tile:focus-visible .nd-works__over { opacity: 1; }
.nd-works button.nd-works__tile:hover .nd-works__over small, .nd-works button.nd-works__tile:hover .nd-works__over > span, .nd-works button.nd-works__tile:focus-visible .nd-works__over small, .nd-works button.nd-works__tile:focus-visible .nd-works__over > span { transform: none; }
.nd-works button.nd-works__tile:hover .nd-works__over > span::after, .nd-works button.nd-works__tile:focus-visible .nd-works__over > span::after { width: 38px; }
.nd-works button.nd-works__tile:hover .nd-works__over::before, .nd-works button.nd-works__tile:focus-visible .nd-works__over::before { transform: scale(1); opacity: 1; }
.nd-works button.nd-works__tile::after { content: ""; position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 17%; min-width: 32px; max-width: 64px; aspect-ratio: 461 / 303; background: url(isotipo-watermark.png) center / contain no-repeat; opacity: .5; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); pointer-events: none; transition: opacity .3s ease; }
.nd-works button.nd-works__tile:hover::after, .nd-works button.nd-works__tile:focus-visible::after { opacity: 0; }
@media (hover: hover) { .nd-works__grid:hover li:not(:hover) img { filter: brightness(.72) saturate(.85); } .nd-works__tile img { transition: transform 1s cubic-bezier(.2, .7, .3, 1), filter .5s ease; } }
@media (hover: none) { .nd-works__over { opacity: 1; background: linear-gradient(transparent 62%, rgba(14, 14, 14, .72)); padding: .7rem 3.3rem .7rem .7rem; } .nd-works__over small { display: none; } .nd-works__over > span { font-size: .8rem; transform: none; } .nd-works__over > span::after, .nd-works__over::before { display: none; } }
/* Diseño destacado: 1 grande + 4 pequeñas */
.nd-works--bento .nd-works__grid { --nd-cols: 4; grid-template-columns: repeat(var(--nd-cols), minmax(0, 1fr)); gap: 10px; }
.nd-works--bento .nd-works__grid li:first-child { grid-column: span 2; grid-row: span 2; }
.nd-works--bento .nd-works__grid li:first-child button.nd-works__tile { aspect-ratio: auto; height: 100%; min-height: 0; }
.nd-works--bento .nd-works__grid li:first-child .nd-works__tile img { position: absolute; inset: 0; }
.nd-works--bento .nd-works__grid li:first-child .nd-works__over > span { font-size: 1.6rem; }
.nd-works--bento .nd-works__grid li:first-child button.nd-works__tile::after { width: 11%; max-width: 96px; right: 16px; bottom: 14px; }
@media (max-width: 767px) {
	.nd-works--bento .nd-works__grid { --nd-cols: 2; gap: 8px; }
	.nd-works--bento .nd-works__grid li:first-child { grid-row: auto; }
	.nd-works--bento .nd-works__grid li:first-child button.nd-works__tile { aspect-ratio: 1; height: auto; }
	.nd-works--bento .nd-works__grid li:first-child .nd-works__tile img { position: static; }
}
/* Aparición escalonada al hacer scroll */
.nd-works--reveal .nd-works__grid li { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .3, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.nd-works--reveal .nd-works__grid li.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .nd-works--reveal .nd-works__grid li { opacity: 1; transform: none; transition: none; } .nd-works__over, .nd-works__over *, .nd-works__tile img { transition: none !important; } }

.nd-lightbox { padding: 0; border: 0; width: min(1000px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: #fff; color: #0e0e0e; overflow: hidden; }
.nd-lightbox[open] { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); }
.nd-lightbox::backdrop { background: rgba(14, 14, 14, .85); }
.nd-lightbox__media::after { content: ""; position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 52px; aspect-ratio: 461 / 303; background: url(isotipo-watermark.png) center / contain no-repeat; opacity: .5; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); pointer-events: none; }
.nd-lightbox__media { position: relative; background: #0e0e0e; min-height: 320px; }
.nd-lightbox__img { display: block; width: 100%; height: 100%; max-height: calc(100vh - 24px); object-fit: contain; }
.nd-lightbox__side { padding: 2.25rem 1.75rem; overflow-y: auto; display: flex; flex-direction: column; gap: .75rem; }
.nd-lightbox__service { margin: 0; font: 600 12px/1.4 Poppins, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #af1a25; }
.nd-lightbox__title { margin: 0; font-family: "Playfair Display", serif; font-size: 1.6rem; line-height: 1.2; }
.nd-lightbox__text { font-size: .95rem; line-height: 1.7; color: #3a3a3a; }
.nd-lightbox__text p:last-child { margin-bottom: 0; }
.nd-lightbox a.nd-lightbox__cta { transition: background-color .3s, transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s; margin-top: auto; align-self: flex-start; padding: .85rem 1.4rem; background: #af1a25; color: #fff; font: 600 13px/1 Poppins, sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background-color .25s; }
.nd-lightbox a.nd-lightbox__cta:hover { background: #791e1e; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(175, 26, 37, .75); }
.nd-lightbox button.nd-lightbox__close { all: unset; box-sizing: border-box; position: absolute; z-index: 3; top: 8px; right: 8px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(14, 14, 14, .65); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.nd-lightbox button.nd-lightbox__nav { all: unset; box-sizing: border-box; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(14, 14, 14, .55); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.nd-lightbox button.nd-lightbox__nav[hidden] { display: none; }
.nd-lightbox button.nd-lightbox__nav--prev { left: 10px; }
.nd-lightbox button.nd-lightbox__nav--next { right: 10px; }
.nd-lightbox__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.nd-lightbox__dots[hidden] { display: none; }
.nd-lightbox__dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.nd-lightbox__dots span.is-active { background: #af1a25; }
@media (max-width: 767px) {
	.nd-lightbox[open] { display: flex; flex-direction: column; overflow-y: auto; }
	.nd-lightbox__media { min-height: 0; }
	.nd-lightbox__img { max-height: 60vh; }
	.nd-lightbox__side { overflow: visible; padding: 1.5rem 1.25rem 1.75rem; }
}
@media (prefers-reduced-motion: reduce) { .nd-works__tile img, .nd-works__over { transition: none; } }

/* Contact form */
.nd-form { display: grid; gap: 1.15rem; width: 100%; }
.nd-form p { margin: 0; }
.nd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.25rem; }
.nd-form label { display: block; margin-bottom: .45rem; font: 600 11.5px/1.3 Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #3a3a3a; }
.nd-form abbr { color: #af1a25; text-decoration: none; }
.nd-form input[type=text], .nd-form input[type=email], .nd-form input[type=tel], .nd-form input[type=number], .nd-form select, .nd-form textarea { width: 100%; box-sizing: border-box; padding: .95rem 1rem; border: 1px solid #e3ddd6; border-radius: 0; background-color: #faf8f6; font: 400 1rem/1.4 Poppins, sans-serif; color: #0e0e0e; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.nd-form select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23af1a25' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; cursor: pointer; }
.nd-form textarea { resize: vertical; min-height: 130px; }
.nd-form input:hover, .nd-form select:hover, .nd-form textarea:hover { border-color: #c9c0b6; }
.nd-form input:focus, .nd-form select:focus, .nd-form textarea:focus { outline: none; border-color: #af1a25; background-color: #fff; box-shadow: 0 0 0 4px rgba(175, 26, 37, .12); }
.nd-form [aria-invalid="true"] { border-color: #af1a25; background-color: #fff7f7; }
.nd-form__err { display: block; margin-top: .4rem; font: 500 12.5px/1.4 Poppins, sans-serif; color: #af1a25; }
.nd-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.nd-form__privacy { max-width: 270px; font: 400 12.5px/1.5 Poppins, sans-serif; color: #7a7a7a; }
.nd-form button.nd-form__btn { padding: 1rem 2.2rem; border: 0; border-radius: 0; background: #af1a25; color: #fff; font: 600 13px/1 Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .3s, transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s; }
.nd-form button.nd-form__btn:hover { background: #791e1e; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(175, 26, 37, .75); }
.nd-form button.nd-form__btn:focus-visible { outline: 3px solid #e5646d; outline-offset: 3px; }
.nd-form button.nd-form__btn.is-loading, .nd-form button.nd-form__btn:disabled { opacity: .75; cursor: progress; transform: none; box-shadow: none; }
.nd-form__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.nd-form__msg { padding: .85rem 1rem; font-size: .95rem; border-left: 4px solid; }
.nd-form__msg--err { background: #fbeaea; border-color: #af1a25; color: #791e1e; }
.nd-form--done { place-items: center; text-align: center; padding: 1.5rem .5rem; gap: .9rem; }
.nd-form--done .nd-form__check { color: #af1a25; animation: nd-pop .6s cubic-bezier(.2, .9, .3, 1.3) both; }
.nd-form--done h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 2rem; }
.nd-form--done p { max-width: 420px; font-size: 1rem; line-height: 1.7; color: #4a4a4a; }
.nd-form__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: .5rem; }
.nd-form a.nd-form__link { padding: .9rem 1.4rem; border: 1px solid #0e0e0e; color: #0e0e0e; font: 600 12.5px/1 Poppins, sans-serif; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background-color .3s, color .3s; }
.nd-form a.nd-form__link:hover { background: #0e0e0e; color: #fff; }
.nd-form a.nd-form__link--solid { background: #af1a25; border-color: #af1a25; color: #fff; }
.nd-form a.nd-form__link--solid:hover { background: #791e1e; border-color: #791e1e; }
@keyframes nd-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .nd-form__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .nd-form--done .nd-form__check { animation: none; } .nd-form button.nd-form__btn { transition: none; } }

/* Contact info panel */
.nd-cinfo { position: relative; color: #fff; }
/* El isotipo va en la esquina real del panel (contenedor), no del contenido. */
.nd-cpanel { position: relative; }
.nd-cpanel::after { content: ""; position: absolute; z-index: 0; top: auto; left: auto; right: -64px; bottom: -48px; width: 340px; aspect-ratio: 461 / 303; background: url(isotipo-watermark.png) center / contain no-repeat; opacity: .05; transform: rotate(-9deg); pointer-events: none; }
.nd-cinfo > * { position: relative; z-index: 1; }
.nd-cinfo__title { margin: 0 0 1.6rem; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.9rem; line-height: 1.2; color: #fff; }
.nd-cinfo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.nd-cinfo__list a, .nd-cinfo__list div { display: flex; align-items: center; gap: 1rem; color: inherit; text-decoration: none; }
.nd-cinfo__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(229, 100, 109, .45); border-radius: 50%; background: rgba(175, 26, 37, .16); color: #e5646d; transition: background-color .3s, color .3s, border-color .3s, transform .35s cubic-bezier(.2, .7, .3, 1); }
.nd-cinfo__list a:hover .nd-cinfo__ico, .nd-cinfo__list a:focus-visible .nd-cinfo__ico { background: #af1a25; border-color: #af1a25; color: #fff; transform: scale(1.06); }
.nd-cinfo__txt { display: grid; gap: .15rem; }
.nd-cinfo__txt strong { font: 600 11.5px/1.3 Poppins, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.nd-cinfo__txt small { font: 400 .98rem/1.45 Poppins, sans-serif; color: #d6d6d6; }
.nd-cinfo__open { display: inline-flex; align-items: center; gap: .6rem; margin: 1.4rem 0 0; padding: .5rem 1rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font: 500 13px/1.3 Poppins, sans-serif; color: #e4e4e4; }
.nd-cinfo__open[hidden] { display: none; }
.nd-cinfo__dot { width: 9px; height: 9px; border-radius: 50%; background: #e5646d; }
.nd-cinfo__open.is-open .nd-cinfo__dot { background: #4cd964; animation: nd-pulse 2s ease-out infinite; }
@keyframes nd-pulse { 0% { box-shadow: 0 0 0 0 rgba(76, 217, 100, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(76, 217, 100, 0); } }
.nd-cinfo__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.nd-cinfo a.nd-cinfo__btn { padding: .95rem 1.5rem; background: #af1a25; color: #fff; font: 600 12.5px/1 Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background-color .3s, transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s; }
.nd-cinfo a.nd-cinfo__btn:hover, .nd-cinfo a.nd-cinfo__btn:focus-visible { background: #791e1e; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(175, 26, 37, .75); }
.nd-cinfo__social { display: flex; gap: .6rem; }
.nd-cinfo__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #fff; transition: color .3s, border-color .3s, transform .35s cubic-bezier(.2, .7, .3, 1); }
.nd-cinfo__social a:hover, .nd-cinfo__social a:focus-visible { color: #e5646d; border-color: #e5646d; transform: translateY(-2px); }
.nd-cinfo a:focus-visible { outline: 3px solid #e5646d; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .nd-cinfo__open.is-open .nd-cinfo__dot { animation: none; } .nd-cinfo__ico, .nd-cinfo a.nd-cinfo__btn, .nd-cinfo__social a { transition: none; } }

/* Mapa en escala de grises; recupera el color al pasar el cursor. */
.nd-map iframe { filter: grayscale(1) contrast(1.05); transition: filter .6s ease; }
.nd-map:hover iframe { filter: none; }
.nd-works__data { display: none; }

/* h1 (primera slide, por SEO) y h2 deben medir igual: el Kit de Elementor da otro tamaño a cada uno. */
.nd-hero h1.nd-hero__title, .nd-hero h2.nd-hero__title { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(2.4rem, 5.2vw, 4.25rem); line-height: 1.08; letter-spacing: 0; text-transform: none; }

/* Móvil: los títulos se parten solos (sin saltos fijos) y reservan 3 líneas, para que las 3 slides queden alineadas. */
@media (max-width: 767px) {
	.nd-hero__eyebrow { display: flex; align-items: flex-end; min-height: 2.8em; }
	.nd-hero__title br { display: none; }
	.nd-hero h1.nd-hero__title, .nd-hero h2.nd-hero__title { font-size: 2.1rem; min-height: 3.24em; }
}
@media (max-width: 380px) { .nd-hero__text { min-height: 7em; } }
.nd-cinfo h3.nd-cinfo__title { font-family: "Playfair Display", Georgia, serif; letter-spacing: 0; }

.nd-works__more-wrap { margin: 2rem 0 0; text-align: center; }
.nd-works__more-wrap[hidden] { display: none; }
.nd-works button.nd-works__more { all: unset; box-sizing: border-box; cursor: pointer; padding: .95rem 2rem; border: 1px solid #0e0e0e; font: 600 12.5px/1 Poppins, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #0e0e0e; transition: background-color .3s, color .3s, transform .35s cubic-bezier(.2, .7, .3, 1); }
.nd-works button.nd-works__more:hover, .nd-works button.nd-works__more:focus-visible { background: #0e0e0e; color: #fff; transform: translateY(-2px); }

/* Esqueleto mientras cargan las fotos: fondo oscuro con isotipo y un brillo que recorre la tarjeta. */
.nd-works button.nd-works__tile, .nd-team__photo { background-color: #1b1b1b; }
.nd-works button.nd-works__tile::before, .nd-team__photo::before { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .09) 50%, transparent 70%); transform: translateX(-100%); animation: nd-skel 1.5s ease-in-out infinite; pointer-events: none; }
.nd-works__tile img, .nd-team__photo img { position: relative; z-index: 1; opacity: 0; transition: opacity .6s ease, transform .8s cubic-bezier(.2, .7, .3, 1), filter .5s ease; }
.nd-works__tile img.is-loaded, .nd-team__photo img.is-loaded, .nd-works:not([data-nd-js]) .nd-works__tile img, .nd-team:not([data-nd-js]) .nd-team__photo img { opacity: 1; }
.nd-works button.nd-works__tile:has(img.is-loaded)::before, .nd-team__photo:has(img.is-loaded)::before { display: none; }
@keyframes nd-skel { to { transform: translateX(100%); } }
/* La aparición escalonada ya no deja huecos en blanco: solo se desplaza, el esqueleto se ve siempre. */
.nd-works--reveal .nd-works__grid li { opacity: 1; transform: translateY(24px); }
.nd-works--reveal .nd-works__grid li.is-in { transform: none; }
.nd-works__tile::after { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .nd-works__tile::before, .nd-team__photo::before { animation: none; } .nd-works__tile img, .nd-team__photo img { transition: none; } }

/* Muchos servicios: en móvil los filtros pasan a una fila deslizable (no ocupan media pantalla). */
@media (max-width: 767px) {
	.nd-works__filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: -16px; padding: 2px 16px 12px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%); }
	.nd-works__filters::-webkit-scrollbar { display: none; }
	.nd-works .nd-works__filters button { flex: none; scroll-snap-align: start; white-space: nowrap; }
}

/* Esqueleto: el mismo isotipo animado del loader de entrada (hebras que entran y ondulan, cabeza que aparece). */
.nd-skel-logo { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(52%, 150px); aspect-ratio: 1; transform: translate(-50%, -50%); color: #fff; pointer-events: none; }
.nd-skel-logo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nd-skel-logo .nd-strand, .nd-skel-logo .nd-head { transform-box: fill-box; }
.nd-skel-logo .nd-head { opacity: 0; transform-origin: center; animation: nd-head-in .6s ease-out forwards; }
.nd-skel-logo .nd-strand { opacity: 0; transform-origin: right center; animation: nd-strand-in .6s cubic-bezier(.2, .7, .3, 1) forwards, nd-wave 1.6s ease-in-out infinite alternate; }
.nd-skel-logo .nd-strand--1 { animation-delay: .35s, .95s; }
.nd-skel-logo .nd-strand--2 { animation-delay: .2s, .8s; }
.nd-works button.nd-works__tile:has(img.is-loaded) .nd-skel-logo, .nd-team__photo:has(img.is-loaded) .nd-skel-logo { display: none; }
/* Sin marca de agua pequeña mientras carga. */
.nd-works button.nd-works__tile:not(:has(img.is-loaded))::after { display: none; }
@media (prefers-reduced-motion: reduce) { .nd-skel-logo .nd-head, .nd-skel-logo .nd-strand { animation: none; opacity: 1; } }

/* Textos largos: nada se desborda ni tapa la foto. */
.nd-works__over > span, .nd-works__over small, .nd-lightbox__title, .nd-lightbox__text, .nd-team h3.nd-team__name, .nd-team__role, .nd-team__panel, .nd-prices__name, .nd-faq__q, .nd-faq__a, .nd-cinfo__txt small { overflow-wrap: anywhere; word-break: normal; }
.nd-works__over > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.nd-works__over small { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-works--bento .nd-works__grid li:first-child .nd-works__over > span { -webkit-line-clamp: 4; }
@media (hover: none) { .nd-works__over > span { -webkit-line-clamp: 2; } }
.nd-works .nd-works__filters button { max-width: min(100%, 280px); overflow: hidden; text-overflow: ellipsis; }
.nd-lightbox__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
@media (min-width: 768px) {
	.nd-lightbox[open] { grid-template-rows: minmax(0, 1fr); }
	.nd-lightbox__side { min-height: 0; overflow: hidden; }
	.nd-lightbox__text { min-height: 0; overflow-y: auto; padding-right: .4rem; scrollbar-width: thin; }
	.nd-lightbox a.nd-lightbox__cta { flex: none; margin-top: .75rem; }
}
.nd-team a.nd-team__cta b { overflow-wrap: anywhere; }

/* Selector a medida */
.nd-select { position: relative; }
.nd-select__native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.nd-form button.nd-select__btn { all: unset; box-sizing: border-box; display: block; width: 100%; padding: .95rem 2.6rem .95rem 1rem; border: 1px solid #e3ddd6; background: #faf8f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23af1a25' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 1rem center; font: 400 1rem/1.4 Poppins, sans-serif; color: #0e0e0e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.nd-form button.nd-select__btn.is-empty { color: #6b6b6b; }
.nd-form button.nd-select__btn:hover { border-color: #c9c0b6; }
.nd-form button.nd-select__btn:focus-visible, .nd-form button.nd-select__btn[aria-expanded="true"] { border-color: #af1a25; background-color: #fff; box-shadow: 0 0 0 4px rgba(175, 26, 37, .12); outline: none; }
.nd-select__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: .35rem; list-style: none; max-height: 280px; overflow-y: auto; background: #fff; border: 1px solid #e3ddd6; box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .45); animation: nd-sel-in .18s ease-out; scrollbar-width: thin; }
.nd-select__list[hidden] { display: none; }
.nd-select__list li { padding: .7rem .85rem; font: 400 .95rem/1.35 Poppins, sans-serif; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; border-left: 3px solid transparent; }
.nd-select__list li.is-placeholder { color: #7a7a7a; }
.nd-select__list li.is-active { background: #f7f3ef; }
.nd-select__list li[aria-selected="true"] { border-left-color: #af1a25; font-weight: 600; color: #af1a25; }
@keyframes nd-sel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nd-select__list { animation: none; } }

/* Formulario de contacto más holgado: llena la altura de la tarjeta. */
#contact-form { justify-content: flex-start; }
#contact-form .nd-form { flex: 1; align-content: start; gap: 1.5rem; }
#contact-form .nd-form__grid { gap: 1.5rem 1.5rem; }
#contact-form .nd-form input[type=text], #contact-form .nd-form input[type=email], #contact-form .nd-form input[type=tel] { padding-block: 1.1rem; }
#contact-form .nd-form button.nd-select__btn { padding-block: 1.1rem; }
#contact-form .nd-form textarea { min-height: 220px; }
#contact-form .nd-form__foot { margin-top: .5rem; }

.nd-form__privacy a { color: #af1a25; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.nd-form__privacy a:hover { color: #791e1e; }
