@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary: #153750;
  --secondary: #92d16c;
  --accent: #19517b;
  --tertiary: #c94c62;
  --font-main: #07202f;
  --font-alt: #505e68;
  --dividers: #b2d0e7;
  --muted: #f4fcff;
  --muted-alt: #e0eef8;
  --white: #ffffff;
  --shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
  --shadow-md: 2px 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-btn: 0 4px 4px rgba(0, 0, 0, 0.25);
  --radius-card: 20px;
  --radius-pill: 18px;
  --wide: 1200px;
  --font-head: 'Barlow', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--font-main); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
ul { list-style: none; }

/* Utility */
.dc-utility { background: var(--white); padding: 12px 0; border-bottom: 1px solid rgba(178,208,231,0.4); }
.dc-utility-inner { max-width: var(--wide); margin: 0 auto; padding: 0 24px; display: flex; justify-content: flex-end; gap: 28px; }
.dc-utility a { font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--font-main); }
.dc-utility a:hover { color: var(--accent); text-decoration: none; }

/* Header */
.dc-header { background: var(--white); position: sticky; top: 0; z-index: 500; border-bottom: 1px solid rgba(178,208,231,0.35); }
.dc-header-inner { max-width: var(--wide); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; min-height: 68px; }
.dc-logo img { height: 33px; }
.dc-nav { display: flex; margin-left: auto; align-items: center; }
.dc-nav > li { position: relative; }
.dc-nav > li > a, .dc-nav > li > .nav-label {
  display: flex; align-items: center; gap: 6px; padding: 22px 14px;
  font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--font-main); cursor: pointer;
}
.dc-nav > li > a:hover, .dc-nav > li:hover > .nav-label { color: var(--accent); text-decoration: none; }
.dc-nav > li > .nav-label::after {
  content: ""; width: 10px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%2307202f' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s var(--ease);
}
.dc-nav > li:hover > .nav-label::after { transform: rotate(180deg); }
.dc-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white);
  border: 1px solid var(--dividers); border-radius: 8px; padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  box-shadow: var(--shadow-md); z-index: 200;
}
.dc-nav > li:hover .dc-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dc-dropdown a {
  display: block; padding: 10px 20px; font-size: 14px; color: var(--font-alt);
  transition: color 0.15s, background 0.15s, padding-left 0.15s;
}
.dc-dropdown a:hover { color: var(--accent); background: var(--muted); padding-left: 26px; text-decoration: none; }

