/* Remetics static override layer.
   Keep this file focused: no DOM-generated state, no duplicated patch history. */
:root {
  --rametics-blue: #355d9b;
  --rametics-cream: #f2e6d5;
  --rametics-gold: #f2a341;
  --rametics-ink: #07111f;
  --primary-accent: #f2a341;
  --secondary-accent: #f2e6d5;
  --orange-gradient: linear-gradient(90deg, #f2a341, #ffbf5a);
  --orange-border-glow: rgba(242, 163, 65, 0.45);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  cursor: auto !important;
}

body {
  background:
    radial-gradient(circle at 18% 28%, rgba(53, 93, 155, 0.44), transparent 38rem),
    radial-gradient(circle at 50% 12%, rgba(242, 230, 213, 0.18), transparent 28rem),
    radial-gradient(circle at 100% 32%, rgba(242, 163, 65, 0.34), transparent 34rem),
    linear-gradient(120deg, #07111f 0%, #101827 42%, #21120d 100%) !important;
  background-attachment: fixed !important;
}

*,
*::before,
*::after {
  cursor: auto !important;
}

a,
button,
[role="button"],
select,
label,
.service-link,
.nav-cta,
.primary-btn,
.small-pill,
.contact-btn-outline,
.rametics-whatsapp-float {
  cursor: pointer !important;
}

input,
textarea {
  cursor: text !important;
}

.page-transition-wrapper {
  opacity: 1 !important;
  transform: none !important;
}

.section-reveal,
.section-reveal.revealed,
.card-animate,
.card-animate.card-visible {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Header */
.site-header {
  position: fixed !important;
  top: 40px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 36px !important;
  pointer-events: none !important;
}

.site-header .navbar {
  pointer-events: auto !important;
  width: min(92vw, 1760px) !important;
  min-height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 10px 22px !important;
  border: 1px solid rgba(242, 163, 65, 0.28) !important;
  border-radius: 999px !important;
  background: linear-gradient(105deg, rgba(7, 17, 31, 0.94), rgba(33, 18, 13, 0.9)) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38) !important;
  overflow: visible !important;
}

.site-header .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: max-content !important;
}

.site-header .brand::after {
  content: "RΛMΞTICS";
  color: #fff;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
}

.site-header .brand-logo {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  object-fit: contain !important;
}

.site-header .nav-panel {
  display: flex !important;
  align-items: center !important;
  gap: clamp(18px, 3vw, 54px) !important;
  flex: 1 1 auto !important;
  justify-content: flex-end !important;
}

.site-header .nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(12px, 2vw, 34px) !important;
  position: static !important;
  transform: none !important;
  margin: 0 auto !important;
}

.site-header .nav-links a {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  color: rgba(255, 255, 255, 0.66) !important;
  position: relative !important;
}

.site-header .nav-links a:hover,
.site-header .nav-links .active-link {
  color: #f2a341 !important;
  background: transparent !important;
}

.site-header .nav-links .active-link::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 2px;
  height: 2px;
  background: #f2a341;
  border-radius: 99px;
}

.site-header .nav-cta,
.btn-orange-gradient,
.primary-btn,
.contact-btn-outline,
.view-port-btn {
  color: #07111f !important;
  -webkit-text-fill-color: #07111f !important;
  background: var(--orange-gradient) !important;
  border-color: rgba(242, 230, 213, 0.34) !important;
  text-shadow: none !important;
}

.site-header .nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 172px !important;
  min-height: 58px !important;
  margin: 0 !important;
}

.menu-toggle {
  cursor: pointer !important;
}

/* Legal and simple content pages */
body > main.section-pad {
  padding-top: 180px !important;
}

main.section-pad .container > h1 {
  max-width: 900px;
  margin: 12px 0 34px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
}

main.section-pad .container > h2 {
  margin: 34px 0 12px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.14;
}

main.section-pad .container > p {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.78;
}

/* FAQ page */
.faq-page {
  min-height: 100vh;
  padding: clamp(180px, 15vw, 230px) 0 clamp(70px, 8vw, 116px) !important;
  background:
    radial-gradient(circle at 13% 16%, rgba(53, 93, 155, 0.36), transparent 34rem),
    radial-gradient(circle at 96% 22%, rgba(242, 163, 65, 0.22), transparent 32rem),
    linear-gradient(115deg, #07111f 0%, #0a0d14 48%, #21120d 100%) !important;
}

.faq-page .container {
  width: min(88vw, 1220px) !important;
}

.faq-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.58fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.faq-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 14px;
  border: 1px solid rgba(242, 163, 65, 0.3);
  border-radius: 999px;
  color: #f2a341;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.faq-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

.faq-hero h1 span {
  color: #f2a341;
}

.faq-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.78;
}

.faq-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(242, 230, 213, 0.54);
  border-radius: 34px;
  padding: clamp(18px, 3.4vw, 42px);
  background:
    radial-gradient(circle at 10% 0%, rgba(53, 93, 155, 0.25), transparent 30rem),
    radial-gradient(circle at 96% 10%, rgba(242, 163, 65, 0.13), transparent 28rem),
    rgba(5, 9, 16, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 28px 90px rgba(0, 0, 0, 0.36);
}

.faq-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(242, 230, 213, 0.18) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  opacity: 0.12;
}

.faq-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(242, 163, 65, 0.28);
  border-radius: 22px;
  background: rgba(3, 7, 18, 0.58);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.faq-item[open] {
  border-color: rgba(242, 163, 65, 0.68);
  background: rgba(7, 17, 31, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24), 0 0 28px rgba(242, 163, 65, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 22px clamp(20px, 3vw, 30px);
  color: #fff;
  cursor: pointer;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 850;
  line-height: 1.22;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  display: inline-grid;
  width: 34px;
  height: 34px;
  min-width: 34px;
  place-items: center;
  border: 1px solid rgba(242, 163, 65, 0.35);
  border-radius: 999px;
  color: #f2a341;
  background: rgba(255, 255, 255, 0.04);
  font-size: 22px;
  line-height: 1;
  transition: transform 220ms ease, background 220ms ease;
}

.faq-item[open] .faq-question::after {
  content: "-";
  background: rgba(242, 163, 65, 0.14);
  transform: rotate(180deg);
}

.faq-answer {
  max-width: 900px;
  padding: 0 clamp(20px, 3vw, 30px) 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.76;
}

.faq-answer p {
  margin: 0;
}

.faq-cta-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(242, 163, 65, 0.3);
  border-radius: 24px;
  background: linear-gradient(105deg, rgba(53, 93, 155, 0.18), rgba(242, 163, 65, 0.1));
}

.faq-cta-panel strong {
  display: block;
  color: #fff;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.1;
}

.faq-cta-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-cta-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.faq-cta-actions a:first-child {
  color: #07111f;
  background: var(--orange-gradient);
}

