/*
Theme Name: DES Daylight
Theme URI: https://www.digitaledgesolutions.com
Author: Digital Edge Solutions, LLC
Description: Custom theme for Digital Edge Solutions — the "Daylight" concept: light, open design built around the Fiber Flow logo, with navy and orange accents.
Version: 1.8
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: Proprietary
Text Domain: des-daylight
*/

/* ============ BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans', Arial, Helvetica, sans-serif; color: #243445; background: #ffffff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { width: 1120px; max-width: 94%; margin: 0 auto; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ============ NAV ============ */
.nav { background: #ffffff; border-bottom: 1px solid #e8edf2; position: sticky; top: 0; z-index: 50; }
.nav-inner { width: 1120px; max-width: 94%; margin: 0 auto; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.nav .brand { display: inline-flex; align-items: center; }
.nav .brand img { height: 44px; width: auto; }
.nav .brand span { color: #0d1b2a; font-size: 16px; letter-spacing: 2px; margin-left: 12px; font-weight: bold; white-space: nowrap; }
.nav .links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 30px; }
.nav .links a { color: #5a6b7e; font-size: 14px; }
.nav .links a:hover { color: #0d1b2a; }
.nav .links a.active { color: #0d1b2a; font-weight: bold; }
.nav .links a.cta { background: #e8821a; color: #ffffff; padding: 10px 24px; border-radius: 20px; font-weight: bold; }
.nav .links a.cta:hover { background: #d57416; color: #fff; }

/* ============ HERO ============ */
.hero { padding: 90px 0; background-color: #f7f9fc; background-image: url('images/flow-hero-light.png'); background-size: cover; background-position: center; }
.hero-split { display: flex; align-items: center; gap: 40px; }
.hero-split .hero-copy { flex: 1 1 58%; min-width: 0; }
.hero-split .hero-art { flex: 0 0 280px; text-align: center; }
.hero-split .hero-art img { width: 280px; max-width: 100%; border-radius: 12px; box-shadow: 0 16px 40px rgba(13,27,42,.14); }
/* ============ REFINED MEDIA (v1.8) ============
   Convention: content photos display as restrained side accents
   (300-400px), never as full-width blocks. Full-bleed display is
   reserved for hero banners only. */
.band-split { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: center; }
.band-media img { width: 100%; border-radius: 10px; display: block; box-shadow: 0 14px 34px rgba(0,0,0,.30); border: 1px solid rgba(255,255,255,.10); }
.band-media img + img { margin-top: 20px; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.detail-media img { width: 100%; border-radius: 10px; display: block; box-shadow: 0 12px 30px rgba(13,27,42,.10); border: 1px solid #e8edf2; }
.detail-media img + img { margin-top: 20px; }
.about-split { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center; margin-bottom: 56px; }
.about-split .lede { margin-bottom: 18px; }
.about-media img { width: 100%; border-radius: 10px; display: block; box-shadow: 0 12px 30px rgba(13,27,42,.10); border: 1px solid #e8edf2; }
.kit-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.kit-checks > div { background: #fff; border: 1px solid #e3e8ef; border-radius: 8px; padding: 16px 18px; font-size: 15px; line-height: 1.55; }
.kit-checks > div:before { content: "\2713\0020"; color: #0d7a3f; font-weight: 700; }
.detail h4 { font-size: 19px; margin: 28px 0 4px; }
table.spec { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
table.spec th, table.spec td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #e3e8ef; vertical-align: top; }
table.spec th { width: 220px; color: #0d1b2a; background: #f2f5f9; font-weight: 700; white-space: nowrap; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: none; }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.client-tile { background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; min-height: 150px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.client-tile.dark { background: #0d1b2a; border-color: #0d1b2a; }
.client-tile img { max-width: 100%; max-height: 90px; width: auto; height: auto; object-fit: contain; }
.client-tile.client-name span { font-size: 20px; font-weight: 700; color: #0d1b2a; text-align: center; line-height: 1.4; }
.client-note { margin-top: 24px; color: #5a6b7e; font-size: 15px; }
.hero h1 { font-size: 50px; font-weight: 800; color: #101418; letter-spacing: -1px; line-height: 1.15; margin-bottom: 20px; }
.hero h1 em { color: #e8821a; font-style: normal; }
.hero p.sub { font-size: 18px; color: #5a6b7e; line-height: 1.75; margin-bottom: 36px; max-width: 640px; }
.hero .kicker { color: #e8821a; font-size: 13px; letter-spacing: 3px; font-weight: bold; margin-bottom: 14px; }
.hero-ticker { margin-top: 44px; text-align: center; color: #8a99ab; font-size: 13px; letter-spacing: 2px; }
.btn { display: inline-block; background: #e8821a; color: #ffffff; font-weight: bold; font-size: 16px; padding: 15px 42px; border-radius: 30px; border: none; cursor: pointer; font-family: inherit; }
.btn:hover { background: #d57416; color: #fff; }
.hero .alt { color: #5a6b7e; font-size: 15px; margin-left: 22px; }
.hero .alt b { color: #0d1b2a; }
.hero .alt a { color: #0d1b2a; font-weight: bold; }

/* ============ SECTIONS ============ */
.section { padding: 84px 0; }
.section.light { background: #ffffff; }
.section.tint { background: #f7f9fc; }
.kicker { color: #e8821a; font-size: 13px; letter-spacing: 3px; font-weight: bold; margin-bottom: 12px; }
h2 { font-size: 34px; color: #101418; margin-bottom: 12px; letter-spacing: -0.5px; line-height: 1.25; }
.lede { color: #5a6b7e; font-size: 17px; line-height: 1.75; margin-bottom: 44px; max-width: 740px; }
.lede + .lede { margin-top: -28px; }

/* ============ SERVICE CARDS ============ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #f7f9fc; border: 1px solid #e8edf2; border-radius: 12px; padding: 32px 28px; }
.section.tint .card { background: #ffffff; }
.card .icon { width: 46px; height: 46px; border-radius: 10px; background: #e8821a; color: #fff; font-size: 20px; font-weight: bold; text-align: center; line-height: 46px; margin-bottom: 18px; }
.card h3 { font-size: 17px; color: #101418; margin-bottom: 10px; }
.card p { color: #5a6b7e; font-size: 14px; line-height: 1.7; }
.card a.more { color: #e8821a; font-size: 14px; font-weight: bold; display: inline-block; margin-top: 14px; }

/* ============ DETAIL ROWS (services page) ============ */
.detail { padding: 40px 0; border-top: 1px solid #e8edf2; }
.detail:last-child { border-bottom: 1px solid #e8edf2; }
.detail .no { color: #e8821a; font-size: 14px; letter-spacing: 2px; font-weight: bold; }
.detail h3 { font-size: 24px; color: #101418; margin: 8px 0 12px; }
.detail p { color: #5a6b7e; font-size: 16px; line-height: 1.8; max-width: 700px; }
.detail ul { margin: 14px 0 0 20px; color: #5a6b7e; font-size: 15px; line-height: 2; }

/* ============ DARK BAND ============ */
.band-dark { background: #0d1b2a; padding: 84px 0; color: #9fb0c3; }
.band-dark .kicker { color: #e8a33d; }
.band-dark h2 { color: #ffffff; }
.band-dark p { font-size: 16px; line-height: 1.8; margin-bottom: 16px; max-width: 720px; }
.band-dark ul.check { list-style: none; margin-top: 20px; }
.band-dark ul.check li { color: #d7dee8; font-size: 15px; line-height: 2.4; }
.band-dark ul.check li > b:first-child { color: #e8821a; margin-right: 10px; }

/* ============ CTA BAND ============ */
.band-cta { background: #f7f9fc; border-top: 1px solid #e8edf2; padding: 72px 0; text-align: center; }
.band-cta h2 { margin-bottom: 10px; }
.band-cta p { color: #5a6b7e; font-size: 16px; margin-bottom: 28px; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.contact-card { background: #f7f9fc; border: 1px solid #e8edf2; border-radius: 12px; padding: 30px 28px; }
.contact-card h3 { font-size: 13px; letter-spacing: 2px; color: #e8821a; margin-bottom: 10px; }
.contact-card p { font-size: 20px; color: #101418; font-weight: bold; }
.contact-card p.small { font-size: 14px; color: #5a6b7e; font-weight: normal; margin-top: 6px; line-height: 1.7; }
.contact-card a { color: #101418; }
.form { background: #f7f9fc; border: 1px solid #e8edf2; border-radius: 12px; padding: 40px; max-width: 720px; }
.form label { display: block; font-size: 13px; letter-spacing: 1px; color: #5a6b7e; margin: 18px 0 6px; font-weight: bold; }
.form input, .form textarea, .form select { width: 100%; padding: 13px 15px; border: 1px solid #d5dde6; border-radius: 8px; font-size: 15px; font-family: inherit; color: #243445; background: #fff; }
.form textarea { height: 140px; resize: vertical; }
.form .btn { margin-top: 24px; }
.form-note { color: #8a99ab; font-size: 13px; margin-top: 16px; max-width: 720px; }

/* ============ WPFORMS (contact page) ============ */
.des-form-wrap { max-width: 720px; }
.des-form-wrap .wpforms-container { background: #f7f9fc; border: 1px solid #e8edf2; border-radius: 12px; padding: 40px; margin-bottom: 0 !important; }
.des-form-wrap .wpforms-field-label { font-size: 13px !important; letter-spacing: 1px; color: #5a6b7e !important; font-weight: bold !important; }
.des-form-wrap .wpforms-field input[type=text],
.des-form-wrap .wpforms-field input[type=email],
.des-form-wrap .wpforms-field input[type=tel],
.des-form-wrap .wpforms-field select,
.des-form-wrap .wpforms-field textarea { border: 1px solid #d5dde6 !important; border-radius: 8px !important; padding: 13px 15px !important; font-size: 15px !important; color: #243445 !important; max-width: 100% !important; }
.des-form-wrap .wpforms-field textarea { min-height: 140px; }
.des-form-wrap button[type=submit].wpforms-submit { background: #e8821a !important; color: #ffffff !important; font-weight: bold !important; font-size: 16px !important; padding: 15px 42px !important; border-radius: 30px !important; border: none !important; cursor: pointer; }
.des-form-wrap button[type=submit].wpforms-submit:hover { background: #d57416 !important; }

/* ============ PAGE BODY ============ */
.page-body { padding: 64px 0 84px; }
.page-body .entry-content { color: #5a6b7e; font-size: 16px; line-height: 1.8; max-width: 780px; }
.page-body .entry-content p { margin-bottom: 18px; }

/* ============ FOOTER ============ */
.footer { background: #0d1b2a; padding: 56px 0 30px; color: #9fb0c3; font-size: 14px; }
.footer-cols { width: 1120px; max-width: 94%; margin: 0 auto; display: flex; gap: 40px; }
.footer-cols .fcol1 { flex: 0 0 40%; }
.footer-cols .fcol2, .footer-cols .fcol3 { flex: 1 1 30%; }
.footer h5 { color: #ffffff; font-size: 12px; letter-spacing: 2px; margin-bottom: 14px; }
.footer p { line-height: 2.1; }
.footer a { color: #9fb0c3; }
.footer a:hover { color: #ffffff; }
.footer .fine { width: 1120px; max-width: 94%; margin: 34px auto 0; border-top: 1px solid #1e2f45; padding-top: 22px; font-size: 12px; color: #5f7288; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 36px; }
  .hero-split { flex-direction: column; }
  .hero-split .hero-art { flex: none; }
  .hero-split .hero-art img { width: 220px; }
  .hero .alt { display: block; margin: 18px 0 0; }
  .cards-grid, .contact-grid { grid-template-columns: 1fr; }
  .band-split, .detail-grid, .about-split { grid-template-columns: 1fr; gap: 32px; }
  .band-media, .detail-media, .about-media { max-width: 440px; }
  .kit-checks { grid-template-columns: 1fr; }
  table.spec th { width: auto; white-space: normal; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .client-tile { min-height: 120px; padding: 16px; }
  .section { padding: 56px 0; }
  h2 { font-size: 27px; }
  .footer-cols { flex-direction: column; }
  .footer-cols .fcol1, .footer-cols .fcol2, .footer-cols .fcol3 { flex: none; }
  .form { padding: 28px 22px; }
  .nav .brand span { font-size: 13px; }
}
