:root {
  --tiber: #063628;
  --luxor-gold: #af8831;
  --alabaster: #d6efe3;
  --just-white: #ffffff;

  --bg-main: #f7f7f4;
  --bg-soft: #edf5f1;
  --text-dark: #0f211d;
  --text-muted: #5d6d67;
  --glass: rgba(255, 255, 255, 0.66);
  --shadow-main: 0 20px 60px rgba(6, 54, 40, 0.12);
  --shadow-soft: 0 10px 30px rgba(6, 54, 40, 0.08);
  --shadow-deep: 0 24px 60px rgba(6, 30, 24, 0.18);

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --transition: 0.35s ease;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Onest", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214, 239, 227, 0.65), transparent 30%),
    linear-gradient(180deg, #fcfcfa 0%, #f4f6f2 100%);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
  position: relative;
  z-index: 2;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(175, 136, 49, 0.08), transparent 25%),
    linear-gradient(180deg, rgba(6, 54, 40, 0.98), rgba(4, 24, 18, 1));
  color: var(--just-white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-label,
.eyebrow {
  font-family: "Lexend", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--luxor-gold);
  margin-bottom: 14px;
}

h1,
h2,
h3,
.logo-text,
.btn,
.quick-number,
.stat-value {
  font-family: "Lexend", sans-serif;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

p {
  color: inherit;
}

.accent-text {
  color: var(--luxor-gold);
  text-shadow:
    0 0 18px rgba(175, 136, 49, 0.18),
    0 0 42px rgba(175, 136, 49, 0.08);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(18px);
  background: rgba(247, 247, 244, 0.72);
  border-bottom: 1px solid rgba(6, 54, 40, 0.08);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--tiber);
  position: relative;
}

.logo-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, var(--luxor-gold), transparent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--luxor-gold);
  transition: width 0.35s ease;
}

.nav-links a:hover {
  color: var(--tiber);
}

.nav-links a:hover::after {
  width: 100%;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: transform 0.8s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--luxor-gold), #c49c43);
  color: #fff;
  box-shadow: 0 12px 30px rgba(175, 136, 49, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(175, 136, 49, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--tiber);
  border: 1px solid rgba(6, 54, 40, 0.15);
  backdrop-filter: blur(12px);
}

.section-dark .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--just-white);
  border-color: rgba(255, 255, 255, 0.12);
}

/* HERO */
.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  padding-top: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 60px;
}

.hero-text {
  max-width: 650px;
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quick-card {
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(6, 54, 40, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.quick-number {
  display: block;
  font-size: 1.5rem;
  color: var(--tiber);
  margin-bottom: 4px;
}

.quick-label {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 590px;
  perspective: 1000px;
}

.image-frame {
  position: relative;
  width: min(100%, 430px);
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,255,255,0.82), rgba(214,239,227,0.48));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 24px 70px rgba(6, 54, 40, 0.16);
  overflow: hidden;
  transition: transform 0.35s ease;
  will-change: transform;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 36px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(175,136,49,0.72), rgba(6,54,40,0.18), rgba(214,239,227,0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.25), transparent 36%);
  pointer-events: none;
}

.profile-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 28px;
}

.floating-card {
  animation: floatY 5s ease-in-out infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(16px);
}

.orb-1 {
  width: 110px;
  height: 110px;
  background: rgba(175, 136, 49, 0.22);
  top: 8%;
  right: 10%;
  animation: pulseOrb 5.5s ease-in-out infinite;
}

.orb-2 {
  width: 88px;
  height: 88px;
  background: rgba(214, 239, 227, 0.34);
  bottom: 10%;
  left: 8%;
  animation: pulseOrb 6.5s ease-in-out infinite;
}

.floating-badge {
  position: absolute;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(6,54,40,0.12);
  color: var(--tiber);
  box-shadow: 0 18px 34px rgba(6,54,40,0.12);
  backdrop-filter: blur(16px);
  font-family: "Lexend", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  user-select: none;
}

.badge-1 {
  top: 12%;
  left: -4%;
  animation: driftBadge1 6s ease-in-out infinite;
}

.badge-2 {
  right: -3%;
  top: 38%;
  animation: driftBadge2 7s ease-in-out infinite;
}

.badge-3 {
  left: 10%;
  bottom: 7%;
  animation: driftBadge3 8s ease-in-out infinite;
}

/* CARDS */
.about-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.about-card,
.result-story,
.result-stat,
.collaboration,
.contact-box {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.glass {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.48);
  backdrop-filter: blur(18px);
}