.faq-cta-actions a:last-child {
  color: #fff;
  border: 1px solid rgba(242, 163, 65, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

/* Cards and common UI */
.service-icon-circle,
.rametics-contact-panel {
  display: none !important;
}

.service-card-home,
.project-card,
.stat-card,
.vm-card,
.founder-glass-card,
.testimonial-card-main,
.testimonial-carousel-card,
.info-card-main {
  border-color: rgba(242, 163, 65, 0.22) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.stat-card.gold,
.stat-card.gold strong,
.stat-card.gold span,
.stat-card.gold p {
  color: #fff !important;
}

.project-card:nth-child(1) .project-image { background-image: url('/images/projects/rametics-office-signage.webp') !important; }
.project-card:nth-child(2) .project-image { background-image: url('/images/projects/rametics-creative-studio.webp') !important; }
.project-card:nth-child(3) .project-image { background-image: url('/images/projects/rametics-branch-campaign.webp') !important; }
.project-card:nth-child(4) .project-image { background-image: url('/images/projects/rametics-wedding-shoot.webp') !important; }
.project-card:nth-child(5) .project-image { background-image: url('/images/projects/rametics-brand-identity.webp') !important; }
.project-card:nth-child(6) .project-image { background-image: url('/images/projects/rametics-ecommerce-photoshoot.webp') !important; }
.project-card:nth-child(7) .project-image { background-image: url('/images/projects/rametics-ads-management.webp') !important; }
.project-card:nth-child(8) .project-image { background-image: url('/images/projects/rametics-production-collage.webp') !important; }
.project-card:nth-child(9) .project-image { background-image: url('/images/projects/rametics-social-media-workspace.webp') !important; }

/* Home hero camera */
.hero {
  --hero-mouse-x: 72%;
  --hero-mouse-y: 46%;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  --camera-aim-x: 0deg;
  --camera-aim-y: 0deg;
  --camera-lens-x: 0px;
  --camera-lens-y: 0px;
  isolation: isolate;
  overflow: hidden;
}

.hero-content {
  z-index: 5 !important;
}

.remetics-hero-model {
  position: absolute;
  top: 50%;
  right: clamp(44px, 7vw, 126px);
  width: min(26vw, 380px);
  height: min(42vh, 360px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
  perspective: 1200px;
  transform: translate3d(0, -42%, 0);
}

.remetics-model-stage {
  position: absolute;
  inset: 7%;
  transform-style: preserve-3d;
  transform: rotateX(var(--hero-tilt-x)) rotateY(var(--hero-tilt-y));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: remeticsModelFloat 7s ease-in-out infinite;
}

.camera-only-stage::before,
.camera-only-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.camera-only-stage::before {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(242, 163, 65, 0.18), rgba(53, 93, 155, 0.08) 42%, transparent 70%);
  filter: blur(10px);
  opacity: 0.72;
  transform: translate3d(-50%, -50%, 18px);
}

.camera-only-stage::after {
  width: 220px;
  height: 54px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5), transparent 72%);
  transform: translate3d(-50%, 92px, 0) rotateX(68deg);
}

.remetics-camera-figure {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 190px;
  transform: translate3d(-50%, -50%, 84px) scale(1.08);
  transform-style: preserve-3d;
}

.camera-rig,
.camera-top,
.camera-grip,
.camera-body,
.camera-lens {
  position: absolute;
  transform-style: preserve-3d;
}

.camera-rig {
  left: 50%;
  top: 50%;
  width: 180px;
  height: 122px;
  transform: translate3d(-50%, -50%, 78px) rotateY(calc(var(--camera-aim-x) * 0.38)) rotateX(calc(var(--camera-aim-y) * 0.32));
  transition: transform 0.18s ease-out;
}

.camera-top {
  left: 60px;
  top: -16px;
  width: 60px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px 11px 3px 3px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(7, 11, 18, 0.9));
}

.camera-body {
  left: 0;
  top: 14px;
  width: 180px;
  height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)), linear-gradient(135deg, rgba(242, 163, 65, 0.22), rgba(7, 11, 18, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 26px 62px rgba(0, 0, 0, 0.48), 0 0 24px rgba(242, 163, 65, 0.12);
}

.camera-body::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 16px;
  border-radius: 6px;
  background: rgba(53, 93, 155, 0.24);
}

.camera-body::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f2a341;
  box-shadow: 0 0 14px rgba(242, 163, 65, 0.7);
}

.camera-grip {
  top: 42px;
  width: 28px;
  height: 62px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(7, 11, 18, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.grip-left { left: -12px; transform: rotateZ(7deg); }
.grip-right { right: -12px; transform: rotateZ(-7deg); }

.camera-lens {
  left: 50%;
  top: 68px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(53, 93, 155, 0.2), rgba(7, 11, 18, 0.96) 45%, rgba(0, 0, 0, 0.98) 72%), linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(242, 163, 65, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.04), inset 0 0 28px rgba(53, 93, 155, 0.18), 0 0 32px rgba(242, 163, 65, 0.2), 0 24px 46px rgba(0, 0, 0, 0.5);
  transform: translate3d(calc(-50% + var(--camera-lens-x)), calc(-50% + var(--camera-lens-y)), 64px) rotateY(var(--camera-aim-x)) rotateX(var(--camera-aim-y));
  transition: transform 0.16s ease-out;
}

.lens-glass {
  position: absolute;
  inset: 23px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.9), transparent 13%), radial-gradient(circle at 62% 65%, rgba(242, 163, 65, 0.55), transparent 20%), radial-gradient(circle at 50% 50%, rgba(53, 93, 155, 0.42), rgba(0, 0, 0, 0.92) 64%);
}

.lens-shine {
  position: absolute;
  left: 24px;
  top: 20px;
  width: 26px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.54);
  filter: blur(1px);
  transform: rotate(-24deg);
}

@keyframes remeticsModelFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@media (min-width: 769px) {
  #home .hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr) !important;
    align-items: center !important;
    justify-items: stretch !important;
    padding-left: clamp(40px, 7vw, 118px) !important;
    padding-right: clamp(28px, 5vw, 84px) !important;
  }

  #home .hero-content {
    width: min(58vw, 880px) !important;
    max-width: 880px !important;
    margin: 0 !important;
    justify-self: start !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  #home .hero-badge,
  #home .hero-copy,
  #home .primary-btn {
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start !important;
    text-align: left !important;
  }

  #home .hero h1 {
    max-width: 820px !important;
    text-align: left !important;
  }
}

/* Page cleanup */
.services-page .services-hero-content,
.services-page .rametics-services-hero-centered,
.portfolio-page .portfolio-hero-content,
.portfolio-page .rametics-portfolio-hero-centered {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.services-page .services-hero-content .hero-description,
.portfolio-page .portfolio-hero-content .hero-description {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.services-page .services-hero-content .hero-cta-group,
.services-page .concierge-section,
.services-page .custom-packages,
.portfolio-page .filter-pills,
.portfolio-page .portfolio-cta-section,
.testimonials-page .video-testimonial-section,
.testimonials-page .testimonials-cta-section {
  display: none !important;
}

/* Footer */
.rametics-footer-modern {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 !important;
  padding: clamp(70px, 8vw, 112px) 0 34px !important;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.88), rgba(7, 17, 31, 0.96)), linear-gradient(105deg, rgba(53, 93, 155, 0.26), rgba(242, 163, 65, 0.2)) !important;
}

.rametics-footer-shell {
  width: min(88vw, 1180px) !important;
  margin: 0 auto !important;
}

.rametics-footer-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr) !important;
  gap: clamp(28px, 5vw, 72px) !important;
  align-items: end !important;
  padding: clamp(28px, 4vw, 46px) !important;
  border: 1px solid rgba(242, 163, 65, 0.34) !important;
  border-radius: 24px !important;
  background: rgba(4, 9, 16, 0.46) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28) !important;
}

.rametics-footer-brand,
.rametics-footer-actions,
.rametics-footer-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 14px !important;
}

.rametics-footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
}

.rametics-footer-logo .brand-logo {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
}

.rametics-footer-logo span {
  color: #fff !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 950 !important;
  letter-spacing: 0.12em !important;
}

.rametics-footer-brand p {
  max-width: 680px !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

.rametics-footer-branches,
.rametics-footer-socials,
.rametics-footer-mini-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.rametics-footer-branches span,
.rametics-footer-socials a,
.rametics-footer-mini-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(242, 163, 65, 0.24) !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.rametics-footer-mini-links a {
  position: relative !important;
  width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
}

.rametics-footer-mini-links a::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
}

.rametics-footer-mini-links a:hover::before {
  color: #f2a341;
  transform: translateY(-1px);
}

.rametics-footer-mini-links a:nth-child(1)::before { content: "▶"; }
.rametics-footer-mini-links a:nth-child(2)::before { content: "◎"; }
.rametics-footer-mini-links a:nth-child(3)::before { content: "☎"; }
.rametics-footer-mini-links a:nth-child(4)::before { content: "▦"; }
.rametics-footer-mini-links a:nth-child(5)::before { content: "✉"; }

.rametics-footer-actions > span {
  color: #fff !important;
  font-size: clamp(24px, 3vw, 38px) !important;
  font-weight: 950 !important;
  line-height: 1.06 !important;
}

.rametics-footer-actions > div {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.rametics-footer-primary,
.rametics-footer-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  text-decoration: none !important;
}

.rametics-footer-primary {
  color: #07111f !important;
  background: var(--orange-gradient) !important;
}

.rametics-footer-secondary {
  color: #fff !important;
  border: 1px solid rgba(242, 163, 65, 0.34) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.rametics-footer-main {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.25fr) minmax(220px, 0.95fr) !important;
  gap: clamp(22px, 3vw, 44px) !important;
  padding: clamp(34px, 5vw, 58px) 0 !important;
}

.rametics-footer-column h3 {
  margin: 0 0 6px !important;
  color: #f2a341 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: 0.22em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.rametics-footer-link {
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
  color: inherit !important;
  text-decoration: none !important;
}

