html{
  scroll-behavior: smooth;
}
@font-face {
  font-family: 'avenir';
  src: url('./avenir-book.otf');
}
:root {
  --bg: #fdf8f8;
  --bg-soft: #f4f5fcc9;
  --border: #E6E8ED;
  --muted: #5F6B7A;
  --text: #12151A;
  --brand: #C32427;
  --brand-dark: #C32427;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow: 0 8px 28px rgba(0,0,0,.08);
  --wrap: clamp(980px, 92vw, 1280px); /* less side whitespace on large screens */
}
* { box-sizing:border-box; margin:0; padding:0; }
body { font-family: avenir; color: var(--text); background: var(--bg); line-height:1.65; }
a { color:inherit; text-decoration:none; }
.wrap { max-width: var(--wrap); margin:auto; padding: 0 clamp(16px, 4vw, 32px); }

header { position:sticky; top:0; background:#191D2D; box-shadow:var(--shadow-sm); z-index:50; }
nav { display:flex; justify-content:space-between; align-items:center; padding:14px 0; }
.logo { display:flex; align-items:center; gap:10px; font-weight:800; color:var(--brand-dark); }
.logo-mark { width:40px; height:40px; border-radius:10px; background:linear-gradient(135deg,var(--brand),var(--brand-dark)); display:grid; place-items:center; color:#0f1218; font-weight:900; }
/* Desktop nav */
.nav-links { display:flex; align-items:center; gap:8px; }
.nav-links a { color:#dad8d8; font-weight:600; padding:8px 10px; border-radius:10px; }
.nav-links a:hover { background:#F7F7FA;color: #0f1218; }
.nav-links a:hover a { color: #0f1218; }
.btn { display:inline-block; padding:10px 16px; border-radius:10px; background:var(--brand); color:#fff; font-weight:700; box-shadow:0 6px 18px rgba(198,164,94,.25); border:1px solid rgba(198,164,94,.5);letter-spacing: 1.2pt; }
/* Mobile trigger */
.hamburger { display:none; width:42px; height:42px; border:1px solid var(--border); border-radius:12px; background:#fff; box-shadow:var(--shadow-sm); align-items:center; justify-content:center; cursor:pointer; }
/* .hamburger span, .hamburger::before, .hamburger::after { } */
.hamburger span { margin:4px 0; }
/* Mobile panel */
.mobile-panel { display:none; position:fixed; inset:0; background: rgba(0,0,0,.2); backdrop-filter: blur(2px); z-index:40; }
.mobile-sheet { position:absolute; right: clamp(12px, 4vw, 24px); top: 72px; width:min(92vw, 420px); border:1px solid var(--border); border-radius:16px; background:#fff; box-shadow: var(--shadow); padding:14px; }
.mobile-sheet a { display:block; padding:12px 10px; border-radius:10px; color:#2b313b; font-weight:600; }
.mobile-sheet a:hover { background:#F7F7FA; }
.mobile-actions { display:flex; gap:10px; padding:8px 10px 4px; }
.mobile-actions .btn{
  color: #fff;
}
body.nav-open { overflow:hidden; }
body.nav-open .mobile-panel { display:block; }
/* Sections */
section { padding: 50px 0; }
.section-inner { max-width: var(--wrap); margin:auto; padding: 0 clamp(16px, 4vw, 32px); }
.band { background:var(--bg-soft); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.section-head { text-align:center; margin-bottom:56px; }
.kicker { color:var(--brand-dark); font-weight:800; letter-spacing:.18em; text-transform:uppercase; font-size:12px; }
h2 { font-family:"Cormorant Garamond", serif; font-size:2.6rem; line-height:1.1; margin-top:6px; }
.lede { color:#465160; max-width:75ch; margin: 8px auto 0; text-align:center; }
/* Hero */
#hero .media { margin-bottom:0; }
.media { display:grid; grid-template-columns:1fr 1fr; gap: clamp(40px, 1vw, 100px); align-items:center; margin-bottom: clamp(40px, 8vw, 100px); }
.media.reverse { direction:rtl; }
.media.reverse .media-text { direction:ltr; }
.media-img { width:100%; height: clamp(320px, 48vw, 480px); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--border); }
.media-img img { width:100%; height:100%; object-fit:cover; }
.media-text h3 { font-family:"Cormorant Garamond", serif; color:#111; font-size:1.9rem; margin-bottom:10px; }
.media-text p { color:#3f4652; margin-bottom:10px; }
.badges { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.badge { padding:8px 12px; background:#fff; border:1px solid var(--border); border-radius:999px; font-size:.9rem; }
/* Features + mini tiles */
.feature-row { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; margin-top:20px; }
.feature { background:#a3998d26; border:1px solid var(--border); border-radius:14px; padding:18px; box-shadow:var(--shadow-sm); }
.feature h4 { color:var(--brand-dark); margin-bottom:6px; font-size:1rem; }
/* Collections grid */
.collections { display:grid; grid-template-columns: repeat(3, 1fr); gap:20px; margin-top:22px; }
.tile { position:relative; border-radius:16px; overflow:hidden; border:1px solid var(--border); box-shadow:var(--shadow-sm); background:#fff; }
.tile img { width:100%; height:220px; object-fit:cover; display:block; }
.tile h5 { position:absolute; left:14px; bottom:14px; background:rgba(255,255,255,.9); padding:6px 10px; border-radius:8px; font-size:.95rem; font-weight:700; }
/* Process strip */
.process { display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; margin-top:24px; }
.step { background:#fff; border:1px solid var(--border); border-radius:14px; padding:16px; text-align:center; box-shadow:var(--shadow-sm); }
.step b { display:block; color:#111; margin-bottom:4px; }
.step span { color:#5a6472; font-size:.95rem; }
/* FAQ */
.faq { max-width:900px; margin: 0 auto; }
.faq-item { border:1px solid var(--border); border-radius:14px; background:#fff; margin-bottom:12px; overflow:hidden; box-shadow:var(--shadow-sm); }
.faq-q { width:100%; text-align:left; background:#fff; border:0; padding:16px 18px; font-weight:700; cursor:pointer; display:flex; justify-content:space-between; align-items:center; }
.faq-a { display:none; padding:0 18px 16px; color:#485467; }
.faq-item.open .faq-a { display:block; }
/* Contact */
.contact-grid { display:grid; grid-template-columns:; gap:60px; align-items:center; }
.card { background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:40px; box-shadow:var(--shadow); }
.contact .info { display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
.social a { margin-right:10px; color:var(--brand-dark); font-weight:700; }
/* Footer */
footer { background:#FFFFFF; border-top:1px solid var(--border); }
.footer-wrap { max-width: var(--wrap); margin:auto; padding:60px clamp(16px, 4vw, 32px); display:grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap:30px; }
.foot-brand { display:flex; align-items:center; gap:12px; }
.foot-brand .logo-mark { width:38px; height:38px; }
.foot-brand h4 { margin:0; }
.foot-text { color:#4c5564; margin-top:10px; }
.foot-col h5 { margin-bottom:10px; font-size:1rem; color:#111; }
.foot-col a { display:block; color:#485060; padding:6px 0; }
.newsletter { background:#FDF9EF; border:1px solid #F1E6CE; padding:14px; border-radius:12px; }
.newsletter form { display:flex; gap:8px; margin-top:8px; }
.newsletter input { flex:1; padding:10px 12px; border:1px solid var(--border); border-radius:10px; }
.newsletter button { padding:10px 12px; border-radius:10px; border:1px solid rgba(198,164,94,.5); background:var(--brand); color:#fff; font-weight:700; }
.legal { border-top:1px solid var(--border); padding:14px clamp(16px, 4vw, 32px); color:#6b7280; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; max-width: var(--wrap); margin:auto; }
.w3f-contact { padding: 80px 0; background: ; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.w3f-contact .w3f-wrap { width: min(1280px, 92vw); margin: 0 auto; }

.w3f-head { text-align:center; margin-bottom: 32px; }
.w3f-kicker { color: var(--brand-dark); font-weight:800; letter-spacing:.18em; text-transform:uppercase; font-size:12px; }
.w3f-title { font-family: "Playfair Display", serif; font-size: clamp(28px, 4vw, 42px); margin: 6px 0 8px; color:#111; }
.w3f-lede { color:#465160; max-width: 75ch; margin: 0 auto; }

.w3f-form { background:#fff; border:1px solid var(--border); border-radius:16px; box-shadow: 0 8px 28px rgba(0,0,0,.08); padding: 22px; }
.w3f-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.w3f-full { grid-column: 1 / -1; }

.w3f-field { display:flex; flex-direction:column; gap:8px; }
.w3f-field label { font-weight:700; color:#0f1218; }
.w3f-field input,
.w3f-field select,
.w3f-field textarea {
  border:1px solid var(--border); border-radius:12px; padding:12px 12px;
  font: inherit; background:#fff; color:#111;
}
.w3f-field textarea { min-height:140px; resize: vertical; }
.w3f-small { color:#5b6574; font-size:.9rem; }

.w3f-actions { display:flex; gap:10px; align-items:center; margin-top:12px; flex-wrap: wrap; }
.w3f-btn {
  padding:12px 16px; border-radius:10px; border:1px solid rgba(198,164,94,.5);
  background: var(--brand); color:#fff; font-weight:700; cursor:pointer;
  box-shadow: 0 6px 18px rgba(198,164,94,.25);
}
.w3f-btn.w3f-secondary { background:#fff; color:#111; border:1px solid var(--border); }
.w3f-btn[disabled] { opacity:.6; cursor:not-allowed; }

.w3f-result { display:none; margin-left:auto; padding:10px 12px; border-radius:10px; border:1px solid var(--border); background:#F7F7FA; color:#1f2937; }
.w3f-result.show { display:block; }

.w3f-bot { display:none !important; }

@media (max-width: 900px) {
  .w3f-grid { grid-template-columns: 1fr; }
  .media-img { width:100%; height: clamp(320px, 48vw, 480px); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--border); }
}
#jackets{
  background-color: var(--bg-soft);
}
/* Responsive */
@media(max-width:1100px){ .collections{grid-template-columns:1fr 1fr;} .process{grid-template-columns:1fr 1fr;} .footer-wrap{grid-template-columns: 1fr 1fr; } .contact-grid{grid-template-columns:1fr;} }
/* footer{
  background-image: url('./images/hero-bg.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: 100%;
} */
.legal span:nth-child(2){
  color: #a3a3a3;
  display: none;
}
@media(max-width:900px){
  .nav-links, nav .btn { display:none; }
  .hamburger { display:flex; }
  section {
    padding: 20px 0;
  }
   .footer-wrap{
    display: flex;
    flex-direction: column;
   }
   .contact-grid .card .info{
    display: flex;
    flex-direction: column;
   }
   .contact-grid .card{
    padding: 24px;
   }
   .legal{
    font-size: .8rem;
   }
   #hero{
    background-size: 400%;
    background-position: 0%;
    height: 110vh;
  }
  footer{
    background-size: 500%;
    background-position: 0%;
  }
}
@media(max-width:700px){ .abaya-section{ display: flex; flex-direction: column-reverse;} .media, .media.reverse{grid-template-columns:1fr; direction:ltr;} .media-img{height:300px;} .feature-row{grid-template-columns:1fr;} .collections{grid-template-columns:1fr;} .process{grid-template-columns:1fr 1fr;} .w3f-lede br{display: none;} }
/* --- Dropdown base --- */
.nav-dropdown { position: relative; }
.nav-dropbtn{
  display:flex; align-items:center; gap:4px;
  background:transparent; border:0; cursor:pointer;
  font: inherit; font-weight:600; color:#dad8d8; padding:8px 10px; border-radius:10px;
}
.nav-dropbtn:hover, .nav-dropbtn:focus { background:#F7F7FA; color:#0f1218; outline:none; }

/* menu panel */
.nav-menu{
  position:absolute; top: calc(100% + 8px); left:0;
  min-width: 240px; padding:8px;
  background:#fff; border:1px solid var(--border); border-radius:12px;
  box-shadow: var(--shadow); display:none; z-index:60;
}
.nav-menu a{
  display:block; padding:10px 10px; border-radius:8px; color:#2b313b; font-weight:600;
}
.nav-menu a:hover{ background:#F7F7FA; }

/* open state */
.nav-dropdown.open .nav-menu{ display:block; }

/* desktop hover open (still works without JS) */
@media (hover:hover){
  .nav-dropdown:hover .nav-menu{ display:block; }
}

/* Mobile submenu label in sheet */
.mobile-subgroup{ padding:8px 0 2px; }
.mobile-subhead{
  font-weight:800; font-size:.9rem; letter-spacing:.12em;
  color:#000; padding:8px 10px;
}
.mobile-subgroup a{
  color: #6b7280;
  margin-left: 10px;
}

.foot-social { margin-top: 10px; }
.foot-social a{ padding: 6px; }

.ig-link{
  display: inline-flex !important;       /* force horizontal layout */
  flex-direction: row !important;        /* icon -> text */
  align-items: center;
  gap: 10px;                             /* space between icon & text */
  text-decoration: none;
  color: #485060;
  font-weight: 600;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}

.ig-icon{
  flex: 0 0 20px;                        /* fixed icon width on the LEFT */
  display: block;
}

.ig-text{
  line-height: 1;                        /* clean vertical alignment */
}

.ig-link:hover{
  color: #fff;
  background: var(--brand);
  border-color: rgba(195,36,39,.4);
  transform: translateY(-1px);
}