.about-card {
  padding: 34px;
  font-size: 1.05rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(175, 136, 49, 0.08), transparent 35%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(175, 136, 49, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(175, 136, 49, 0.14);
  color: var(--luxor-gold);
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(175, 136, 49, 0.16);
}

/* RESULTS */
.result-stat {
  padding: 34px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.result-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.stat-value {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: var(--luxor-gold);
  line-height: 1;
  margin-bottom: 16px;
}

.stat-text {
  color: var(--text-muted);
  max-width: 360px;
}

.result-story {
  padding: 34px;
  grid-column: span 2;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.result-story:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.result-story ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-muted);
}

.result-story li + li {
  margin-top: 10px;
}

/* TESTIMONIALS */
.testimonials-section {
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 90px;
}

.circular-shell {
  position: relative;
  padding: 34px 24px 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(175, 136, 49, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.testimonials-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.testimonials-mini-label {
  font-family: "Lexend", sans-serif;
  color: rgba(255,255,255,0.84);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-controls {
  display: flex;
  gap: 10px;
}

.testimonial-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.09);
  color: var(--just-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.testimonial-btn:hover {
  background: rgba(175, 136, 49, 0.22);
  border-color: rgba(175, 136, 49, 0.35);
  transform: translateY(-2px);
}

.circular-carousel {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  overflow: visible;
  transition: min-height 0.45s ease;
}

.circular-carousel.is-expanded {
  min-height: 620px;
}

.circular-card {
  position: absolute;
  width: min(100%, 430px);
  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1s ease,
    filter 1s ease,
    z-index 1s ease,
    width 0.45s ease;
  opacity: 0;
  pointer-events: none;
}

.circular-card.active {
  opacity: 1;
  z-index: 5;
  transform: translateX(0) scale(1) rotateY(0deg);
  pointer-events: auto;
}

.circular-card.prev {
  opacity: 0.45;
  z-index: 3;
  transform: translateX(-68%) scale(0.84) rotateY(20deg);
  pointer-events: auto;
  filter: blur(0.4px);
}

.circular-card.next {
  opacity: 0.45;
  z-index: 3;
  transform: translateX(68%) scale(0.84) rotateY(-20deg);
  pointer-events: auto;
  filter: blur(0.4px);
}

.circular-card.hidden-left {
  opacity: 0;
  z-index: 1;
  transform: translateX(-130%) scale(0.68) rotateY(30deg);
}

.circular-card.hidden-right {
  opacity: 0;
  z-index: 1;
  transform: translateX(130%) scale(0.68) rotateY(-30deg);
}

.circular-card.expanded {
  width: min(100%, 760px);
  transform: translateX(0) scale(1) rotateY(0deg) !important;
  z-index: 8;
}

.testimonial-card-inner {
  min-height: 255px;
  padding: 26px 24px 22px;
  border-radius: 26px;
  background: rgba(8, 36, 28, 0.88);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  transition: min-height 0.45s ease, padding 0.45s ease, box-shadow 0.45s ease;
}

.circular-card.prev .testimonial-card-inner,
.circular-card.next .testimonial-card-inner {
  background: rgba(12, 42, 33, 0.82);
}

.circular-card.expanded .testimonial-card-inner {
  min-height: 560px;
  padding: 34px 32px 28px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.3);
}

.testimonial-quote-mark {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: "Lexend", sans-serif;
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(175, 136, 49, 0.14);
  pointer-events: none;
}

.circular-card.expanded .testimonial-quote-mark {
  font-size: 4.4rem;
  top: 14px;
  right: 24px;
}

.testimonial-preview,
.testimonial-full p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
}

.testimonial-preview {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 92%;
}

.testimonial-full {
  display: none;
  margin-top: 4px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 10px;
}

.testimonial-full::-webkit-scrollbar {
  width: 8px;
}

.testimonial-full::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
}

.testimonial-full::-webkit-scrollbar-thumb {
  background: rgba(175, 136, 49, 0.7);
  border-radius: 999px;
}

.testimonial-full p + p {
  margin-top: 14px;
}

.circular-card.expanded .testimonial-preview {
  display: none;
}

.circular-card.expanded .testimonial-full {
  display: block;
}

.read-more-btn {
  margin-top: 14px;
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: var(--luxor-gold);
  font-family: "Lexend", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.read-more-btn:hover {
  opacity: 0.84;
  transform: translateX(2px);
}

.testimonial-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-footer h3 {
  margin-bottom: 4px;
  color: var(--just-white);
  font-size: 1.08rem;
}

.testimonial-footer span {
  color: rgba(214, 239, 227, 0.72);
  font-size: 0.92rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), width var(--transition);
}

.testimonial-dot:hover {
  transform: scale(1.1);
}

.testimonial-dot.active {
  width: 30px;
  border-radius: 999px;
  background: var(--luxor-gold);
}

/* COLLABORATION */
.collaboration {
  padding: 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.collaboration:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.logo-box {
  min-height: 320px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(6,54,40,0.08), rgba(175,136,49,0.12));
  border: 1px dashed rgba(6,54,40,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.logo-box img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.35s ease;
}

.logo-box:hover img {
  transform: scale(1.03);
}

/* CONTACT */
.contact-box {
  padding: 46px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 26px 0;
}

.contact-details a {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.86);
  transition: color var(--transition), transform var(--transition);
}

.contact-details a:hover {
  color: var(--luxor-gold);
  transform: translateX(3px);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.social-links a {
  color: var(--alabaster);
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--luxor-gold);
  transform: translateX(-3px);
}

/* FOOTER */
.footer {
  padding: 24px 0 40px;
  background: #041612;
  color: rgba(255,255,255,0.7);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tiber);
  margin: 6px auto;
  transition: 0.3s ease;
}

