/* ===========================
   CUSTOM FONTS
=========================== */
@font-face {
  font-family: 'Telegraf';
  src: url('fonts/telegraf/Telegraf UltraLight 200.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Telegraf';
  src: url('fonts/telegraf/TelegrafRegular_272984568a25d8528fe2de8b20b29011.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Telegraf';
  src: url('fonts/telegraf/Telegraf UltraBold 800.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ===========================
   CUSTOM PROPERTIES
=========================== */
:root {
  --accent: #ffe373;
  --accent-hover: #f5d800;
  --bg: #fafafa;
  --white: #ffffff;
  --text: #111111;
  --text-body: #333333;
  --text-muted: #777777;
  --border: #e8e8e8;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.14);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 100px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1200px;
  --pad-x: clamp(1.25rem, 5vw, 2.5rem);
  --section-py: clamp(4rem, 8vw, 7rem);
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}

.hidden {
  display: none !important;
}

/* ===========================
   CONTAINER
=========================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
}

.highlight {
  background: var(--accent);
  padding: 0 6px 2px;
  border-radius: 4px;
  display: inline;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 580px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  min-height: 44px;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 227, 115, 0.5);
  outline: none;
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
  outline: none;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--text);
  transform: translateY(-2px);
  outline: none;
}

.btn--full {
  width: 100%;
}

/* ===========================
   TAGS / PILLS
=========================== */
.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s var(--ease);
}
.tag:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.875rem 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar__logo {
  font-family: 'Telegraf', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--text);
  letter-spacing: 0.08em;
  transition: opacity 0.2s var(--ease);
  flex-shrink: 0;
}
.navbar__logo:hover {
  opacity: 0.65;
}

.navbar__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.navbar__links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  transition: color 0.2s var(--ease);
  padding-bottom: 2px;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}

.navbar__links a:hover::after,
.navbar__links a:focus-visible::after {
  width: 100%;
}

.navbar__links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease);
  position: relative;
  z-index: 200;
}

.navbar__hamburger:hover,
.navbar__hamburger:focus-visible {
  background: var(--accent);
  outline: none;
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-start;
  padding-top: 5rem;
  overflow: hidden;
}

.hero__decoration {
  position: absolute;
  top: -15%;
  right: -8%;
  width: clamp(280px, 45vw, 600px);
  height: clamp(280px, 45vw, 600px);
  background: radial-gradient(
    circle at center,
    rgba(255, 227, 115, 0.55) 0%,
    rgba(255, 227, 115, 0.2) 50%,
    transparent 75%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: clamp(3.5rem, 7vh, 5.5rem);
  padding-bottom: clamp(3rem, 6vh, 5rem);
  max-width: 800px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.75rem;
  color: var(--text);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.175rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===========================
   ABOUT
=========================== */
.about {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__image-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 55%;
  height: 55%;
  background: var(--accent);
  border-radius: var(--radius-md);
  z-index: 0;
}

.about__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
}

.about__heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.about__bio {
  color: var(--text-body);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.underline-handwrite {
  position: relative;
  display: inline;
}

.underline-handwrite::after {
  content: '';
  position: absolute;
  left: -1px;
  bottom: -5px;
  width: calc(100% + 2px);
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 10' preserveAspectRatio='none'%3E%3Cpath d='M2,7 C18,4 38,9 65,6 C88,3 112,8 140,5.5 C165,3 188,8 215,6 C240,4 265,8.5 290,6 C308,4 324,7 338,5.5' stroke='%23ffe373' stroke-width='2.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

/* ===========================
   PROJECTS
=========================== */
.projects {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
  background: var(--bg);
}

.projects__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-body);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  border-color: var(--text-head);
  color: var(--text-head);
}

.filter-btn--active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
  font-weight: 600;
}

.project-card.is-hidden {
  display: none;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.project-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: hsl(var(--thumb-hue, 0deg) 12% 88%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s var(--ease);
}

.project-card:hover .project-card__thumb::after {
  background: rgba(0, 0, 0, 0.06);
}

.play-btn {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 4px 16px rgba(255, 227, 115, 0.55);
}

.play-btn:hover,
.play-btn:focus-visible {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(255, 227, 115, 0.65);
  outline: none;
}

.play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--text);
  margin-left: 3px;
}

.project-card__info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.project-card__info h3 {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--text);
}

.project-card__info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.project-card__brand {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.play-btn--soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.project-card__thumb.has-poster {
  background-color: #000;
}

.projects__cta {
  text-align: center;
}

/* ===========================
   SOCIAL PROOF
=========================== */
.social-proof {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: var(--section-py);
  background: var(--white);
}

.brands-group {
  margin-bottom: 2rem;
}

.brands-group__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.brands-group__note {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.78rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.brands-grid--single {
  grid-template-columns: repeat(3, 1fr);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease);
  filter: grayscale(1) opacity(0.45);
  cursor: default;
}

.brand-logo:hover {
  filter: grayscale(0) opacity(1);
  border-color: var(--accent);
  background: rgba(255, 227, 115, 0.08);
}

.brand-logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-align: center;
  line-height: 1.2;
}

