/*
Theme Name: Darmangal
Theme URI: https://darmangal.com/
Description: Clean, bright SaaS child theme for Hello Elementor — built for Darmangal, the digital asset management platform. Mirrors the live darmangal.com design system (Space Grotesk, #3B82F6 blue, blue→violet gradient) across fully designed Home, Blog, Contact and inner-page templates. Requires the Hello Elementor parent theme.
Author: Brainy Bees
Author URI: https://brainybe.es/
Template: hello-elementor
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: darmangal
Tags: saas, software, business, elementor, light
*/

/* =====================================================================
   1. BRAND TOKENS  —  matched to live darmangal.com
   ===================================================================== */
:root {
  --brand:        #3B82F6;   /* primary blue */
  --brand-deep:   #2563EB;   /* hover / pressed */
  --brand-violet: #8B5CF6;   /* gradient end */
  --brand-soft:   #EFF6FF;   /* tinted hover / chips */
  --ink:          #0F172A;   /* headings + primary text */
  --muted:        #64748B;   /* secondary text */
  --bg:           #FFFFFF;
  --bg-gray:      #F8FAFC;
  --line:         #E2E8F0;
  --gradient:     linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);

  --font-display: "Space Grotesk", "Outfit", system-ui, sans-serif;
  --font-body:    "Space Grotesk", "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =====================================================================
   2. DERIVED
   ===================================================================== */
:root {
  --muted-2: #94a3b8;
  --brand-ink: #ffffff;

  --step--1: clamp(.8rem, .78rem + .1vw, .875rem);
  --step-0:  clamp(.95rem, .92rem + .12vw, 1rem);
  --step-1:  clamp(1.1rem, 1.02rem + .3vw, 1.25rem);
  --step-2:  clamp(1.3rem, 1.15rem + .6vw, 1.5rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.3vw, 2.25rem);
  --step-4:  clamp(2rem, 1.55rem + 2.1vw, 2.625rem);   /* ~42px */
  --step-5:  clamp(2.6rem, 1.8rem + 3.6vw, 4rem);      /* ~64px */

  --gutter: 24px;
  --maxw: 1200px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-sm: 8px;
  --shadow-sm: 0 8px 32px rgba(0,0,0,.06);
  --shadow: 0 20px 60px rgba(0,0,0,.08);
  --shadow-blue: 0 12px 40px rgba(59,130,246,.1);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =====================================================================
   3. RESET / BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }

body.dg {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.5px; color: var(--ink); text-wrap: balance; }

/* =====================================================================
   4. PRIMITIVES
   ===================================================================== */
.dg-wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.dg-section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.dg-section--soft { background: var(--bg-gray); }
.dg-section--tight { padding-block: clamp(56px, 7vw, 100px); }

.dg-eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: var(--step--1); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--brand); margin-bottom: 14px; }
.dg-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--brand); }

.dg-head { max-width: 56ch; margin-bottom: clamp(40px, 5vw, 60px); }
.dg-head--center { margin-inline: auto; text-align: center; }
.dg-head h2 { font-size: var(--step-4); font-weight: 700; margin-bottom: 16px; }
.dg-head p { color: var(--muted); font-size: var(--step-1); }

/* =====================================================================
   5. BUTTONS  (8px radius, like source)
   ===================================================================== */
.dg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: -.2px;
  transition: all .2s; white-space: nowrap;
}
.dg-btn svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.dg-btn:hover svg { transform: translateX(3px); }
.dg-btn--primary { background: var(--brand); color: #fff; }
.dg-btn--primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.dg-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.dg-btn--ghost:hover { border-color: var(--ink); }
.dg-btn--soft { background: var(--brand-soft); color: var(--brand); }
.dg-btn--soft:hover { background: var(--brand); color: #fff; }
.dg-btn--block { width: 100%; }

.dg-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--brand); transition: gap .25s var(--ease); }
.dg-link:hover { gap: .7em; }

/* =====================================================================
   6. HEADER
   ===================================================================== */
.dg-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.dg-header.is-stuck { border-bottom-color: var(--line); }
.dg-header__inner { display: flex; align-items: center; gap: 2rem; padding-block: 20px; }
.dg-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.5px; color: var(--ink); }
.dg-logo img { max-height: 34px; width: auto; }
.dg-logo__mark { width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--gradient); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 700; }
.dg-nav { display: flex; align-items: center; gap: 40px; margin-left: auto; }
.dg-nav__list { display: flex; align-items: center; gap: 40px; list-style: none; }
.dg-nav__list a { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s; }
.dg-nav__list a:hover, .dg-nav__list .current-menu-item > a { color: var(--ink); }
.dg-header__actions { display: flex; align-items: center; gap: 12px; }
.dg-header__actions .dg-signin { font-size: 15px; font-weight: 600; color: var(--ink); padding: 12px 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: border-color .2s; }
.dg-header__actions .dg-signin:hover { border-color: var(--ink); }

