@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Karla:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* Design DNA: Asymmetric diagonal hero with skewed linen-bed photo; dune beige + indigo stitch; calm home-textile mood */

:root {
  --dl-dune: #E8DCC8;
  --dl-indigo: #3D4F6F;
  --dl-white: #FAF8F5;
  --dl-flax: #C4A574;
  --dl-indigo-dark: #2A384F;
  --dl-dune-dark: #D4C4A8;
  --dl-text: #3A3A38;
  --dl-text-light: #6B6B66;
  --dl-shadow: rgba(61, 79, 111, 0.12);
  --dl-radius: 4px;
  --dl-transition: 0.3s ease;
  --dl-max: 1200px;
  --dl-header-h: 72px;
  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Karla', 'Segoe UI', sans-serif;
}

*, *::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(--dl-text);
  background: var(--dl-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--dl-indigo);
  text-decoration: none;
  transition: color var(--dl-transition);
}

a:hover {
  color: var(--dl-flax);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dl-indigo);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.dl-container {
  width: 100%;
  max-width: var(--dl-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.dl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dl-dune-dark);
  height: var(--dl-header-h);
}

.dl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--dl-max);
  margin: 0 auto;
  padding: 0 24px;
}

.dl-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dl-indigo);
  letter-spacing: 0.02em;
}

.dl-logo span {
  color: var(--dl-flax);
}

.dl-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.dl-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dl-text);
}

.dl-nav a:hover,
.dl-nav a.dl-nav--active {
  color: var(--dl-indigo);
}

.dl-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.dl-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dl-indigo);
  transition: var(--dl-transition);
}

/* ── Hero (asymmetric diagonal) ── */
.dl-hero {
  position: relative;
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow: hidden;
  background: var(--dl-dune);
}

.dl-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px 80px max(24px, calc((100vw - var(--dl-max)) / 2 + 24px));
  position: relative;
  z-index: 2;
}

.dl-hero__content::after {
  content: '';
  position: absolute;
  top: 0;
  right: -60px;
  width: 120px;
  height: 100%;
  background: var(--dl-dune);
  transform: skewX(-6deg);
  z-index: -1;
}

.dl-hero__tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dl-flax);
  margin-bottom: 16px;
}

.dl-hero__title {
  margin-bottom: 20px;
}

.dl-hero__text {
  font-size: 1.1rem;
  color: var(--dl-text-light);
  max-width: 420px;
  margin-bottom: 32px;
}

.dl-hero__visual {
  position: relative;
  overflow: hidden;
}

.dl-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: skewX(-3deg) scale(1.08);
  transform-origin: center;
}

.dl-hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dl-dune) 0%, transparent 30%);
  z-index: 1;
}

/* ── Buttons ── */
.dl-btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--dl-transition);
  text-align: center;
}

.dl-btn--primary {
  background: var(--dl-indigo);
  color: var(--dl-white);
}

.dl-btn--primary:hover {
  background: var(--dl-indigo-dark);
  color: var(--dl-white);
}

.dl-btn--outline {
  background: transparent;
  color: var(--dl-indigo);
  border: 2px solid var(--dl-indigo);
}

.dl-btn--outline:hover {
  background: var(--dl-indigo);
  color: var(--dl-white);
}

.dl-btn--flax {
  background: var(--dl-flax);
  color: var(--dl-white);
}

.dl-btn--flax:hover {
  background: #B08F5E;
  color: var(--dl-white);
}

/* ── Sections ── */
.dl-section {
  padding: 80px 0;
}

.dl-section--dune {
  background: var(--dl-dune);
}

.dl-section--indigo {
  background: var(--dl-indigo);
  color: var(--dl-white);
}

.dl-section--indigo h2,
.dl-section--indigo h3 {
  color: var(--dl-white);
}

.dl-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.dl-section__header p {
  color: var(--dl-text-light);
  font-size: 1.05rem;
}

