/* NDSC - what the WordPress site's scripts did (menus, sticky header, fade-ins) and the website's own parts.
   The WordPress look itself is in wordpress.css; each page's own styles are kept with the page. */

/* the main menu: a service list opens under "Services" (on WordPress the SmartMenus script did this) */
.elementor-nav-menu--main .elementor-nav-menu li.menu-item-has-children:hover > ul,
.elementor-nav-menu--main .elementor-nav-menu li.menu-item-has-children:focus-within > ul {
    display: block; width: auto; min-width: 12em; max-width: 1000em; top: 100%; left: 10px;
}
.elementor-nav-menu--main .elementor-nav-menu li.menu-item-has-children:hover > a { color: inherit; }
.elementor-nav-menu--main .elementor-nav-menu ul a { white-space: nowrap; }
/* the phone / tablet menu: a service list opens with its arrow */
.elementor-nav-menu--dropdown .elementor-nav-menu li.open > ul { display: block; }

/* the header stays at the top while scrolling */
.elementor-sticky--active { position: fixed !important; top: 0; left: 0; right: 0; width: 100%; }
body.admin-bar .elementor-sticky--active { top: 0; }

/* the form */
.elementor-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.elementor-form .has-error .elementor-field { border-color: #d9534f; }
.elementor-widget-form .elementor-message { margin: 10px 0; font-size: 1em; line-height: 1.4; }
.elementor-widget-form .elementor-message-success { color: #406843; }
.elementor-widget-form .elementor-message-danger { color: #d9534f; }
.elementor-widget-form .elementor-message.elementor-help-inline { flex-basis: 100%; margin: 4px 0 0; font-size: .85em; }

/* e-mail addresses look like the text around them (on WordPress they were plain text) */
a.ndsc-email, a.ndsc-email:hover { color: inherit; }

/* answers and testimonials keep the dark green they had on WordPress (written in each answer there) */
.e-n-accordion .elementor-widget-text-editor, .elementor-21 .elementor-element-d1d0447 { color: #003300; }

/* a switched-off page, seen by the admin */
.preview-note { background: #fff4d6; color: #6b5200; padding: 10px 20px; text-align: center; font-size: 14px; }

/* sections added in the admin pages (other than "WordPress layout") */
.ndsc-blocks { --green: #406843; --green-dark: #2f5132; --gold: #b48d30; --gold-dark: #9a7726; --slate: #2d3e50; --ink: #333; --heading: #003300; --soft: #f5f7f2; --line: #e3e7df; --radius: 10px; --body: "AR One Sans", Roboto, Arial, sans-serif; --menu: Montserrat, Arial, sans-serif; }
.ndsc-blocks img { max-width: 100%; height: auto; display: block; }
.ndsc-blocks a { color: var(--green); }
.ndsc-blocks h1, .ndsc-blocks h2, .ndsc-blocks h3 { color: var(--green); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
.ndsc-blocks h1 { font-size: clamp(28px, 4vw, 42px); }
.ndsc-blocks h2 { font-size: clamp(24px, 3vw, 34px); }
.ndsc-blocks h3 { font-size: 20px; }
.ndsc-blocks p { margin: 0 0 1em; }
.ndsc-blocks .wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.ndsc-blocks .narrow { max-width: 900px; }
.ndsc-blocks .center { text-align: center; }
.ndsc-blocks .gold { color: var(--gold); }
.ndsc-blocks .icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }
.ndsc-blocks .socials { display: flex; gap: 12px; }
.ndsc-blocks .socials a { color: inherit; font-size: 16px; }
.ndsc-blocks .socials.big a { font-size: 26px; color: inherit; }
.ndsc-blocks .socials a:hover { color: var(--gold); }
.ndsc-blocks .hero { position: relative; background: var(--slate) center / cover no-repeat; min-height: 420px; display: flex; align-items: center; }
.ndsc-blocks .hero-shade { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.ndsc-blocks .hero-in { position: relative; text-align: center; color: #fff; padding-top: 60px; padding-bottom: 60px; }
.ndsc-blocks .hero h1, .ndsc-blocks .hero h2 { color: #fff; font-size: clamp(30px, 4.5vw, 52px); max-width: 900px; margin: 0 auto; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.ndsc-blocks .hero-text { max-width: 760px; margin: 16px auto 0; font-size: 18px; }
.ndsc-blocks .page-title { background: var(--soft); padding: 40px 0 20px; }
.ndsc-blocks .block { padding: 64px 0; }
.ndsc-blocks .block + .block { padding-top: 24px; }
.ndsc-blocks .band { background: var(--soft); }
.ndsc-blocks .block.band + .block, .ndsc-blocks .band + .band { padding-top: 64px; }
.ndsc-blocks .rich ul { padding-left: 1.2em; }
.ndsc-blocks .rich li { margin-bottom: .35em; }
.ndsc-blocks .rich .lead { font-size: 20px; color: var(--heading); }
.ndsc-blocks .rich .big { font-size: clamp(28px, 4vw, 44px); color: var(--green); margin-top: 24px; }
.ndsc-blocks .intro { max-width: 820px; margin: 0 auto 28px; }
.ndsc-blocks .after { margin-top: 28px; }
.ndsc-blocks .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ndsc-blocks .split h2 { color: var(--gold); }
.ndsc-blocks .image-left .split-image { order: -1; }
.ndsc-blocks .split-image img { border-radius: var(--radius); width: 100%; object-fit: cover; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.ndsc-blocks .cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.ndsc-blocks .cards-1 { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.ndsc-blocks .cards-2, .ndsc-blocks .cards-4 { grid-template-columns: repeat(2, 1fr); }
.ndsc-blocks .card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 24px; }
.ndsc-blocks .card h3 { color: var(--green); font-size: 19px; }
.ndsc-blocks .card .rich p:last-child { margin-bottom: 0; }
.ndsc-blocks .checklist-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,.05); padding-bottom: 28px; }
.ndsc-blocks .checklist-head { background: var(--gold); color: #fff; text-align: center; padding: 18px 20px; margin: 0 0 24px; }
.ndsc-blocks .checklist { list-style: none; margin: 0 auto; padding: 0 24px; max-width: 760px; columns: 2; column-gap: 40px; }
.ndsc-blocks .checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; break-inside: avoid; }
.ndsc-blocks .checklist .icon { color: var(--green); flex: none; margin-top: .25em; }
.ndsc-blocks .cta { background: var(--green); color: #fff; padding: 56px 0; }
.ndsc-blocks .cta h2 { color: #fff; }
.ndsc-blocks .buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.ndsc-blocks .btn { display: inline-block; background: var(--green); color: #fff; border: 2px solid var(--green); border-radius: 6px; padding: 11px 26px; font: 600 15px var(--body); text-decoration: none; cursor: pointer; }
.ndsc-blocks .btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.ndsc-blocks .btn-light { background: #fff; color: var(--green); border-color: #fff; }
.ndsc-blocks .btn-light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.ndsc-blocks .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.ndsc-blocks .btn-outline:hover { background: #fff; color: var(--green); border-color: #fff; }
.ndsc-blocks .btn-outline-dark { background: transparent; color: var(--green); }
.ndsc-blocks .btn-outline-dark:hover { color: #fff; }
.ndsc-blocks .services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ndsc-blocks .service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: .15s; }
.ndsc-blocks .service:hover { box-shadow: 0 12px 30px rgba(0,0,0,.1); transform: translateY(-2px); }
.ndsc-blocks .service img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.ndsc-blocks .service-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ndsc-blocks .service-title { font-weight: 600; font-size: 19px; color: var(--green); }
.ndsc-blocks .service-text { font-size: 15px; }
.ndsc-blocks .service-more { margin-top: auto; color: var(--gold); font-weight: 600; font-size: 14px; }
.ndsc-blocks .testimonials { display: grid; gap: 20px; }
.ndsc-blocks .testimonial { margin: 0; background: var(--soft); border-radius: var(--radius); padding: 24px 28px; }
.ndsc-blocks .testimonial figcaption { color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.ndsc-blocks .testimonial blockquote { margin: 0; }
.ndsc-blocks .faqs { display: grid; gap: 12px; }
.ndsc-blocks .faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ndsc-blocks .faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--green); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ndsc-blocks .faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--gold); }
.ndsc-blocks .faq[open] summary::after { content: "−"; }
.ndsc-blocks .faq .rich { padding: 0 20px 6px; }
.ndsc-blocks .contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; }
.ndsc-blocks .contact-details { background: var(--green); color: #fff; border-radius: var(--radius); padding: 28px; }
.ndsc-blocks .contact-details h3 { color: #fff; }
.ndsc-blocks .contact-details a { color: #fff; text-decoration: none; }
.ndsc-blocks .contact-details a:hover { color: var(--gold); }
.ndsc-blocks .contact-form, .ndsc-blocks .form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 26px rgba(0,0,0,.05); }
.ndsc-blocks .form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.ndsc-blocks .field-wide, .ndsc-blocks .form-heading { grid-column: 1 / -1; }
.ndsc-blocks .form-heading { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 18px; }
.ndsc-blocks .form-heading:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.ndsc-blocks .field label, .ndsc-blocks .field legend { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ndsc-blocks .field fieldset { border: 0; padding: 0; margin: 0; }
.ndsc-blocks .field input[type=text], .ndsc-blocks .field input[type=email], .ndsc-blocks .field input[type=tel], .ndsc-blocks .field input[type=date], .ndsc-blocks .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfd5ca; border-radius: 6px; font: inherit; background: #fff; }
.ndsc-blocks .field input:focus, .ndsc-blocks .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.ndsc-blocks .field .choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 6px 0; }
.ndsc-blocks .choice input { margin-top: .35em; accent-color: var(--green); }
.ndsc-blocks .req { color: #b3261e; }
.ndsc-blocks .has-error input, .ndsc-blocks .has-error textarea { border-color: #b3261e; }
.ndsc-blocks .field-error { color: #b3261e; font-size: 13px; margin: 4px 0 0; }
.ndsc-blocks .notice { border-radius: 8px; padding: 14px 18px; margin-bottom: 18px; }
.ndsc-blocks .notice.ok { background: #e8f3e8; color: var(--green-dark); }
.ndsc-blocks .notice.error { background: #fdecea; color: #8a1c13; }
@media (max-width: 1000px) {
    .ndsc-blocks .split, .ndsc-blocks .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .ndsc-blocks .image-left .split-image { order: 0; }
    .ndsc-blocks .cards, .ndsc-blocks .cards-2, .ndsc-blocks .cards-4, .ndsc-blocks .services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .ndsc-blocks .cards, .ndsc-blocks .cards-2, .ndsc-blocks .cards-4, .ndsc-blocks .services, .ndsc-blocks .form { grid-template-columns: 1fr; }
    .ndsc-blocks .checklist { columns: 1; }
    .ndsc-blocks .hero { min-height: 300px; }
    .ndsc-blocks .block { padding: 44px 0; }
    .ndsc-blocks .contact-form, .ndsc-blocks .form-box { padding: 20px; }
}