:root {
  --background: #0b0910;
  --surface: #17121f;
  --primary: #7c4dff;
  --primary-soft: #a78bfa;
  --text: #f7f5fa;
  --muted: #b9b3c3;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; background: var(--background); color: var(--text); font-family: "Inter", sans-serif; }
a { color: inherit; text-decoration: none; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav { width: min(100% - 48px, 1296px); min-height: 88px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: block; width: 300px; height: 100px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; color: var(--muted); font-size: 14px; }
.nav-links a { transition: color 180ms ease; }
.nav-links a:hover { color: var(--text); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; background: rgba(255, 255, 255, 0.04); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button { min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; transition: transform 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-light { min-height: 44px; padding-inline: 20px; background: var(--text); color: var(--background); }
.nav-links .button-light:hover { color: #000; }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 40px rgba(124, 77, 255, 0.24); }
.button-primary:hover { color: #000; }
.button-secondary { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.02); color: var(--text); }

.hero { position: relative; min-height: calc(100vh - 89px); overflow: hidden; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; top: -260px; right: -120px; width: 720px; height: 720px; border-radius: 50%; background: rgba(124, 77, 255, 0.2); filter: blur(140px); pointer-events: none; }
.hero-container { position: relative; width: min(100% - 48px, 1296px); margin-inline: auto; padding: 88px 0 104px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 76px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { margin-bottom: 28px; color: var(--primary-soft); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { max-width: 790px; color: var(--primary-soft); font-size: clamp(54px, 5.3vw, 76px); line-height: 1.02; letter-spacing: -0.055em; }
.subheadline { max-width: 680px; margin-top: 28px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.focus-card { position: relative; padding: 28px; border: 1px solid rgba(167, 139, 250, 0.28); border-radius: 28px; background: rgba(23, 18, 31, 0.76); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.focus-label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.focus-title { margin-top: 54px; color: var(--text); font-size: 28px; line-height: 1.35; letter-spacing: -0.025em; }
.focus-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.focus-tags span { padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--text); font-size: 12px; }

.services { background: #f7f5fa; color: #17121f; }
.services-container { width: min(100% - 48px, 1296px); margin-inline: auto; padding-block: 112px; }
.services-header { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr); align-items: end; gap: 72px; }
.section-eyebrow { margin-bottom: 18px; color: #7048df; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.services-heading h2 { max-width: 660px; font-size: clamp(42px, 4.1vw, 58px); line-height: 1.05; letter-spacing: -0.05em; }
.services-intro { max-width: 410px; color: #6e6875; font-size: 17px; line-height: 1.65; }
.services-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 286px; padding: 28px; border: 1px solid #e4dfe8; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 180ms ease, box-shadow 180ms ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(30, 20, 40, 0.1); }
.service-number { color: #7548ec; font-size: 13px; font-weight: 700; }
.service-content h3 { font-size: 25px; line-height: 1.2; letter-spacing: -0.025em; }
.service-content p { margin-top: 14px; color: #6e6875; font-size: 16px; line-height: 1.55; }
.service-card-light { background: #fff; }
.service-card-dark { background: #17121f; border-color: #17121f; color: #f7f5fa; }
.service-card-dark .service-number { color: #ad91ff; }
.service-card-dark .service-content p { color: #c8c1ce; }
.service-card-purple { background: #eee9fa; border-color: #ded4f5; }

.process { background: #0b0910; color: var(--text); }
.process-container { width: min(100% - 48px, 1296px); margin-inline: auto; padding-block: 112px; }
.process-header { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr); align-items: end; gap: 72px; }
.process-eyebrow { margin-bottom: 18px; color: var(--primary-soft); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.process-heading h2 { font-size: clamp(42px, 4.1vw, 58px); line-height: 1.05; letter-spacing: -0.05em; }
.process-intro { max-width: 440px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.process-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.process-card { min-height: 330px; padding: 26px 24px; border: 1px solid rgba(167, 139, 250, 0.28); border-radius: 20px; background: rgba(255, 255, 255, 0.055); display: flex; flex-direction: column; justify-content: space-between; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.process-card:hover { transform: translateY(-5px); border-color: rgba(167, 139, 250, 0.55); background: rgba(255, 255, 255, 0.075); }
.process-number { color: var(--primary); font-size: 42px; font-weight: 400; line-height: 1; letter-spacing: -0.05em; }
.process-content { margin-top: 40px; }
.process-step { margin-bottom: 10px; color: var(--primary-soft); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.process-content h3 { color: var(--text); font-size: 21px; line-height: 1.25; letter-spacing: -0.025em; }
.process-content > p:last-child { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.portfolio { background: #f7f5fa; color: #17121f; }
.portfolio-container { width: min(100% - 48px, 1296px); margin-inline: auto; padding-block: 96px; }
.portfolio-header { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr); align-items: end; gap: 72px; }
.portfolio-eyebrow { margin-bottom: 18px; color: #7048df; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.portfolio-heading h2 { max-width: 760px; font-size: clamp(42px, 4.1vw, 58px); line-height: 1.05; letter-spacing: -0.05em; }
.portfolio-intro { max-width: 430px; color: #6e6875; font-size: 16px; line-height: 1.65; }

.featured-case { margin-top: 44px; }
.featured-media { min-height: 500px; position: relative; overflow: hidden; border-radius: 24px; background: #17121f; }
.featured-media > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform 500ms ease; }
.featured-media:hover > img { transform: scale(1.025); }
.featured-media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(11, 9, 16, 0.96)); }
.featured-caption { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 24px; color: #fff; }
.featured-caption span, .case-category { color: #7048df; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.featured-caption span { color: #d0c1ff; }
.featured-caption h3 { margin-top: 7px; font-size: 28px; letter-spacing: -0.035em; }
.featured-caption p { max-width: 560px; margin-top: 7px; color: #d4ced9; font-size: 14px; line-height: 1.5; }
.case-button { flex: 0 0 auto; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: #17121f; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; transition: transform 180ms ease; }
.case-button:hover { transform: translateY(-2px); }

.case-story { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; }
.story-block { padding: 26px; border: 1px solid #e1dbe7; border-radius: 24px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; transition: transform 180ms ease, border-color 180ms ease; }
.story-block:hover { transform: translateY(-3px); border-color: #b9a4eb; }
.story-block-accent { background: #17121f; border-color: #17121f; color: #fff; }
.story-block span, .whatsapp-impact span { color: #7048df; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.story-block-accent span { color: #ad91ff; }
.story-block p { margin-top: 32px; font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -0.02em; }

.secondary-cases { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.case-card { overflow: hidden; border: 1px solid #e1dbe7; border-radius: 18px; background: #fff; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.case-card:hover { transform: translateY(-5px); border-color: #b9a4eb; box-shadow: 0 20px 50px rgba(30, 20, 40, 0.1); }
.case-card > img { width: 100%; height: 170px; display: block; object-fit: cover; }
.case-card-body { padding: 18px; }
.case-card-body h3 { margin-top: 7px; font-size: 20px; letter-spacing: -0.03em; }
.case-card-body > p { min-height: 62px; margin-top: 9px; color: #625c69; font-size: 13px; line-height: 1.5; }
.case-card dl { margin-top: 24px; display: grid; gap: 18px; }
.case-card dt { color: #7048df; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.case-card dd { margin-top: 6px; color: #625c69; font-size: 14px; line-height: 1.55; }
.case-link { margin-top: 16px; display: inline-flex; color: #17121f; font-size: 12px; font-weight: 700; border-bottom: 1px solid #17121f; }

.andae-preview { height: 170px; padding: 14px; background: #17121f; display: grid; place-items: center; overflow: hidden; }
.mini-phone { width: min(100%, 220px); padding: 8px; border: 1px solid rgba(167, 139, 250, 0.35); border-radius: 18px; background: #ebe6de; color: #17121f; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28); transform: rotate(1.5deg); transition: transform 250ms ease; }
.case-card-andae:hover .mini-phone { transform: rotate(0deg) translateY(-3px); }
.mini-phone .phone-header { padding: 6px 6px 10px; }
.mini-phone .phone-avatar { width: 30px; height: 30px; font-size: 12px; }
.mini-phone .phone-header strong { font-size: 12px; }
.mini-phone .phone-header small { font-size: 9px; }
.mini-phone .chat { padding: 12px 4px 4px; gap: 7px; }
.mini-phone .message { padding: 7px 9px; font-size: 9px; }

.whatsapp-case { margin-top: 20px; padding: 52px; border-radius: 28px; background: #17121f; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 80px; overflow: hidden; }
.whatsapp-copy .case-category { color: #ad91ff; }
.whatsapp-copy > h3 { max-width: 650px; margin-top: 16px; font-size: clamp(34px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -0.045em; }
.whatsapp-copy > p { max-width: 620px; margin-top: 22px; color: #c8c1ce; font-size: 16px; line-height: 1.7; }
.whatsapp-impact { max-width: 620px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.whatsapp-impact span { color: #ad91ff; }
.whatsapp-impact p { margin-top: 8px; color: #f7f5fa; font-size: 15px; line-height: 1.6; }
.phone-mockup { padding: 16px; border: 1px solid rgba(167, 139, 250, 0.35); border-radius: 30px; background: #ebe6de; box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32); color: #17121f; }
.phone-header { padding: 10px 10px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(23, 18, 31, 0.1); }
.phone-avatar { width: 38px; height: 38px; border-radius: 50%; background: #7048df; color: #fff; display: grid; place-items: center; font-weight: 700; }
.phone-header div { display: flex; flex-direction: column; gap: 2px; }
.phone-header small { color: #6e6875; }
.chat { padding: 20px 8px 8px; display: flex; flex-direction: column; gap: 12px; }
.message { max-width: 82%; padding: 11px 13px; border-radius: 14px; font-size: 13px; line-height: 1.45; box-shadow: 0 3px 10px rgba(23, 18, 31, 0.08); }
.message.client { align-self: flex-end; border-bottom-right-radius: 4px; background: #d9fdd3; }
.message.assistant { align-self: flex-start; border-bottom-left-radius: 4px; background: #fff; }

.about { background: #0b0910; color: var(--text); }
.about-container { width: min(100% - 48px, 1180px); margin-inline: auto; padding-block: 112px; display: grid; grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(64px, 8vw, 120px); }
.about-photo { min-height: 560px; position: relative; overflow: hidden; border-radius: 24px; background: #17121f; }
.about-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(11, 9, 16, 0.7)); pointer-events: none; }
.about-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center top; transition: transform 400ms ease; }
.about-photo:hover img { transform: scale(1.02); }
.about-photo span { position: absolute; z-index: 1; left: 20px; bottom: 20px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(11, 9, 16, 0.68); color: #f7f5fa; font-size: 11px; backdrop-filter: blur(12px); }
.about-eyebrow { margin-bottom: 18px; color: var(--primary-soft); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.about-content h2 { max-width: 650px; font-size: clamp(42px, 4vw, 56px); line-height: 1.06; letter-spacing: -0.05em; }
.about-text { max-width: 680px; margin-top: 30px; display: grid; gap: 18px; }
.about-text p { color: var(--muted); font-size: 16px; line-height: 1.75; }

.contact-cta { position: relative; overflow: hidden; background: #7c48f5; color: #fff; }
.contact-cta::after { content: ""; position: absolute; width: 410px; height: 410px; top: -270px; right: 110px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; pointer-events: none; }
.contact-cta-container { position: relative; z-index: 1; width: min(100% - 48px, 1296px); min-height: 264px; margin-inline: auto; padding-block: 62px; display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.contact-eyebrow { margin-bottom: 18px; color: rgba(255, 255, 255, 0.9); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-cta h2 { font-size: clamp(40px, 4vw, 58px); line-height: 1.02; letter-spacing: -0.05em; }
.contact-button { min-height: 52px; padding: 0 25px; flex: 0 0 auto; border-radius: 999px; background: #fff; color: #17121f; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; transition: transform 180ms ease, box-shadow 180ms ease; }
.contact-button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(31, 13, 76, 0.2); }

.site-footer { background: #07060b; color: var(--text); }
.footer-container { width: min(100% - 48px, 1296px); min-height: 168px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 48px; }
.footer-brand { justify-self: start; display: inline-flex; align-items: center; }
.footer-logo { display: block; width: 300px; height: 100px; object-fit: contain; object-position: left center; }
.footer-nav { display: flex; align-items: center; justify-content: center; gap: 32px; color: #9f99a8; font-size: 12px; }
.footer-nav a, .footer-brand { transition: color 180ms ease; }
.footer-nav a:hover, .footer-brand:hover { color: #fff; }
.footer-copyright { justify-self: end; color: #77717f; font-size: 12px; }
@media (max-width: 900px) {
  .site-header { position: relative; }
  .nav { min-height: 82px; }
  .menu-toggle { display: flex; position: relative; z-index: 20; }
  .nav-links { position: absolute; top: calc(100% + 1px); left: 24px; right: 24px; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; background: rgba(16, 12, 22, 0.96); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; flex-direction: column; align-items: stretch; gap: 0; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links li > a:not(.button) { display: block; padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: var(--text); font-size: 16px; }
  .nav-links .button-light { width: 100%; margin-top: 18px; }
  .hero-container { grid-template-columns: 1fr; }
  .focus-card { width: min(100%, 520px); }
  .services-header { grid-template-columns: 1fr; gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .process-header { grid-template-columns: 1fr; gap: 28px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-header { grid-template-columns: 1fr; gap: 28px; }
  .featured-media { min-height: 500px; }
  .secondary-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .whatsapp-case { grid-template-columns: 1fr; gap: 48px; }
  .phone-mockup { width: min(100%, 480px); }
  .about-container { grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
  .about-photo { min-height: 500px; }
  .contact-cta-container { min-height: 250px; }
  .contact-cta::after { right: -90px; }
  .footer-container { grid-template-columns: 1fr auto; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; padding-bottom: 34px; }
  .footer-copyright { grid-column: 2; grid-row: 1; }
}

@media (max-width: 560px) {
  .nav, .hero-container, .services-container, .process-container, .portfolio-container, .about-container, .contact-cta-container, .footer-container { width: min(100% - 32px, 1296px); }
  .nav-links { left: 16px; right: 16px; }
  .logo { width: 200px; height: 66px; }
  .button-light { padding-inline: 15px; font-size: 13px; }
  .hero-container { padding-block: 64px 72px; gap: 48px; }
  h1 { font-size: clamp(38px, 11vw, 50px); }
  .subheadline { font-size: 16px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .services-container { padding-block: 72px; }
  .services-heading h2 { font-size: 40px; }
  .process-container { padding-block: 72px; }
  .process-heading h2 { font-size: 40px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 290px; }
  .portfolio-container { padding-block: 72px; }
  .portfolio-heading h2 { font-size: 40px; }
  .featured-media { min-height: 440px; }
  .featured-caption { left: 20px; right: 20px; bottom: 20px; align-items: flex-start; flex-direction: column; gap: 16px; }
  .case-story { grid-template-columns: 1fr; }
  .story-block { min-height: 210px; }
  .secondary-cases { grid-template-columns: 1fr; }
  .case-card > img { height: 220px; min-height: 0; }
  .case-card-andae .andae-preview { height: 220px; min-height: 0; }
  .whatsapp-case { padding: 28px 20px; }
  .whatsapp-copy > h3 { font-size: 34px; }
  .about-container { padding-block: 72px; grid-template-columns: 1fr; gap: 44px; }
  .about-photo { min-height: 470px; }
  .about-content h2 { font-size: 40px; }
  .about-text p { font-size: 15px; }
  .contact-cta-container { min-height: 330px; padding-block: 56px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 32px; }
  .contact-cta h2 { font-size: 40px; }
  .contact-cta h2 br { display: none; }
  .contact-button { width: 100%; }
  .contact-cta::after { width: 300px; height: 300px; top: -210px; right: -130px; }
  .footer-container { min-height: 250px; padding-block: 42px; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
  .footer-nav { padding: 0; flex-wrap: wrap; justify-content: flex-start; gap: 16px 24px; }
  .footer-copyright { align-self: flex-start; }
  .footer-logo { width: 200px; height: 66px; }
}