.rametics-footer-link span {
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.rametics-footer-link strong,
.rametics-footer-address p,
.rametics-footer-note {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.rametics-footer-nav nav {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 18px !important;
}

.rametics-footer-nav a {
  display: inline-flex !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.rametics-footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(242, 163, 65, 0.2) !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 12px !important;
}

/* WhatsApp */
.rametics-whatsapp-float {
  position: fixed;
  right: clamp(18px, 2.2vw, 34px);
  bottom: clamp(76px, 5vw, 92px);
  z-index: 10000001 !important;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff !important;
  background: radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.32), transparent 32%), linear-gradient(135deg, #25d366 0%, #128c4a 100%);
  border: 1px solid rgba(242, 163, 65, 0.58);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32), 0 0 0 7px rgba(37, 211, 102, 0.12), 0 0 26px rgba(242, 163, 65, 0.22);
  text-decoration: none !important;
}

.rametics-whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(37, 211, 102, 0.22);
  animation: rameticsWhatsAppPulse 2.4s ease-out infinite;
}

.rametics-whatsapp-float svg {
  width: 34px;
  height: 34px;
  position: relative;
  z-index: 1;
}

.rametics-whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes rameticsWhatsAppPulse {
  0% { transform: scale(0.92); opacity: 0.78; }
  70%, 100% { transform: scale(1.18); opacity: 0; }
}

/* Mobile */
@media (max-width: 980px) {
  .site-header {
    top: 12px !important;
    padding: 0 12px !important;
  }

  .site-header .navbar {
    min-height: 60px !important;
    padding: 8px 12px !important;
  }

  .site-header .brand-logo {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }

  .site-header .brand::after {
    font-size: 28px;
    letter-spacing: 0.12em;
  }

  .site-header .menu-toggle {
    display: block !important;
  }

  .site-header .nav-panel {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 12px !important;
    right: 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 18px !important;
    border-radius: 18px !important;
    background: rgba(7, 17, 31, 0.96) !important;
    border: 1px solid rgba(242, 163, 65, 0.3) !important;
  }

  .site-header .nav-panel.is-open {
    display: flex !important;
  }

  .site-header .nav-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    margin: 0 !important;
  }

  .site-header .nav-links a {
    width: fit-content !important;
    max-width: 100% !important;
    align-self: flex-start !important;
  }

  .site-header .nav-links a::after,
  .site-header .nav-links .active-link::after {
    left: 0 !important;
    right: auto !important;
    bottom: -6px !important;
    width: 0 !important;
    max-width: 100% !important;
  }

  .site-header .nav-links a:hover::after,
  .site-header .nav-links .active-link::after {
    width: 100% !important;
  }

  .site-header .nav-cta {
    width: 100% !important;
    min-width: 0 !important;
  }

  .services-page .services-hero,
  .portfolio-page .portfolio-hero,
  .testimonials-page .testimonials-hero {
    padding-top: clamp(188px, 24vw, 226px) !important;
  }

  .services-page .services-hero-content .section-label,
  .portfolio-page .portfolio-hero-content .section-label,
  .testimonials-page .testimonials-hero .section-label {
    position: relative !important;
    z-index: 2 !important;
    display: inline-block !important;
    margin: 0 0 28px !important;
  }

  .rametics-footer-hero,
  .rametics-footer-main {
    grid-template-columns: 1fr !important;
  }

  .rametics-footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 768px) {
  html {
    scroll-snap-type: none !important;
  }

  main > section,
  .section-reveal {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }

  main {
    padding: 10px !important;
  }

  .hero {
    justify-items: center !important;
  }

  .faq-page {
    padding: 132px 0 74px !important;
  }

  .faq-page .container {
    width: min(90vw, 100%) !important;
  }

  .faq-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }

  .faq-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .faq-shell {
    border-radius: 26px;
    padding: 14px;
  }

  .faq-question {
    min-height: 66px;
    padding: 18px 16px;
    font-size: 17px;
  }

  .faq-question::after {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 16px 20px;
    font-size: 15px;
  }

  .faq-cta-panel,
  .faq-cta-actions,
  .faq-cta-actions a {
    width: 100%;
  }

  #home .hero-content,
  .hero-content {
    width: min(86vw, 330px) !important;
    max-width: calc(100vw - 44px) !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    position: relative !important;
    z-index: 6 !important;
  }

  #home .hero h1,
  .hero h1 {
    max-width: 100% !important;
    font-size: clamp(29px, 8.4vw, 34px) !important;
    line-height: 1.08 !important;
  }

  #home .hero-copy,
  .hero-copy {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  #home .remetics-hero-model {
    top: clamp(92px, 15vh, 126px) !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(48vw, 180px) !important;
    height: clamp(112px, 20vh, 148px) !important;
    opacity: 0.5 !important;
    z-index: 2 !important;
    transform: translate3d(-50%, 0, 0) scale(0.72) !important;
  }

  #home .camera-only-stage::before {
    width: 150px !important;
    height: 150px !important;
    opacity: 0.42 !important;
  }

  #home .camera-only-stage::after {
    width: 150px !important;
    height: 34px !important;
    transform: translate3d(-50%, 74px, 0) rotateX(68deg) !important;
  }

  #home .remetics-camera-figure {
    transform: translate3d(-50%, -50%, 84px) scale(0.64) !important;
  }

  #services.services,
  #services,
  .services {
    overflow: visible !important;
    padding-top: 72px !important;
  }

  #services .section-heading,
  .services .section-heading {
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 28px !important;
    transform: none !important;
  }

  #services .services-grid-home,
  .services-grid-home {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    overflow: visible !important;
    transform: none !important;
  }

  #services .service-card-home,
  .service-card-home {
    min-height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    padding: 24px 18px !important;
    margin: 0 !important;
  }

  #services .service-card-home h3,
  .service-card-home h3 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    line-height: 1.12 !important;
    opacity: 1 !important;
  }

  #services .service-card-home p,
  .service-card-home p,
  #services .service-card-home .service-link,
  .service-card-home .service-link {
    opacity: 1 !important;
    transform: none !important;
    max-width: 100% !important;
  }

  .rametics-whatsapp-float {
    left: calc(100vw - 72px) !important;
    right: auto !important;
    bottom: 22px !important;
    width: 56px;
    height: 56px;
  }

  .rametics-whatsapp-float svg {
    width: 31px;
    height: 31px;
  }
}

@media (max-width: 540px) {
  .site-header .brand::after {
    font-size: 22px;
    letter-spacing: 0.08em;
  }

  .rametics-whatsapp-float {
    left: calc(min(100vw, 390px) - 72px) !important;
  }
}

/* Services book-flip interaction: desktop only */
.service-icon-circle {
  display: none !important;
}

@media (min-width: 769px) {
  html,
  body {
    scroll-snap-type: none !important;
  }

  .page-transition-wrapper,
  main,
  main > section,
  .section-reveal,
  #services,
  #services.services,
  .services,
  #services .container,
  #services .services-grid-home {
    overflow: visible !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
  }

  #services,
  #services.services,
  .services {
    overflow: visible !important;
    transform: none !important;
  }

  #services .container {
    overflow: visible !important;
  }

  #services .services-grid-home.sticky-initialized {
    display: block !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .sticky-services-wrapper {
    display: flex;
    align-items: flex-start;
    gap: clamp(34px, 4vw, 58px);
    overflow: visible !important;
    position: relative;
  }

  .sticky-image-panel {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    align-self: flex-start;
    width: min(50%, 620px);
    flex: 0 0 min(50%, 620px);
    height: 70vh;
    min-height: 420px;
    max-height: 680px;
    border-radius: 20px;
    overflow: hidden;
    background: #030508;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
    perspective: 2000px;
    transform-style: preserve-3d;
    isolation: isolate;
  }

  .sticky-image-panel .sticky-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotateY(0deg);
    transform-origin: left center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 1.15s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.65s ease;
    will-change: transform, opacity;
    box-shadow: 18px 0 42px rgba(0, 0, 0, 0.42);
  }

  .sticky-image-panel .sticky-img::selection {
    background: transparent;
  }

  .sticky-image-panel .sticky-img.flipped {
    transform: rotateY(-180deg) scale(0.98);
  }

  .sticky-image-panel .sticky-img.active,
  .sticky-image-panel .sticky-img.next-under {
    transform: rotateY(0deg);
  }

  .sticky-image-panel .sticky-counter {
    position: absolute;
    right: 28px;
    bottom: 24px;
    z-index: 6;
    color: rgba(255, 255, 255, 0.14);
    font-family: var(--font-sans);
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
  }

  .sticky-image-panel .sticky-label {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 6;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.52);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .services-scroll-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    padding-top: 5vh;
    padding-bottom: 30vh;
  }

  .sticky-initialized .service-card-home {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 32px 20px 32px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    opacity: 0.22 !important;
    transform: none !important;
    text-align: left !important;
    transition: opacity 0.35s ease, border-color 0.35s ease !important;
  }

  .sticky-initialized .service-card-home.service-in-view {
    opacity: 1 !important;
    border-bottom-color: rgba(255, 122, 0, 0.34) !important;
  }

  .sticky-initialized .service-card-home:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .sticky-initialized .service-card-home h3 {
    margin: 0 0 8px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: clamp(24px, 2.2vw, 34px) !important;
    line-height: 1.05 !important;
    text-align: left !important;
    text-shadow: none !important;
    transition: color 0.35s ease;
  }

  .sticky-initialized .service-card-home.service-in-view h3 {
    color: #ff7a00 !important;
  }

  .sticky-initialized .service-card-home p {
    max-width: 520px !important;
    color: rgba(255, 255, 255, 0.52) !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
    text-align: left !important;
    text-shadow: none !important;
  }

  .sticky-initialized .service-card-home.service-in-view p {
    color: rgba(255, 255, 255, 0.78) !important;
  }

  .sticky-initialized .service-card-home .service-link {
    display: inline-block !important;
    color: var(--primary-accent) !important;
    opacity: 0 !important;
    transform: translateX(-10px) !important;
    transition: opacity 0.35s ease, transform 0.35s ease !important;
  }

  .sticky-initialized .service-card-home.service-in-view .service-link {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
}

