:root {
  --navy: #092d5b;
  --navy-2: #061f42;
  --blue: #1469e8;
  --blue-2: #3796ff;
  --sky: #eaf5ff;
  --sky-2: #f5faff;
  --orange: #ff9a31;
  --white: #ffffff;
  --ink: #17324d;
  --muted: #61758a;
  --line: #dce9f5;
  --success: #177a50;
  --error: #b42318;
  --shadow: 0 18px 45px rgba(9, 45, 91, 0.11);
  --shadow-sm: 0 9px 24px rgba(9, 45, 91, 0.08);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1180px;
  --section: clamp(4.5rem, 8vw, 7.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .75rem 1rem; color: var(--white); background: var(--navy); border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-soft { background: linear-gradient(145deg, var(--sky-2), var(--sky)); }
.section-dark { color: var(--white); background: radial-gradient(circle at 85% 0%, rgba(55,150,255,.35), transparent 34%), var(--navy-2); }
.eyebrow { margin: 0 0 .85rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-dark .eyebrow { color: #8bc5ff; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.section-dark h2, .section-dark h3 { color: var(--white); }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.section-dark .lead { color: #c9dcf0; }
.section-head { max-width: 720px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.2rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), #0754c1); box-shadow: 0 10px 24px rgba(20,105,232,.25); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(20,105,232,.34); }
.btn-secondary { color: var(--navy); background: var(--white); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--blue); }
.btn-light { color: var(--navy); background: var(--white); }
.text-link { color: var(--blue); font-weight: 750; }
.text-link:hover { color: var(--navy); }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); transition: box-shadow .2s ease, border-color .2s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px rgba(9,45,91,.07); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--navy); font-size: 1.15rem; font-weight: 850; }
.brand-mark { position: relative; width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; background: var(--white) url("../assets/images/dawn-digitals-logo.png") 50% 38% / 215% auto no-repeat; border: 1px solid #d7e6f6; border-radius: 15px; box-shadow: 0 8px 18px rgba(20,105,232,.14); }
.brand > span:last-child { display: block; }
.brand small { display: block; margin-top: -4px; color: var(--muted); font-size: .57rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-list { display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.nav-link { display: block; padding: .62rem .75rem; border-radius: 9px; color: #38536d; font-weight: 700; font-size: .94rem; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); background: var(--sky-2); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding-block: clamp(4rem, 9vw, 8rem); overflow: hidden; background: linear-gradient(165deg, #fff 25%, #f3f9ff 100%); }
.hero::before { content: ""; position: absolute; width: 600px; height: 600px; right: -250px; top: -330px; border-radius: 50%; background: radial-gradient(circle, rgba(55,150,255,.2), rgba(55,150,255,0) 68%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(2.5rem, 7vw, 6.5rem); }
.hero h1 span { color: var(--blue); }
.hero-copy .lead { max-width: 620px; margin-top: 1.35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin-top: 2rem; color: #49657e; font-size: .88rem; font-weight: 700; }
.trust-item::before { content: "✓"; display: inline-grid; width: 21px; height: 21px; place-items: center; margin-right: .35rem; color: var(--blue); background: #e5f2ff; border-radius: 50%; }
.hero-visual { position: relative; min-height: 485px; display: grid; place-items: center; }
.visual-orbit { position: relative; width: min(100%, 475px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, #e4f3ff, #fff); box-shadow: inset 0 0 0 1px rgba(20,105,232,.08); }
.visual-orbit::before, .visual-orbit::after { content: ""; position: absolute; border: 1px dashed rgba(20,105,232,.18); border-radius: 50%; inset: 9%; }
.visual-orbit::after { inset: 22%; }
.visual-card { position: absolute; padding: 1rem; background: rgba(255,255,255,.94); border: 1px solid rgba(220,233,245,.9); border-radius: 18px; box-shadow: var(--shadow); }
.visual-main { inset: 18% 13%; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(150deg, var(--navy), #104d92); color: var(--white); }
.visual-main h2 { max-width: 270px; color: var(--white); font-size: clamp(1.7rem, 4vw, 2.6rem); }
.visual-main p { color: #bcd9f6; }
.visual-main.brand-art-card { padding: 0; overflow: hidden; background: var(--white); border-color: rgba(20,105,232,.14); }
.hero-logo-art { width: 100%; height: 100%; object-fit: contain; }
.sunrise { width: 58px; height: 29px; align-self: flex-end; overflow: hidden; border-radius: 58px 58px 0 0; background: var(--orange); box-shadow: 0 -8px 0 rgba(255,154,49,.15); }
.floating-card { display: flex; align-items: center; gap: .7rem; color: var(--navy); font-weight: 800; }
.floating-card span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--blue); background: var(--sky); border-radius: 12px; }
.float-one { left: -1%; top: 19%; }
.float-two { right: -2%; top: 33%; }
.float-three { left: 3%; bottom: 13%; }

/* Shared grids and cards */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.benefit-card { padding: 1.6rem; }
.icon-box { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--blue); background: linear-gradient(145deg, var(--sky), #f8fcff); border: 1px solid #d7ebff; border-radius: 15px; font-weight: 900; }
.benefit-card p, .service-card p, .process-card p { margin-top: .7rem; color: var(--muted); }
.service-card { position: relative; display: flex; flex-direction: column; padding: 2rem; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.service-card::before { content: ""; position: absolute; width: 110px; height: 110px; right: -45px; top: -45px; background: var(--sky); border-radius: 50%; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.check-list { display: grid; gap: .55rem; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; color: #3e5a73; font-size: .92rem; }
.check-list li::before { content: "✓"; margin-right: .55rem; color: var(--blue); font-weight: 900; }
.service-card .text-link { margin-top: auto; }
.feature-list { display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 2rem; font-weight: 700; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; width: 23px; height: 23px; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-size: .75rem; }
.why-panel { padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background: var(--white); border-radius: 32px; box-shadow: var(--shadow); }
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { min-height: 140px; padding: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: linear-gradient(145deg, var(--blue), var(--navy)); border-radius: 20px; }
.stat:nth-child(2), .stat:nth-child(3) { color: var(--navy); background: var(--sky); }
.stat strong { font-size: 2rem; line-height: 1; }
.stat span { margin-top: .4rem; font-size: .82rem; font-weight: 700; }
.process-grid { counter-reset: steps; }
.process-card { position: relative; padding: 1.75rem; border-top: 3px solid var(--blue); }
.process-card::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 1.3rem; color: var(--blue); font-size: .85rem; font-weight: 900; letter-spacing: .08em; }
.project-card { overflow: hidden; }
.project-image { min-height: 230px; position: relative; display: flex; align-items: flex-end; padding: 1.4rem; background: linear-gradient(145deg, #dceeff, #8ec5ff); }
.project-image::before { content: ""; position: absolute; inset: 15% 12% 0; background: var(--white); border-radius: 16px 16px 0 0; box-shadow: 0 15px 30px rgba(9,45,91,.15); }
.project-image::after { content: ""; position: absolute; width: 38%; height: 9px; left: 31%; top: 25%; background: var(--blue); border-radius: 9px; box-shadow: 0 23px 0 #dbe8f3, 0 46px 0 #dbe8f3, 0 69px 0 #dbe8f3; }
.project-image.auto { background: linear-gradient(145deg, #152f4a, #2475c9); }
.project-image.pro { background: linear-gradient(145deg, #fbe7cf, #ffb55f); }
.project-image span { position: relative; z-index: 1; padding: .4rem .7rem; color: var(--navy); background: rgba(255,255,255,.9); border-radius: 999px; font-size: .73rem; font-weight: 800; }
.project-body { padding: 1.6rem; }
.project-body .meta { margin-bottom: .45rem; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-body p { margin: .7rem 0 1.2rem; color: var(--muted); }
.filter-controls { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2rem; }
.filter-btn { padding: .6rem 1rem; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 750; }
.filter-btn:hover, .filter-btn.is-active { color: var(--white); background: var(--blue); border-color: var(--blue); }
.project-card[hidden] { display: none; }

/* CTA, forms and footer */
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); border-radius: 30px; background: radial-gradient(circle at 90% 0%, rgba(55,150,255,.4), transparent 35%), var(--navy); box-shadow: var(--shadow); }
.cta-panel h2 { color: var(--white); }
.cta-panel p { max-width: 680px; margin-top: .85rem; color: #c6dbee; }
.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 2rem; align-items: start; }
.contact-aside { padding: 2rem; color: var(--white); background: linear-gradient(150deg, var(--navy), #0d4b8d); }
.contact-aside h2, .contact-aside h3 { color: var(--white); }
.contact-aside p { margin-top: 1rem; color: #bed6eb; }
.contact-list { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.contact-list strong { display: block; color: var(--white); }
.contact-list span { color: #bed6eb; }
.contact-form { padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.field.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: .4rem; color: var(--navy); font-size: .9rem; font-weight: 750; }
input, select, textarea { width: 100%; padding: .82rem .9rem; color: var(--ink); background: #fbfdff; border: 1px solid #cbddeb; border-radius: 11px; }
textarea { min-height: 145px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(20,105,232,.18); border-color: var(--blue); }
.field-error { min-height: 1.25rem; margin-top: .25rem; color: var(--error); font-size: .78rem; }
[aria-invalid="true"] { border-color: var(--error); }
.form-status { display: none; margin-bottom: 1rem; padding: .8rem 1rem; color: var(--success); background: #eaf8f1; border: 1px solid #b9e3ce; border-radius: 10px; font-weight: 700; }
.form-status.is-visible { display: block; }
.site-footer { padding-block: 4rem 1.5rem; color: #bfd0e2; background: var(--navy-2); }
.site-footer .brand { color: var(--white); }
.site-footer .brand small { color: #93abc3; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.footer-about { max-width: 330px; margin-top: 1rem; color: #9fb4c9; }
.footer-title { margin: 0 0 .9rem; color: var(--white); font-size: .9rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.footer-links { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.legal-links { display: flex; gap: 1rem; }
.back-to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: 46px; height: 46px; display: grid; place-items: center; color: var(--white); background: var(--blue); border: 0; border-radius: 50%; box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Inner pages */
.page-hero { padding-block: clamp(4.5rem, 9vw, 7.5rem); text-align: center; background: radial-gradient(circle at 15% 0%, rgba(55,150,255,.18), transparent 25%), linear-gradient(165deg, #fff, var(--sky)); }
.page-hero .lead { max-width: 700px; margin: 1.2rem auto 0; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.service-detail { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-block: 3rem; }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail:nth-child(even) .service-intro { order: 2; }
.service-number { display: block; margin-bottom: 1rem; color: var(--orange); font-weight: 900; }
.detail-box { padding: 2rem; }
.detail-box h3:not(:first-child) { margin-top: 1.5rem; }
.detail-box p { margin-top: .55rem; color: var(--muted); }
.detail-box .check-list { columns: 2; display: block; }
.detail-box .check-list li { margin-bottom: .55rem; break-inside: avoid; }
.values-grid .card { padding: 1.7rem; }
.values-grid p { margin-top: .65rem; color: var(--muted); }
.founder { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3rem; align-items: center; }
.founder-placeholder { min-height: 410px; display: grid; place-items: center; background: linear-gradient(145deg, #eaf5ff, #9fceff); border-radius: 30px; }
.founder-placeholder span { width: 150px; height: 150px; display: grid; place-items: center; color: var(--white); background: var(--blue); border: 12px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 3rem; font-weight: 850; }
.story-copy p + p { margin-top: 1rem; }
.faq-list { max-width: 850px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; color: var(--navy); background: none; border: 0; text-align: left; cursor: pointer; font-weight: 800; }
.faq-question span:last-child { color: var(--blue); font-size: 1.25rem; }
.faq-answer { display: none; padding: 0 2rem 1.25rem 0; color: var(--muted); }
.faq-question[aria-expanded="true"] + .faq-answer { display: block; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + .4rem); padding: .75rem; visibility: hidden; opacity: 0; transform: translateY(-8px); background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); transition: .2s ease; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-list { align-items: stretch; flex-direction: column; }
  .nav-list .btn { margin-top: .4rem; }
  .hero-grid, .why-panel, .form-layout, .service-detail, .founder { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { min-height: 430px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child { grid-column: 1 / -1; }
  .service-detail:nth-child(even) .service-intro { order: initial; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  :root { --section: 4.2rem; }
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .nav-wrap { min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
  .hero { padding-top: 3.5rem; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 355px; }
  .visual-orbit { width: 350px; max-width: 100%; }
  .floating-card { padding: .6rem; font-size: .76rem; }
  .floating-card span { width: 30px; height: 30px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .grid-3 > :last-child { grid-column: auto; }
  .field.full { grid-column: auto; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 115px; padding: 1rem; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .detail-box .check-list { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
