/* ============================================================
   LiMi Solutions — Landing Page Styles
   Design: Elegant & Luxury — Charcoal (#333333) + Gold (#d4a843)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --charcoal: #333333;
  --charcoal-dark: #262626;
  --charcoal-light: #4a4a4a;
  --gold: #d4a843;
  --gold-dark: #b98f2f;
  --gold-light: #e6c46a;
  --white: #ffffff;
  --off-white: #faf8f4;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e8e4dc;

  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(51, 51, 51, 0.06);
  --shadow-md: 0 10px 30px rgba(51, 51, 51, 0.1);
  --shadow-lg: 0 24px 60px rgba(51, 51, 51, 0.16);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 76px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
}

.section {
  padding: 96px 0;
}

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

/* ---------- Typography ---------- */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--charcoal);
  letter-spacing: -0.005em;
}

.section-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.accent {
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(212, 168, 67, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(212, 168, 67, 0.45);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(51, 51, 51, 0.25);
}

.btn-dark:hover {
  background: var(--charcoal-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(51, 51, 51, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition),
    backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

/* While the full-screen mobile menu is open, lift the header above the
   overlay so the close (X) button stays visible and tappable. */
.site-header.menu-open {
  z-index: 1002;
}

.site-header.menu-open .brand-name {
  color: var(--charcoal);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 1002;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--charcoal);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
}

.brand-name em {
  font-style: normal;
  color: var(--gold);
}

.site-header.scrolled .brand-name {
  color: var(--charcoal);
}

/* Desktop nav (top navbar) */
.desktop-nav {
  display: flex;
  align-items: center;
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav .nav-link {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: color var(--transition);
}

.desktop-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.desktop-nav .nav-link:hover {
  color: var(--white);
}

.desktop-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.site-header.scrolled .desktop-nav .nav-link {
  color: var(--charcoal);
}

.site-header.scrolled .desktop-nav .nav-link:hover {
  color: var(--gold-dark);
}

/* Header actions (language switch + CTA + hamburger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Header CTA button */
.header-cta {
  padding: 11px 24px;
  font-size: 0.88rem;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lang-switch a,
.lang-switch .lang-current {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.lang-switch .lang-current {
  color: var(--gold);
}

.lang-switch a:hover {
  color: var(--gold);
}

.site-header.scrolled .lang-switch a,
.site-header.scrolled .lang-switch .lang-current {
  color: var(--muted);
}

.site-header.scrolled .lang-switch .lang-current,
.site-header.scrolled .lang-switch a:hover {
  color: var(--gold-dark);
}

/* Language switcher inside the light mobile overlay */
.lang-switch--mobile a,
.lang-switch--mobile .lang-current {
  color: var(--muted);
}

.lang-switch--mobile .lang-current,
.lang-switch--mobile a:hover {
  color: var(--gold-dark);
}

/* Hamburger (hidden on desktop, shown on mobile) */
.hamburger {
  position: relative;
  z-index: 1002;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0 10px;
  border-radius: 12px;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-header.scrolled .hamburger:hover {
  background: rgba(51, 51, 51, 0.06);
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition),
    background var(--transition);
}

.site-header.scrolled .hamburger-line {
  background: var(--charcoal);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hamburger.active .hamburger-line {
  background: var(--charcoal);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform var(--transition-slow), opacity var(--transition-slow),
    visibility var(--transition-slow);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-nav .nav-link {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  transition: color var(--transition);
}

.mobile-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.mobile-nav .nav-link:hover {
  color: var(--gold-dark);
}

.mobile-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  font-size: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 40px) 0 80px;
  background: linear-gradient(160deg, #2b2b2b 0%, #333333 45%, #1f1f1f 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}

.hero-orb--1 {
  width: 480px;
  height: 480px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.55), transparent 70%);
}

.hero-orb--2 {
  width: 420px;
  height: 420px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.35), transparent 70%);
  animation-delay: -5s;
}

.hero-orb--3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  animation-delay: -9s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.06);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.96);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  padding: 8px 18px;
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: 999px;
  background: rgba(212, 168, 67, 0.08);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-facts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-facts .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

/* ============================================================
   CARDS (services)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(212, 168, 67, 0.12);
  color: var(--gold-dark);
  margin-bottom: 22px;
  transition: background var(--transition), color var(--transition),
    transform var(--transition);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card:hover .card-icon {
  background: var(--charcoal);
  color: var(--gold);
  transform: scale(1.06);
}

.card-title {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card-text {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 20px;
}

.card-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.card-link span {
  transition: transform var(--transition);
}

.card-link:hover {
  color: var(--charcoal);
  gap: 10px;
}

.card-link:hover span {
  transform: translateX(2px);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.about-intro .section-title {
  margin-bottom: 0;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 18px;
}

.about-list {
  margin: 26px 0 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--charcoal);
  font-weight: 500;
}

.check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.16);
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ============================================================
   PROJECT (in development)
   ============================================================ */
.project-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.project-text {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.project-list strong {
  color: var(--charcoal);
  font-weight: 600;
}

.project-note {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.project-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}

.status-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(212, 168, 67, 0.16);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-aside-text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.project-aside .btn {
  width: 100%;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
}

.process-step {
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 168, 67, 0.5);
}

.process-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 16px;
}

.process-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.process-text {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.process-cta {
  margin-top: 44px;
  text-align: center;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.faq-item.open {
  border-color: rgba(212, 168, 67, 0.5);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.005em;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--gold-dark);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-dark);
  border-radius: 2px;
  transition: transform var(--transition), background var(--transition);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer p {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.contact-lead {
  color: var(--muted);
  max-width: 480px;
  margin: 18px auto 32px;
}

.contact-list {
  max-width: 440px;
  margin: 0 auto 34px;
  text-align: left;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.contact-label {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  text-align: right;
  word-break: break-word;
}

a.contact-value {
  color: var(--gold-dark);
  transition: color var(--transition);
}

a.contact-value:hover {
  color: var(--charcoal);
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.9rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-meta a:hover {
  color: var(--gold);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 10px 28px rgba(212, 168, 67, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition),
    visibility var(--transition), box-shadow var(--transition);
}

.sticky-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(212, 168, 67, 0.55);
}

.sticky-cta::before {
  content: "\2192";
  font-size: 1rem;
  transition: transform var(--transition);
}

.sticky-cta:hover::before {
  transform: translateX(4px);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children inside grids */
.card-grid .reveal:nth-child(2),
.process-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.card-grid .reveal:nth-child(3),
.process-grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.process-grid .reveal:nth-child(4) {
  transition-delay: 0.3s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-cta,
  .header-actions .lang-switch {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* On narrow screens the hero content reaches the bottom of the section,
     so the absolutely positioned scroll cue would overlap the facts line. */
  .scroll-cue {
    display: none;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 32px 24px;
  }

  .contact-card {
    padding: 48px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta {
    justify-content: center;
  }

  .sticky-cta {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .mobile-nav .nav-link {
    font-size: 1.85rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .project-aside {
    padding: 24px 20px;
  }

  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .contact-value {
    text-align: left;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
