/* site_web/assets/css/home.css */

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,.3), rgba(0,0,0,.95));
}
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-inline: 1rem;
}
.hero__title,
.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  padding-inline: 0.5rem;
}
.hero__title { font-size: clamp(2.25rem, 6vw, 3.75rem); }
.hero__subtitle { color: var(--gold); font-size: clamp(1.875rem, 6vw, 3.75rem); margin-top: 0.5rem; }
@media (min-width: 640px) { .hero__title { font-size: clamp(3rem, 6vw, 3.75rem); } }
@media (min-width: 768px) { .hero__title, .hero__subtitle { font-size: 3.75rem; } }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.hero__scroll:hover { color: var(--gold); }
.hero__scroll .icon { width: 22px; height: 22px; animation: bounce 1.5s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* ============ Stats ============ */
.stats { background: #000; overflow: hidden; }
.stats__banner { position: relative; padding-block: 5rem; overflow: hidden; }
@media (min-width: 768px) { .stats__banner { padding-block: 8rem; } }
.stats__row { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .stats__row { grid-template-columns: 1fr auto; } }
.stats__heading {
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 3rem;
  max-width: 42rem;
}
@media (min-width: 768px) { .stats__heading { font-size: 2.25rem; } }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(5, 1fr); } }
.stats__micro { color: rgba(255,255,255,0.8); font-size: 0.75rem; margin-bottom: 0.25rem; }
.stats__number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.875rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .stats__number { font-size: 3rem; } }
.stats__label1 { color: #fff; font-size: 0.875rem; font-weight: 500; }
.stats__label2 { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.stats__icon { display: none; }
@media (min-width: 768px) {
  .stats__icon { display: flex; align-items: center; justify-content: center; width: 390px; height: 390px; }
}
.stats__icon img { width: 100%; height: 100%; object-fit: contain; }

.marquee-wrap { position: relative; overflow: hidden; padding-block: 1.5rem; }
.marquee-track { display: flex; gap: 1rem; }
.marquee-item {
  flex-shrink: 0;
  width: 10rem;
  height: 16rem;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 768px) { .marquee-item { width: 12rem; height: 18rem; } }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; }
.grayscale { filter: grayscale(1); }

/* ============ About ============ */
.about { position: relative; overflow: hidden; background: #000; padding-block: 6rem; }
@media (min-width: 768px) { .about { padding-block: 8rem; } }
.about__bg { position: absolute; inset: 0; z-index: 0; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; }
.about__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.8), transparent, rgba(0,0,0,.4)),
    linear-gradient(to right, rgba(0,0,0,.9), rgba(0,0,0,.7), rgba(0,0,0,.5));
}
.about__inner { position: relative; z-index: 10; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about__inner { grid-template-columns: repeat(2, 1fr); gap: 5rem; } }

.about__label { display: inline-block; padding: 0.5rem 1.25rem; background: var(--gold); margin-bottom: 2rem; }
.about__label-text {
  font-family: var(--font-display);
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
}
@media (min-width: 768px) { .about__label-text { font-size: 2.25rem; } }

.about__cauris { position: relative; width: 100%; height: 16rem; }
@media (min-width: 768px) { .about__cauris { height: 20rem; } }
.about__cauri {
  position: absolute;
  opacity: 0.55;
  transition: opacity 0.5s, transform 0.5s;
}
.about__cauri:hover { opacity: 1; transform: scale(1.5); }
.about__cauri img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(212,160,23,0.2));
}

.about__text { position: relative; z-index: 10; display: flex; flex-direction: column; gap: 1.5rem; }
.about__text p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}
@media (min-width: 768px) { .about__text p { font-size: 1.125rem; } }

/* ============ Timeline (consultations) ============ */
.timeline { position: relative; padding-block: 8rem; overflow: hidden; background: #000; }
@media (min-width: 768px) { .timeline { padding-block: 12rem; } }
.timeline__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.timeline__watermark span {
  font-family: var(--font-display);
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  text-transform: uppercase;
  line-height: 1;
  font-size: 3.5rem;
}
@media (min-width: 768px) { .timeline__watermark span { font-size: 8rem; } }

.timeline__head { position: relative; text-align: center; margin-bottom: 4rem; }
.timeline__heading {
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 2.25rem;
}
@media (min-width: 768px) { .timeline__heading { font-size: 3.75rem; } }
.timeline__tagline { color: rgba(212,160,23,0.9); font-size: 0.875rem; font-weight: 700; margin-top: 1rem; }
@media (min-width: 768px) { .timeline__tagline { font-size: 1.25rem; } }

.timeline__body { position: relative; }
.timeline__line {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
@media (max-width: 767px) { .timeline__line { display: none; } }

.timeline__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) {
  .timeline__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid rgba(255,255,255,0.15);
    margin-left: 5px;
    padding-left: 1.75rem;
  }
}

