:root {
  --ink: #111111;
  --muted: #5b5f66;
  --bg: #ffffff;
  --bg-alt: #f6f5f2;
  --accent: #c8a46b;
  --accent-dark: #a9874f;
  --border: #e7e4de;
  --radius: 14px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 820px; margin: 0 auto 1.2rem; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .6rem; }
p + p { margin-top: 1rem; }

.container { width: min(var(--max), 100% - 3rem); margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 2rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: .8rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2a2a; }
.btn-ghost { border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; font-weight: 500; font-size: .95rem; }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }
.lang-toggle {
  font: inherit; font-size: .8rem; font-weight: 600;
  background: none; border: 1.5px solid var(--ink); border-radius: 999px;
  padding: .3rem .75rem; cursor: pointer;
}
.lang-toggle:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  padding: 5rem 0 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200, 164, 107, .14), transparent 60%),
    var(--bg);
}
.hero-logo { width: min(380px, 80%); margin: 0 auto 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .lead { color: #c9c9c9; }
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.two-col p { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(17, 17, 17, .07); }
.card p { color: var(--muted); font-size: .95rem; }
.icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(200, 164, 107, .15);
  display: grid; place-items: center; margin-bottom: 1.3rem;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Project */
.project { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.project-text p { color: var(--muted); }
.tagline { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.25rem; color: var(--ink) !important; margin-bottom: 1rem; }
.features { list-style: none; margin: 1.5rem 0 2rem; }
.features li { padding-left: 1.8rem; position: relative; margin-bottom: .6rem; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
}

.project-visual { display: flex; justify-content: center; }
.phone {
  width: 250px; height: 500px;
  border-radius: 40px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 30px 60px rgba(17, 17, 17, .2);
}
.phone-screen {
  height: 100%; border-radius: 30px;
  background: linear-gradient(160deg, #fbf7ef, #efe5d2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  padding: 1.5rem;
}
.esim-card {
  width: 100%;
  background: var(--ink); color: #fff;
  border-radius: 16px; padding: 1.4rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.esim-label { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.esim-data { font-size: 2rem; font-weight: 700; }
.esim-dest { font-size: .85rem; color: #c9c9c9; }
.signal { display: flex; align-items: flex-end; gap: 5px; height: 36px; }
.signal span { width: 8px; background: var(--accent-dark); border-radius: 3px; animation: pulse 1.8s ease-in-out infinite; }
.signal span:nth-child(1) { height: 25%; }
.signal span:nth-child(2) { height: 50%; animation-delay: .15s; }
.signal span:nth-child(3) { height: 75%; animation-delay: .3s; }
.signal span:nth-child(4) { height: 100%; animation-delay: .45s; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.phone-caption { font-weight: 600; font-size: .9rem; color: var(--ink); }

.address { margin-top: 1.5rem; color: #a9a9a9; font-size: .9rem; }

/* Footer */
.site-footer { background: #0a0a0a; color: #8a8a8a; padding: 2rem 0; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-inner img { height: 40px; width: auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .two-col, .project { grid-template-columns: 1fr; gap: 2rem; }
  .project-visual { order: -1; }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 1.2rem;
    background: #fff; padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .footer-inner { justify-content: center; text-align: center; }
}