@media (max-width: 768px) {
  .sticky-services-wrapper,
  .services-scroll-content {
    display: contents !important;
  }

  .sticky-image-panel {
    display: none !important;
  }

  .service-card-home:nth-child(1) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_photography.webp) !important; }
  .service-card-home:nth-child(2) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_videography.webp) !important; }
  .service-card-home:nth-child(3) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_video_editing.webp) !important; }
  .service-card-home:nth-child(4) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_graphic_design.webp) !important; }
  .service-card-home:nth-child(5) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_branding.webp) !important; }
  .service-card-home:nth-child(6) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_social_media.webp) !important; }
  .service-card-home:nth-child(7) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_seo.webp) !important; }
  .service-card-home:nth-child(8) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_web_dev.webp) !important; }
  .service-card-home:nth-child(9) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_influencer.webp) !important; }
  .service-card-home:nth-child(10) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_event.webp) !important; }
  .service-card-home:nth-child(11) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_wedding.webp) !important; }
  .service-card-home:nth-child(12) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_podcast.webp) !important; }
  .service-card-home:nth-child(n+13) { background-image: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.9)), url(/images/projects/service_customer_support.webp) !important; }
}

@media (max-width: 430px) {
  #home .remetics-hero-model {
    top: clamp(78px, 13vh, 104px) !important;
    width: min(46vw, 158px) !important;
    height: clamp(96px, 17vh, 118px) !important;
    opacity: 0.46 !important;
    transform: translate3d(-50%, 0, 0) scale(0.64) !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    scroll-snap-type: none !important;
    background-attachment: scroll !important;
    cursor: auto !important;
  }

  body,
  body::before {
    background-attachment: scroll !important;
  }

  body::before {
    display: none !important;
  }

  body::after {
    box-shadow: none !important;
    border-width: 2px !important;
    border-radius: 18px !important;
    inset: 9px !important;
  }

  .site-header .navbar,
  .site-header .nav-panel,
  .hero-badge,
  .rametics-footer-shell,
  .testimonial-carousel-card,
  .hero-carousel-card-aura,
  .info-card-main,
  .contact-form-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .remetics-model-stage,
  .remetics-camera-figure,
  .camera-rig,
  .camera-lens,
  .rametics-whatsapp-float::before,
  .watch-slideshow .image-inner,
  .animated-banner-image,
  .contact-marquee-track,
  .brands-marquee-track {
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  *,
  *::before,
  *::after {
    cursor: auto !important;
  }

  a,
  button,
  [role="button"],
  select,
  label,
  .service-link,
  .nav-cta,
  .primary-btn,
  .small-pill,
  .rametics-whatsapp-float {
    cursor: pointer !important;
  }

  input,
  textarea {
    cursor: text !important;
  }

  main {
    padding: 8px !important;
  }

  .section-pad,
  main > section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  #home.hero-wrap,
  #home {
    padding-bottom: 18px !important;
    margin-bottom: 0 !important;
  }

  #home .hero,
  .hero {
    min-height: auto !important;
    padding: 98px 0 34px !important;
  }

  #home .hero-content,
  .hero-content {
    padding-top: 18px !important;
    gap: 14px !important;
  }

  #home .hero h1,
  .hero h1 {
    margin: 12px 0 6px !important;
  }

  #home .hero-copy,
  .hero-copy {
    margin-bottom: 14px !important;
  }

  #about.about,
  #about {
    padding-top: 32px !important;
  }

  #services.services,
  #services,
  .services {
    padding-top: 44px !important;
    padding-bottom: 38px !important;
    contain: layout paint !important;
  }

  #services .section-heading,
  .services .section-heading {
    margin-bottom: 18px !important;
  }

  #services .services-grid-home,
  .services-grid-home {
    gap: 14px !important;
  }

  #services .service-card-home,
  .service-card-home {
    aspect-ratio: 4 / 3 !important;
    min-height: 220px !important;
    max-height: 278px !important;
    padding: 24px 20px !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transition: none !important;
    will-change: auto !important;
    contain: layout paint !important;
  }

  #services .service-card-home h3,
  .service-card-home h3 {
    font-size: clamp(24px, 7.4vw, 30px) !important;
    margin-bottom: 10px !important;
  }

  #services .service-card-home p,
  .service-card-home p {
    flex-grow: 0 !important;
    margin: 0 auto 14px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  #services .service-card-home .service-link,
  .service-card-home .service-link {
    font-size: 12px !important;
  }

  #projects.projects,
  #projects {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
    contain: layout paint !important;
  }

  .project-grid,
  .project-col {
    gap: 16px !important;
  }

  .project-card,
  .project-card.featured,
  .project-card.compact {
    min-height: 260px !important;
    border-radius: 12px !important;
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
    will-change: auto !important;
    contain: layout paint !important;
  }

  .project-image,
  .project-card:hover .project-image {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  .project-content,
  .project-card:hover .project-content {
    padding: 22px !important;
    transform: none !important;
    transition: none !important;
  }

  .project-content h3 {
    font-size: 20px !important;
  }

  .project-content p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .service-card-home:hover,
  .project-card:hover,
  .stat-card:hover,
  .image-tile:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .image-tile,
  .stat-card,
  .testimonial-carousel-card,
  .hero-carousel-card-aura,
  .info-card-main,
  .contact-form-card {
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
    will-change: auto !important;
  }
}

@media (max-width: 768px) {
  #home .remetics-hero-model {
    top: clamp(68px, 11vh, 92px) !important;
  }
}

@media (max-width: 430px) {
  #home .remetics-hero-model {
    top: clamp(56px, 9vh, 78px) !important;
  }

  #services .service-card-home,
  .service-card-home {
    min-height: 230px !important;
    max-height: 292px !important;
    padding: 24px 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
  }

  .remetics-model-stage,
  .rametics-whatsapp-float::before {
    animation: none !important;
  }
}

/* Services page premium grid */
.services-page {
  background:
    radial-gradient(circle at 13% 18%, rgba(53, 93, 155, 0.38), transparent 34rem),
    radial-gradient(circle at 96% 25%, rgba(242, 163, 65, 0.22), transparent 34rem),
    linear-gradient(115deg, #07111f 0%, #0a0d14 48%, #21120d 100%) !important;
}

.services-page .services-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(70px, 8vw, 120px) !important;
  background:
    radial-gradient(circle at 12% 34%, rgba(53, 93, 155, 0.48), transparent 38rem),
    radial-gradient(circle at 98% 38%, rgba(242, 163, 65, 0.25), transparent 36rem),
    linear-gradient(115deg, #07111f 0%, #0b101b 47%, #24130d 100%) !important;
}

.services-page .services-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(170px, 18vw, 260px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 17, 31, 0) 0%,
    rgba(7, 17, 31, 0.34) 44%,
    rgba(6, 12, 20, 0.78) 72%,
    rgba(5, 9, 16, 0.96) 100%
  );
}