.timeline__step { display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (max-width: 767px) { .timeline__step { align-items: flex-start; text-align: left; padding-bottom: 2rem; position: relative; } }
.timeline__step-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  min-height: 40px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .timeline__step-title { font-size: 1rem; } }

.timeline__marker { width: 12px; height: 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.2); }
@media (max-width: 767px) {
  .timeline__marker { position: absolute; left: -1.75rem; top: 0.4rem; background: var(--gold); box-shadow: 0 0 0 4px rgba(212,160,23,0.2); }
}

.timeline__items { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
@media (max-width: 767px) { .timeline__items { margin-top: 0.5rem; } }
.timeline__items p { color: rgba(255,255,255,0.7); font-size: 0.75rem; line-height: 1.4; }
@media (min-width: 768px) { .timeline__items p { font-size: 0.8125rem; } }

/* ============ Portfolio ============ */
.portfolio { position: relative; overflow: hidden; background: #000; }
.portfolio__head { text-align: center; padding-top: 4rem; padding-bottom: 2.5rem; padding-inline: 1rem; }
@media (min-width: 768px) { .portfolio__head { padding-top: 6rem; } }
.portfolio__heading {
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 1.875rem;
}
@media (min-width: 768px) { .portfolio__heading { font-size: 3rem; } }
.portfolio__underline { width: 12rem; height: 2px; margin: 1rem auto 0; background: var(--gold); }

.portfolio__grid { display: grid; grid-template-columns: 1fr; width: 100%; min-height: 75vh; }
@media (min-width: 768px) { .portfolio__grid { grid-template-columns: repeat(2, 1fr); min-height: 90vh; } }

.portfolio__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  overflow: hidden;
}
@media (min-width: 768px) { .portfolio__panel { padding: 3.5rem; } }
@media (min-width: 1024px) { .portfolio__panel { padding: 5rem; } }

.portfolio__panel--dark { background: #0F0F0F; }
.portfolio__panel--gold { background: var(--gold); }

.portfolio__panel-bg { position: absolute; inset: 0; z-index: 0; }
.portfolio__panel-bg img { width: 100%; height: 100%; object-fit: cover; }
.portfolio__panel--dark .portfolio__panel-bg img { opacity: 0.3; }
.portfolio__panel--gold .portfolio__panel-bg img { opacity: 0.15; }
.portfolio__panel--dark .portfolio__panel-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, #000, rgba(0,0,0,.7), rgba(0,0,0,.3));
}
.portfolio__panel--gold .portfolio__panel-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent, transparent);
}

.portfolio__vertical {
  display: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  z-index: 20;
  color: rgba(0,0,0,0.4);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}
@media (min-width: 768px) { .portfolio__vertical { display: block; } }

.portfolio__content { position: relative; z-index: 10; text-align: left; }
.portfolio__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}
.portfolio__panel--dark .portfolio__label { color: rgba(255,255,255,0.5); }
.portfolio__panel--gold .portfolio__label { color: rgba(0,0,0,0.6); }

