:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5b6575;
  --border: #dfe6ee;
  --primary: #0f66ff;
  --primary-dark: #084fcb;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.readable-text {
  text-align: justify;
  text-align-last: left;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
  flex: 0 0 auto;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.hero {
  padding: 50px 0 70px;
  background:
    radial-gradient(circle at 10% 16%, rgba(15, 102, 255, 0.13), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(11, 211, 255, 0.17), transparent 30%),
    linear-gradient(180deg, #ffffff, var(--bg));
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  width: 100%;
  max-width: 1180px;
  text-align: center;
  font-size: clamp(2rem, 4.2vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
  margin: 0 auto 22px;
  white-space: normal;
}

.hero-text {
  max-width: 760px;
  font-size: 1.18rem;
  color: var(--muted);
  margin: 0 auto 30px;
  text-align: center;
  text-align-last: center;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  text-align: center;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 30px rgba(15, 102, 255, 0.25);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: white;
  border-color: var(--border);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-card {
  width: min(920px, 100%);
  background: #101827;
  color: white;
  border-radius: 32px;
  padding: 26px 34px;
  box-shadow: var(--shadow);
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}

.service-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.service-list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
}

.service-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  filter: invert(1);
}

.service-list strong {
  display: block;
  color: white;
  font-size: 1.08rem;
  margin-bottom: 2px;
}

.service-list p {
  color: #cbd5e1;
  margin: 0;
}

.portfolio-section {
  padding: 68px 0 28px;
  background: var(--bg);
  overflow: hidden;
}

.portfolio-heading {
  text-align: center;
  margin-bottom: 10px;
}

.portfolio-marquee {
  width: 100%;
  overflow: hidden;
  padding: 18px 0 26px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.portfolio-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: portfolio-scroll 26s linear infinite;
}

.portfolio-marquee:hover .portfolio-track {
  animation-play-state: paused;
}

.portfolio-item {
  min-width: 165px;
  height: 128px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
  display: grid;
  place-items: center;
  padding: 18px;
}

.portfolio-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.portfolio-item span {
  font-weight: 900;
  color: var(--text);
  margin-top: 6px;
}

@keyframes portfolio-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.centered-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.centered-heading .readable-text {
  text-align: center;
  text-align-last: center;
}

.section-heading p,
.text-block p,
.contact-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.card {
  padding: 28px;
  text-align: center;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #eef6ff;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.card-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
  text-align: left;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.text-block {
  font-size: 1.04rem;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.about-gallery img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.10);
  background: white;
}

.about-gallery-marquee {
  margin-top: 26px;
}

.gallery-duplicate {
  display: none;
}

.contact-section {
  padding-top: 20px;
}

.contact-card {
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 42px;
  align-items: center;
  background: linear-gradient(135deg, white, #eef6ff);
}

.contact-list {
  padding-left: 8px;
}

.contact-email-box {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.contact-email-box span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-email-box a {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.08rem;
  word-break: break-word;
}

.store-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.store-block h3,
.social-block h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.store-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 268px;
  height: 86px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.store-links img {
  width: 268px;
  height: 86px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 22px rgba(15, 23, 42, 0.16));
}

.store-links a:first-child img {
  transform: scale(1.12);
  transform-origin: center;
}

.store-links a:nth-child(2) img {
  transform: scale(0.86);
  transform-origin: center;
}

.social-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.social-links img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.footer {
  padding: 30px 0;
  background: #0b1220;
  color: #dbe4f0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.footer p {
  margin: 0;
}

.footer address {
  margin-top: 8px;
  color: #9fb0c7;
  font-size: 0.94rem;
  font-style: normal;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer a {
  color: #dbe4f0;
}

.footer a:hover {
  color: white;
}

.legal-page {
  padding: 74px 0;
}

.legal-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.07);
}

.legal-card h1 {
  text-align: left;
  max-width: 100%;
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.035em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 1.04rem;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-card a {
  color: var(--primary);
  font-weight: 800;
}

.legal-updated {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* MOBILE CENTERED */
@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 720px);
  }

  .site-header {
    position: sticky;
  }

  .nav {
    min-height: auto;
    padding: 12px 0 14px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .brand {
    flex-direction: column;
    gap: 4px;
    font-size: 1.04rem;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
    text-align: center;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    text-align: center;
  }

  .hero {
    padding: 34px 0 48px;
  }

  h1 {
    font-size: clamp(1.72rem, 9.6vw, 2.85rem);
    line-height: 1.08;
    letter-spacing: -0.052em;
    margin-bottom: 16px;
    text-align: center;
  }

  h2 {
    font-size: clamp(1.68rem, 8vw, 2.35rem);
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.048em;
  }

  h3 {
    font-size: 1.08rem;
    text-align: center;
  }

  .eyebrow {
    text-align: center;
    display: block;
    font-size: 0.74rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text,
  .section-heading p,
  .text-block p,
  .contact-card p,
  .card p,
  .legal-card p,
  .legal-card li,
  .readable-text {
    text-align: center;
    text-align-last: center;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.58;
    max-width: 95%;
    margin-bottom: 24px;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
    margin-bottom: 26px;
    justify-content: center;
  }

  .button {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.93rem;
    justify-content: center;
    text-align: center;
  }

  .hero-card {
    border-radius: 26px;
    padding: 24px 18px;
  }

  .service-list,
  .cards,
  .split,
  .contact-card,
  .about-gallery {
    grid-template-columns: 1fr;
  }

  .service-list {
    gap: 0;
  }

  .service-list li {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 18px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .service-list li:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .service-list li:last-child {
    border-bottom: 0;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .service-icon img {
    width: 28px;
    height: 28px;
  }

  .service-list strong {
    font-size: 1rem;
    text-align: center;
  }

  .service-list p {
    font-size: 0.94rem;
    line-height: 1.45;
    text-align: center;
  }

  .portfolio-section {
    padding: 46px 0 14px;
  }

  .portfolio-marquee {
    padding: 12px 0 18px;
    mask-image: none;
  }

  .portfolio-track {
    gap: 12px;
    animation-duration: 22s;
  }

  .portfolio-item {
    min-width: 136px;
    height: 112px;
    border-radius: 22px;
    padding: 14px;
    text-align: center;
  }

  .portfolio-item img {
    width: 56px;
    height: 56px;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading {
    margin-bottom: 24px;
    text-align: center;
  }

  .card {
    padding: 24px 20px;
    border-radius: 24px;
    text-align: center;
  }

  .card-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .split {
    text-align: center;
    gap: 26px;
  }

  .text-block {
    text-align: center;
  }

  .about-gallery {
    gap: 14px;
  }

  .about-gallery-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 22px;
    padding: 4px 0 14px;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  }

  .about-gallery {
    display: flex;
    width: max-content;
    grid-template-columns: none;
    gap: 14px;
    margin-top: 0;
    animation: about-gallery-scroll 30s linear infinite;
  }

  .about-gallery-marquee:hover .about-gallery {
    animation-play-state: paused;
  }

  .gallery-duplicate {
    display: block;
  }

  .about-gallery img {
    flex: 0 0 245px;
    width: 245px;
    height: 155px;
    border-radius: 22px;
  }

  .contact-section {
    padding-top: 24px;
  }

  .contact-card {
    padding: 28px 20px;
    gap: 28px;
    border-radius: 26px;
    text-align: center;
  }

  .contact-list {
    padding-left: 0;
    text-align: center;
  }

  .contact-email-box {
    padding: 16px;
    border-radius: 18px;
    text-align: center;
  }

  .contact-email-box a {
    font-size: 1rem;
  }

  .store-block {
    margin-top: 22px;
    text-align: center;
  }

  .store-links {
    gap: 12px;
    justify-content: center;
  }

  .store-links a,
  .store-links img {
    width: 210px;
    height: 68px;
  }

  .store-links a:first-child img {
    transform: scale(1.08);
  }

  .store-links a:nth-child(2) img {
    transform: scale(0.86);
  }

  .social-block {
    text-align: center;
  }

  .social-links {
    gap: 10px;
    justify-content: center;
  }

  .footer {
    padding: 28px 0;
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer address {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 10px 16px;
    text-align: center;
  }

  .footer-links a {
    padding: 6px 0;
    text-align: center;
  }

  .legal-page {
    padding: 42px 0;
  }

  .legal-card {
    border-radius: 24px;
    padding: 26px 20px;
    text-align: center;
  }

  .legal-card h1 {
    font-size: clamp(1.85rem, 9.5vw, 2.65rem);
    line-height: 1.08;
    text-align: center;
  }

  .legal-card h2 {
    margin-top: 28px;
    text-align: center;
  }

  .legal-card ul {
    padding-left: 0;
    list-style-position: inside;
    text-align: center;
  }

  .legal-updated {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 22px, 480px);
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand {
    font-size: 1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.85rem;
    padding: 7px 10px;
  }

  h1 {
    font-size: clamp(1.65rem, 9.8vw, 2.42rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.58rem, 8.3vw, 2.1rem);
  }

  h3 {
    font-size: 1.02rem;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    padding: 22px 16px;
    border-radius: 24px;
  }

  .portfolio-item {
    min-width: 122px;
    height: 104px;
  }

  .portfolio-item img {
    width: 52px;
    height: 52px;
  }

  .cards {
    gap: 14px;
  }

  .card {
    padding: 22px 16px;
  }

  .about-gallery-marquee {
    padding-bottom: 12px;
  }

  .about-gallery {
    gap: 12px;
    animation-duration: 26s;
  }

  .about-gallery img {
    flex-basis: 220px;
    width: 220px;
    height: 138px;
  }

  .contact-card {
    padding: 24px 16px;
  }

  .store-links {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .store-links a,
  .store-links img {
    width: min(218px, 100%);
    height: 70px;
  }

  .store-links a:first-child img {
    transform: scale(1.08);
  }

  .store-links a:nth-child(2) img {
    transform: scale(0.86);
  }

  .social-links a {
    width: 42px;
    height: 42px;
  }

  .footer p,
  .footer address,
  .footer a {
    font-size: 0.94rem;
  }

  .legal-card {
    padding: 24px 16px;
  }
}

@media (max-width: 380px) {
  .nav-links a {
    font-size: 0.82rem;
    padding: 7px 9px;
  }

  h1 {
    font-size: clamp(1.55rem, 10vw, 2.08rem);
  }

  h2 {
    font-size: clamp(1.45rem, 8vw, 1.9rem);
  }

  .portfolio-item {
    min-width: 112px;
  }

  .store-links a,
  .store-links img {
    width: 204px;
    height: 66px;
  }
}


@keyframes about-gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* FIX SOBRE NOSOTROS - MOBILE */
.about-gallery-marquee {
  width: 100%;
  margin-top: 26px;
}

.gallery-duplicate {
  display: none;
}

@media (max-width: 820px) {
  #empresa {
    padding: 50px 0 44px;
  }

  #empresa .split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  #empresa .eyebrow,
  #empresa h2,
  #empresa .text-block,
  #empresa .text-block p {
    display: block;
    visibility: visible;
    opacity: 1;
    text-align: center;
    text-align-last: center;
  }

  #empresa h2 {
    margin-bottom: 8px;
  }

  #empresa .text-block p {
    margin-bottom: 14px;
  }

  #empresa .about-gallery-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 18px;
    padding: 2px 0 8px;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  }

  #empresa .about-gallery {
    display: flex;
    width: max-content;
    grid-template-columns: none;
    gap: 12px;
    margin-top: 0;
    animation: about-gallery-scroll 24s linear infinite;
  }

  #empresa .gallery-duplicate {
    display: block;
  }

  #empresa .about-gallery img {
    flex: 0 0 220px;
    width: 220px;
    height: 138px;
    object-fit: cover;
    border-radius: 20px;
  }
}

