:root {
  --bg: #eef2f3;
  --ink: #121b22;
  --ink-soft: #3d4953;
  --brand: #0d3b66;
  --brand-2: #1f7a8c;
  --accent: #ff8c42;
  --card: #ffffff;
  --line: #d9e1e7;
  --shadow: 0 20px 50px rgba(7, 25, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 0%, #f7fafb 0%, var(--bg) 40%, #e6edf2 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 800;
  font-size: 0.76rem;
  margin: 0 0 10px;
}

h1,
h2,
h3,
strong {
  font-family: "Sora", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 0;
}

h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.4rem);
  margin: 0 0 14px;
}

p {
  margin: 0;
  color: var(--ink-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(238, 242, 243, 0.88);
  border-bottom: 1px solid rgba(13, 59, 102, 0.08);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 10px;
  background: #f1ece2;
  border: 1px solid rgba(13, 59, 102, 0.12);
  padding: 4px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: #546270;
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  font-weight: 600;
}

.alfa-instagram {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: grid;
  place-items: center;
  color: #ffffff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 8px 18px rgba(214, 36, 159, 0.28);
}

.alfa-instagram:hover {
  color: #ffffff;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: 0.25s ease;
}

.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 59, 102, 0.95), rgba(31, 122, 140, 0.72)),
    url("https://images.unsplash.com/photo-1494522358652-f30e61a60313?auto=format&fit=crop&w=1700&q=80") center/cover;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-content {
  color: #eff8ff;
}

.hero-content p {
  color: #d6e8f5;
  max-width: 62ch;
  margin-top: 14px;
}

.hero-content .eyebrow {
  color: #b7ddff;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-primary {
  background: var(--accent);
  color: #202122;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.35rem;
}

.hero-card ul {
  margin: 12px 0 0;
  padding-left: 16px;
}

.hero-card li {
  margin: 8px 0;
  color: #34414c;
}

.hero-whatsapp {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 800;
  color: var(--brand);
}

.stats {
  padding: 24px 0 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stats article {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 16px;
}

.stats h3 {
  margin: 0;
  font-size: 2rem;
  color: var(--brand);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.about-highlight {
  background: linear-gradient(170deg, #0f2234, #1a3f58);
  color: #eef8ff;
  border-radius: 22px;
  padding: 26px;
}

.about-highlight h3 {
  margin-top: 0;
}

.about-highlight ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.about-highlight li {
  margin: 10px 0;
}

.services-grid,
.portfolio-grid,
.testimonials-grid {
  margin-top: 26px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
}

.project-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.project-card div {
  padding: 16px;
}

.project-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.client-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.client-col ul {
  margin: 0;
  padding-left: 18px;
}

.client-col li {
  margin: 8px 0;
  color: #25313b;
}

.instagram-clients {
  padding-top: 14px;
}

.instagram-band {
  margin-top: 20px;
  background: linear-gradient(180deg, #edf4f9, #e8f0f6);
  border-top: 1px solid #d7e2ec;
  border-bottom: 1px solid #d7e2ec;
  padding: 44px 0;
}

.clients-carousel {
  margin-top: 24px;
}

.clients-carousel .carousel-item {
  padding: 6px 0;
}

.company-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 124px;
  background: #ffffff;
  border: 1px solid #d8e2ea;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(12, 31, 50, 0.08);
}

.company-logo:hover {
  border-color: #b4c8da;
  transform: translateY(-2px);
}

.logo-badge {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.clients-controls {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.clients-control {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #b7c9d9;
  background: #ffffff;
  color: #16344d;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.clients-control:hover {
  background: #0d3b66;
  color: #ffffff;
  border-color: #0d3b66;
}

.clients-carousel .carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: #94a9bc;
}

.clients-carousel .carousel-indicators .active {
  background-color: #0d3b66;
}

blockquote {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  color: #25313b;
  font-size: 1.02rem;
}

cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.contact-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #ccd7e2;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccd8e2;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  border-top: 1px solid rgba(13, 59, 102, 0.16);
  background: linear-gradient(180deg, #edf3f7, #e3edf4);
  padding: 28px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-brand strong {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  color: #132b3f;
}

.footer-brand p {
  margin-top: 4px;
  font-size: 0.9rem;
  color: #425365;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-icon-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #c5d4e1;
  background: #ffffff;
  color: #173650;
  transition: transform 0.18s, box-shadow 0.18s;
}

.footer-icon-link:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(13, 59, 102, 0.18);
}

.footer-icon-link.alfa-instagram {
  background: radial-gradient(circle at 30% 110%, #f9ed32 0%, #ee2a7b 40%, #6228d7 80%, #4f9ed8 100%);
  border-color: transparent;
  color: #fff;
}

.footer-icon-link.footer-whatsapp {
  background: #1faa59;
  border-color: transparent;
  color: #fff;
}

.footer-icon-link.footer-whatsapp:hover {
  background: #178f4a;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  background: #1faa59;
  color: #fff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(10, 60, 30, 0.35);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 78px;
  z-index: 39;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(6, 25, 43, 0.3);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.thanks-wrap {
  min-height: calc(100dvh - 140px);
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.thanks-card {
  width: min(720px, 92vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.thanks-card h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.thanks-card p {
  margin-bottom: 18px;
}

.thanks-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .section {
    padding: 64px 0;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    width: min(320px, 86vw);
    height: calc(100dvh - 76px);
    background: #ffffff;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    transform: translateX(102%);
    transition: transform 0.25s ease;
    gap: 16px;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .stats-grid,
  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .instagram-band {
    padding: 34px 0;
  }

  .hero {
    padding-top: 70px;
  }

  .project-card img {
    height: 200px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .scroll-top {
    bottom: 78px;
  }
}
