/* =========================================================
   CROWNSY — RALPH LAUREN INSPIRED
   BLACK / IVORY / EDITORIAL LUXURY
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #050505;
  color: #f5f3ee;
  -webkit-font-smoothing: antialiased;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 8%;
  display: flex;
  align-items: center;
  background: url("../update-images/crownsy91.jpg") center center / cover
    no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.48) 48%,
    rgba(0, 0, 0, 0.62) 100%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1250px;
  margin: auto;
  text-align: center;
}

.subtitle {
  margin-bottom: 22px;
  color: #d0ccc4;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.title {
  margin-bottom: 24px;
  color: #f8f6f1;
  font-family: "Prata", serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1px;
}

.desc {
  max-width: 720px;
  margin: 0 auto 70px;
  color: #c2beb7;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 2.5px;
}

/* =========================================================
   SERVICES
========================================================= */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-box {
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    background 0.4s ease;
}

.service-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.service-box:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.45);
  background: #101010;
}

.service-box img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(12%);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}

.service-box:hover img {
  transform: scale(1.035);
  filter: grayscale(0%);
}

.service-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  text-align: left;
}

.service-content h3 {
  margin-bottom: 12px;
  color: #f7f5ef;
  font-family: "Prata", serif;
  font-size: 18px;
  font-weight: 400;
}

.service-content p {
  margin-bottom: 22px;
  color: #aaa7a1;
  font-size: 12px;
  line-height: 1.8;
}

/* =========================================================
   BUTTON
========================================================= */

.btn {
  display: inline-block;
  margin: 4px 4px 0 0;
  padding: 10px 20px;
  color: #f5f3ee;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

.btn:hover {
  background: #f5f3ee;
  color: #050505;
  border-color: #f5f3ee;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
  padding: 20px 8%;
  background: #050505;
  color: #8f8b84;
  font-size: 11px;
  letter-spacing: 1px;
}

.breadcrumb a {
  color: #aaa69e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #f5f3ee;
}

/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.floating-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;

  padding: 12px 20px;

  color: #050505;
  background: #f5f3ee;

  border: 1px solid #f5f3ee;
  border-radius: 0;

  cursor: pointer;

  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.floating-wa:hover {
  background: transparent;
  color: #f5f3ee;
  transform: translateY(-3px);
}

/* =========================================================
   WHATSAPP POPUP
========================================================= */

.wa-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;

  justify-content: center;
  align-items: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.wa-box {
  width: min(420px, 100%);
  padding: 38px;

  color: #111;
  background: #f5f3ee;

  border: 1px solid rgba(0, 0, 0, 0.15);

  text-align: center;
}

.wa-box button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 13px;

  color: #f5f3ee;
  background: #050505;

  border: 1px solid #050505;

  cursor: pointer;

  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.wa-box button:hover {
  color: #050505;
  background: transparent;
}

.close {
  display: block;
  margin-top: 22px;

  color: #555;
  cursor: pointer;

  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;

  transition: color 0.3s ease;
}

.close:hover {
  color: #000;
}

/* =========================================================
   CUSTOM SCREEN PRINTING BUILDER
========================================================= */

.cs-builder-section {
  position: relative;
  overflow: hidden;

  padding: 130px 6%;

  background: #050505;

  font-family: "Montserrat", sans-serif;
}

.cs-builder-section::after {
  content: "";
  position: absolute;
  inset: 0;

  pointer-events: none;
}

.cs-builder-bg {
  position: absolute;
  inset: 0;

  background: url("../update-images/crownsy90.jpg") center / cover no-repeat;

  opacity: 0.34;

  transform: scale(1.04);
}

.cs-builder-container {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;

  gap: 70px;

  max-width: 1450px;
  margin: auto;

  align-items: start;
}

/* =========================================================
   BUILDER LEFT
========================================================= */

.cs-builder-label {
  display: inline-block;

  margin-bottom: 28px;
  padding: 9px 16px;

  color: #d4d0c8;

  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.025);

  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;

  backdrop-filter: blur(8px);
}

.cs-builder-left h2 {
  max-width: 800px;

  margin-bottom: 28px;

  color: #f5f3ee;

  font-family: "Prata", serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;

  line-height: 1.08;
  letter-spacing: -1px;
}

.cs-builder-left h2 span {
  color: #d6d1c7;
}

.cs-builder-desc {
  max-width: 720px;

  margin-bottom: 42px;

  color: #aaa7a0;

  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.4px;
}