.dl-section--indigo .dl-section__header p {
  color: rgba(250, 248, 245, 0.75);
}

.dl-section__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dl-flax);
  margin-bottom: 12px;
}

/* ── Grid layouts ── */
.dl-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dl-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.dl-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Cards ── */
.dl-card {
  background: var(--dl-white);
  border-radius: var(--dl-radius);
  overflow: hidden;
  box-shadow: 0 4px 24px var(--dl-shadow);
  transition: transform var(--dl-transition), box-shadow var(--dl-transition);
}

.dl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--dl-shadow);
}

.dl-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.dl-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dl-card:hover .dl-card__img img {
  transform: scale(1.04);
}

.dl-card__body {
  padding: 24px;
}

.dl-card__title {
  margin-bottom: 8px;
}

.dl-card__price {
  font-weight: 600;
  color: var(--dl-flax);
  font-size: 1.1rem;
}

.dl-card__desc {
  font-size: 0.9rem;
  color: var(--dl-text-light);
  margin-bottom: 12px;
}

/* ── Page hero (inner pages) ── */
.dl-page-hero {
  background: var(--dl-dune);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.dl-page-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: var(--dl-flax);
  opacity: 0.15;
  transform: rotate(25deg);
  border-radius: var(--dl-radius);
}

.dl-page-hero h1 {
  margin-bottom: 12px;
}

.dl-page-hero p {
  font-size: 1.1rem;
  color: var(--dl-text-light);
  max-width: 560px;
}

/* ── Split image block ── */
.dl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.dl-split__img {
  overflow: hidden;
  min-height: 400px;
}

.dl-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dl-split__text {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Features strip ── */
.dl-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
}

.dl-feature {
  text-align: center;
}

.dl-feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border: 2px solid var(--dl-flax);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dl-indigo);
}

.dl-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.dl-feature p {
  font-size: 0.85rem;
  color: var(--dl-text-light);
}

/* ── CTA banner ── */
.dl-cta {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.dl-cta__bg {
  position: absolute;
  inset: 0;
}

.dl-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dl-cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61, 79, 111, 0.85) 0%, rgba(61, 79, 111, 0.4) 100%);
}

.dl-cta__content {
  position: relative;
  z-index: 2;
  padding: 64px 0;
  max-width: 520px;
}

.dl-cta__content h2 {
  color: var(--dl-white);
  margin-bottom: 16px;
}

.dl-cta__content p {
  color: rgba(250, 248, 245, 0.85);
  margin-bottom: 28px;
}

/* ── Gallery (atelier) ── */
.dl-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dl-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--dl-radius);
  aspect-ratio: 4/3;
}

.dl-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dl-gallery__item:hover img {
  transform: scale(1.05);
}

.dl-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(61, 79, 111, 0.8));
  color: var(--dl-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  transform: translateY(100%);
  transition: transform var(--dl-transition);
}

.dl-gallery__item:hover .dl-gallery__caption {
  transform: translateY(0);
}

/* ── Story blocks ── */
.dl-story {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.dl-story:last-child {
  margin-bottom: 0;
}

.dl-story--reverse {
  direction: rtl;
}

.dl-story--reverse > * {
  direction: ltr;
}

.dl-story__img {
  border-radius: var(--dl-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px var(--dl-shadow);
}

.dl-story__meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dl-flax);
  margin-bottom: 12px;
}

/* ── Contact form ── */
.dl-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.dl-contact-info h3 {
  margin-bottom: 24px;
}

.dl-contact-item {
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--dl-flax);
}

.dl-contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dl-text-light);
  margin-bottom: 4px;
}

.dl-form {
  background: var(--dl-dune);
  padding: 40px;
  border-radius: var(--dl-radius);
}

.dl-form__group {
  margin-bottom: 20px;
}

.dl-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--dl-indigo);
}

.dl-form input,
.dl-form textarea,
.dl-form select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--dl-dune-dark);
  border-radius: var(--dl-radius);
  background: var(--dl-white);
  color: var(--dl-text);
  transition: border-color var(--dl-transition);
}

