﻿/* =============================================
   DESIGN PARTNER PAGE – design-partner.css
   ============================================= */

/* ---- Hero ---- */
.dp-hero {
  position: relative;
  height: 90vh;
  min-height: 520px;
  margin-top: 90px;
  background: linear-gradient(135deg, #2a2318 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.dp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/service-custom.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.dp-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.dp-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
  padding: 0 6vw;
}

.dp-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}

.dp-hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.dp-hero-sub {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ---- Intro ---- */
.dp-intro-section { background: #fafaf8; padding: 64px 12px; }

.dp-intro {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.dp-intro-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #444;
}

/* ---- Benefits ---- */
.dp-benefits-section { background: #fff; }

.dp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.dp-benefit-tile {
  border: 1px solid #e0dbd4;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.dp-benefit-tile:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

.dp-tile-img {
  height: 260px;
  overflow: hidden;
}
.dp-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.dp-benefit-tile:hover .dp-tile-img img { transform: scale(1.05); }

.dp-tile-body {
  padding: 20px 20px 28px;
}

.dp-tile-body h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.dp-tile-body p {
  font-size: 0.87rem;
  color: #555;
  line-height: 1.65;
}

/* ---- How It Works ---- */
.dp-how-section { background: #fafaf8; }

.dp-how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.dp-how-step { text-align: center; }

.dp-how-step .step-num {
  display: block;
  margin: 0 auto 12px;
}

.dp-how-step h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
}

.dp-how-step p {
  font-size: 0.87rem;
  color: #555;
  line-height: 1.65;
}

/* ---- Form ---- */
.dp-form-section { background: #fff; }

.dp-form-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.dp-form-intro {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 40px;
}

.dp-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dp-form fieldset {
  border: 1px solid #e0dbd4;
  padding: 28px 28px 24px;
}

.dp-form legend {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 10px;
  color: #1a1a1a;
}

.dp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.dp-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dp-form-field--full { grid-column: 1 / -1; }

.dp-form-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  text-transform: uppercase;
}

.dp-form-field input,
.dp-form-field select,
.dp-form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d8d4ce;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.dp-form-field input:focus,
.dp-form-field select:focus,
.dp-form-field textarea:focus { border-color: #1a1a1a; }

.dp-form-field textarea { resize: vertical; }

.dp-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.dp-form-terms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dp-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #444;
  cursor: pointer;
  line-height: 1.55;
}

.dp-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #1a1a1a;
  cursor: pointer;
}

.dp-checkbox a { color: #1a1a1a; text-decoration: underline; text-underline-offset: 3px; }

.dp-form-submit { text-align: center; }

.dp-form-success {
  text-align: center;
  font-size: 0.9rem;
  color: #2a6e3c;
  min-height: 1.4em;
  font-weight: 700;
}

/* ---- Terms ---- */
.dp-terms-section { background: #fafaf8; }

.dp-terms-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.dp-terms-list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dp-terms-list li {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .dp-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-how-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .dp-hero { margin-top: 63px; min-height: 320px; height: 60vh; }
  .dp-form fieldset { padding: 20px 16px 18px; }
  .dp-form-grid { grid-template-columns: 1fr; }
  .dp-form-field--full { grid-column: 1; }
  .cws-hero-video { aspect-ratio: 16 / 9; object-fit: contain; }
}

@media (max-width: 540px) {
  .dp-benefits-grid { grid-template-columns: 1fr; }
  .dp-how-steps { grid-template-columns: 1fr; }
  .dp-hero-content h1 { font-size: 2.2rem; }
}