.services-page .services-hero > .container {
  position: relative;
  z-index: 1;
}

.services-page .services-grid-section {
  margin-top: clamp(-92px, -7vw, -54px) !important;
  padding: clamp(96px, 9vw, 146px) clamp(12px, 3vw, 34px) clamp(56px, 7vw, 108px) !important;
  background:
    linear-gradient(180deg, rgba(5, 9, 16, 0.02) 0%, rgba(5, 9, 16, 0.42) 28%, rgba(5, 9, 16, 0.92) 100%),
    radial-gradient(circle at 10% 0%, rgba(53, 93, 155, 0.26), transparent 34rem),
    radial-gradient(circle at 92% 4%, rgba(242, 163, 65, 0.16), transparent 30rem),
    linear-gradient(115deg, #07111f 0%, #0a0d14 48%, #21120d 100%) !important;
}

.services-page .services-grid-section > .container {
  width: min(100%, 1480px) !important;
  max-width: 1480px !important;
  padding: 0 !important;
}

.services-grid-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(242, 230, 213, 0.58);
  border-radius: 36px;
  padding: clamp(20px, 4.2vw, 58px);
  background:
    radial-gradient(circle at 9% 8%, rgba(53, 93, 155, 0.34), transparent 34rem),
    radial-gradient(circle at 92% 15%, rgba(242, 163, 65, 0.18), transparent 32rem),
    linear-gradient(115deg, #07111f 0%, #0a0d14 46%, #21120d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 110px rgba(0, 0, 0, 0.42);
}

.services-grid-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(242, 230, 213, 0.2) 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  opacity: 0.14;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.services-grid-aura {
  position: absolute;
  inset: auto 8% -22% 12%;
  height: 36%;
  z-index: -1;
  background: radial-gradient(ellipse, rgba(53, 93, 155, 0.22), transparent 64%);
  filter: blur(28px);
}

.services-grid-full {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(24px, 2.4vw, 32px) !important;
}

.services-grid-full .service-grid-card {
  position: relative;
  display: flex;
  min-height: clamp(270px, 20vw, 300px);
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: clamp(24px, 2.7vw, 34px);
  border: 1px solid rgba(242, 163, 65, 0.62);
  border-radius: 28px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(16, 33, 58, 0.78), rgba(6, 10, 18, 0.92) 52%, rgba(35, 18, 10, 0.7)),
    rgba(7, 17, 31, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 54px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.services-grid-full .service-grid-card:focus-visible {
  outline: 3px solid rgba(242, 230, 213, 0.86);
  outline-offset: 4px;
}

.services-grid-full .service-grid-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 190, 92, 0.95);
  box-shadow: 0 0 0 1px rgba(242, 163, 65, 0.18), 0 22px 70px rgba(0, 0, 0, 0.42), 0 0 42px rgba(242, 163, 65, 0.16), 0 0 34px rgba(53, 93, 155, 0.18);
}

.service-card-bg,
.service-card-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-card-bg {
  background-image: var(--service-image);
  background-position: center;
  background-size: cover;
  opacity: 0.72;
  transform: scale(1.02);
  transition: opacity 280ms ease, transform 500ms ease, filter 280ms ease;
  filter: saturate(1.16) contrast(1.08) brightness(1.08);
}

.service-grid-card:hover .service-card-bg {
  opacity: 0.88;
  transform: scale(1.08);
  filter: saturate(1.22) contrast(1.12) brightness(1.14);
}

.service-card-overlay {
  background:
    radial-gradient(circle at 18% 12%, rgba(53, 93, 155, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.04) 0%, rgba(3, 7, 18, 0.12) 38%, rgba(3, 7, 18, 0.58) 72%, rgba(3, 7, 18, 0.86) 100%);
}

