/* =============================================
   L-ink · Fountain Pens
   Mobile-first · Warm artisan aesthetic
   ============================================= */

:root {
  --purple:    #7c3aed;
  --purple-lt: #f0ebff;
  --purple-dk: #5b21b6;
  --orange:    #f59e0b;
  --pink:      #f43f5e;

  --ink:       #1c1917;
  --ink-mid:   #44403c;
  --ink-soft:  #78716c;
  --cream:     #faf8f4;
  --cream-dk:  #f2ede4;
  --white:     #ffffff;
  --border:    #e6dfd6;

  --radius:    12px;
  --radius-sm: 6px;

  --shadow-sm: 0 2px 12px rgba(28,25,23,0.08);
  --shadow:    0 6px 32px rgba(28,25,23,0.10);

  --font:      'Inter', system-ui, sans-serif;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-hand: 'Caveat', cursive;

  --transition: 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-mid);
  background: var(--cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =============================================
   TYPOGRAPHY HELPERS
   ============================================= */

h1, h2 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 20px;
}

.kicker {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
  color: var(--ink-mid);
}

p:last-child {
  margin-bottom: 0;
}

/* =============================================
   LAYOUT
   ============================================= */

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

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn--primary:hover {
  background: var(--purple-dk);
  border-color: var(--purple-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.28);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--ink);
}

.btn--full { width: 100%; }

/* =============================================
   NAV
   ============================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 2px 0;
  transition: color var(--transition);
}

.lang-btn:hover { color: var(--ink); }
.lang-btn.active { color: var(--purple); border-bottom: 1.5px solid var(--purple); }

.lang-sep {
  font-size: 0.65rem;
  color: var(--border);
  user-select: none;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: var(--purple);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--ink); }

.nav__cta {
  color: var(--purple) !important;
  font-weight: 500 !important;
  border-bottom: 1.5px solid var(--purple);
  padding-bottom: 1px;
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  padding: 40px 28px;
  gap: 28px;
  font-size: 1.1rem;
  animation: fadeIn 0.18s ease;
  overflow-y: auto;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,25,23,0.82) 0%,
    rgba(28,25,23,0.45) 50%,
    rgba(28,25,23,0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 28px 72px;
  max-width: 680px;
  width: 100%;
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 440px;
  font-weight: 300;
  line-height: 1.6;
}

/* =============================================
   ABOUT
   ============================================= */

.about {
  padding: 88px 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  gap: 48px;
}

.about__img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
}

.about__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.about__content .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* =============================================
   SERVICES
   ============================================= */

.services {
  background: var(--cream);
}

.service {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.service--alt {
  background: var(--white);
}

.service__grid {
  display: grid;
  gap: 48px;
}

.service__img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
}

.service__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service__content .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.service__list {
  list-style: none;
  margin: 8px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service__list li {
  padding-left: 16px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 600;
}

.service__note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 20px;
}

/* =============================================
   SHIPPING
   ============================================= */

.shipping {
  padding: 88px 0;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.shipping__header {
  margin-bottom: 40px;
  max-width: 520px;
}

.shipping__sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 4px;
}

.shipping__illustration {
  margin-bottom: 0;
}

.shipping__globe {
  width: 100%;
  height: auto;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}

.shipping__map-wrap {
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: none;
}

.shipping__map {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}

.shipping__map-credit {
  padding: 8px 12px;
  font-size: 0.75rem;
  color: var(--ink-soft);
  background: var(--cream-dk);
  margin-bottom: 0;
}

.shipping__map-credit a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =============================================
   CONTACT
   ============================================= */

.contact {
  padding: 88px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.contact__grid {
  display: grid;
  gap: 56px;
}

.contact__lead {
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.channel:hover {
  border-color: #c4b0f0;
  box-shadow: var(--shadow-sm);
}

.channel svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.channel--wa      svg { color: #25d366; }
.channel--email   svg { color: var(--purple); }
.channel--address     { cursor: default; }
.channel--address svg { color: var(--pink); }
.channel--address span { line-height: 1.5; }

.channel strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1px;
}

.channel span {
  font-size: 0.95rem;
  color: var(--ink);
}

/* FORM */

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: 0.01em;
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.08);
  background: var(--white);
}

.form__group textarea {
  resize: vertical;
  min-height: 120px;
}

.form__note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: -8px;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 52px 0 24px;
}

.footer__inner {
  display: grid;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

.footer__inner p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer__nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer__nav a:hover { color: var(--white); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__contact a,
.footer__contact span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}

.footer__contact a {
  transition: color var(--transition);
}

.footer__contact a:hover { color: var(--white); }

.footer__copy {
  margin-top: 24px;
  font-size: 0.75rem;
  text-align: center;
  color: rgba(255,255,255,0.25);
  margin-bottom: 0;
}

/* =============================================
   FLOATING WHATSAPP
   ============================================= */

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 13px 20px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 4px 18px rgba(37,211,102,0.38);
  transition: all var(--transition);
  animation: popIn 0.4s 1.2s both;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37,211,102,0.45);
}

.wa-float svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   RESPONSIVE — TABLET (680px+)
   ============================================= */

@media (min-width: 680px) {
  .shipping__map { height: 380px; }
}

/* =============================================
   RESPONSIVE — DESKTOP (860px+)
   ============================================= */

@media (min-width: 860px) {
  /* NAV */
  .nav__burger { display: none; }
  .nav__links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    animation: none;
    font-size: 1rem;
  }

  /* ABOUT */
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
  }
  .about__img { height: 440px; }

  /* SERVICES */
  .service__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
  }
  .service__img { height: 420px; }

  /* Alternate service: flip image to right */
  .service--alt .service__img-wrap { order: 2; }
  .service--alt .service__content  { order: 1; }

  /* SHIPPING */
  .shipping__header { max-width: 640px; }
  .shipping__map { height: 420px; }

  /* CONTACT */
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
  }

  /* FOOTER */
  .footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 3px;
}