.dg-burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.dg-burger span, .dg-burger span::before, .dg-burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; content: ""; }
.dg-burger span { position: relative; }
.dg-burger span::before, .dg-burger span::after { position: absolute; left: 0; }
.dg-burger span::before { top: -6px; } .dg-burger span::after { top: 6px; }
.dg-burger[aria-expanded="true"] span { background: transparent; }
.dg-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.dg-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .dg-burger { display: inline-flex; }
  .dg-nav { position: fixed; inset: 0 0 0 auto; width: min(85vw,340px); margin: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem; background: #fff; padding: var(--gutter); border-left: 1px solid var(--line); box-shadow: var(--shadow); transform: translateX(100%); transition: transform .4s var(--ease); }
  .dg-nav.is-open { transform: translateX(0); }
  .dg-nav__list { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .dg-nav__list a { font-size: var(--step-2); font-weight: 700; color: var(--ink); font-family: var(--font-display); }
  .dg-header__actions { flex-direction: column; align-items: stretch; width: 100%; }
  body.dg-nav-lock { overflow: hidden; }
}

/* =====================================================================
   7. HERO + MOCKUP
   ===================================================================== */
.dg-hero { padding-top: clamp(120px, 16vw, 170px); padding-bottom: clamp(48px, 7vw, 80px); text-align: center; }
.dg-hero__inner { max-width: 1000px; margin-inline: auto; }
.dg-hero h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: -1.5px; max-width: 900px; margin: 0 auto 24px; }
.dg-hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dg-hero__sub { font-size: 20px; color: var(--muted); max-width: 600px; margin: 0 auto 40px; line-height: 1.6; }
.dg-hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* product mockup — matches source hero-image > dashboard-mockup */
.dg-mock { margin: clamp(56px,7vw,80px) auto 0; max-width: 1000px; background: var(--bg-gray); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px,3vw,40px); box-shadow: var(--shadow); text-align: left; }
.dg-mock__inner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px,3vw,32px); }
.dg-mock__bar { display: flex; gap: 8px; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dg-mock__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.dg-mock__url { margin-left: 12px; font-size: 12px; color: var(--muted-2); }
.dg-mock__content { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.dg-mock__side { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.dg-mock__side li { padding: 10px 12px; background: var(--bg-gray); border-radius: 6px; font-size: 14px; color: var(--muted); }
.dg-mock__side li.is-active { background: var(--brand); color: #fff; }
.dg-mock__main { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.dg-mock__file { background: var(--bg-gray); border-radius: var(--radius-sm); padding: 16px; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; text-align: center; transition: transform .2s var(--ease); }
.dg-mock__file:hover { transform: translateY(-2px); }
.dg-mock__thumb { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--gradient); display: grid; place-items: center; font-size: 22px; }
.dg-mock__file b { font-size: 12px; font-weight: 600; color: var(--ink); }
.dg-mock__file span { font-size: 11px; color: var(--muted-2); }
@media (max-width: 768px) { .dg-mock__content { grid-template-columns: 1fr; } .dg-mock__main { grid-template-columns: repeat(2,1fr); } }

/* logo bar */
.dg-trust { padding-block: 60px; background: var(--bg-gray); border-block: 1px solid var(--line); text-align: center; }
.dg-trust p { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 32px; }
.dg-trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.dg-trust__row span { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px,2.4vw,24px); color: #cbd5e1; letter-spacing: -.5px; }

/* =====================================================================
   8. VALUE PROPS (2x2)
   ===================================================================== */
.dg-features { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; }
@media (max-width: 760px) { .dg-features { grid-template-columns: 1fr; gap: 24px; } }
.dg-feature { padding: 40px; background: var(--bg-gray); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: all .3s; }
.dg-feature:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.dg-feature__icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--gradient); color: #fff; display: grid; place-items: center; font-size: 24px; margin-bottom: 24px; }
.dg-feature h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.dg-feature p { color: var(--muted); font-size: 16px; line-height: 1.6; }

/* =====================================================================
   9. SPLIT FEATURE ROWS
   ===================================================================== */
.dg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.dg-split--rev .dg-split__media { order: 2; }
.dg-split h2 { font-size: var(--step-4); font-weight: 700; margin-bottom: 20px; }
.dg-split > div > p { color: var(--muted); font-size: 18px; line-height: 1.7; margin-bottom: 24px; max-width: 46ch; }
.dg-checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.dg-checks li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 16px; }
.dg-checks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; background: var(--brand); color: #fff; border-radius: 50%; font-size: 14px; }
@media (max-width: 860px) { .dg-split { grid-template-columns: 1fr; gap: 40px; } .dg-split--rev .dg-split__media { order: 0; } }

/* UI panel inside split media */
.dg-split__media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px,3vw,40px); box-shadow: var(--shadow-sm); }
.dg-panel { display: flex; flex-direction: column; gap: 12px; }
.dg-panel__row { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--bg-gray); border-radius: var(--radius-sm); transition: background .2s; }
.dg-panel__row:hover { background: var(--brand-soft); }
.dg-panel__ico { width: 40px; height: 40px; border-radius: 8px; background: var(--gradient); color: #fff; display: grid; place-items: center; font-size: 18px; flex: none; }
.dg-panel__row b { font-size: 14px; display: block; color: var(--ink); }
.dg-panel__row span { font-size: 12px; color: var(--muted); }
.dg-panel__tag { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .3px; color: #fff; background: var(--brand); padding: 3px 9px; border-radius: 5px; white-space: nowrap; }
.dg-panel__tag.ok { background: #10B981; }

/* =====================================================================
   10. INTEGRATIONS
   ===================================================================== */
.dg-integrations { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; max-width: 900px; margin-inline: auto; }
@media (max-width: 760px) { .dg-integrations { grid-template-columns: repeat(2,1fr); } }
.dg-int { padding: 32px; background: var(--bg-gray); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font-size: 16px; font-weight: 600; color: var(--ink); transition: all .2s; }
.dg-int:hover { border-color: var(--brand); transform: translateY(-2px); }
.dg-int__logo { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 24px; }

/* =====================================================================
   11. PRICING (5 cols)
   ===================================================================== */
.dg-pricing { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; align-items: stretch; }
@media (max-width: 1080px) { .dg-pricing { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 760px) { .dg-pricing { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.dg-plan { background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; position: relative; transition: all .3s; }
.dg-plan:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow); }
.dg-plan--featured { border-color: var(--brand); }
.dg-plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.dg-plan h3 { font-size: 22px; margin-bottom: 8px; }
.dg-plan__price { font-family: var(--font-display); font-weight: 700; font-size: 42px; margin: 16px 0 24px; letter-spacing: -1px; }
.dg-plan__price span { font-size: 16px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.dg-plan ul { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.dg-plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.dg-plan li::before { content: "✓"; color: var(--brand); font-weight: 700; flex: none; }

/* =====================================================================
   12. TESTIMONIALS
   ===================================================================== */
.dg-quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
@media (max-width: 860px) { .dg-quotes { grid-template-columns: 1fr; } }
.dg-quote { background: var(--bg-gray); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.dg-quote__stars { color: #f59e0b; letter-spacing: 2px; font-size: 15px; }
.dg-quote p { font-size: 16px; color: var(--muted); line-height: 1.7; flex: 1; }
.dg-quote__who { display: flex; align-items: center; gap: 12px; }
.dg-quote__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gradient); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.dg-quote__who b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.dg-quote__who span { font-size: 14px; color: var(--muted); }

/* =====================================================================
   13. FAQ (static cards, like source)
   ===================================================================== */
.dg-faq { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; }
.dg-faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.dg-faq-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.dg-faq-item p { color: var(--muted); line-height: 1.7; }

/* =====================================================================
   14. CTA
   ===================================================================== */
.dg-cta__box { max-width: 700px; margin-inline: auto; padding: clamp(48px,8vw,80px) clamp(28px,5vw,60px); background: var(--gradient); border-radius: var(--radius-xl); color: #fff; text-align: center; }
.dg-cta__box h2 { color: #fff; font-size: var(--step-4); margin-bottom: 16px; }
.dg-cta__box p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 46ch; margin: 0 auto 32px; }
.dg-cta__box .dg-btn { background: #fff; color: var(--brand); }
.dg-cta__box .dg-btn:hover { background: var(--bg-gray); transform: translateY(-1px); }

/* =====================================================================
   15. BLOG
   ===================================================================== */
.dg-page-hero { padding-top: clamp(120px,16vw,170px); padding-bottom: clamp(32px,5vw,48px); text-align: center; }
.dg-page-hero h1 { font-size: var(--step-5); letter-spacing: -1.5px; margin-bottom: 16px; }
.dg-page-hero p { color: var(--muted); font-size: 20px; max-width: 600px; margin-inline: auto; }

.dg-posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
@media (max-width: 960px) { .dg-posts { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .dg-posts { grid-template-columns: 1fr; } }
.dg-post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all .3s; }
.dg-post:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow); }
.dg-post__thumb { aspect-ratio: 16/10; background: var(--gradient); overflow: hidden; }
.dg-post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dg-post:hover .dg-post__thumb img { transform: scale(1.04); }
.dg-post__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dg-post__meta { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.dg-post__cat { color: var(--brand); }
.dg-post h3 { font-size: 22px; line-height: 1.25; }
.dg-post:hover h3 a { color: var(--brand); }
.dg-post__excerpt { color: var(--muted); font-size: 15px; flex: 1; }

.dg-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.dg-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); font-weight: 600; background: #fff; transition: .2s; }
.dg-pagination .page-numbers:hover, .dg-pagination .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* single */
.dg-article__hero { padding-top: clamp(120px,16vw,170px); padding-bottom: 24px; text-align: center; }
.dg-article__hero .dg-wrap { max-width: 800px; }
.dg-article__hero h1 { font-size: clamp(32px,4vw,52px); letter-spacing: -1px; margin-block: 16px; }
.dg-article__meta { color: var(--muted-2); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.dg-article__feat { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; max-width: 900px; margin: 0 auto 40px; }
.dg-prose { max-width: 720px; margin-inline: auto; font-size: 18px; line-height: 1.8; color: #334155; }
.dg-prose > * + * { margin-top: 1.3em; }
.dg-prose h2 { font-size: var(--step-3); margin-top: 1.8em; color: var(--ink); }
.dg-prose h3 { font-size: var(--step-2); margin-top: 1.4em; color: var(--ink); }
.dg-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.dg-prose blockquote { border-left: 4px solid var(--brand); padding-left: 20px; font-size: 20px; color: var(--ink); }
.dg-prose img { border-radius: var(--radius); }
.dg-prose ul, .dg-prose ol { padding-left: 20px; }
.dg-prose code { background: var(--bg-gray); padding: .15em .4em; border-radius: 6px; font-size: .9em; }

/* =====================================================================
   16. CONTACT
   ===================================================================== */
.dg-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px,5vw,56px); align-items: start; }
@media (max-width: 860px) { .dg-contact { grid-template-columns: 1fr; } }
.dg-contact__info { display: grid; gap: 28px; }
.dg-contact__item h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.dg-contact__item a, .dg-contact__item p { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--ink); }
.dg-contact__item a:hover { color: var(--brand); }
.dg-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,4vw,40px); display: grid; gap: 18px; box-shadow: var(--shadow-sm); }
.dg-field { display: grid; gap: 6px; }
.dg-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.dg-field input, .dg-field textarea, .dg-field select { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-gray); border: 1px solid var(--line); color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s, background .2s; }
.dg-field input:focus, .dg-field textarea:focus, .dg-field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-soft); }
.dg-field textarea { min-height: 130px; resize: vertical; }
.dg-form__note { font-size: 13px; color: var(--muted-2); }
.dg-notice { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; font-weight: 500; }
.dg-notice--ok { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.35); color: #0c7a55; }
.dg-notice--err { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.3); color: #c0392b; }

/* =====================================================================
   17. FOOTER (dark, like source)
   ===================================================================== */
.dg-footer { background: var(--ink); color: #fff; padding-block: 80px 40px; }
.dg-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.dg-footer__brand .dg-logo { color: #fff; }
.dg-footer__brand p { color: rgba(255,255,255,.6); max-width: 30ch; margin-top: 16px; line-height: 1.6; }
.dg-footer__col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.dg-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.dg-footer__col a { color: rgba(255,255,255,.6); transition: color .2s; }
.dg-footer__col a:hover { color: #fff; }
.dg-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); font-size: 14px; }
@media (max-width: 760px) { .dg-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; } .dg-footer__brand { grid-column: 1 / -1; } }

/* =====================================================================
   18. REVEAL + UTIL
   ===================================================================== */
.dg-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.dg-reveal.is-in { opacity: 1; transform: none; }
.dg-reveal[data-delay="1"] { transition-delay: .07s; }
.dg-reveal[data-delay="2"] { transition-delay: .14s; }
.dg-reveal[data-delay="3"] { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) { .dg-reveal { opacity: 1; transform: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
