/* NET Developers – front-end styles. Accent #be946a. */
:root {
	--nd-accent: #be946a;
	--nd-accent-dark: #8a6440;
	--nd-ink: #111418;
	--nd-muted: #5b6168;
	--nd-line: #e6e2dc;
	--nd-bg-soft: #f7f4f0;
	--nd-radius: 10px;
	--nd-focus: 0 0 0 3px #fff, 0 0 0 5px var(--nd-accent-dark);
}

.nd-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.nd-wrap--narrow { max-width: 860px; }
.nd-section { padding: 56px 0; }
.nd-center { text-align: center; }
.nd-page { color: var(--nd-ink); }
.nd-page .screen-reader-text, .nd-featured .screen-reader-text, .nd-directory .screen-reader-text, .nd-form .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Headings & text */
.nd-h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; margin: 10px 0 14px; font-weight: 600; }
.nd-h2, .nd-section-title { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 0 0 14px; font-weight: 600; color: var(--nd-ink); }
.nd-dcard__title, .nd-fcard__name { }
.nd-logo { height: 100% !important; width: auto !important; max-width: 100% !important; }
.nd-fcard__media > img, .nd-hero__media > img { height: 100% !important; width: 100% !important; max-width: none; }
.nd-section-title { text-align: center; }
.nd-section-sub { text-align: center; color: var(--nd-muted); max-width: 640px; margin: 0 auto 28px; font-size: 16px; }
.nd-lead { font-size: 17px; line-height: 1.6; max-width: 760px; margin: 0 0 22px; }
.nd-prose p { line-height: 1.75; margin: 0 0 1em; }
.nd-note { color: var(--nd-muted); font-size: 14px; margin: 0 0 18px; }

