/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

:root {
  --ink: #0d1414;
  --ink-soft: #55676b;
  --bg: #ffffff;
  --bg-alt: #f4f4f4;
  --line: #e6eaea;
  --accent: #22b1b9;
  --accent-dark: #16878d;
  --accent-light: #d6eef0;
  --whatsapp: #22b358;
  --whatsapp-dark: #1a8f45;
  --radius: 10px;
  --maxw: 1140px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ============ Reveal animation (defensive: visible by default) ============ */
.reveal { opacity: 1; transform: none; }
.reveal.js-hidden { opacity: 0; transform: translateY(16px); }
.reveal.js-visible {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s ease;
}

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(16,38,59,0.06); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
  font-weight: 800; font-size: 20px; letter-spacing: 0.5px;
  color: var(--accent);
}
.logo-sub {
  font-weight: 500; font-size: 9.5px; letter-spacing: 1.2px;
  color: var(--ink-soft); text-transform: uppercase;
}

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px;
  font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

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

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

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-full { width: 100%; padding: 14px 22px; }

/* ============ Hero ============ */
.hero { padding: 76px 0 90px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 54px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 18px; line-height: 1.6; color: var(--ink-soft);
  max-width: 560px; margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { font-size: 14.5px; color: var(--ink-soft); }
.hero-trust strong { color: var(--ink); }

.hero-photo { position: relative; aspect-ratio: 1 / 1; }
.hero-photo .photo-circle { width: 100%; height: 100%; }
.hero-photo .ring {
  position: absolute; inset: -14px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: .55;
}
.hero-photo .dot {
  position: absolute; bottom: 6%; left: -6%;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent-light); z-index: -1;
}

/* Reusable circular photo */
.photo-circle {
  border-radius: 50%; overflow: hidden; background: var(--bg-alt);
}
.photo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ Sections ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-tag {
  font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.3px;
  color: var(--ink); line-height: 1.15;
  margin-bottom: 20px;
}
.lead-text { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); max-width: 560px; }

.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}

/* Mission / vision cards */
.mv-cards { display: flex; flex-direction: column; gap: 20px; }
.mv-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px;
}
.mv-card h3 { font-size: 15px; font-weight: 700; color: var(--accent-dark); margin-bottom: 10px; }
.mv-card p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

/* ============ Services ============ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px;
}
.service-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.service-photo { height: 150px; overflow: hidden; background: var(--bg-alt); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card-body { padding: 24px 26px 28px; }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.service-card ul { display: flex; flex-direction: column; gap: 9px; }
.service-card li {
  font-size: 14.5px; color: var(--ink-soft); padding-left: 16px; position: relative; line-height: 1.4;
}
.service-card li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ============ Advantages ============ */
.advantages-wrap {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; margin-top: 44px;
}
.advantages-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.adv-item { border-top: 2px solid var(--ink); padding-top: 18px; }
.adv-num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.adv-item h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 10px 0 8px; }
.adv-item p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.advantages-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.advantages-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ Brands / clients text wall ============ */
.wall {
  display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 36px;
}
.wall span {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  letter-spacing: 0.2px;
}
.wall.wall-brands span { text-transform: uppercase; font-size: 14px; letter-spacing: 0.8px; }

/* ============ Photo gallery strip ============ */
.gallery-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ============ Projects ============ */
.projects-wrap {
  display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; align-items: start; margin-top: 44px;
}
.projects-photo { border-radius: var(--radius); overflow: hidden; position: sticky; top: 100px; aspect-ratio: 3/4; }
.projects-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.projects-list { border-top: 1px solid var(--line); }
.project-row {
  display: grid; grid-template-columns: 260px 1fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.project-client { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.project-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ============ Contact ============ */
.contact-methods { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-method {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .15s ease, background .15s ease;
}
.contact-method:hover { border-color: var(--accent); background: var(--bg-alt); }
.contact-method svg { color: var(--accent-dark); flex-shrink: 0; }
.contact-method span { min-width: 0; overflow-wrap: anywhere; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
}
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg-alt);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); background: var(--bg);
}

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-logo .logo-text { font-size: 16px; }
.footer-copy { font-size: 13.5px; color: var(--ink-soft); }

/* ============ Floating WhatsApp button ============ */
.fab-whatsapp {
  position: fixed; bottom: 22px; right: 22px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(34,179,88,0.4);
  transition: transform .15s ease;
}
.fab-whatsapp:hover { transform: scale(1.06); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { max-width: 380px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .advantages-wrap { grid-template-columns: 1fr; gap: 32px; }
  .advantages-photo { aspect-ratio: 16/9; max-width: 420px; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }
  .projects-wrap { grid-template-columns: 1fr; gap: 28px; }
  .projects-photo { position: static; aspect-ratio: 16/9; max-width: 420px; }
  .project-row { grid-template-columns: 1fr; gap: 6px; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; height: calc(100vh - 76px);
    background: var(--bg);
    flex-direction: column; padding: 24px; gap: 4px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-whatsapp span { display: none; }
  .header-actions .btn-whatsapp { padding: 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .advantages-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