/* =========================================================
   STEPS
========================================================= */

.cs-steps {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 48px;
}

.cs-step {
  padding: 10px 15px;

  color: #9f9b94;

  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);

  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.cs-step.active {
  color: #f5f3ee;

  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   FORM
========================================================= */

.cs-form-wrap {
  padding: 38px;

  background: rgba(8, 8, 8, 0.74);

  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(18px);
}

.cs-form-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

.cs-field {
  display: flex;
  flex-direction: column;

  gap: 9px;
}

.cs-field label {
  color: #b9b5ae;

  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cs-field input,
.cs-field select {
  width: 100%;
  height: 54px;

  padding: 0 16px;

  color: #f5f3ee;
  background: #0b0b0b;

  border: 1px solid rgba(255, 255, 255, 0.1);

  outline: none;

  font-family: "Montserrat", sans-serif;
  font-size: 12px;

  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.cs-field input::placeholder {
  color: #66635e;
}

.cs-field input:focus,
.cs-field select:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: #101010;
}

/* =========================================================
   PRODUCTION
========================================================= */

.cs-production-box {
  margin-top: 32px;
  padding: 28px;

  background: #090909;

  border: 1px solid rgba(255, 255, 255, 0.11);
}

.cs-production-title {
  margin-bottom: 20px;

  color: #d4d0c8;

  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.cs-production-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 14px;

  color: #a8a49d;

  font-size: 11px;
  line-height: 1.6;
}

/* =========================================================
   SUMMARY CARD
========================================================= */

.cs-summary-card {
  position: sticky;
  top: 120px;

  padding: 38px;

  background: rgba(10, 10, 10, 0.76);

  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(18px);
}

.cs-summary-head {
  margin-bottom: 34px;

  color: #e1ddd5;

  font-family: "Prata", serif;
  font-size: 20px;
  font-weight: 400;

  letter-spacing: 0;
}

.cs-summary-body {
  display: flex;
  flex-direction: column;

  gap: 18px;
}

.cs-summary-item {
  display: flex;

  justify-content: space-between;

  gap: 25px;

  padding-bottom: 15px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cs-summary-item span {
  color: #77746f;

  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cs-summary-item strong {
  color: #e9e5dd;

  font-size: 11px;
  font-weight: 500;

  text-align: right;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  .cs-builder-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .cs-summary-card {
    position: relative;
    top: auto;
  }
}

/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 100px 5%;
  }

  .title {
    font-size: 38px;
  }

  .desc {
    margin-bottom: 50px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .services {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .service-box img {
    height: 180px;
  }

  .service-content {
    padding: 20px;
  }

  .service-content h3 {
    font-size: 15px;
  }

  .service-content p {
    font-size: 11px;
  }

  .breadcrumb {
    padding: 16px 5%;
  }

  .cs-builder-section {
    padding: 90px 5%;
  }

  .cs-builder-container {
    gap: 40px;
  }

  .cs-builder-left h2 {
    font-size: 42px;
  }

  .cs-form-wrap {
    padding: 26px;
  }

  .cs-form-grid {
    grid-template-columns: 1fr;
  }

  .cs-production-grid {
    grid-template-columns: 1fr;
  }

  .cs-summary-card {
    padding: 28px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {
  .hero {
    padding: 90px 5%;
  }

  .title {
    font-size: 32px;
  }

  .subtitle {
    font-size: 9px;
    letter-spacing: 4px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .service-box img {
    height: 210px;
  }

  .floating-wa {
    right: 16px;
    bottom: 16px;

    padding: 11px 16px;

    font-size: 9px;
  }

  .cs-builder-left h2 {
    font-size: 34px;
  }

  .cs-builder-desc {
    font-size: 11px;
    line-height: 1.8;
  }

  .cs-step {
    width: 100%;
    text-align: center;
  }

  .cs-summary-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cs-summary-item strong {
    text-align: left;
  }
}

/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 400px) {
  .hero {
    padding: 80px 5%;
  }

  .title {
    font-size: 29px;
  }

  .cs-builder-left h2 {
    font-size: 30px;
  }

  .cs-form-wrap {
    padding: 20px;
  }

  .cs-production-box {
    padding: 22px;
  }

  .cs-summary-card {
    padding: 22px;
  }

  .cs-wa-btn {
    font-size: 8px;
    letter-spacing: 2px;
  }
}