/* BACKGROUND DECOR */
.bg-blur {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.bg-blur-1 {
  width: 320px;
  height: 320px;
  background: rgba(175, 136, 49, 0.32);
  top: 80px;
  left: -60px;
}

.bg-blur-2 {
  width: 340px;
  height: 340px;
  background: rgba(6, 54, 40, 0.18);
  right: -80px;
  top: 260px;
}

.bg-blur-3 {
  width: 220px;
  height: 220px;
  background: rgba(214, 239, 227, 0.28);
  left: 38%;
  top: 12%;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 54, 40, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 54, 40, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 20%, #000 0.6px, transparent 0.7px),
    radial-gradient(circle at 80% 60%, #000 0.6px, transparent 0.7px),
    radial-gradient(circle at 40% 80%, #000 0.5px, transparent 0.6px);
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 0;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ANIMATIONS */
@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes driftBadge1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, -8px); }
}

@keyframes driftBadge2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-4px, -7px); }
}

@keyframes driftBadge3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -6px); }
}

/* LARGE TABLETS / SMALL LAPTOPS */
@media (max-width: 1200px) {
  .hero-grid {
    gap: 40px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .profile-img {
    height: 500px;
  }

  .floating-badge {
    font-size: 0.86rem;
    padding: 10px 14px;
  }
}

/* TABLETS */
@media (max-width: 1024px) {
  .section {
    padding: 90px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-grid,
  .collaboration,
  .contact-box,
  .about-grid,
  .results-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 500px;
    margin-top: 10px;
  }

  .result-story {
    grid-column: span 1;
  }

  .quick-info {
    grid-template-columns: 1fr;
  }

  .social-links {
    align-items: flex-start;
  }

  .circular-card.prev {
    transform: translateX(-58%) scale(0.8) rotateY(20deg);
  }

  .circular-card.next {
    transform: translateX(58%) scale(0.8) rotateY(-20deg);
  }

  .circular-card.expanded {
    width: min(100%, 680px);
  }

  .collaboration,
  .contact-box {
    gap: 24px;
  }
}

/* MOBILE MENU + PHONES */
@media (max-width: 860px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
    z-index: 50;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(2.4rem, 9vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .image-frame {
    width: min(100%, 360px);
  }

  .profile-img {
    height: 420px;
  }

  .floating-badge {
    font-size: 0.8rem;
    padding: 10px 14px;
  }

  .badge-1 {
    top: 5%;
    left: 0;
  }

  .badge-2 {
    right: 0;
    top: 34%;
  }

  .badge-3 {
    left: 8%;
    bottom: 4%;
  }

  .testimonials-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .circular-carousel {
    min-height: 320px;
  }

  .circular-carousel.is-expanded {
    min-height: 720px;
  }

  .circular-card {
    width: 100%;
  }

  .circular-card.prev,
  .circular-card.next {
    opacity: 0;
    pointer-events: none;
  }

  .testimonial-card-inner {
    min-height: auto;
    padding: 24px 20px 22px;
  }

  .circular-card.expanded .testimonial-card-inner {
    min-height: 620px;
    padding: 28px 22px 24px;
  }

  .testimonial-quote-mark {
    font-size: 3rem;
  }

  .testimonial-full {
    max-height: 420px;
  }

  .footer-content {
    flex-direction: column;
  }
}

/* SMALL PHONES */
@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .section {
    padding: 70px 0;
  }

  .nav {
    min-height: 76px;
  }

  .nav-links.open {
    top: 76px;
    left: 12px;
    right: 12px;
  }

  h1 {
    font-size: 2.2rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .about-card,
  .service-card,
  .result-stat,
  .result-story,
  .collaboration,
  .contact-box {
    padding: 24px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .image-frame {
    width: min(100%, 300px);
    padding: 10px;
    border-radius: 28px;
  }

  .profile-img {
    height: 340px;
    border-radius: 22px;
  }

  .floating-badge {
    font-size: 0.74rem;
    padding: 8px 12px;
  }

  .badge-1 {
    top: 2%;
    left: 0;
  }

  .badge-2 {
    top: 30%;
    right: 0;
  }

  .badge-3 {
    bottom: 2%;
    left: 5%;
  }

  .orb {
    display: none;
  }

  .testimonial-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .circular-shell {
    padding: 24px 16px 22px;
  }

  .testimonial-preview,
  .testimonial-full p {
    font-size: 0.95rem;
  }

  .circular-carousel.is-expanded {
    min-height: 760px;
  }

  .circular-card.expanded .testimonial-card-inner {
    min-height: 670px;
  }

  .testimonial-full {
    max-height: 450px;
  }

  .contact-details a {
    font-size: 0.98rem;
    word-break: break-word;
  }

  .logo-box {
    min-height: 240px;
    padding: 20px;
  }

  .logo-box img {
    max-width: 100%;
  }
}