/* Buttons */
.nd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 11px 26px; border-radius: 999px; border: 1px solid transparent;
	font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none !important; cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.nd-btn--dark { background: var(--nd-ink); color: #fff !important; }
.nd-btn--dark:hover { background: var(--nd-accent-dark); }
.nd-btn--accent { background: var(--nd-accent); color: #111 !important; }
.nd-btn--accent:hover { background: #a97f56; color: #111 !important; }
.nd-btn--light { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.75); }
.nd-btn--light:hover { background: #fff; color: var(--nd-ink) !important; }
.nd-btn--outline { background: transparent; color: var(--nd-ink) !important; border-color: var(--nd-ink); }
.nd-btn--outline:hover { background: var(--nd-ink); color: #fff !important; }
.nd-btn--whatsapp { background: #1f8f4e; color: #fff !important; }
.nd-btn--whatsapp:hover { background: #17733e; }
.nd-btn:focus-visible, .nd-fcard__link:focus-visible, .nd-page a:focus-visible, .nd-directory a:focus-visible,
.nd-form input:focus-visible, .nd-form select:focus-visible, .nd-form textarea:focus-visible, .nd-faq summary:focus-visible,
.nd-tools input:focus-visible, .nd-tools select:focus-visible {
	outline: none; box-shadow: var(--nd-focus); border-radius: 6px;
}

/* Breadcrumbs */
.nd-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; padding: 0; font-size: 14px; }
.nd-breadcrumbs li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.nd-breadcrumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.nd-breadcrumbs--light { color: #fff; }

/* Logo badge */
.nd-logo { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.nd-logo--text { font-weight: 700; font-size: 14px; color: var(--nd-ink); white-space: nowrap; }

/* ---------------- Homepage featured cards ---------------- */
.nd-featured { padding: 64px 0; }
.nd-fgrid { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 576px) { .nd-fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nd-fgrid { grid-template-columns: repeat(4, 1fr); } }
.nd-fcard { margin: 0; }
.nd-fcard__link { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--nd-radius); overflow: hidden; color: #fff; text-decoration: none !important; background: #1d2329; }
.nd-fcard__media, .nd-fcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nd-fcard__media img { transition: transform .5s ease; }
.nd-fcard__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,.35) 0%, rgba(10,14,20,.25) 45%, rgba(10,14,20,.78) 100%); transition: background .3s ease; }
.nd-fcard__badge { position: absolute; top: 14px; left: 14px; height: 36px; max-width: 50%; padding: 7px 10px; background: #fff; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.18); display: flex; align-items: center; }
.nd-fcard__name { position: absolute; left: 16px; right: 64px; bottom: 16px; font-size: 18px; font-weight: 600; line-height: 1.25; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.nd-fcard__arrow { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.85); border-radius: 8px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.nd-fcard__link:hover img, .nd-fcard__link:focus-visible img { transform: scale(1.04); }
.nd-fcard__link:hover .nd-fcard__overlay { background: linear-gradient(180deg, rgba(10,14,20,.25) 0%, rgba(10,14,20,.2) 45%, rgba(10,14,20,.82) 100%); }
.nd-fcard__link:hover .nd-fcard__arrow, .nd-fcard__link:focus-visible .nd-fcard__arrow { background: var(--nd-accent); border-color: var(--nd-accent); color: #111; }

/* ---------------- Directory ---------------- */
.nd-dir-hero { background: var(--nd-bg-soft); padding: 44px 0 36px; border-bottom: 1px solid var(--nd-line); }
.nd-dir-hero .nd-breadcrumbs { color: var(--nd-muted); }
.nd-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 0 0 12px; }
.nd-tools .nd-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.nd-tools .nd-field--search { flex: 1 1 280px; }
.nd-tools label { font-size: 14px; font-weight: 600; }
.nd-tools input, .nd-tools select { height: 46px; border: 1px solid #b9b3aa; border-radius: 8px; padding: 0 14px; font-size: 16px; background: #fff; color: var(--nd-ink); }
.nd-results-status { color: var(--nd-muted); font-size: 14px; margin: 0 0 18px; }
.js-nd .nd-tools__submit { display: none; }

.nd-dgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 576px) { .nd-dgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nd-dgrid { grid-template-columns: repeat(3, 1fr); } }
.nd-dcard[hidden] { display: none !important; }
.nd-dcard__inner { position: relative; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); overflow: hidden; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.nd-dcard__inner:hover, .nd-dcard__inner:focus-within { box-shadow: 0 10px 28px rgba(17,20,24,.12); }
.nd-dcard__media { position: relative; aspect-ratio: 16 / 10; background: #1d2329; }
.nd-dcard__media > img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; }
.nd-dcard__badge { position: absolute; left: 14px; bottom: -22px; height: 40px; max-width: 50%; padding: 7px 11px; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.14); display: flex; align-items: center; }
.nd-dcard__body { padding: 34px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.nd-dcard__title { font-size: 20px; margin: 0 0 4px; line-height: 1.3; }
.nd-dcard__title a { color: var(--nd-ink); text-decoration: none; }
.nd-dcard__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.nd-dcard__count { font-size: 13px; color: var(--nd-accent-dark); font-weight: 600; margin: 0 0 8px; }
.nd-dcard__intro { color: var(--nd-muted); font-size: 15px; line-height: 1.55; margin: 0 0 14px; }
.nd-dcard__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--nd-ink); }
.nd-dcard__inner:hover .nd-dcard__cta { color: var(--nd-accent-dark); }

.nd-empty { text-align: center; padding: 36px 20px; background: var(--nd-bg-soft); border-radius: var(--nd-radius); margin-top: 10px; }
.nd-empty p { margin: 0 0 16px; }
.nd-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.nd-pager a, .nd-pager button { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--nd-line); border-radius: 8px; color: var(--nd-ink); text-decoration: none; background: #fff; font: inherit; cursor: pointer; }
.nd-pager [aria-current="page"] { background: var(--nd-ink); color: #fff; border-color: var(--nd-ink); }

/* ---------------- Profile ---------------- */
.nd-hero { position: relative; color: #fff; background: #1d2329; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.nd-hero__media, .nd-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nd-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,.55) 0%, rgba(10,14,20,.45) 40%, rgba(10,14,20,.85) 100%); }
.nd-hero__content { position: relative; width: 100%; padding-top: 48px; padding-bottom: 48px; }
.nd-hero .nd-h1, .nd-hero .nd-lead { color: #fff; }
.nd-hero__badge { display: inline-flex; align-items: center; height: 52px; padding: 9px 13px; background: #fff; border-radius: 8px; margin-top: 14px; max-width: 220px; }
.nd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.nd-about__grid { display: grid; gap: 32px; }
@media (min-width: 992px) { .nd-about__grid { grid-template-columns: 1.6fr 1fr; gap: 48px; } }
.nd-facts { background: var(--nd-bg-soft); border-radius: var(--nd-radius); padding: 24px; align-self: start; }
.nd-facts dl { margin: 0; }
.nd-facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--nd-accent-dark); font-weight: 700; margin-top: 14px; }
.nd-facts dt:first-child { margin-top: 0; }
.nd-facts dd { margin: 4px 0 0; line-height: 1.5; }
.nd-facts a { color: var(--nd-ink); text-decoration: underline; text-underline-offset: 3px; }
.nd-reviewed { font-size: 12px; color: var(--nd-muted); margin: 18px 0 0; }

.nd-projects { background: var(--nd-bg-soft); }
.nd-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.nd-filter a { padding: 9px 16px; border-radius: 999px; border: 1px solid #c9c2b8; background: #fff; color: var(--nd-ink); text-decoration: none; font-size: 14px; min-height: 40px; display: inline-flex; align-items: center; }
.nd-filter a[aria-current="true"] { background: var(--nd-ink); color: #fff; border-color: var(--nd-ink); }
.nd-filter span { opacity: .7; margin-left: 4px; }
.nd-listings { margin-top: 0; }
.nd-empty--projects p { font-size: 17px; }

.nd-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nd-chips a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid var(--nd-line); border-radius: 999px; color: var(--nd-ink); text-decoration: none; background: #fff; }
.nd-chips a:hover { border-color: var(--nd-accent); color: var(--nd-accent-dark); }

.nd-faq { border-bottom: 1px solid var(--nd-line); }
.nd-faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 17px; }
.nd-faq summary::-webkit-details-marker { display: none; }
.nd-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--nd-accent-dark); }
.nd-faq[open] summary::after { content: "–"; }
.nd-faq__a { padding: 0 0 18px; color: #333a40; line-height: 1.7; }

.nd-enquire { background: var(--nd-ink); color: #fff; }
.nd-enquire .nd-h2 { color: #fff; }
.nd-enquire__grid { display: grid; gap: 32px; }
@media (min-width: 992px) { .nd-enquire__grid { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; } }
.nd-contact { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.nd-enquire .nd-btn--outline { color: #fff !important; border-color: rgba(255,255,255,.7); }
.nd-enquire .nd-btn--outline:hover { background: #fff; color: var(--nd-ink) !important; }

/* Form */
.nd-form { background: #fff; color: var(--nd-ink); border-radius: var(--nd-radius); padding: 26px; }
.nd-form__req { font-size: 13px; color: var(--nd-muted); margin: 0 0 14px; }
.nd-form .nd-field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.nd-form label, .nd-form legend { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; padding: 0; }
.nd-form input[type="text"], .nd-form input[type="email"], .nd-form input[type="tel"], .nd-form select, .nd-form textarea {
	width: 100%; min-height: 46px; border: 1px solid #b9b3aa; border-radius: 8px; padding: 10px 12px; font-size: 16px; background: #fff; color: var(--nd-ink);
}
.nd-form [aria-invalid="true"] { border-color: #b3261e; }
.nd-phone__row { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 8px; }
.nd-optional { font-weight: 400; color: var(--nd-muted); }
.nd-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.nd-consent input { width: 20px; height: 20px; margin: 2px 0 0; }
.nd-consent label { font-weight: 400; margin: 0; line-height: 1.5; }
.nd-consent .nd-error { grid-column: 2; }
.nd-consent a { color: var(--nd-accent-dark); text-decoration: underline; }
.nd-error { color: #b3261e; font-size: 13px; margin: 6px 0 0; }
.nd-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nd-form__submit { width: 100%; }
.nd-form__submit[disabled] { opacity: .6; cursor: progress; }
.nd-form__status { margin-top: 14px; font-size: 15px; }
.nd-form__status.is-success { padding: 12px 14px; border-radius: 8px; background: #e7f5ec; color: #135c32; }
.nd-form__status.is-error { padding: 12px 14px; border-radius: 8px; background: #fdecea; color: #8c1d18; }

@media (max-width: 575px) {
	.nd-section { padding: 40px 0; }
	.nd-hero { min-height: 380px; }
	.nd-hero__badge { height: 42px; max-width: 170px; }
	.nd-hero__actions .nd-btn { flex: 1 1 100%; }
	.nd-form { padding: 20px; }
	.nd-phone__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.nd-fcard__media img, .nd-dcard__inner, .nd-btn, .nd-fcard__arrow, .nd-fcard__overlay { transition: none !important; }
	.nd-fcard__link:hover img, .nd-fcard__link:focus-visible img { transform: none; }
}