.services-grid-full .service-icon-box {
  position: relative;
  z-index: 1;
  display: inline-flex !important;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(3, 7, 18, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.services-grid-full .service-icon-box i {
  color: #fff;
  font-size: 24px;
  font-style: normal;
  line-height: 1;
}

.services-grid-full .service-grid-card h3,
.services-grid-full .service-grid-card p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.services-grid-full .service-grid-card h3 {
  margin-top: clamp(52px, 5.8vw, 76px);
  color: #fff;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: 0;
}

.services-grid-full .service-grid-card p {
  max-width: 31rem;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.66;
}

.services-whatsapp-float {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 5;
  display: inline-flex;
  width: clamp(58px, 5vw, 66px);
  height: clamp(58px, 5vw, 66px);
  align-items: center;
  justify-content: center;
  border: 8px solid rgba(3, 7, 18, 0.48);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #36d66f, #11843f);
  box-shadow: 0 18px 45px rgba(13, 180, 83, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.services-whatsapp-float:hover,
.services-whatsapp-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 20px 58px rgba(13, 180, 83, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.services-whatsapp-float span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 1180px) {
  .services-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .services-page .services-hero {
    padding-bottom: 72px !important;
  }

  .services-page .services-grid-section {
    margin-top: -58px !important;
    padding: 86px 12px 56px !important;
  }

  .services-grid-shell {
    border-radius: 26px;
    padding: 16px 16px 88px;
  }

  .services-grid-full {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .services-grid-full .service-grid-card {
    min-height: 240px;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .services-grid-full .service-grid-card h3 {
    margin-top: 44px;
    font-size: 24px;
  }

  .services-grid-full .service-grid-card p {
    font-size: 15px;
    line-height: 1.58;
  }
}

/* About page professional refresh */
.about-page .about-hero-full {
  min-height: auto !important;
  padding-top: 126px !important;
  padding-bottom: 34px !important;
}

.about-hero-pro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
}

.about-hero-visual .about-hero-content-wrapper {
  width: min(88vw, 1240px);
}

.about-page .about-hero-full .about-hero-copy {
  max-width: 720px !important;
  padding: 0 !important;
}

.about-page .about-hero-copy h1 {
  max-width: 690px;
  margin: 18px 0 24px !important;
  font-size: clamp(54px, 6.4vw, 92px) !important;
  letter-spacing: -0.03em;
}

.about-page .hero-description {
  max-width: 620px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(17px, 1.6vw, 21px) !important;
  line-height: 1.68 !important;
}

.about-hero-art {
  position: relative;
  min-height: clamp(360px, 48vw, 620px);
  overflow: hidden;
  border: 1px solid rgba(242, 163, 65, 0.36);
  border-radius: 34px;
  background: rgba(3, 7, 18, 0.38);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42), 0 0 54px rgba(242, 163, 65, 0.12);
}

.about-hero-art img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 58% center;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.about-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 163, 65, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.02), rgba(3, 7, 18, 0.26));
}

.about-intro-section {
  padding: 28px 0 20px;
}

.about-intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  padding: clamp(26px, 4vw, 50px);
  border: 1px solid rgba(242, 163, 65, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(53, 93, 155, 0.22), transparent 42%),
    radial-gradient(circle at 100% 15%, rgba(242, 163, 65, 0.13), transparent 38%),
    rgba(3, 7, 18, 0.36);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.about-intro-heading h1 {
  max-width: 720px;
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(38px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.about-intro-heading h1 span {
  display: inline;
}

.about-intro-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.74;
}

.about-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-hero-badges span,
.stats-grid-about .stat-label-about {
  letter-spacing: 0.08em !important;
}

.about-hero-badges span {
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(242, 163, 65, 0.28);
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 800;
}

.about-page .stats-grid-about {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px !important;
  border: 0 !important;
  padding: 28px 0 !important;
}

.about-page .about-stats.section-pad {
  padding: 18px 0 42px !important;
}

.about-page .founder-section.section-pad {
  padding: 28px 0 62px !important;
}

.about-page .vision-mission-section.section-pad {
  padding: 54px 0 62px !important;
}

.about-page .team-section.section-pad {
  padding: 60px 0 78px !important;
}

.about-page .stat-item-about {
  border: 1px solid rgba(242, 163, 65, 0.24);
  border-radius: 22px;
  padding: 28px 18px;
  background: rgba(3, 7, 18, 0.34);
}

.about-page .stat-value-about {
  color: #fff !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.08;
}

.about-page .stat-label-about {
  color: rgba(255, 255, 255, 0.66) !important;
  margin: 0;
  font-size: 12px !important;
}

.about-page .vm-card p,
.about-page .founder-quote,
.about-page .team-info p {
  color: rgba(255, 255, 255, 0.72) !important;
}

@media (max-width: 980px) {
  .about-hero-pro-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-art {
    min-height: 420px;
  }

  .about-intro-panel {
    grid-template-columns: 1fr;
  }

  .about-page .stats-grid-about {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .about-page .about-hero-full {
    padding-top: 94px !important;
    padding-bottom: 22px !important;
  }

  .about-page .about-hero-copy h1 {
    font-size: clamp(42px, 12vw, 58px) !important;
  }

  .about-hero-art {
    min-height: 300px;
    border-radius: 26px;
  }

  .about-intro-section {
    padding: 18px 0 14px;
  }

  .about-intro-panel {
    border-radius: 24px;
  }

  .about-intro-heading h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .about-page .stats-grid-about {
    grid-template-columns: 1fr;
  }

  .about-page .about-stats.section-pad {
    padding: 10px 0 26px !important;
  }

  .about-page .founder-section.section-pad,
  .about-page .vision-mission-section.section-pad,
  .about-page .team-section.section-pad {
    padding: 38px 0 !important;
  }
}
/* Keep the desktop service image pinned through the final card flip. */
@media (min-width: 769px) {
  #services .sticky-services-wrapper {
    overflow: visible !important;
  }
  #services .sticky-image-panel {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 110px !important;
    align-self: flex-start !important;
  }
  #services .services-scroll-content {
    padding-bottom: max(75vh, 680px) !important;
  }
}
/* Release the pinned image only after the final service has been viewed. */
@media (min-width: 769px) {
  #services .services-scroll-content {
    padding-bottom: 0 !important;
  }
  #services .sticky-initialized .service-card-home:last-child {
    min-height: max(70vh, 680px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
}
/* Native sticky requires ancestors not to create an overflow scroll container. */
@media (min-width: 769px) {
  html, body {
    overflow-x: clip !important;
    overflow-y: visible !important;
    will-change: auto !important;
  }
}
@media (min-width: 769px) {
  .page-transition-wrapper,
  #services,
  #services .container {
    will-change: auto !important;
  }
}
/* Never leave the About collage blank when motion is disabled. */
@media (prefers-reduced-motion: reduce) {
  .watch-slideshow .image-inner {
    animation: none !important;
    opacity: 0 !important;
  }
  .watch-slideshow .image-inner:first-child {
    opacity: 1 !important;
  }
}
/* Mobile: guarantee a visible About collage image without slideshow timing gaps. */
@media (max-width: 768px) {
  .about-collage .watch-slideshow .image-inner {
    display: none !important;
    animation: none !important;
    opacity: 0 !important;
  }
  .about-collage .watch-slideshow .image-inner:first-child {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
/* Mobile-only icon service cards; desktop sticky/book-flip remains unchanged. */
@media (max-width: 768px) {
  #services .services-grid-home {
    gap: 14px !important;
  }
  #services .service-card-home {
    aspect-ratio: auto !important;
    min-height: 190px !important;
    max-height: none !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 24px 22px !important;
    text-align: left !important;
    background: linear-gradient(145deg, rgba(18, 31, 50, 0.96), rgba(21, 15, 18, 0.96)) !important;
    background-image: none !important;
    border: 1px solid rgba(242, 163, 65, 0.28) !important;
    border-radius: 18px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 14px 30px rgba(0,0,0,0.24) !important;
    contain: layout paint !important;
  }
  #services .service-card-home .service-icon-circle {
    display: flex !important;
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 18px !important;
    color: #07111f !important;
    background: linear-gradient(135deg, #f2a341, #ffbf5a) !important;
    border: 1px solid rgba(255,255,255,0.32) !important;
    border-radius: 16px !important;
    font-size: 25px !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(242,163,65,0.2) !important;
  }
  #services .service-card-home h3 {
    width: 100% !important;
    margin: 0 0 8px !important;
    color: #fff !important;
    font-size: clamp(21px, 6vw, 26px) !important;
    line-height: 1.12 !important;
    text-align: left !important;
  }
  #services .service-card-home p {
    width: 100% !important;
    margin: 0 0 16px !important;
    color: rgba(255,255,255,0.68) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }
  #services .service-card-home .service-link {
    justify-content: flex-start !important;
    margin: auto 0 0 !important;
    color: #f2a341 !important;
    opacity: 1 !important;
    text-align: left !important;
    transform: none !important;
  }
}
/* Full-bleed site canvas: remove the fixed white viewport frame. */
body::after {
  display: none !important;
  content: none !important;
}
main {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Services page only: icon-first cards on desktop and mobile, no imagery. */
.services-page .services-grid-full .service-card-bg {
  display: none !important;
  background-image: none !important;
}
.services-page .services-grid-full .service-card-overlay {
  background: radial-gradient(circle at 12% 8%, rgba(53,93,155,0.18), transparent 38%), linear-gradient(145deg, rgba(16,33,58,0.38), rgba(35,18,10,0.28)) !important;
}
.services-page .services-grid-full .service-grid-card {
  min-height: 250px !important;
  justify-content: flex-start !important;
  background: linear-gradient(145deg, rgba(15,29,48,0.96), rgba(13,17,27,0.97) 56%, rgba(32,19,14,0.94)) !important;
}
.services-page .services-grid-full .service-icon-box {
  width: 64px !important;
  height: 64px !important;
  flex: 0 0 64px !important;
  margin: 0 0 28px !important;
  border-color: rgba(255,255,255,0.28) !important;
  border-radius: 18px !important;
  color: #07111f !important;
  background: linear-gradient(135deg, #f2a341, #ffbf5a) !important;
  box-shadow: 0 14px 30px rgba(242,163,65,0.2), inset 0 1px 0 rgba(255,255,255,0.34) !important;
}
.services-page .services-grid-full .service-icon-box i {
  color: #07111f !important;
  font-size: 30px !important;
}
.services-page .services-grid-full .service-grid-card h3 {
  margin-top: 0 !important;
}
.services-page .services-grid-full .service-grid-card p {
  margin-top: 14px !important;
}
@media (max-width: 768px) {
  .services-page .services-grid-full .service-grid-card {
    min-height: 220px !important;
    padding: 24px 22px !important;
  }
  .services-page .services-grid-full .service-icon-box {
    width: 56px !important;
    height: 56px !important;
    flex-basis: 56px !important;
    margin-bottom: 20px !important;
  }
  .services-page .services-grid-full .service-icon-box i {
    font-size: 20px !important;
  }
}
/* Services page: one continuous left-blue/right-brown canvas from top to bottom. */
.services-page {
  background: linear-gradient(90deg, #0b1d36 0%, #101725 50%, #352014 100%) !important;
  background-attachment: scroll !important;
}
.services-page .services-hero,
.services-page .services-grid-section {
  background: transparent !important;
}
.services-page .services-hero::after {
  display: none !important;
  content: none !important;
}
/* Global continuous canvas: preserve the same horizontal colors through every page and footer. */
html {
  background: #101725 !important;
}
body {
  min-height: 100vh;
  background: linear-gradient(90deg, #0b1d36 0%, #101725 50%, #352014 100%) fixed !important;
}
.page-transition-wrapper,
main,
main > section,
footer.footer,
.rametics-footer-modern {
  background: transparent !important;
}
.page-transition-wrapper {
  min-height: 100vh;
}
/* Services page: remove only the large outer grid-shell border. */
.services-page .services-grid-shell {
  border: none !important;
  box-shadow: none !important;
}
/* Services page: expose the continuous page gradient behind the card grid. */
.services-page .services-grid-shell {
  background: transparent !important;
}
.services-page .services-grid-shell::before {
  display: none !important;
  content: none !important;
}
/* Font Awesome icons for footer quick links. */
.rametics-footer-mini-links a::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
}
.rametics-footer-mini-links a:nth-child(1)::before {
  content: "\f167" !important;
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}
.rametics-footer-mini-links a:nth-child(2)::before {
  content: "\f16d" !important;
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}
.rametics-footer-mini-links a:nth-child(3)::before { content: "\f095" !important; }
.rametics-footer-mini-links a:nth-child(4)::before { content: "\f03e" !important; }
.rametics-footer-mini-links a:nth-child(5)::before { content: "\f0e0" !important; }
/* Remove section-local aura so the global canvas never changes at section boundaries. */
.services-page .services-grid-aura {
  display: none !important;
  background: none !important;
  filter: none !important;
}

/* About page reference-inspired layout — preserves the global RΛMΞTICS palette */
.about-reference-intro{padding-top:clamp(42px,6vw,90px);padding-bottom:clamp(34px,5vw,72px)}
.about-reference-grid{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(520px,1.55fr);min-height:610px;border:1px solid rgba(244,166,55,.3);border-radius:28px;overflow:hidden;background:rgba(6,14,27,.32);box-shadow:0 30px 90px rgba(0,0,0,.24)}
.about-reference-copy{padding:clamp(40px,5vw,80px);display:flex;flex-direction:column;justify-content:center;background:rgba(5,14,29,.58)}
.about-reference-copy h1{font-size:clamp(42px,4.5vw,76px);line-height:.98;letter-spacing:-.045em;margin:18px 0 24px;max-width:670px}
.about-reference-copy h1 span{display:block}
.about-reference-copy>p:last-of-type{font-size:17px;line-height:1.8;color:rgba(255,255,255,.7);max-width:620px}
.about-heading-rule{width:58px;height:3px;background:#f4a637;border-radius:99px;margin-bottom:28px}
.about-reference-visual{position:relative;min-height:610px}
.about-reference-visual>img{width:100%;height:100%;object-fit:cover;display:block}
.about-reference-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,14,29,.22),transparent 35%),linear-gradient(0deg,rgba(4,10,20,.72),transparent 42%);pointer-events:none}
.about-reference-copy .about-hero-badges{margin-top:25px}
.about-impact-strip{position:absolute;z-index:2;left:5%;right:5%;bottom:26px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(244,166,55,.28);border-radius:16px;background:rgba(5,12,24,.88);backdrop-filter:blur(15px);overflow:hidden}
.about-impact-strip>div{display:flex;gap:12px;align-items:center;padding:22px 18px;border-right:1px solid rgba(244,166,55,.22)}
.about-impact-strip>div:last-child{border-right:0}.about-impact-strip strong{font-size:26px;color:#f4a637}.about-impact-strip span{font-size:13px;font-weight:700;color:#fff;line-height:1.35}.about-impact-strip small{font-size:11px;font-weight:400;color:rgba(255,255,255,.48)}
.about-locations{padding-top:18px}.about-locations-title{display:flex;align-items:center;justify-content:center;gap:18px;margin-bottom:32px}.about-locations-title span{width:68px;height:1px;background:linear-gradient(90deg,transparent,#f4a637)}.about-locations-title span:last-child{transform:scaleX(-1)}.about-locations-title h2{font-size:24px;margin:0;white-space:nowrap}
.about-location-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.about-location-grid article{min-height:205px;padding:30px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(244,166,55,.38);border-radius:18px;background:rgba(6,14,28,.35);transition:transform .25s,border-color .25s}.about-location-grid article:hover{transform:translateY(-5px);border-color:#f4a637}.about-location-grid i{font-size:42px;color:rgba(255,255,255,.55);margin-bottom:22px}.about-location-grid h3{text-transform:uppercase;letter-spacing:.08em;font-size:18px;margin:0 0 6px}.about-location-grid p{color:#f4a637;margin:0;font-size:14px}.about-location-grid small{margin-top:8px;color:rgba(255,255,255,.45)}
.founder-section{padding-block:28px}.founder-glass-card{min-height:440px;display:grid!important;grid-template-columns:minmax(320px,.82fr) minmax(420px,1.28fr);padding:0!important;overflow:hidden}.founder-image-wrapper{width:100%!important;height:100%!important;min-height:440px;border-radius:0!important}.founder-content{padding:clamp(42px,6vw,92px)!important;display:flex;flex-direction:column;justify-content:center}.founder-content h2{font-size:clamp(44px,5vw,72px)!important;line-height:.98}.ceo-section .founder-glass-card{grid-template-columns:minmax(420px,1.28fr) minmax(320px,.82fr)}.ceo-section .founder-image-wrapper{order:2}.ceo-section .founder-content{order:1}.founder-label,.founder-title{color:#f4a637!important}.founder-quote{font-style:normal!important;line-height:1.75!important}
.vision-mission-section{padding-top:48px}.vm-grid{gap:0!important;border:1px solid rgba(244,166,55,.35);border-radius:22px;overflow:hidden;background:rgba(6,14,28,.28)}.vm-card{border:0!important;border-radius:0!important;background:transparent!important}.vm-card+ .vm-card{border-left:1px solid rgba(244,166,55,.28)!important}
@media(max-width:900px){.about-reference-grid{grid-template-columns:1fr}.about-reference-copy{padding:42px 28px}.about-reference-visual{min-height:500px}.about-impact-strip{grid-template-columns:repeat(2,1fr)}.about-impact-strip>div:nth-child(2){border-right:0}.about-impact-strip>div:nth-child(-n+2){border-bottom:1px solid rgba(244,166,55,.22)}.about-location-grid{grid-template-columns:repeat(2,1fr)}.founder-glass-card,.ceo-section .founder-glass-card{grid-template-columns:1fr}.ceo-section .founder-image-wrapper,.ceo-section .founder-content{order:initial}.founder-image-wrapper{min-height:520px}.founder-content{padding:38px 28px!important}}
@media(max-width:560px){.about-reference-intro{padding-top:22px}.about-reference-grid{border-radius:20px}.about-reference-copy h1{font-size:40px}.about-reference-visual{min-height:460px}.about-impact-strip{left:12px;right:12px;bottom:12px}.about-impact-strip>div{padding:14px 10px;gap:8px}.about-impact-strip strong{font-size:20px}.about-location-grid{grid-template-columns:1fr 1fr;gap:10px}.about-location-grid article{min-height:160px;padding:20px 10px}.about-location-grid i{font-size:32px;margin-bottom:15px}.about-location-grid h3{font-size:15px}.founder-image-wrapper{min-height:410px}.founder-content h2{font-size:42px!important}.vm-grid{grid-template-columns:1fr!important}.vm-card+.vm-card{border-left:0!important;border-top:1px solid rgba(244,166,55,.28)!important}}

/* About intro desktop split: content 55%, visual 45% */
@media (min-width:901px){.about-reference-grid{grid-template-columns:55% 45%}.about-reference-copy{min-width:0}.about-reference-visual{min-width:0}.about-reference-copy h1{font-size:clamp(42px,4vw,70px)}}

/* Wider About impact strip on desktop */
@media (min-width:901px){.about-impact-strip{left:-22%;right:4%;grid-template-columns:repeat(4,minmax(0,1fr))}.about-impact-strip>div{min-width:0;padding:20px 14px;gap:10px}.about-impact-strip span{min-width:0;overflow-wrap:anywhere}.about-impact-strip small{white-space:normal}}

/* Mobile vertical rhythm hotfix — 2026-07-21 */
@media (max-width: 768px) {
  /* Home: tighten the transition from testimonials into the closing CTA. */
  .testimonials-carousel-section {
    padding-bottom: 16px !important;
  }

  #contact.contact {
    padding-top: 8px !important;
    padding-bottom: 28px !important;
  }

  #contact .cta-horizontal-box {
    margin-top: 72px !important;
  }

  /* Inner-page heroes already receive navbar clearance from the page wrapper. */
  .portfolio-page .portfolio-hero,
  .testimonials-page .testimonials-hero {
    min-height: auto !important;
    padding-top: 18px !important;
    padding-bottom: 22px !important;
  }

  .portfolio-page .portfolio-gallery {
    padding-top: 14px !important;
    padding-bottom: 28px !important;
  }

  .portfolio-page .portfolio-testimonials {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }

  .testimonials-page .testimonials-grid-section {
    padding-top: 16px !important;
    padding-bottom: 24px !important;
  }

  .testimonials-page .trusted-brands-section {
    padding-top: 12px !important;
    padding-bottom: 28px !important;
  }

  .services-page .services-grid-section {
    padding-bottom: 22px !important;
  }

  /* Prevent desktop footer breathing room from becoming a large mobile void. */
  .rametics-footer-modern {
    padding-top: 30px !important;
  }
}

@media (max-width: 430px) {
  .portfolio-page .portfolio-hero,
  .testimonials-page .testimonials-hero {
    padding-top: 12px !important;
  }

  #contact .cta-horizontal-box {
    margin-top: 58px !important;
  }
}

/* Mobile RΛMΞTICS typography tuning — 2026-07-21 */
@media (max-width: 768px) {
  .site-header .brand::after {
    font-size: 18px !important;
  }

  .contact-marquee-track span {
    font-size: 46px !important;
  }

  .rametics-footer-logo span {
    font-size: 22px !important;
  }

  #about .section-label {
    font-size: 12px !important;
  }

  #about .about-copy p:not(.section-label) {
    font-size: 13px !important;
  }

  #contact .cta-text p {
    font-size: 12px !important;
  }

  .rametics-footer-brand p {
    font-size: 12px !important;
  }

  .rametics-footer-bottom {
    font-size: 9px !important;
  }
}