.dc-btn-contact {
  margin-left: 12px; padding: 9.6px 16px; font-family: var(--font-head); font-size: 15px; font-weight: 600;
  text-transform: uppercase; color: var(--primary) !important; background: var(--secondary);
  border: none; border-radius: var(--radius-pill); box-shadow: var(--shadow-btn);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.dc-btn-contact:hover { transform: translateY(-2px); box-shadow: 0 6px 10px rgba(0,0,0,0.28); color: var(--primary) !important; text-decoration: none; }
.dc-btn-contact .ico-ext { width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; }

.dc-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.dc-menu-btn span { display: block; width: 24px; height: 2px; background: var(--font-main); margin: 5px 0; }

/* Buttons */
.dc-btn-primary {
  display: inline-flex; align-items: center; gap: 8px; padding: 9.6px 16px;
  font-family: var(--font-head); font-size: 16px; font-weight: 600; text-transform: uppercase;
  color: var(--primary) !important; background: var(--secondary); border: none; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.dc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 10px rgba(0,0,0,0.28); text-decoration: none !important; color: var(--primary) !important; }
.dc-btn-outline {
  display: inline-flex; align-items: center; gap: 8px; padding: 9.6px 20px;
  font-family: var(--font-head); font-size: 16px; font-weight: 600; text-transform: uppercase;
  color: var(--font-main) !important; background: var(--white); border: 2px solid var(--dividers);
  border-radius: var(--radius-pill); transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.dc-btn-outline:hover { border-color: var(--accent); background: var(--muted); transform: translateY(-1px); text-decoration: none !important; }
.ico-ext { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* Hero — DelCor full-bleed + blob + chaos graphic */
.dc-hero { position: relative; margin-bottom: 110px; }
.dc-hero-slide {
  display: none; position: relative; min-height: 520px;
}
.dc-hero-slide.active { display: block; animation: heroFade 0.5s var(--ease); }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

.dc-hero-banner {
  position: absolute; inset: 0; overflow: hidden;
}
@media (min-width: 901px) { .dc-hero-slide { min-height: 620px; } }
@media (min-width: 1200px) { .dc-hero-slide { min-height: 735px; } }

.dc-hero-media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
}
.dc-hero-gradient {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(146,209,108,0.82) 0%, rgba(21,55,80,0.78) 100%);
  opacity: 0.85;
}
.dc-hero-chaos {
  position: absolute; z-index: 3; pointer-events: none;
  width: 55vw; max-width: 900px;
  top: 50%; left: 0; transform: translateY(-69%);
}
@media (max-width: 900px) {
  .dc-hero-chaos { width: 300px; top: 0; left: 50%; transform: translateX(-144px) rotate(90deg); }
}

.dc-hero-content-wrap {
  position: relative; z-index: 4; width: 100%; max-width: var(--wide); margin: 0 auto;
  padding: 48px 24px 80px; display: flex; align-items: center;
  min-height: 520px; pointer-events: none;
}
.dc-hero-content-wrap * { pointer-events: auto; }
@media (min-width: 901px) { .dc-hero-content-wrap { min-height: 620px; } }
@media (min-width: 1200px) { .dc-hero-content-wrap { min-height: 735px; } }
@media (min-width: 768px) {
  .dc-hero-content-wrap { width: 75%; padding: 80px 24px 100px 48px; }
}
@media (min-width: 1024px) {
  .dc-hero-content-wrap { width: 42%; max-width: 520px; margin: 0; padding: 80px 24px 120px 48px; }
}

.dc-hero-blob { display: none; }

.dc-hero-text { position: relative; z-index: 2; max-width: 480px; }
.dc-hero-text h2 {
  font-family: var(--font-head); font-size: clamp(1.75rem, 3.5vw, 2rem); font-weight: 700;
  color: var(--white); line-height: 1.1; margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(7, 32, 47, 0.35);
}
.dc-hero-text h2 span { display: block; }
.dc-hero-tagline {
  display: block; font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  color: #ffd4dc; margin-bottom: 12px; line-height: 1.2;
  text-shadow: 0 1px 8px rgba(7, 32, 47, 0.4);
}
.dc-hero-text p {
  color: rgba(255, 255, 255, 0.95); font-size: 1rem; margin-bottom: 24px;
  text-shadow: 0 1px 10px rgba(7, 32, 47, 0.45);
}

.dc-hero-dots { display: inline-flex; gap: 16px; margin-top: 32px; }
.dc-hero-dots button {
  width: 16px; height: 16px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--primary); opacity: 0.15; transition: opacity 0.25s, background 0.25s, transform 0.25s;
}
.dc-hero-dots button.active { background: var(--tertiary); opacity: 1; }
.dc-hero-dots button:hover { opacity: 0.6; transform: scale(1.15); }
.dc-hero-dots button.active:hover { opacity: 1; }

/* Featured cards — overlap hero */
.dc-featured-wrap { max-width: var(--wide); margin: -110px auto 0; padding: 0 24px; position: relative; z-index: 10; }
.dc-featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dc-featured-card {
  position: relative; display: block; min-height: 200px; border-radius: var(--radius-card);
  border: 3px solid var(--white); overflow: hidden; box-shadow: var(--shadow-md);
  text-decoration: none !important; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.dc-featured-card:hover { transform: translateY(-6px); box-shadow: 2px 12px 28px rgba(0,0,0,0.28); text-decoration: none !important; }
.dc-featured-card-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.5s var(--ease);
}
.dc-featured-card:hover .dc-featured-card-bg { transform: scale(1.1); }
.dc-featured-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,32,47,0.9) 0%, rgba(7,32,47,0.2) 60%);
}
.dc-featured-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 18px; z-index: 2; }
.dc-featured-label {
  font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 6px;
}
.dc-featured-card h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--white); line-height: 1.35;
}
.dc-featured-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 14px; color: var(--white); text-decoration: none !important;
}
.dc-featured-link .ico-ext { fill: var(--white); }
.dc-featured-link::after { content: "→"; color: var(--secondary); transition: transform 0.25s; }
.dc-featured-card:hover .dc-featured-link::after { transform: translateX(4px); }