@media (max-width: 520px) {
  #empresa {
    padding: 44px 0 38px;
  }

  #empresa .split {
    gap: 14px;
  }

  #empresa h2 {
    font-size: clamp(1.58rem, 8.3vw, 2.1rem);
  }

  #empresa .text-block p {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  #empresa .about-gallery-marquee {
    margin-top: 16px;
  }

  #empresa .about-gallery img {
    flex-basis: 205px;
    width: 205px;
    height: 130px;
  }
}

@keyframes about-gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* SOBRE NOSOTROS - REGLAS DEFINITIVAS */
.about-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.about-mobile-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.about-copy {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.about-copy .eyebrow,
.about-copy h2,
.about-copy p {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.about-gallery-marquee {
  width: 100%;
  margin-top: 0;
  overflow: visible;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.about-gallery img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.10);
  background: white;
}

.gallery-duplicate {
  display: none;
}

@media (max-width: 820px) {
  .about-section {
    padding: 46px 0 40px !important;
    min-height: 0 !important;
  }

  .about-mobile-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    align-items: center !important;
    text-align: center !important;
  }

  .about-copy {
    width: 100%;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .about-copy .eyebrow {
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .about-copy h2 {
    display: block !important;
    margin: 0 auto 14px !important;
    max-width: 94% !important;
    text-align: center !important;
    font-size: clamp(1.58rem, 8.2vw, 2.15rem) !important;
    line-height: 1.1 !important;
  }

  .about-copy p {
    display: block !important;
    margin: 0 auto 12px !important;
    max-width: 96% !important;
    text-align: center !important;
    text-align-last: center !important;
    color: var(--muted) !important;
    font-size: 0.98rem !important;
    line-height: 1.58 !important;
  }

  .about-gallery-marquee {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-top: 8px !important;
    overflow: hidden !important;
    padding: 2px 0 6px !important;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  }

  .about-gallery {
    display: flex !important;
    width: max-content !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    margin: 0 !important;
    animation: about-gallery-scroll 24s linear infinite !important;
  }

  .gallery-duplicate {
    display: block !important;
  }

  .about-gallery img {
    flex: 0 0 205px !important;
    width: 205px !important;
    height: 130px !important;
    object-fit: cover !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 520px) {
  .about-section {
    padding: 42px 0 34px !important;
  }

  .about-mobile-container {
    gap: 14px !important;
  }

  .about-copy h2 {
    font-size: clamp(1.48rem, 7.8vw, 1.98rem) !important;
  }

  .about-copy p {
    font-size: 0.96rem !important;
  }

  .about-gallery img {
    flex-basis: 190px !important;
    width: 190px !important;
    height: 122px !important;
  }
}

@keyframes about-gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