/* Mobile CTA title tuning — 2026-07-21 */
@media (max-width: 768px) {
  #contact .cta-text h2 {
    font-size: 20px !important;
    line-height: 1.12 !important;
  }
}

/* Mobile contact marquee flow fix — 2026-07-21 */
@media (max-width: 768px) {
  #contact.contact {
    padding-top: 10px !important;
  }

  #contact .contact-marquee {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 54px !important;
    margin: 0 0 12px !important;
    align-items: center !important;
    overflow: hidden !important;
    z-index: 1 !important;
  }

  #contact .contact-marquee-track {
    display: flex !important;
    width: max-content !important;
    animation: marqueeRightToLeft 18s linear infinite !important;
    transition: none !important;
    will-change: transform !important;
  }

  #contact .contact-marquee-track span {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }

  #contact .container {
    position: relative !important;
    z-index: 2 !important;
  }

  #contact .cta-horizontal-box {
    margin-top: 0 !important;
  }
}

/* Compact mobile section rhythm — 2026-07-21 */
@media (max-width: 768px) {
  main > section,
  .section-pad {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  #home.hero-wrap,
  #home {
    padding-top: 0 !important;
    padding-bottom: 10px !important;
  }

  #about.about,
  #about,
  #services.services,
  #services,
  .services,
  #projects.projects,
  #projects {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .section-heading.split,
  .projects-head {
    margin-bottom: 24px !important;
  }

  .testimonials-carousel-section {
    padding-top: 28px !important;
    padding-bottom: 8px !important;
  }

  .testimonial-carousel-track {
    padding-top: 8px !important;
    padding-bottom: 10px !important;
  }

  .testimonial-carousel-wrapper {
    height: auto !important;
    min-height: 0 !important;
  }

  .testimonial-carousel-card.active {
    position: relative !important;
  }

  #contact.contact {
    padding-top: 8px !important;
    padding-bottom: 24px !important;
  }

  .services-page .services-grid-section,
  .portfolio-page .portfolio-gallery,
  .portfolio-page .portfolio-testimonials,
  .testimonials-page .testimonials-grid-section,
  .testimonials-page .trusted-brands-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .rametics-footer-modern {
    margin-top: 0 !important;
    padding-top: 24px !important;
  }
}