.portfolio__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .portfolio__title { font-size: 3rem; } }
.portfolio__panel--dark .portfolio__title { color: #fff; }
.portfolio__panel--gold .portfolio__title { color: #000; }

/* ============ Testimonials ============ */
.testimonials { position: relative; background: #fff; color: #000; overflow: hidden; padding-block: 7rem; }
@media (min-width: 768px) { .testimonials { padding-block: 11rem; } }
.testimonials__head { text-align: center; margin-bottom: 3rem; position: relative; }
.testimonials__heading {
  font-family: var(--font-display);
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 2.25rem;
}
@media (min-width: 768px) { .testimonials__heading { font-size: 3.75rem; } }
.testimonials__sub { color: rgba(0,0,0,0.6); font-size: 0.875rem; margin-top: 1rem; }
@media (min-width: 768px) { .testimonials__sub { font-size: 1rem; } }
.testimonials__sub a { text-decoration: underline; font-weight: 500; color: #000; }
.testimonials__sub a:hover { color: var(--gold); }

.testimonial-carousel { position: relative; display: flex; align-items: center; }
.testimonial-carousel [data-carousel-prev],
.testimonial-carousel [data-carousel-next] {
  position: absolute;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #000;
  font-size: 2rem;
  line-height: 1;
  transition: color 0.2s;
}
.testimonial-carousel [data-carousel-prev]:hover,
.testimonial-carousel [data-carousel-next]:hover { color: var(--gold); }
.testimonial-carousel [data-carousel-prev]:disabled,
.testimonial-carousel [data-carousel-next]:disabled { opacity: 0.2; cursor: default; }
.testimonial-carousel [data-carousel-prev] { left: -0.5rem; }
.testimonial-carousel [data-carousel-next] { right: -0.5rem; }
@media (min-width: 768px) {
  .testimonial-carousel [data-carousel-prev] { left: -1.5rem; }
  .testimonial-carousel [data-carousel-next] { right: -1.5rem; }
}

.testimonial-viewport { overflow: hidden; width: 100%; }
.testimonial-track { display: flex; gap: 1rem; transition: transform 0.5s ease-out; }
@media (min-width: 768px) { .testimonial-track { gap: 1.5rem; } }

.testimonial-card {
  flex-shrink: 0;
  width: 100%;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.testimonial-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; }
.testimonial-card__name { color: #000; font-weight: 600; text-transform: capitalize; line-height: 1.2; }
.testimonial-card__role { color: rgba(0,0,0,0.45); font-size: 0.75rem; margin-top: 0.125rem; }
.testimonial-card__date { color: rgba(0,0,0,0.5); font-size: 0.75rem; white-space: nowrap; }
.testimonial-card__text { color: rgba(0,0,0,0.7); font-size: 0.875rem; line-height: 1.6; flex-grow: 1; }
.testimonial-card__stars { display: flex; gap: 0.125rem; margin-top: 1rem; }
.testimonial-card__stars .icon { width: 16px; height: 16px; }

/* ============ Contact CTA ============ */
.contact-cta { position: relative; width: 100%; overflow: hidden; background: #000; }
.contact-cta__tab {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0.75rem;
  background: var(--gold);
}
.contact-cta__tab span {
  color: #000;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.contact-cta__head { text-align: center; padding-top: 4rem; padding-inline: 1rem; }
@media (min-width: 768px) { .contact-cta__head { padding-top: 6rem; } }
.contact-cta__heading {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 1.875rem;
}
@media (min-width: 768px) { .contact-cta__heading { font-size: 3rem; } }

.contact-cta__wrap { padding: 2.5rem 1.5rem 4rem; padding-right: 5rem; }
@media (min-width: 768px) { .contact-cta__wrap { padding: 2.5rem 4rem 6rem; padding-right: 7rem; } }
@media (min-width: 1024px) { .contact-cta__wrap { padding-left: 6rem; padding-right: 7rem; } }

.contact-cta__form { max-width: 72rem; margin-inline: auto; }
.contact-cta__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem 2.5rem; }
@media (min-width: 768px) { .contact-cta__grid { grid-template-columns: repeat(2, 1fr); } }
.contact-cta__col { display: flex; flex-direction: column; gap: 1.25rem; }

.field label {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: #fff; }
.field select { appearance: none; cursor: pointer; padding-right: 2.5rem; }
.field select:invalid { color: rgba(255,255,255,0.4); }
.field textarea { resize: none; }
.field--select { position: relative; }
.field--select select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
}

.contact-cta__legal { color: rgba(255,255,255,0.4); font-size: 0.6875rem; line-height: 1.6; }
.contact-cta__legal span { text-decoration: underline; cursor: pointer; }
.contact-cta__legal span:hover { color: rgba(255,255,255,0.7); }

.contact-cta__location { margin-top: 1.5rem; }

.contact-cta__actions { display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; margin-top: 2rem; }
.contact-cta__crosshair { color: rgba(255,255,255,0.3); }
.contact-cta__chevron { display: flex; justify-content: flex-end; margin-top: 1.5rem; }
.contact-cta__chevron .icon { width: 20px; height: 20px; color: rgba(255,255,255,0.3); transform: rotate(45deg); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: #fff; color: #464445; }
.btn-outline-white .icon { width: 14px; height: 14px; }

/* ============ Toast ============ */
.toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  max-width: 24rem;
  padding: 1rem 1.5rem;
  background: #111;
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(1rem);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.toast--visible {
  transform: translateY(0);
  opacity: 1;
}
