/* Beauty & Vintage – B2B site
   Palette and typography mirror beautyandvintage.com */

:root {
  --ink: #252525;
  --ink-soft: #5b5350;
  --cream: #fff6ef;
  --cream-light: #fffcf9;
  --peach: #ffe7d9;
  --pale-pink: #e7d2d0;
  --taupe: #8e8279;
  --taupe-hover: #b39b98;
  --gold: #c79152;
  --line: #e6d8cf;
  --white: #fff;

  --font: "EB Garamond", Georgia, serif;
  --script: "Mr De Haviland", cursive;

  --container: 1200px;
  --radius: 3px;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

/* Bilingual content: hide whichever language is not active */
html[lang="en"] [lang="el"]:not(html),
html[lang="el"] [lang="en"]:not(html) { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.script {
  font-family: var(--script);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--taupe);
  margin: 0 0 .1em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.25;
  color: var(--white);
  background: var(--taupe);
  border: 1px solid var(--taupe);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--taupe-hover); border-color: var(--taupe-hover); }
.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost-light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--block { display: block; width: 100%; text-align: center; }

/* Top bar */
.topbar {
  background: var(--taupe);
  color: var(--white);
  text-align: center;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 9px 16px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 239, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  height: var(--header-h);
}
.logo { grid-column: 1; grid-row: 1; }
.logo img { height: 66px; width: auto; }

.nav { grid-column: 2; grid-row: 1; justify-self: center; display: flex; gap: 22px; white-space: nowrap; }
.nav a, .footer__links a {
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .3s;
}
.nav a:hover::after { width: 100%; }

.header__actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 22px; }

.lang-switch { display: flex; align-items: center; gap: 6px; color: var(--taupe); font-size: .85rem; }
.lang-switch button {
  background: none; border: 0; padding: 2px; cursor: pointer;
  font: inherit; letter-spacing: .1em; color: var(--taupe);
}
.lang-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.login-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--ink); border-radius: var(--radius);
  padding: 9px 16px; cursor: pointer;
  font: inherit; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  transition: background .25s, color .25s;
}
.login-btn:hover { background: var(--ink); color: var(--cream); }
.login-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.nav-toggle {
  display: none;
  grid-column: 1; grid-row: 1;
  width: 32px; height: 24px;
  background: none; border: 0; padding: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 1px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11.5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  background: url("../img/hero.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(37, 30, 28, .55) 0%, rgba(37, 30, 28, .25) 60%, rgba(37, 30, 28, .1) 100%);
}
.hero__content { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero .script { color: var(--peach); }
.hero h1 { max-width: 16em; text-shadow: 0 2px 20px rgba(0, 0, 0, .2); }
.hero__lead { max-width: 34em; font-size: 1.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Values strip */
.values { background: var(--pale-pink); }
.values__list {
  list-style: none; margin: 0 auto; padding-top: 20px; padding-bottom: 20px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0;
}
.values__list li {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 0 16px;
}
.values__list li + li { border-left: 1px solid var(--taupe); }

/* Sections */
.section { padding: 110px 0; }
.section--tint { background: var(--cream-light); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head p:not(.script) { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { margin: 0; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text p { color: var(--ink-soft); }
.arch img { height: auto; border-radius: 300px 300px 0 0; aspect-ratio: 3 / 4; }

blockquote {
  margin: 32px 0 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--gold);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
}

/* Range */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 90px; }
.cat { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--pale-pink); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.cat:hover img { transform: scale(1.05); }
.cat__label {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(255, 252, 249, .92);
  text-align: center; padding: 12px;
  font-size: 1rem; letter-spacing: .2em; text-transform: uppercase;
}

.subhead { text-align: center; font-size: 1.8rem; margin-bottom: 36px; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.product { text-align: center; }
.product img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 16px; background: var(--pale-pink); }
.product h4 { font-size: 1.15rem; margin-bottom: .2em; }
.product p { font-size: .95rem; color: var(--taupe); margin: 0; }
.range__note { text-align: center; color: var(--ink-soft); font-style: italic; margin: 56px 0 24px; }

/* Partner cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--cream-light);
  border: 1px solid var(--line);
  padding: 40px 32px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(142, 130, 121, .15); }
.card__icon { width: 48px; height: 48px; margin: 0 auto 18px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.card p { color: var(--ink-soft); margin: 0; }

/* Why us */
.section--photo { background: var(--peach); }
.section--photo .split__media img { height: auto; aspect-ratio: 4 / 5; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li {
  position: relative;
  padding: 0 0 18px 34px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "\2740";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
}
.checklist strong { display: block; font-weight: 500; color: var(--ink); font-size: 1.15rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { text-align: center; position: relative; }
.steps__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 18px;
  border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold); font-size: 1.3rem;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute; top: 32px; left: calc(50% + 48px); right: calc(-50% + 16px);
  border-top: 1px dashed var(--line);
}
.steps p { color: var(--ink-soft); }

/* Consumer notice band */
.notice-band { background: var(--taupe); color: var(--white); padding: 56px 0; }
.notice-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.notice-band h2 { font-size: 2rem; }
.notice-band p { margin: 0; max-width: 46em; opacity: .92; }
.notice-band .btn { flex-shrink: 0; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; }
.contact__info > p { color: var(--ink-soft); }
.contact__list { margin: 32px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; }
.contact__list dt { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); padding-top: 4px; }
.contact__list dd { margin: 0; }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--line); }

.form { background: var(--cream-light); border: 1px solid var(--line); padding: 44px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 20px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 12px 14px;
  font: inherit; font-size: 1rem; letter-spacing: normal; text-transform: none; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--taupe); }