/* Mobile 36px heading normalization — 2026-07-21 */
@media (max-width: 768px) {
  .testimonials-carousel-section h2 {
    font-size: 24px !important;
    line-height: 1.08 !important;
  }
}

/* Mobile About order and service title sizing — 2026-07-21 */
@media (max-width: 768px) {
  .about-collage > .stat-card.gold {
    order: 3 !important;
  }

  .about-collage > .watch-slideshow {
    order: 4 !important;
  }

  #services .service-card-home h3,
  .service-card-home h3 {
    font-size: 20px !important;
    line-height: 1.12 !important;
  }
}

/* Mobile portfolio cards: media above, readable content below — 2026-07-21 */
@media (max-width: 768px) {
  .project-card,
  .project-card.featured,
  .project-card.compact {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    background: #101827 !important;
    border: 1px solid rgba(242, 163, 65, 0.42) !important;
  }

  .project-card .project-image,
  .project-card:hover .project-image {
    position: relative !important;
    inset: auto !important;
    flex: 0 0 190px !important;
    width: 100% !important;
    min-height: 190px !important;
    background-position: center !important;
    transform: none !important;
  }

  .project-card .project-image::after {
    background: linear-gradient(180deg, transparent 55%, rgba(7, 11, 18, 0.48) 100%) !important;
  }

  .project-card .project-content,
  .project-card:hover .project-content {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 18px 18px 20px !important;
    background: linear-gradient(135deg, #101827 0%, #1b1718 100%) !important;
    transform: none !important;
  }

  .project-card .project-content span {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .project-card .project-content h3 {
    margin: 7px 0 9px !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
  }

  .project-card .project-content p {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    color: #cbd1da !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    overflow: visible !important;
  }

  .project-card .project-content .small-pill {
    min-height: 38px !important;
    margin-top: 14px !important;
    padding: 0 18px !important;
    font-size: 10px !important;
  }
}

/* Mobile portfolio hero fixed-header clearance — 2026-07-21 */
@media (max-width: 768px) {
  .portfolio-page .portfolio-hero {
    min-height: auto !important;
    padding-top: 112px !important;
    padding-bottom: 24px !important;
  }

  .portfolio-page .portfolio-hero-content .section-label {
    margin-bottom: 14px !important;
  }
}

/* Mobile testimonials hero fixed-header clearance — 2026-07-21 */
@media (max-width: 768px) {
  .testimonials-page .testimonials-hero {
    min-height: auto !important;
    padding-top: 112px !important;
    padding-bottom: 24px !important;
  }

  .testimonials-page .testimonials-hero .section-label {
    margin-bottom: 14px !important;
  }
}

/* Mobile About visual height correction — 2026-07-21 */
@media (max-width: 560px) {
  .about-reference-visual {
    min-height: 420px !important;
    height: 420px !important;
  }

  .about-reference-visual > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* Mobile Founder and CEO card compaction — 2026-07-21 */
@media (max-width: 560px) {
  .founder-section .founder-glass-card,
  .ceo-section .founder-glass-card {
    min-height: 0 !important;
    height: auto !important;
  }

  .founder-section .founder-image-wrapper,
  .ceo-section .founder-image-wrapper {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    aspect-ratio: auto !important;
  }

  .founder-section .founder-image,
  .ceo-section .founder-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 30% !important;
  }

  .ceo-section .founder-image {
    object-position: center 20% !important;
  }

  .founder-section .founder-content,
  .ceo-section .founder-content {
    padding: 24px 20px !important;
  }

  .founder-section .founder-label,
  .ceo-section .founder-label {
    margin: 0 0 8px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .founder-section .founder-content h2,
  .ceo-section .founder-content h2 {
    margin: 0 0 7px !important;
    font-size: 28px !important;
    line-height: 1.08 !important;
  }

  .founder-section .founder-title,
  .ceo-section .founder-title {
    margin: 0 0 16px !important;
    font-size: 14px !important;
    line-heigight: 1.35 !important;
  }

  .founder-section .founder-quote,
  .ceo-section .founder-quote {
    margin: 0 !important;
    padding-left: 14px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

/* Homepage client logo carousel */
.client-logos-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 76px !important;
  padding-bottom: 100px !important;
}

.client-logos-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 50%, rgba(53, 93, 155, 0.13), transparent 38%),
    radial-gradient(circle at 88% 45%, rgba(242, 163, 65, 0.1), transparent 34%);
}

.client-logos-heading {
  max-width: 980px;
  margin-bottom: 38px;
}

.client-logos-heading .section-label {
  margin-bottom: 12px;
}

.client-logos-heading h2 {
  margin: 0;
  color: #fff;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.client-logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0 14px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.client-logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: client-logo-scroll 38s linear infinite;
  will-change: transform;
}

.client-logo-group {
  display: flex;
  flex: none;
  gap: 18px;
}

.client-logo-card {
  flex: 0 0 clamp(210px, calc((min(90vw, 1500px) - 72px) / 5), 286px);
  aspect-ratio: 7 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 163, 65, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.client-logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 163, 65, 0.62);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.client-logo-marquee:hover .client-logo-track,
.client-logo-marquee:focus-within .client-logo-track {
  animation-play-state: paused;
}

@keyframes client-logo-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - 9px), 0, 0);
  }
}

@media (max-width: 980px) {
  .client-logos-section {
    padding-top: 68px !important;
    padding-bottom: 82px !important;
  }

  .client-logo-card {
    flex-basis: calc((90vw - 36px) / 3);
  }
}

@media (max-width: 640px) {
  .client-logos-section {
    padding-top: 56px !important;
    padding-bottom: 70px !important;
  }

  .client-logos-heading {
    margin-bottom: 26px;
  }

  .client-logos-heading h2 {
    line-height: 1.08;
  }

  .client-logo-marquee {
    margin-inline: -2px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
  }

  .client-logo-card {
    flex-basis: calc((90vw - 18px) / 2);
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }

  .client-logo-track {
    width: max-content;
    animation: none;
  }

  .client-logo-group[aria-hidden="true"] {
    display: none;
  }

  .client-logo-card {
    transition: none;
  }
}
