/* CHÂTEL Estate — Clean, modern luxury */
:root {
  --color-bg: #faf9f7;
  --color-bg-alt: #f0ede8;
  --color-text: #2c2a26;
  --color-text-muted: #6b6560;
  --color-accent: #8b7355;
  --color-accent-hover: #6d5a45;
  --color-border: #e5e2dd;
  --font-heading: "Cormorant Garamond", "Georgia", serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --max-width: 1200px;
  --radius: 4px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-accent-hover);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: var(--space-md); }
h3 { font-size: 1.25rem; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
}
.logo img {
  height: clamp(44px, 12vw, 128px);
  max-height: 128px;
  width: auto;
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-lg);
}

.nav-list a {
  color: var(--color-text);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.nav-list a:hover {
  color: var(--color-accent);
}

/* Burger menu (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-toggle:hover {
  background: var(--color-bg-alt);
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.site-header.nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .site-header nav {
    width: 100%;
    order: 3;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-header.nav-open nav {
    max-height: 320px;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-sm);
  }
  .nav-list li {
    border-bottom: 1px solid var(--color-border);
  }
  .nav-list a {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 1rem;
  }
}

@media (min-width: 769px) {
  .site-header nav {
    max-height: none;
    width: auto;
    order: unset;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn--filled {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn--filled:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
}

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12rem var(--space-lg) var(--space-2xl);
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero__logo2 {
  max-width: 400px;
  height: auto;
  margin: 0 auto var(--space-md);
  display: block;
}

.hero__title {
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.hero__tagline {
  font-family: var(--font-body);
  max-width: 58ch;
  margin: 0 auto var(--space-xl);
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--space-xl);
}

.section__header p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* About block */
.about-block {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 768px) {
  .about-block {
    grid-template-columns: 1fr 1fr;
  }
}
.about-block__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.about-block__media {
  aspect-ratio: 4/3;
  background: var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery grid (home preview) */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
@media (min-width: 640px) {
  .gallery-preview {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery-preview__item {
  aspect-ratio: 1;
  background: var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-preview__item:hover img {
  transform: scale(1.03);
}

/* Full gallery page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}
.gallery-grid__item {
  aspect-ratio: 4/3;
  background: var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-grid__item:hover img {
  transform: scale(1.05);
}

/* CTA strip */
.cta-strip {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-text);
  color: var(--color-bg);
}
.cta-strip h2 {
  color: inherit;
  margin-bottom: var(--space-sm);
}
.cta-strip p {
  margin-bottom: var(--space-lg);
  opacity: 0.9;
}
.cta-strip .btn {
  border-color: var(--color-bg);
  color: var(--color-bg);
}
.cta-strip .btn:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

/* Contact form */
.contact-section {
  max-width: 32rem;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  max-width: 32rem;
  margin: 0 auto var(--space-lg);
  padding: var(--space-md);
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: var(--radius);
  font-size: 0.95rem;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--color-text-muted);
}
.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer__social {
  margin-bottom: var(--space-sm);
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.social-link:hover {
  color: var(--color-accent);
}
.social-icon {
  width: 24px;
  height: 24px;
}

/* Content below fixed header (clears 128px logo + nav) */
.section--below-header {
  padding-top: 12rem;
}

/* Page title (inner pages) */
.page-hero {
  padding: calc(4rem + 70px) var(--space-lg) var(--space-xl);
  text-align: center;
  background: var(--color-bg-alt);
}
.page-hero h1 {
  margin-bottom: var(--space-xs);
}

/* ===== Founders page ===== */
.founders-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.founders-header h1 {
  margin-bottom: var(--space-xs);
}
.founders-header__sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0;
}
.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .founders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.founder-card {
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.founder-card__name {
  font-size: 1.5rem;
  margin: 0 0 var(--space-xs);
  font-weight: 600;
}
.founder-card__title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
  margin: 0 0 var(--space-md);
  letter-spacing: 0.02em;
}
.founder-card__bio {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 var(--space-md);
}
.founder-card__list {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.7;
}
.founder-card__list li {
  margin-bottom: 0.35rem;
}
.founder-card__responsible {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin: var(--space-sm) 0 var(--space-xs);
}

/* ===== Process page (Full Development Path) ===== */
.process-page .container {
  max-width: 1400px;
}

.process-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.process-header h1 {
  margin-bottom: var(--space-xs);
}
.process-header__sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Timeline — where we are */
.process-timeline {
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}
.process-timeline__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
  text-align: center;
}
.process-timeline__track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  position: relative;
}
.process-timeline__track::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 1.1rem;
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
  z-index: 0;
}
.process-timeline__node {
  flex: 1;
  max-width: 28%;
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 2rem;
}
.process-timeline__dot {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 0 auto var(--space-xs);
  background: var(--color-border);
  border: 3px solid var(--color-bg);
  transition: transform var(--transition);
}
.process-timeline__node--1 .process-timeline__dot { background: #2d6a4f; }
.process-timeline__node--2 .process-timeline__dot { background: #b08968; }
.process-timeline__node--3 .process-timeline__dot { background: #457b9d; }
.process-timeline__node--current .process-timeline__dot {
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}
.process-timeline__node--current.process-timeline__node--1 .process-timeline__dot { box-shadow: 0 0 0 4px rgba(45,106,79,0.35); }
.process-timeline__node--current.process-timeline__node--2 .process-timeline__dot { box-shadow: 0 0 0 4px rgba(176,137,104,0.35); }
.process-timeline__node--current.process-timeline__node--3 .process-timeline__dot { box-shadow: 0 0 0 4px rgba(69,123,157,0.35); }
.process-timeline__title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}
.process-timeline__phase {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
  line-height: 1.3;
}
.process-timeline__date {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}
.process-timeline__here {
  text-align: center;
  margin: var(--space-md) 0 0;
  font-size: 0.95rem;
  color: var(--color-text);
}
.process-timeline__here strong {
  color: var(--color-accent);
}
@media (max-width: 600px) {
  .process-timeline__track {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  .process-timeline__track::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
  }
  .process-timeline__node {
    max-width: 100%;
    padding-top: 0;
    padding-left: 0;
  }
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.process-step__header {
  padding: var(--space-lg);
  color: #fff;
  text-align: center;
}
.process-step--1 .process-step__header { background: #2d6a4f; }
.process-step--2 .process-step__header { background: #b08968; }
.process-step--3 .process-step__header { background: #457b9d; }

.process-step__number {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  opacity: 0.95;
}
.process-step__title {
  font-size: 1.15rem;
  margin: 0 0 var(--space-xs);
  line-height: 1.3;
  font-weight: 600;
}
.process-step__tagline {
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.9;
}

.process-step__body {
  padding: var(--space-md);
  flex: 1;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--color-text);
}
.process-list > li {
  padding: var(--space-xs) 0;
  padding-left: 1.25rem;
  position: relative;
}
.process-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.process-step--1 .process-list > li::before { color: #2d6a4f; }
.process-step--2 .process-list > li::before { color: #b08968; }
.process-step--3 .process-list > li::before { color: #457b9d; }

.process-details {
  margin: 0.25rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.process-details summary {
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition);
}
.process-details summary::-webkit-details-marker { display: none; }
.process-details summary::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.7;
}
.process-details[open] summary::after {
  content: "−";
}
.process-details summary:hover {
  background: var(--color-bg-alt);
}
.process-details[open] summary {
  border-bottom: 1px solid var(--color-border);
}
.process-sublist {
  margin: 0;
  padding: var(--space-sm) var(--space-md) var(--space-md) 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.process-sublist li {
  padding: 0.2rem 0;
}
.process-step--1 .process-details summary { color: #2d6a4f; }
.process-step--2 .process-details summary { color: #6d5a45; }
.process-step--3 .process-details summary { color: #457b9d; }
