/* Shared layout for inner pages (Media, Webdesign) */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(10, 12, 13, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 34px; width: auto; }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--fg-muted);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  flex-shrink: 0;
}
.nav__icon-btn:hover { border-color: #25d366; color: #25d366; }
.nav__icon-btn svg { width: 18px; height: 18px; }

.nav__cta {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  color: var(--fg);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.nav__cta:hover { border-color: var(--accent); background: rgba(46, 196, 198, 0.08); }

/* Subpage hero */
.subhero {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px clamp(20px, 6vw, 64px) 60px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,8,9,0.55) 0%, rgba(6,8,9,0.78) 60%, var(--bg) 100%);
}
.subhero__content { position: relative; z-index: 1; max-width: 760px; }

.subhero__eyebrow {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.subhero__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.subhero__sub {
  margin: 16px auto 0;
  max-width: 560px;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--fg-muted);
}

/* Sections */
.section {
  padding: clamp(56px, 10vh, 110px) clamp(20px, 6vw, 64px);
  max-width: 1100px;
  margin: 0 auto;
}
.section--alt { background: var(--bg-elevated); max-width: none; }
.section--alt > .section__inner { max-width: 1100px; margin: 0 auto; }

.section__eyebrow {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  text-align: center;
}

.section__title {
  margin: 0 auto;
  max-width: 680px;
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section__text {
  margin: 20px auto 0;
  max-width: 620px;
  text-align: center;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* Card grids */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover { border-color: rgba(255, 255, 255, 0.18); transform: translateY(-3px); }

.card__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.card__text {
  margin: 0;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* Value cards (centered variant) */
.grid--values .card { text-align: center; }

/* Process steps */
.steps {
  display: grid;
  gap: 28px;
  margin-top: 48px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step__index {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.step__title { margin: 0 0 6px; font-weight: 700; font-size: 1rem; }
.step__text { margin: 0; font-weight: 400; font-size: 0.9rem; line-height: 1.6; color: var(--fg-muted); }

/* Portfolio placeholders */
.grid--portfolio .card {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.015);
}
.grid--portfolio .card__text { color: rgba(238, 241, 242, 0.38); font-size: 0.85rem; letter-spacing: 0.04em; }

/* CTA */
.cta {
  text-align: center;
  padding: clamp(64px, 12vh, 120px) clamp(20px, 6vw, 64px);
}
.cta__title {
  margin: 0 0 28px;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
}
.cta__button {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 100px;
  background: var(--accent);
  color: #06181a;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(46, 196, 198, 0.25);
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 20px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__brand { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.footer__tag { font-weight: 400; font-size: 0.82rem; color: var(--fg-muted); margin-bottom: 14px; }
.footer__legal { font-weight: 500; font-size: 0.82rem; color: var(--fg-muted); display: inline-flex; gap: 10px; align-items: center; }
.footer__legal a { transition: color 0.3s var(--ease); }
.footer__legal a:hover { color: var(--accent); }
.footer__legal .dot { opacity: 0.4; }

/* Contact page */
.contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 80px) clamp(20px, 6vw, 64px) clamp(80px, 12vh, 120px);
}
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: flex; flex-direction: column; gap: 18px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.form__group { display: flex; flex-direction: column; gap: 8px; }

.form__label {
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--fg-muted);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(46, 196, 198, 0.05);
}
.form__textarea { resize: vertical; min-height: 130px; }
.form__select { appearance: none; cursor: pointer; }

.form__submit {
  margin-top: 6px;
  align-self: flex-start;
  padding: 15px 34px;
  border: none;
  border-radius: 100px;
  background: var(--accent);
  color: #06181a;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form__submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(46, 196, 198, 0.25); }

.form__note { font-size: 0.78rem; color: rgba(238, 241, 242, 0.4); margin: 0; }

/* Direct contact card */
.contact-card {
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-card__item { display: flex; flex-direction: column; gap: 4px; }
.contact-card__label {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.contact-card__value {
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.3s var(--ease);
}
.contact-card__value:hover { color: var(--accent); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.08);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.whatsapp-btn:hover { border-color: #25d366; background: rgba(37, 211, 102, 0.16); transform: translateY(-2px); }
.whatsapp-btn svg { width: 20px; height: 20px; flex-shrink: 0; color: #25d366; }
