/* ============================================
   UPGYN Sites e Sistemas — Portal Styles
   ============================================ */

:root {
  --navy-dark: #0a1628;
  --navy: #0d1f3c;
  --navy-light: #152a4a;
  --navy-card: #111f38;
  --green: #00e87a;
  --green-light: #00ff88;
  --cyan: #00d4aa;
  --gradient-brand: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  --gradient-text: linear-gradient(135deg, var(--cyan) 0%, var(--green-light) 50%, var(--green) 100%);
  --bg-body: #0a1628;
  --bg-section: #0a1628;
  --bg-section-alt: #0d1f3c;
  --bg-card: #111f38;
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-light: rgba(255, 255, 255, 0.4);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-green: 0 8px 30px rgba(0, 232, 122, 0.2);
  --font-main: 'Outfit', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section__header,
.section__desc,
.google-section__content {
  text-align: left;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-green { color: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--navy-dark);
  box-shadow: var(--shadow-green);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 232, 122, 0.35);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(0, 232, 122, 0.08);
}

.btn--lg { padding: 18px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.header--scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  position: relative;
}

.header__logo img {
  height: 62px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header__nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.header__nav a:not(.header__cta):hover { color: var(--green); }

.header__nav a:not(.header__cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: var(--transition);
}

.header__nav a:not(.header__cta):hover::after { width: 100%; }

.header__cta {
  background: var(--gradient-brand) !important;
  color: var(--navy-dark) !important;
  padding: 10px 22px !important;
  border-radius: 50px;
  font-weight: 600 !important;
}

.header__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}

.header__cta::after { display: none !important; }

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero > .container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  width: 100%;
  max-width: 100%;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.65);
  width: 100%;
  max-width: 100%;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 232, 122, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 232, 122, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  top: -10%;
  right: -5%;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: var(--green);
  bottom: 10%;
  left: -5%;
  animation-delay: -3s;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: #0066ff;
  top: 40%;
  left: 30%;
  opacity: 0.2;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 232, 122, 0.1);
  border: 1px solid rgba(0, 232, 122, 0.25);
  border-radius: 50px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__stat {
  text-align: center;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}

.hero__stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.clients-strip {
  background: var(--navy);
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients-strip__label {
  text-align: center;
  margin-bottom: 36px;
}

.clients-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.clients-carousel__btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 232, 122, 0.35);
  background: var(--bg-card);
  color: var(--green);
  cursor: pointer;
  transition: var(--transition);
}

.clients-carousel__btn svg {
  width: 22px;
  height: 22px;
}

.clients-carousel__btn:hover {
  background: var(--gradient-brand);
  color: var(--navy-dark);
  border-color: transparent;
  box-shadow: var(--shadow-green);
}

.clients-marquee {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  width: 100%;
  border-radius: var(--radius);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.clients-marquee::-webkit-scrollbar {
  display: none;
}

.clients-marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 8px 0;
}

.client-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
  width: 190px;
  height: 190px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--gradient-brand);
  border: 1px solid rgba(0, 255, 136, 0.35);
  border-radius: 28px;
  transition: var(--transition);
  text-align: left;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

a.client-card {
  cursor: pointer;
}

.client-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.18) 0%, transparent 42%);
  pointer-events: none;
}

.client-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 32px rgba(0, 232, 122, 0.35);
  transform: translateY(-6px);
}

.client-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
  border-radius: 50%;
  color: var(--green);
  z-index: 1;
}

.client-card__badge svg {
  width: 16px;
  height: 16px;
}

.client-card__logo {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 76px;
  height: 76px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(10, 22, 40, 0.08);
  z-index: 1;
}

.client-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-card__category {
  position: relative;
  z-index: 1;
  display: inline-block;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--navy-dark);
  color: var(--green);
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.client-card__name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.25;
  max-width: 85%;
}

.section { padding: 100px 0; }

.section__title,
.cta-banner .section__title {
  font-family: var(--font-main);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1.3;
}

.title-accent {
  color: var(--green);
}

.section__title--center {
  text-align: center;
}

.section__header {
  max-width: 720px;
  margin-bottom: 56px;
  text-align: left;
}

