/* DELDUA public site - mobile first */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--deldua-white);
  color: var(--deldua-black);
  line-height: 1.55;
  padding-bottom: 72px;
}

body.no-mobile-bar {
  padding-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .wrap { padding: 0 1.5rem; }
  body { padding-bottom: 0; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--deldua-black);
  border-bottom: 1px solid #222;
}

.site-header {
  position: relative;
}

.site-header .inner,
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 58px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.logo-link img {
  height: 40px;
  width: auto;
}

@media (min-width: 768px) {
  .logo-link img { height: 46px; }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid #333;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--deldua-white);
  border-radius: 1px;
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--deldua-black);
  border-bottom: 1px solid #222;
  padding: 0.5rem 1rem 1rem;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav.open {
  display: flex;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    border: none;
    background: transparent;
  }
}

.site-nav a {
  text-decoration: none;
  color: #ccc;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.65rem 0;
}

@media (min-width: 768px) {
  .site-nav a { padding: 0; }
}

.site-nav a:hover {
  color: var(--deldua-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--deldua-red);
  color: var(--deldua-white);
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  min-height: 48px;
}

.btn:hover {
  background: #c80511;
}

.btn-outline {
  background: transparent;
  color: var(--deldua-white);
  border: 1px solid #444;
}

.btn-outline:hover {
  border-color: var(--deldua-white);
  background: #1a1a1a;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.6rem 1rem;
  min-height: 40px;
  font-size: 0.75rem;
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}

/* Hero */
.hero {
  background: var(--deldua-black);
  color: var(--deldua-white);
  padding: 2rem 0 2.5rem;
}

@media (min-width: 768px) {
  .hero { padding: 3.5rem 0 4rem; }
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deldua-red);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.85rem, 7vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero-lead {
  color: #aaa;
  font-size: 1rem;
  margin: 0 0 1.5rem;
  max-width: 28rem;
}

.hero-actions {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .hero-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
}

.hero-logo-wrap img {
  width: min(260px, 75vw);
}

@media (min-width: 900px) {
  .hero-logo-wrap img { width: min(320px, 100%); }
}

/* Info strip */
.info-strip {
  background: var(--deldua-red);
  color: var(--deldua-white);
  padding: 0.85rem 0;
}

.info-strip .inner {
  display: grid;
  gap: 0.65rem;
  font-size: 0.82rem;
}

@media (min-width: 768px) {
  .info-strip .inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
  }
}

.info-strip strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.15rem;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .section { padding: 3.5rem 0; }
}

.section-dark {
  background: var(--deldua-black);
  color: var(--deldua-white);
}

.section-dark .section-intro {
  color: #aaa;
}

.section-muted {
  background: var(--deldua-off-white);
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.section-intro {
  margin: 0;
  color: var(--deldua-muted);
  font-size: 0.95rem;
  max-width: 32rem;
}

/* Service cards */
.service-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.service-card {
  background: var(--deldua-white);
  border: 1px solid var(--deldua-border);
  overflow: hidden;
}

.section-muted .service-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.service-card-body h3 {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.service-card-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--deldua-muted);
  line-height: 1.45;
}

/* Fix list */
.fix-grid {
  display: grid;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .fix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fix-grid li {
  padding: 0.55rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid #222;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fix-grid li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--deldua-red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Why cards */
.why-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-card {
  padding: 1.25rem 0 0;
  border-top: 3px solid var(--deldua-red);
}

.why-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--deldua-muted);
}

/* Guides */
.guide-list {
  display: grid;
  gap: 0;
}

.guide-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--deldua-border);
  text-decoration: none;
  color: var(--deldua-black);
  font-size: 0.95rem;
}

.guide-list a:hover {
  color: var(--deldua-red);
}

.guide-list a span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deldua-red);
  white-space: nowrap;
}

.all-guides {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--deldua-red);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Contact */
.location-banner {
  background: var(--deldua-black);
  color: var(--deldua-white);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
}

.location-banner h3 {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.location-banner p {
  margin: 0;
  color: #aaa;
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-box {
  border: 1px solid var(--deldua-border);
  padding: 1.25rem 1.35rem;
  background: var(--deldua-white);
}

.contact-box dt {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deldua-muted);
  margin-top: 0.85rem;
}

.contact-box dt:first-child { margin-top: 0; }

.contact-box dd {
  margin: 0.2rem 0 0;
  font-size: 1rem;
}

.contact-box a {
  color: var(--deldua-red);
  text-decoration: none;
  font-weight: 500;
}

.contact-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

@media (min-width: 480px) {
  .contact-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--deldua-black);
  color: #888;
  padding: 2rem 0 1.5rem;
  font-size: 0.85rem;
  text-align: center;
}

.site-footer .brand-line {
  color: var(--deldua-white);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}

.site-footer a {
  color: var(--deldua-red);
  text-decoration: none;
}

/* Mobile bottom bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--deldua-black);
  border-top: 1px solid #222;
}

@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.65rem 0.25rem;
  text-decoration: none;
  color: #ccc;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-height: 56px;
}

.mobile-bar a.primary {
  background: var(--deldua-red);
  color: var(--deldua-white);
}

.mobile-bar a:hover {
  color: var(--deldua-white);
}

.mobile-bar a.primary:hover {
  background: #c80511;
}