.is-invalid { border-color: #b4574a; }
textarea { resize: vertical; }
.form__error { color: #b4574a; font-size: .95rem; }
.form__hint { font-size: .85rem; color: var(--taupe); margin: 14px 0 0; font-style: italic; }

/* Footer */
.footer { background: var(--pale-pink); padding: 72px 0 0; font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h3 { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1em; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--taupe); }
.footer__logo { width: 200px; height: auto; margin-bottom: 16px; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { font-size: .8rem; }
.social { display: flex; gap: 12px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%;
  transition: background .25s, color .25s;
}
.social a:hover { background: var(--ink); color: var(--pale-pink); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.social svg .fill { fill: currentColor; }
.footer__copy {
  text-align: center; margin: 56px 0 0; padding: 20px 16px;
  border-top: 1px solid rgba(142, 130, 121, .35);
  font-size: .85rem; color: var(--ink-soft);
}

/* Modal */
.modal {
  width: min(460px, calc(100% - 32px));
  padding: 48px 40px 40px;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 30px 80px rgba(37, 30, 28, .3);
}
.modal:focus { outline: none; }
.modal::backdrop { background: rgba(37, 30, 28, .55); backdrop-filter: blur(2px); }
.modal[open] { animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: 0; cursor: pointer;
  font-size: 2rem; line-height: 1; color: var(--taupe);
}
.modal__flower { width: 64px; margin: 0 auto 12px; }
.modal h2 { font-size: 1.9rem; }
.modal form { text-align: left; margin-top: 20px; }
.modal p { color: var(--ink-soft); }
.modal .btn { margin-top: 8px; }
.modal__small { font-size: .95rem; margin: 22px 0 0; }
.modal__small a { color: var(--ink); }

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

/* Responsive */
@media (max-width: 1280px) {
  .nav { gap: 18px; }
  .nav a { font-size: .75rem; letter-spacing: .1em; }
  .logo img { height: 54px; }
}

@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .nav-toggle { display: flex; }
  .logo { grid-column: 2; justify-self: center; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 400px; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); font-size: .85rem; }
  .nav a::after { display: none; }
  .logo img { height: 48px; }
  .login-btn span { display: none !important; }
  .login-btn { padding: 9px; border-radius: 50%; }

  .section { padding: 80px 0; }
  .split, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .split__media { order: 0; }
  .arch { max-width: 420px; margin: 0 auto; }
  .cats, .products { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .notice-band__inner { flex-direction: column; align-items: flex-start; }
  .values__list { gap: 10px 20px; }
  .values__list li { padding: 0; }
  .values__list li + li { border-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .topbar { font-size: .68rem; letter-spacing: .12em; }
  .header__actions { gap: 12px; }
  .logo img { height: 40px; }
  .values__list li { padding: 0 12px; font-size: .72rem; }
  .cats { gap: 12px; }
  .cat__label { left: 8px; right: 8px; bottom: 8px; padding: 8px; font-size: .8rem; letter-spacing: .12em; }
  .products { gap: 28px 14px; }
  .cards, .steps, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .form { padding: 28px 20px; }
  .contact__list { grid-template-columns: 1fr; gap: 2px; }
  .contact__list dd { margin-bottom: 12px; }
  .modal { padding: 44px 22px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