.section__title {
  margin-bottom: 20px;
  text-align: left;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.services { background: var(--bg-section); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(0, 232, 122, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 232, 122, 0.1);
  border-radius: 12px;
  color: var(--green);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.service-card__icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.55;
  font-size: 0.9rem;
  flex: 1;
}

.service-card__list {
  margin-top: auto;
}

.service-card__list li {
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.google-section { background: var(--bg-section-alt); }

.google-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.google-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.google-mockup__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--navy-light);
  border-bottom: 1px solid var(--border);
}

.google-mockup__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-dark);
  border-radius: 20px;
  padding: 8px 16px;
  margin-left: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.google-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}

.google-mockup__dot:nth-child(1) { background: #ff5f57; }
.google-mockup__dot:nth-child(2) { background: #febc2e; }
.google-mockup__dot:nth-child(3) { background: #28c840; }

.google-mockup__results { padding: 20px; }

.google-result {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: var(--transition);
}

.google-result--highlight {
  background: rgba(0, 232, 122, 0.08);
  border: 1px solid rgba(0, 232, 122, 0.25);
}

.google-result__url {
  font-size: 0.75rem;
  color: var(--green);
  display: block;
  margin-bottom: 4px;
}

.google-result__title {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 4px;
}

.google-result--highlight .google-result__title { color: var(--text-primary); }

.google-result__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.google-mockup__badge {
  position: absolute;
  top: 60px;
  right: -12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-brand);
  color: var(--navy-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-green);
  animation: badgeBounce 3s ease infinite;
}

@keyframes badgeBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.google-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 0;
}

.google-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.google-feature__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 232, 122, 0.1);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green);
}

.google-feature h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.google-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.creativity { background: var(--bg-section); }

.creativity__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.creativity-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
}

.creativity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 232, 122, 0.3);
}

.creativity-card--accent {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--navy-dark);
}

.creativity-card--accent .creativity-card__number { color: rgba(10, 22, 40, 0.3); }

.creativity-card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(0, 232, 122, 0.25);
  line-height: 1;
  margin-bottom: 16px;
}

.creativity-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.creativity-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.creativity-card--accent p { color: rgba(10, 22, 40, 0.7); }

.process { background: var(--bg-section-alt); }

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--cyan), var(--green));
  opacity: 0.3;
}

.process-step {
  text-align: left;
  position: relative;
}

.process-step__circle {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 2px solid var(--green);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 20px;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.process-step:hover .process-step__circle {
  background: var(--gradient-brand);
  color: var(--navy-dark);
  border-color: transparent;
  box-shadow: var(--shadow-green);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta-banner {
  position: relative;
  padding: 100px 0;
  background: var(--navy);
  overflow: hidden;
  text-align: center;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 232, 122, 0.1) 0%, transparent 50%);
}

.cta-banner .section__title {
  margin-bottom: 20px;
  text-align: center;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.contact { background: var(--bg-section); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

a.contact__item:hover { color: var(--green); }

.contact__item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--green);
}

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--navy-dark);
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 232, 122, 0.15);
  background: var(--navy-light);
}

.form-group select option {
  background: var(--navy-dark);
  color: var(--text-primary);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__brand img {
  height: 62px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__links h4,
.footer__social h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover { color: var(--green); }

.footer__social-icons { display: flex; gap: 12px; }

.footer__social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: var(--transition);
}

.footer__social-icons a:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(0, 232, 122, 0.08);
}

.footer__social-icons svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: var(--navy-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 232, 122, 0.45);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.visible:hover {
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; }
  .google-section__grid { grid-template-columns: 1fr; gap: 40px; }
  .creativity__grid { grid-template-columns: repeat(2, 1fr); }
  .process__timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process__timeline::before { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header__nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  .header__toggle { display: flex; }
  .header__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .header__toggle.active span:nth-child(2) { opacity: 0; }
  .header__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero__stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .clients-carousel { gap: 10px; }
  .clients-carousel__btn { width: 38px; height: 38px; }
  .clients-carousel__btn svg { width: 18px; height: 18px; }
  .creativity__grid { grid-template-columns: 1fr; }
  .process__timeline { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 70px 0; }
}
