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

:root {
  --white:  #FFFFFF;
  --light:  #F7F7F7;
  --panel:  #EFEFEF;
  --border: #E5E5E5;
  --mid:    #C8C8C8;
  --text:   #111111;
  --muted:  #666666;
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ══ HEADER ══ */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(20px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  letter-spacing: 0.09em; color: var(--text);
  text-decoration: none;
  display: flex; flex-direction: column;
  line-height: 1;
}
.logo-tagline {
  font-family: var(--font-body);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.2em; color: var(--muted);
  text-transform: uppercase; margin-top: 3px;
}

nav { display: flex; gap: 28px; }
nav a {
  position: relative;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  padding-bottom: 2px;
  transition: color 0.2s;
}
nav a::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--text);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
nav a:hover { color: var(--text); }
nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.cta-header {
  background: var(--text); color: #fff;
  font-size: 13px; font-weight: 500;
  padding: 9px 22px; border-radius: 2px;
  text-decoration: none; letter-spacing: 0.04em;
  transition: opacity 0.2s; white-space: nowrap;
}
.cta-header:hover { opacity: 0.7; }

/* ══ HERO ══ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 80px);
  overflow: hidden; background: var(--white);
}

.hero-content { position: relative; max-width: 660px; }

.hero-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--mid); flex-shrink: 0;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.5vw, 96px);
  font-weight: 700; line-height: 0.92;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 28px;
}

.hero-desc {
  font-size: 16px; color: var(--muted);
  max-width: 400px; line-height: 1.75;
  margin-bottom: 40px; font-weight: 300;
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-primary {
  background: var(--text); color: #fff;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 13px 28px; border-radius: 2px;
  text-decoration: none; letter-spacing: 0.05em;
  transition: opacity 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { opacity: 0.72; transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid var(--text); color: var(--text);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 13px 28px; border-radius: 2px;
  text-decoration: none; letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--text); color: #fff; }

.hero-specs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-spec {
  font-size: 12px; font-weight: 500;
  color: var(--muted); letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 12px;
  line-height: 1;
}
.hero-spec::before {
  content: '';
  display: block; width: 18px; height: 1px;
  background: var(--mid); flex-shrink: 0;
}

/* ══ SECTION BASE ══ */
section { padding: clamp(72px, 10vh, 110px) clamp(24px, 5vw, 80px); }

.section-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: block;
  width: 20px; height: 1px; background: var(--mid); flex-shrink: 0;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700; line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--text); margin-bottom: 48px;
}

/* ══ CATALOG ══ */
#gallery { background: var(--light); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.gallery-item {
  background: var(--white);
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; padding: 24px;
  transition: background 0.25s;
  overflow: hidden;
  cursor: default;
}
.gallery-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--text);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover { background: var(--light); }
.gallery-item:hover::before { transform: scaleX(1); }
.gallery-item svg {
  width: 34px; height: 34px;
  color: var(--mid); transition: color 0.25s; flex-shrink: 0;
}
.gallery-item:hover svg { color: var(--text); }
.gallery-item-label {
  font-size: 13px; font-weight: 500;
  color: var(--muted); text-align: center;
  transition: color 0.25s; letter-spacing: 0.02em;
}
.gallery-item:hover .gallery-item-label { color: var(--text); }

/* ══ HOW WE WORK ══ */
#work { background: var(--white); }

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.work-card {
  background: var(--white);
  padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: background 0.2s;
}
.work-card:hover { background: var(--light); }
.work-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--text);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover::before { transform: scaleX(1); }

.work-num {
  font-family: var(--font-display);
  font-size: 80px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--border); line-height: 0.82;
  margin-bottom: 20px; margin-left: -4px;
  transition: color 0.3s; user-select: none;
}
.work-card:hover .work-num { color: var(--panel); }
.work-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.work-desc  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ══ BRANDS ══ */
#partners { background: var(--light); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.partner-cell {
  background: var(--white);
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; cursor: default;
}
.partner-cell:hover { background: var(--panel); }
.partner-name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); transition: color 0.2s;
}
.partner-cell:hover .partner-name { color: var(--text); }

