/* ============ Rano Fashion — style.css ============ */
:root {
  --ink: #17130f;
  --ink-soft: #5c554d;
  --paper: #faf7f2;
  --paper-2: #f1ebe2;
  --line: #e5ddd1;
  --accent: #9a7b4f;
  --accent-dark: #7d6238;
  --white: #ffffff;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 20px 50px rgba(23, 19, 15, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.section { padding: 96px 0; scroll-margin-top: 90px; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p:not(.section-eyebrow) { color: var(--ink-soft); margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-block { width: 100%; }

/* Top bar */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: .78rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a:hover { color: var(--white); }
.topbar-contact { display: flex; gap: 18px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .12em; }
.brand-text em { font-style: normal; font-size: .68rem; color: var(--ink-soft); letter-spacing: .08em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .88rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav-cta { padding: 10px 22px; font-size: .78rem; }
.nav-cta:hover { color: var(--white) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: var(--white); }
.hero-media { position: absolute; inset: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: 0; transition: opacity 1.2s ease; }
.hero-img.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,12,9,.82) 0%, rgba(15,12,9,.55) 45%, rgba(15,12,9,.25) 100%); }
.hero-content { position: relative; z-index: 2; padding: 140px 0 40px; max-width: 760px; margin-right: auto; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: .75rem; color: rgba(255,255,255,.75); margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 600; }
.hero h1 .accent { color: #e8c896; font-style: italic; }
.hero-sub { margin-top: 24px; max-width: 560px; font-size: 1.05rem; color: rgba(255,255,255,.85); }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { position: relative; z-index: 2; background: rgba(15,12,9,.55); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 22px 0; }
.stat strong { font-family: var(--serif); font-size: 1.7rem; display: block; }
.stat strong span { font-size: .9rem; font-weight: 400; }
.stat em { font-style: normal; font-size: .78rem; color: rgba(255,255,255,.65); letter-spacing: .06em; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 4px; box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.about-badge {
  position: absolute; right: -28px; bottom: -28px;
  background: var(--ink); color: var(--white);
  padding: 22px 28px; border-radius: 4px; max-width: 240px;
}
.about-badge strong { font-family: var(--serif); font-size: 1.3rem; display: block; }
.about-badge em { font-style: normal; font-size: .78rem; color: rgba(255,255,255,.7); }
.about-copy p { color: var(--ink-soft); margin-top: 18px; }
.about-list { margin-top: 22px; list-style: none; }
.about-list li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--line); font-size: .95rem; }
.about-list li::before {
  content: ""; position: absolute; left: 4px; top: 18px;
  width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg);
}

