/* ===== Variables ===== */
:root {
  --navy: #0d2b3e;
  --navy-light: #13405a;
  --gold: #d99a3d;
  --gold-light: #f0c178;
  --bg: #f7f9fa;
  --bg-alt: #eef2f4;
  --text: #1c2a33;
  --text-soft: #5b6b74;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 43, 62, 0.08);
  --transition: .25s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  margin: 0;
  color: var(--navy);
  line-height: 1.25;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
.section__subtitle { color: var(--text-soft); font-size: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--outline-light { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--ghost { border: 1.5px solid rgba(13,43,62,.15); color: var(--navy); padding: 10px 18px; font-size: 14px; }
.btn--ghost:hover { border-color: var(--navy); background: rgba(13,43,62,.04); }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(247, 249, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13,43,62,.06);
  transition: var(--transition);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo { display: flex; align-items: center; gap: 10px; line-height: 1; }
.logo__icon { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; }
.logo__mark { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: .02em; }
.logo__sub { font-size: 10px; letter-spacing: .25em; color: var(--gold); font-weight: 600; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}
.nav a:hover { color: var(--navy-light); }
.nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold);
  transition: width var(--transition);
}
.nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone span { font-size: 13.5px; }

/* Language switch */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--navy);
  padding: 8px 10px; border-radius: 8px;
  transition: background var(--transition);
}
.lang-switch__btn:hover { background: rgba(13,43,62,.06); }
.lang-switch__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); border-radius: 10px; box-shadow: var(--shadow);
  min-width: 150px; padding: 6px; opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
}
.lang-switch.open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__menu li button {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: 7px; font-size: 14px;
  transition: background var(--transition);
}
.lang-switch__menu li button:hover { background: var(--bg-alt); }
.lang-switch__menu li button.active { color: var(--gold); font-weight: 700; }

.burger { display: none; flex-direction: column; gap: 5px; width: 26px; }
.burger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a4d63 100%);
  color: #fff;
  padding-top: 200px;
  overflow: hidden;
}
.hero__pattern {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px);
  opacity: .6;
}
.hero__inner { position: relative; max-width: 760px; padding-bottom: 90px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; font-size: clamp(34px, 5.2vw, 54px); font-weight: 700; }
.hero__text { margin-top: 20px; font-size: 17px; color: rgba(255,255,255,.82); max-width: 560px; }
.hero__actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.stats { position: relative; background: rgba(0,0,0,.18); border-top: 1px solid rgba(255,255,255,.08); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 34px 24px;
}
.stat { text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: none; }
.stat__num { display: block; font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 700; color: var(--gold-light); }
.stat__label { font-size: 13px; color: rgba(255,255,255,.75); }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.about__card { position: relative; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.about__illustration { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.about__badge {
  position: absolute; bottom: -22px; left: 24px;
  background: var(--navy); color: #fff; border-radius: 12px;
  padding: 14px 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.about__badge strong { font-family: 'Poppins', sans-serif; font-size: 22px; color: var(--gold-light); }
.about__badge span { font-size: 12px; color: rgba(255,255,255,.8); }

.about__content h2 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 18px; }
.about__text { color: var(--text-soft); margin-bottom: 14px; }
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.check-list__icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(217,154,61,.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

/* ===== Services ===== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 30px;
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid transparent;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(217,154,61,.3); }
.service-card__icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: 15px; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.service-card__tags li {
  font-size: 12.5px; font-weight: 600; color: var(--navy-light);
  background: var(--bg-alt); padding: 6px 12px; border-radius: 999px;
}

/* ===== Why us ===== */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 30px 20px; }
.why-card__icon {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(217,154,61,.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-soft); }

/* ===== Fabric samples ===== */
.swatch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.swatch {
  position: relative; height: 170px; border-radius: var(--radius);
  display: flex; align-items: flex-end; padding: 18px;
  overflow: hidden; box-shadow: var(--shadow);
  background-color: var(--navy); background-size: cover; background-position: center;
  transition: transform var(--transition);
}
.swatch:hover { transform: translateY(-4px); }
.swatch span { position: relative; z-index: 1; color: #fff; font-weight: 600; font-size: 15px; text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.swatch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 100%); }

/* ===== CTA banner ===== */
.cta { background: linear-gradient(120deg, var(--navy), var(--navy-light)); color: #fff; padding: 70px 0; }
.cta__inner { text-align: center; max-width: 600px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 32px); margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.82); margin-bottom: 28px; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-alt); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14.5px; color: var(--text-soft); }
.contact-item a:hover { color: var(--gold); }

.social-row { display: flex; gap: 10px; margin-top: 8px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-icon:hover { background: var(--gold); color: var(--navy); }

.contact__form { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--navy); }
.form-row input, .form-row textarea {
  width: 100%; border: 1.5px solid #e0e6e9; border-radius: 9px;
  padding: 12px 14px; font: inherit; font-size: 14.5px;
  background: var(--bg); transition: var(--transition); resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-submit { width: 100%; }
.form-success {
  display: none; margin-top: 14px; padding: 12px 14px;
  background: rgba(217,154,61,.14); color: #8a5a14;
  border-radius: 9px; font-size: 14px; text-align: center;
}
.form-success.show { display: block; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 8px; }
.footer__col a, .footer__col p { color: rgba(255,255,255,.65); font-size: 14.5px; transition: var(--transition); }
.footer__col a:hover { color: var(--gold-light); }
.logo--footer .logo__mark { color: #fff; }
.footer__brand p { margin-top: 14px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bottom-inner { text-align: center; font-size: 13.5px; color: rgba(255,255,255,.55); }

/* ===== Scroll top ===== */
.scroll-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--gold); color: var(--navy); }

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .swatch-grid { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { position: fixed; top: 78px; left: 0; right: 0; height: calc(100vh - 78px);
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 30px 24px; gap: 22px; transform: translateX(100%);
    transition: transform var(--transition); overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 17px; }
  .burger { display: flex; }
  .header__phone { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .stat { border-right: none; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 150px; }
}