/* ══ WHY ══ */
#why { background: var(--white); }

.why-list { border-top: 1px solid var(--border); }
.why-row {
  display: flex; align-items: center;
  gap: 28px; padding: 22px 0;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-n {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 400;
  color: var(--mid); letter-spacing: 0.12em;
  flex-shrink: 0; width: 30px; line-height: 1;
}
.why-t {
  font-size: 17px; font-weight: 500;
  color: var(--text); line-height: 1.2;
}

/* ══ CONTACT ══ */
#contact { background: var(--light); }

.phone-bar {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 24px; padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}
.phone-bar-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 60px);
  font-weight: 700; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none;
  line-height: 1; transition: opacity 0.2s;
}
.phone-bar-num:hover { opacity: 0.5; }
.phone-bar-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-row  { display: flex; align-items: flex-start; gap: 18px; }
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 2px; display: flex; align-items: center;
  justify-content: center; color: var(--text);
}
.contact-icon svg { width: 17px; height: 17px; }
.contact-key {
  font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.contact-val {
  font-size: 15px; font-weight: 500; color: var(--text);
  text-decoration: none; display: block; transition: opacity 0.2s;
}
a.contact-val:hover { opacity: 0.6; }
.contact-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.map-wrap {
  position: relative; aspect-ratio: 4 / 3;
  background: var(--white); border: 1px solid var(--border);
  overflow: hidden; border-radius: 2px;
}
.map-wrap iframe {
  width: 100%; height: 100%; border: none;
  filter: grayscale(1) contrast(0.88); display: block;
}
.map-overlay-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--text); color: #fff;
  font-size: 11px; font-weight: 500;
  padding: 6px 14px; border-radius: 2px; letter-spacing: 0.04em;
}

/* ══ WHATSAPP ══ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 54px; height: 54px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.38);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPopIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
  animation-delay: 0.6s;
}
@keyframes waPopIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 26px rgba(37,211,102,0.52); }
.wa-float svg { width: 27px; height: 27px; fill: white; }

/* ══ FOOTER ══ */
footer {
  background: var(--text);
  padding: 44px clamp(24px, 5vw, 80px);
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 5px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  letter-spacing: 0.09em; color: #fff; line-height: 1;
}
.footer-tagline {
  font-size: 10px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
  margin-top: 2px;
}
.footer-city  { font-size: 13px; color: rgba(255,255,255,0.45); align-self: center; }
.footer-copy  { font-size: 11px; color: rgba(255,255,255,0.28); align-self: flex-end; }

/* ══ REVEAL ══ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══ RESPONSIVE ══ */
@media (min-width: 560px) {
  .hero-specs        { flex-direction: row; flex-wrap: wrap; gap: 0 32px; align-items: center; }
  .hero-spec         { padding: 4px 0; }
  .gallery-grid      { grid-template-columns: repeat(3, 1fr); }
  .partners-grid     { grid-template-columns: repeat(3, 1fr); }
  .why-list          { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; }
  .why-row           { padding: 26px 0; }
  .work-grid         { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .gallery-grid      { grid-template-columns: repeat(4, 1fr); }
  .partners-grid     { grid-template-columns: repeat(6, 1fr); }
  .why-list          { gap: 0 96px; }
  .why-row           { padding: 28px 0; }
  .work-grid         { grid-template-columns: repeat(4, 1fr); }
  .contact-layout    { grid-template-columns: 1fr 1fr; gap: 64px; }
}
@media (hover: hover) {
  .why-row:hover { transform: translateX(7px); }
}
@media (max-width: 720px) {
  nav { display: none; }
  h1  { font-size: clamp(36px, 10vw, 56px); }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; width: 100%; }
  .phone-bar { flex-direction: column; gap: 20px; }
  .phone-bar-actions { flex-direction: column; width: 100%; }
  .phone-bar-actions .btn-primary,
  .phone-bar-actions .btn-outline { width: 100%; text-align: center; justify-content: center; }
  footer { flex-direction: column; gap: 16px; }
  .footer-copy  { align-self: flex-start; }
  .footer-city  { align-self: flex-start; }
}