/* Products */
.products { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product-card { cursor: pointer; }
.product-media { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3/4; background: var(--paper-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(250,247,242,.92); color: var(--ink);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  padding: 6px 12px; border-radius: 2px;
}
.product-view {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(15,12,9,.75));
  color: var(--white); border: 0; padding: 48px 20px 18px;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transition: opacity .3s; cursor: pointer; width: 100%;
}
.product-card:hover .product-view { opacity: 1; }
.product-info { padding: 18px 4px 0; }
.product-info h3 { font-size: 1.15rem; }
.product-info p { color: var(--ink-soft); font-size: .9rem; margin-top: 4px; }

.product-card--cta .product-media { background: var(--ink); }
.cta-card { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 32px; color: var(--white); }
.cta-card h3 { font-size: 1.4rem; }
.cta-card p { color: rgba(255,255,255,.7); font-size: .92rem; }

/* Services */
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border: 1px solid var(--line);
  padding: 36px 28px; border-radius: 4px; transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-num { font-family: var(--serif); font-size: 2rem; color: var(--accent); display: block; margin-bottom: 14px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: .92rem; }

/* Advantages */
.advantages { background: var(--ink); color: var(--white); }
.advantages .section-eyebrow { color: #e8c896; }
.advantages .section-head p:not(.section-eyebrow) { color: rgba(255,255,255,.65); }
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.adv-card { background: var(--ink); padding: 40px 36px; }
.adv-card h3 { display: flex; gap: 14px; align-items: baseline; font-size: 1.2rem; margin-bottom: 12px; }
.adv-card h3 span { font-size: 1rem; color: #e8c896; }
.adv-card p { color: rgba(255,255,255,.68); font-size: .95rem; }

.data-strip { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 40px; }
.data-item strong { font-family: var(--serif); font-size: 1.5rem; color: #e8c896; display: block; }
.data-item span { font-size: .8rem; color: rgba(255,255,255,.6); }

/* Contact */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-copy > p { color: var(--ink-soft); margin-top: 16px; }
.contact-card { margin-top: 26px; padding-left: 20px; border-left: 2px solid var(--accent); }
.contact-card h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--accent-dark); margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: .95rem; }
.contact-card a:hover { color: var(--ink); }

.contact-form { background: var(--white); padding: 44px 40px; border-radius: 4px; box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 26px; }
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label span { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px;
  font-family: var(--sans); font-size: .95rem; background: var(--paper); color: var(--ink);
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.form-note { margin-top: 16px; font-size: .85rem; color: var(--ink-soft); text-align: center; }
.form-note a { color: var(--accent-dark); font-weight: 600; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; }
.footer-brand strong { color: var(--white); letter-spacing: .08em; font-size: .9rem; }
.footer-brand p { font-size: .85rem; margin-top: 6px; }
.footer-domain { color: #e8c896; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { font-size: .88rem; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .78rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,12,9,.94);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-figure { max-width: min(680px, 84vw); max-height: 76vh; }
.lb-figure img { max-height: 74vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lb-figure figcaption { color: rgba(255,255,255,.7); text-align: center; font-size: .85rem; margin-top: 14px; letter-spacing: .08em; }
.lb-close { position: absolute; top: 18px; right: 28px; background: none; border: 0; color: var(--white); font-size: 2.4rem; cursor: pointer; line-height: 1; }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: 0; color: var(--white);
  font-size: 2.6rem; width: 56px; height: 56px; cursor: pointer; border-radius: 50%;
  transition: background .2s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.2); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-thumbs { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; justify-content: center; max-width: 90vw; }
.lb-thumbs img { width: 54px; height: 68px; object-fit: cover; cursor: pointer; opacity: .45; border-radius: 2px; transition: opacity .2s; }
.lb-thumbs img.current { opacity: 1; outline: 2px solid #e8c896; }

/* Page hero (subpages) */
.page-hero {
  position: relative;
  padding: 130px 0 90px;
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-img { opacity: 1; }
.page-hero .hero-overlay { background: linear-gradient(100deg, rgba(15,12,9,.85) 0%, rgba(15,12,9,.6) 55%, rgba(15,12,9,.35) 100%); }
.page-hero-content { position: relative; z-index: 2; max-width: 720px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero .hero-eyebrow { margin-bottom: 16px; }
.page-hero p.hero-sub { margin-top: 18px; color: rgba(255,255,255,.85); max-width: 600px; }

/* CTA banner */
.cta-banner { background: var(--ink); color: var(--white); text-align: center; padding: 88px 0; }
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto 32px; }

/* Category nav (products page) */
.cat-nav {
  display: flex; flex-wrap: wrap; gap: 12px;
  border: 1px solid var(--line); border-radius: 4px; padding: 18px 22px;
  background: var(--paper);
}
.cat-nav a {
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); transition: all .2s;
}
.cat-nav a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Nav active state */
.nav a.active { color: var(--ink); font-weight: 600; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-badge { right: 16px; bottom: -22px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .data-strip { grid-template-columns: repeat(2, 1fr); }

  .nav {
    position: fixed; top: 0; right: -100%; width: min(320px, 80vw); height: 100vh;
    background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 100px 36px; gap: 22px; transition: right .35s ease; box-shadow: -20px 0 60px rgba(0,0,0,.15);
  }
  .nav.open { right: 0; }
  .nav a { font-size: 1.05rem; }
  .nav-toggle { display: block; z-index: 120; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .product-grid, .service-grid, .adv-grid, .data-strip { grid-template-columns: 1fr; }
  .hero-content { padding-top: 110px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