.dl-form input:focus,
.dl-form textarea:focus,
.dl-form select:focus {
  outline: none;
  border-color: var(--dl-indigo);
}

.dl-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ── Privacy content ── */
.dl-privacy {
  max-width: 760px;
  margin: 0 auto;
}

.dl-privacy h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.dl-privacy h2:first-child {
  margin-top: 0;
}

.dl-privacy ul {
  margin: 0 0 1rem 1.5rem;
}

.dl-privacy li {
  margin-bottom: 8px;
}

/* ── Footer ── */
.dl-footer {
  background: var(--dl-indigo);
  color: rgba(250, 248, 245, 0.8);
  padding: 64px 0 32px;
}

.dl-footer a {
  color: rgba(250, 248, 245, 0.8);
}

.dl-footer a:hover {
  color: var(--dl-flax);
}

.dl-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.dl-footer__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dl-white);
  margin-bottom: 12px;
}

.dl-footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dl-flax);
  margin-bottom: 16px;
}

.dl-footer__links {
  list-style: none;
}

.dl-footer__links li {
  margin-bottom: 8px;
}

.dl-footer__links a {
  font-size: 0.9rem;
}

.dl-footer__bottom {
  border-top: 1px solid rgba(250, 248, 245, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ── Cookie banner ── */
.dl-cookie {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  max-width: 380px;
  background: var(--dl-white);
  border-radius: var(--dl-radius);
  box-shadow: 0 8px 40px var(--dl-shadow);
  padding: 24px;
  border-left: 4px solid var(--dl-flax);
  display: none;
}

.dl-cookie.dl-cookie--visible {
  display: block;
}

.dl-cookie h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.dl-cookie p {
  font-size: 0.85rem;
  color: var(--dl-text-light);
  margin-bottom: 16px;
}

.dl-cookie__actions {
  display: flex;
  gap: 12px;
}

.dl-cookie__actions .dl-btn {
  padding: 10px 20px;
  font-size: 0.75rem;
}

/* ── Mobile nav overlay ── */
.dl-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61, 79, 111, 0.95);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.dl-nav-overlay.dl-nav-overlay--open {
  display: flex;
}

.dl-nav-overlay a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--dl-white);
}

.dl-nav-overlay a:hover {
  color: var(--dl-flax);
}

/* ── Responsive: 900px ── */
@media (max-width: 900px) {
  .dl-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dl-hero__content {
    padding: 64px 24px 40px;
    order: 2;
  }

  .dl-hero__content::after {
    display: none;
  }

  .dl-hero__visual {
    order: 1;
    min-height: 50vh;
  }

  .dl-hero__visual img {
    transform: none;
  }

  .dl-grid-2,
  .dl-grid-3,
  .dl-grid-4,
  .dl-split,
  .dl-contact-grid,
  .dl-story,
  .dl-features,
  .dl-gallery,
  .dl-footer__grid {
    grid-template-columns: 1fr;
  }

  .dl-split__text {
    padding: 40px 24px;
  }

  .dl-story--reverse {
    direction: ltr;
  }

  .dl-nav {
    display: none;
  }

  .dl-burger {
    display: flex;
  }

  .dl-section {
    padding: 56px 0;
  }

  .dl-footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ── Responsive: 560px ── */
@media (max-width: 560px) {
  :root {
    --dl-header-h: 60px;
  }

  .dl-hero__content {
    padding: 48px 20px 32px;
  }

  .dl-hero__visual {
    min-height: 40vh;
  }

  .dl-section {
    padding: 40px 0;
  }

  .dl-container {
    padding: 0 16px;
  }

  .dl-form {
    padding: 24px;
  }

  .dl-cookie {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .dl-btn {
    padding: 12px 24px;
    width: 100%;
  }

  .dl-cookie__actions {
    flex-direction: column;
  }

  .dl-page-hero {
    padding: 40px 0;
  }
}