/* Maturity block */
.dc-maturity {
  background: var(--muted) url('../images/c2c-bg.svg') center/cover no-repeat;
  padding: 80px 24px; text-align: center;
}
.dc-maturity h2 {
  font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 700;
  color: var(--font-main); max-width: 720px; margin: 0 auto 40px;
}
.dc-maturity h2 em { color: var(--tertiary); font-style: normal; }
.dc-maturity-split { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; text-align: left; }
.dc-video-thumb {
  position: relative; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.dc-video-thumb:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dc-video-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.dc-play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(7,32,47,0.2); transition: background 0.25s;
}
.dc-video-thumb:hover .dc-play-btn { background: rgba(7,32,47,0.35); }
.dc-play-btn span {
  width: 64px; height: 64px; border-radius: 50%; background: var(--secondary); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--shadow-btn);
  transition: transform 0.25s;
}
.dc-video-thumb:hover .dc-play-btn span { transform: scale(1.08); }

/* Services — DelCor icon card hover flip to navy */
.dc-section { padding: 72px 24px; }
.dc-inner { max-width: var(--wide); margin: 0 auto; }
.dc-section h2 {
  font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
  color: var(--font-main); text-align: center; margin-bottom: 40px;
}
.dc-services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px;
}
.dc-service-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 20px 28px; background: var(--white); border-radius: var(--radius-card);
  box-shadow: var(--shadow); text-decoration: none !important;
  transition: background-color 0.35s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.dc-service-item:hover {
  background-color: var(--primary) !important; transform: translateY(-4px);
  box-shadow: var(--shadow-md); text-decoration: none !important;
}
.dc-service-icon { width: 73px; height: 70px; margin-bottom: 16px; }
.dc-service-icon path, .dc-service-icon circle, .dc-service-icon rect {
  stroke: var(--secondary); fill: none; stroke-width: 2;
  transition: stroke 0.35s var(--ease), stroke-dasharray 1s var(--ease);
}
.dc-service-item:hover .dc-service-icon path,
.dc-service-item:hover .dc-service-icon circle,
.dc-service-item:hover .dc-service-icon rect { stroke: var(--white); stroke-dasharray: 100, 0; }
.dc-service-item h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--font-main);
  margin-bottom: 10px; transition: color 0.35s var(--ease);
}
.dc-service-item p { font-size: 14px; color: var(--font-alt); line-height: 1.55; transition: color 0.35s var(--ease); }
.dc-service-item:hover h3, .dc-service-item:hover p { color: var(--white) !important; }

/* Quote — green banner */
.dc-quote-banner {
  background: var(--secondary); padding: 64px 24px;
}
.dc-quote-inner {
  max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 1fr 35%;
  gap: 40px; align-items: center;
}
.dc-quote-text blockquote { border: none; }
.dc-quote-mark { font-size: 4rem; line-height: 0.5; color: var(--tertiary); font-family: Georgia, serif; margin-bottom: 16px; }
.dc-quote-text p {
  font-family: var(--font-head); font-size: clamp(1.1rem, 2.5vw, 1.45rem); font-weight: 500;
  color: var(--font-main); line-height: 1.5; margin-bottom: 16px;
}
.dc-quote-text cite { font-size: 15px; color: var(--font-main); font-style: normal; }
.dc-quote-photo { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-md); }
.dc-quote-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 47% 24%; }

