/* ============================================
   Expocreatives — Design tokens
   ============================================ */
:root {
  --color-primary: #14a89c;
  --color-primary-dark: #0c7d73;
  --color-primary-light: #5fd4c8;
  --color-ink: #0f172a;
  --color-body: #475569;
  --color-muted: #94a3b8;
  --color-bg: #ffffff;
  --color-bg-soft: #f6f9f9;
  --color-bg-soft-2: #eef5f4;
  --color-border: #e2e8f0;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1160px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  color: var(--color-ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 4.5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.9rem, 2.5vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem); }

p { max-width: 65ch; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: clamp(64px, 8vw, 112px);
}

/* ============================================
   Utility
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: var(--color-bg-soft-2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center p {
  margin-inline: auto;
}

.bg-soft {
  background: var(--color-bg-soft);
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  border-color: var(--color-ink);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--color-ink);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-ink);
}

.brand .mark {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-body);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--color-ink);
  background: var(--color-bg-soft-2);
}

.nav-links a.active {
  color: var(--color-primary-dark);
  background: var(--color-bg-soft-2);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 76px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 20px 24px 32px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 16px;
    font-size: 1.05rem;
  }

  .nav-cta .btn-outline { display: none; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 128px) clamp(56px, 8vw, 96px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(600px 320px at 15% 20%, rgba(20, 168, 156, 0.16), transparent 70%),
    radial-gradient(500px 280px at 85% 10%, rgba(20, 168, 156, 0.12), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero .lead {
  font-size: 1.15rem;
  margin-bottom: 34px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  color: var(--color-ink);
  font-weight: 700;
}

.hero-stats div span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--color-ink) 0%, #163f3b 55%, var(--color-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-visual .mark {
  width: 45%;
  height: 45%;
  opacity: 0.95;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.35));
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 26px);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; margin-inline: auto; }
}

/* ============================================
   Cards
   ============================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-bg-soft-2);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.97rem;
}

.card ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--color-body);
}

.card ul li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-primary);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-ink);
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.card:hover .card-link svg {
  transform: translateX(4px);
}

/* Product card variant */
.product-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
}

.product-card .product-top {
  padding: 36px;
}

.product-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: var(--color-bg-soft-2);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ============================================
   CTA band
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--color-ink) 0%, #163f3b 100%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 240px at 90% 0%, rgba(20, 168, 156, 0.35), transparent 70%);
}

.cta-band > * { position: relative; }

.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.75); }

/* ============================================
   About / Info table
   ============================================ */
.info-table {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.info-table .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--color-border);
}

.info-table .row:last-child { border-bottom: none; }

.info-table .row dt {
  font-weight: 600;
  color: var(--color-ink);
  font-size: 0.92rem;
}

.info-table .row dd {
  color: var(--color-body);
  font-size: 0.92rem;
}

@media (max-width: 600px) {
  .info-table .row { grid-template-columns: 1fr; gap: 4px; }
}

.leader-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  align-items: flex-start;
}

.leader-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--color-primary) 0%, var(--color-ink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
}

.leader-card h3 { margin-bottom: 2px; }
.leader-card .role {
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.badges span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-bg-soft-2);
  padding: 6px 12px;
  border-radius: 999px;
}

@media (max-width: 600px) {
  .leader-card { grid-template-columns: 1fr; text-align: left; }
}

/* Mission block */
.mission-block {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
}

.mission-block .quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.4;
  font-weight: 700;
  margin-bottom: 8px;
}

.mission-block p {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  color: var(--color-ink);
  font-weight: 500;
  max-width: 52ch;
}

/* ============================================
   Timeline / process (services)
   ============================================ */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-marker .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.timeline-marker .line {
  flex: 1;
  width: 2px;
  background: var(--color-border);
  margin-top: 4px;
}

.timeline-item:last-child .line { display: none; }

.timeline-content { padding-bottom: 40px; }
.timeline-content h3 { margin-bottom: 8px; }

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 14px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  display: none;
}

.form-status.is-visible { display: block; }

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-bg-soft-2);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon svg { width: 20px; height: 20px; }

.contact-info-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.92rem; }

/* ============================================
   Page hero (inner pages)
   ============================================ */
.page-hero {
  padding-block: clamp(56px, 8vw, 88px) clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 420px;
  background: radial-gradient(560px 260px at 20% 10%, rgba(20, 168, 156, 0.14), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.page-hero .section-head { margin-bottom: 0; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 64px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer-brand .mark { width: 30px; height: 30px; }

.site-footer p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}

.site-footer ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   Reveal on scroll
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Small spacing utilities (kept out of inline
   style attributes so the site can ship a
   strict style-src CSP with no 'unsafe-inline')
   ============================================ */
.u-mb-16 { margin-bottom: 16px; }
.u-mt-12 { margin-top: 12px; }
.u-mt-24-mb-0 { margin-top: 24px; margin-bottom: 0; }