.brand-logo__text--serif {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-logo__text--druni {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-logo__text--revolut {
  letter-spacing: -0.01em;
}

.brand-logo__text--musclefit {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-logo__text--booking {
  letter-spacing: -0.01em;
  color: #003580;
}

.brand-logo__text--atrapalo {
  letter-spacing: 0.04em;
}

.brand-logo--verified {
  border-color: var(--accent);
  background: rgba(255, 227, 115, 0.08);
  gap: 0.5rem;
}

.brand-verified {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--text);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===========================
   VIDEO MODAL
=========================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.video-modal:not([hidden]) {
  opacity: 1;
  pointer-events: all;
}

.video-modal[hidden] {
  display: flex;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.video-modal__inner {
  position: relative;
  z-index: 1;
  height: min(85vh, 700px);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.video-modal__inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.1);
  outline: none;
}

.video-modal__close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Testimonials */
.testimonials {
  max-width: 780px;
  margin-inline: auto;
}

.testimonial-carousel {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 3rem);
}

.testimonial-pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--text-body);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.75rem;
  border: none;
  padding: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author__avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}

.testimonial-author__avatar--img {
  object-fit: cover;
  padding: 0;
}

.testimonial-author__info strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.testimonial-author__info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  outline: none;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  padding: 0;
  min-height: 0;
  flex-shrink: 0;
}

.dot:hover,
.dot:focus-visible {
  background: var(--text-muted);
  outline: none;
}

.dot.active {
  background: var(--text);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ===========================
   CONTACT
=========================== */
.contact {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: var(--section-py);
  background: var(--bg);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
  min-height: 44px;
  width: 100%;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 227, 115, 0.3);
}

.form-group textarea {
  min-height: 140px;
}

.contact-success {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  border: 1.5px solid var(--border);
}

.contact-success__icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.contact-success h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.contact-success p {
  color: var(--text-muted);
}

.contact__social {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__social > p {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s var(--ease);
  min-height: 44px;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--accent);
  background: rgba(255, 227, 115, 0.1);
  transform: translateX(4px);
  outline: none;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.contact__email {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
  transition: opacity 0.2s var(--ease);
  display: inline-block;
}

.contact__email:hover {
  opacity: 0.65;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.55);
  padding: 1.75rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.875rem;
}

.back-to-top {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--accent);
  outline: none;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top:hover svg,
.back-to-top:focus-visible svg {
  stroke: var(--text);
}

/* ===========================
   SCROLL ANIMATIONS
=========================== */
.fade-in,
.fade-up {
  opacity: 0;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up {
  transform: translateY(28px);
}

.fade-in.visible,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero stagger */
.hero__content .fade-in:nth-child(1) { transition-delay: 0.1s; }
.hero__content .fade-in:nth-child(2) { transition-delay: 0.25s; }
.hero__content .fade-in:nth-child(3) { transition-delay: 0.4s; }
.hero__content .fade-in:nth-child(4) { transition-delay: 0.55s; }

/* About stagger */
.about__text.fade-up { transition-delay: 0.15s; }

/* Projects grid stagger */
.projects__grid .project-card:nth-child(1) { transition-delay: 0s; }
.projects__grid .project-card:nth-child(2) { transition-delay: 0.07s; }
.projects__grid .project-card:nth-child(3) { transition-delay: 0.14s; }
.projects__grid .project-card:nth-child(4) { transition-delay: 0.21s; }
.projects__grid .project-card:nth-child(5) { transition-delay: 0.28s; }
.projects__grid .project-card:nth-child(6) { transition-delay: 0.35s; }

/* ===========================
   RESPONSIVE — TABLET 1024px
=========================== */
@media (max-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__social {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 1rem 2rem;
  }

  .contact__social > p {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

/* ===========================
   RESPONSIVE — MOBILE 767px
=========================== */
@media (max-width: 767px) {
  .navbar__hamburger {
    display: flex;
  }

  .navbar__nav {
    position: fixed;
    inset: 0;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease);
    z-index: 150;
  }

  .navbar__nav.open {
    transform: translateX(0);
  }

  .navbar__links {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .navbar__links a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
  }

  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__image-wrap {
    max-width: 300px;
    margin-inline: auto;
    width: 100%;
  }

  .hero__subtitle br {
    display: none;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__social {
    display: flex;
    flex-direction: column;
  }

  .social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* ===========================
   RESPONSIVE — SMALL 480px
=========================== */
@media (max-width: 480px) {
  .projects__grid {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-grid--single {
    grid-template-columns: 1fr;
    max-width: 220px;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-card {
    padding: 1.5rem;
  }
}