/* CTA — muted-alt + curved image */
.dc-cta-section { background: var(--muted-alt); padding: 0; overflow: hidden; }
.dc-cta-grid {
  max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.dc-cta-image {
  position: relative; min-height: 360px; overflow: hidden;
}
.dc-cta-image img {
  width: 100%; height: 100%; object-fit: cover; min-height: 360px;
  clip-path: ellipse(85% 100% at 0% 50%);
}
.dc-cta-content { padding: 48px 48px 48px 24px; }
.dc-cta-content h2 {
  font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
  color: var(--font-main); margin-bottom: 16px; text-align: left;
}
.dc-cta-content p { color: var(--font-alt); margin-bottom: 28px; }

/* Footer — light DelCor style */
.dc-footer { background: var(--white); padding: 48px 24px 32px; font-size: 14px; color: var(--font-alt); border-top: 1px solid var(--dividers); }
.dc-footer-grid { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(2, 1fr); gap: 40px; }
.dc-footer h4 { font-family: var(--font-head); color: var(--font-main); font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.dc-footer a { color: var(--font-alt); display: block; padding: 4px 0; transition: color 0.2s; }
.dc-footer a:hover { color: var(--accent); text-decoration: none; }
.dc-footer-bottom {
  max-width: var(--wide); margin: 32px auto 0; padding-top: 24px;
  border-top: 1px solid var(--dividers);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px;
}

/* Inner pages */
.dc-page-hero {
  background: linear-gradient(135deg, var(--font-main) 0%, var(--primary) 100%);
  color: white; padding: 88px 24px 56px; text-align: center;
}
.dc-page-hero h1 { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; margin-bottom: 12px; }
.dc-page-hero p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; }
.dc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dc-split-img { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow); }
.dc-split-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.dc-lead { color: var(--font-alt); max-width: 720px; margin-bottom: 24px; }
.dc-checklist li { padding: 8px 0 8px 28px; position: relative; color: var(--font-alt); }
.dc-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }
.dc-notice {
  background: rgba(178,208,231,0.25); border-left: 4px solid var(--accent);
  padding: 16px 20px; margin-top: 24px; font-size: 15px; color: var(--font-alt); border-radius: 0 8px 8px 0;
}
.dc-form label { display: block; font-size: 14px; font-weight: 600; color: var(--font-main); margin-bottom: 6px; }
.dc-form input, .dc-form select, .dc-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--dividers); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; margin-bottom: 16px;
}
.dc-form input:focus, .dc-form select:focus, .dc-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25,81,123,0.12);
}
.dc-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px; padding: 9.6px 16px;
  font-family: var(--font-head); font-size: 16px; font-weight: 600; text-transform: uppercase;
  color: var(--primary) !important; background: transparent; border: 2px solid var(--dividers);
  border-radius: var(--radius-pill); transition: border-color 0.2s, background 0.2s;
}
.dc-btn-secondary:hover { border-color: var(--accent); background: var(--muted); text-decoration: none !important; }

/* Legal & pricing pages */
.dc-legal { max-width: 780px; }
.dc-legal-updated { font-size: 14px; color: var(--font-alt); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--dividers); }
.dc-legal h2 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 32px 0 12px; }
.dc-legal h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--font-main); margin: 20px 0 8px; }
.dc-legal p, .dc-legal li { color: var(--font-alt); margin-bottom: 12px; }
.dc-legal ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 16px; }
.dc-pricing-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.dc-pricing-table th, .dc-pricing-table td { border: 1px solid var(--dividers); padding: 14px 16px; text-align: left; vertical-align: top; }
.dc-pricing-table th { background: var(--muted); font-family: var(--font-head); font-weight: 600; color: var(--font-main); }
.dc-pricing-table td { color: var(--font-alt); }

@media (max-width: 900px) {
  .dc-featured-grid, .dc-maturity-split, .dc-quote-inner, .dc-cta-grid, .dc-split, .dc-footer-grid { grid-template-columns: 1fr; }
  .dc-hero { margin-bottom: 60px; }
  .dc-featured-wrap { margin-top: -50px; }
  .dc-cta-image img { clip-path: none; min-height: 240px; }
  .dc-nav { display: none; }
  .dc-header .dc-btn-contact { display: none; }
  .dc-menu-btn { display: block; }
  .dc-nav.open {
    display: flex; flex-direction: column; position: fixed; inset: 0; top: 68px;
    background: var(--white); padding: 24px; overflow-y: auto; z-index: 400;
  }
  .dc-nav.open .dc-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 16px; display: none; }
  .dc-nav.open > li.open .dc-dropdown { display: block; }
}
