:root {
  --navy: #0b1f3a;
  --navy-2: #07182c;
  --blue: #1f5d99;
  --blue-bright: #2a7de1;
  --blue-light: #dcebfa;
  --blue-pale: #f2f7fc;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #172033;
  --green: #1faa59;
  --green-dark: #168747;
  --danger: #b91c1c;
  --shadow-sm: 0 10px 30px rgba(11, 31, 58, .08);
  --shadow-md: 0 24px 70px rgba(11, 31, 58, .16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --header: 78px;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 9999; top: 8px; left: 8px;
  padding: 10px 14px; border-radius: 8px; color: var(--white);
  background: var(--navy); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.topbar {
  padding: 8px 0; color: var(--white); background: var(--navy-2);
  font-size: .78rem; font-weight: 750; text-align: center;
}
.site-header {
  position: sticky; z-index: 1000; top: 0;
  border-bottom: 1px solid rgba(203, 213, 225, .72);
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(18px);
}
.header-inner {
  display: flex; min-height: var(--header); align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 225px; height: auto; }
.desktop-nav { display: none; align-items: center; gap: 22px; }
.nav-link { color: var(--gray-700); font-size: .88rem; font-weight: 760; }
.nav-link:hover, .nav-link.active { color: var(--blue-bright); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call { display: none !important; }
.menu-toggle {
  display: inline-grid; width: 46px; height: 46px; place-items: center;
  border: 1px solid var(--gray-200); border-radius: 50%;
  color: var(--navy); background: var(--white);
}
.mobile-menu {
  position: fixed; z-index: 999; inset: calc(var(--header) + 33px) 0 0;
  padding: 24px 20px 120px; overflow-y: auto; background: var(--white);
  transform: translateX(100%); transition: transform .22s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display: grid; gap: 8px; }
.mobile-menu .nav-link { padding: 14px; border-radius: 12px; background: var(--gray-50); }
.mobile-menu-actions { display: grid; gap: 12px; margin-top: 22px; }

.btn {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center;
  gap: 10px; padding: 13px 22px; border: 1px solid transparent;
  border-radius: 999px; font-weight: 850; line-height: 1;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--blue-bright); box-shadow: 0 12px 32px rgba(42, 125, 225, .3); }
.btn-primary:hover { background: #1768c2; }
.btn-whatsapp { color: var(--white); background: var(--green); box-shadow: 0 12px 32px rgba(31, 170, 89, .25); }
.btn-whatsapp:hover { background: var(--green-dark); }
.btn-outline { color: var(--navy); border-color: var(--gray-300); background: var(--white); }
.btn-dark { color: var(--white); background: var(--navy); }
.icon { width: 21px; height: 21px; flex: 0 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 14px;
  color: var(--blue-bright); font-size: .78rem; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 3px; content: ""; border-radius: 999px; background: currentColor; }
.section { padding: 78px 0; }
.section-soft { background: var(--blue-pale); }
.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 15%, rgba(42,125,225,.23), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading h2,
.content-title {
  margin: 0 0 15px; color: var(--navy);
  font-size: clamp(2rem, 7vw, 3.5rem); line-height: 1.06; letter-spacing: -.045em;
}
.section-heading p { margin: 0; color: var(--gray-500); font-size: 1.02rem; }
.section-heading.center p { margin-inline: auto; }
.section-dark .section-heading h2, .section-dark .section-heading p { color: var(--white); }
.section-dark .section-heading p { opacity: .78; }

.hero {
  position: relative; min-height: calc(100svh - 110px);
  display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--navy);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  position: absolute; inset: 0; content: "";
  background:
    linear-gradient(180deg, rgba(5,16,31,.15), rgba(5,16,31,.95)),
    linear-gradient(90deg, rgba(5,16,31,.94), rgba(5,16,31,.15));
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 94px 0 64px; }
.hero .eyebrow { color: #91ceff; }
.hero h1 {
  margin: 0 0 20px; max-width: 820px;
  font-size: clamp(2.7rem, 11vw, 5.8rem); line-height: .98; letter-spacing: -.055em;
}
.hero p.lead { max-width: 660px; margin: 0; color: rgba(255,255,255,.85); font-size: clamp(1rem, 3.4vw, 1.22rem); }
.hero-actions { display: grid; gap: 12px; margin-top: 28px; }
.hero-actions .btn { width: 100%; }
.hero-trust { display: grid; gap: 10px; margin-top: 30px; }
.hero-trust span { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 750; }
.trust-strip { color: var(--white); background: var(--navy); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-item {
  padding: 22px 14px; border: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.trust-item strong { display: block; font-size: 1.16rem; line-height: 1.15; }
.trust-item span { display: block; margin-top: 5px; color: rgba(255,255,255,.65); font-size: .74rem; }

.page-hero {
  position: relative; overflow: hidden; padding: 88px 0 72px; color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(82,169,255,.28), transparent 25%),
    linear-gradient(135deg, var(--navy-2), var(--blue));
}
.page-hero::after {
  position: absolute; inset: 0; content: ""; opacity: .08;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 54px 54px; transform: rotate(-7deg) scale(1.2);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: rgba(255,255,255,.72); font-size: .82rem; }
.page-hero h1 { max-width: 840px; margin: 0 0 15px; font-size: clamp(2.5rem, 9vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.82); font-size: 1.08rem; }

.cards-grid { display: grid; gap: 18px; }
.card {
  overflow: hidden; border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  background: var(--white); box-shadow: var(--shadow-sm);
}
.card-media { aspect-ratio: 16/11; overflow: hidden; background: var(--gray-200); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: 24px; }
.card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.35rem; line-height: 1.15; }
.card p { margin: 0; color: var(--gray-500); }
.card-link { display: inline-flex; margin-top: 15px; color: var(--blue-bright); font-weight: 850; }

.split { display: grid; gap: 38px; align-items: center; }
.image-card { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); background: var(--gray-200); }
.image-card img { width: 100%; min-height: 430px; object-fit: cover; }
.content-copy p { color: var(--gray-500); }
.check-list { display: grid; gap: 12px; padding: 0; margin: 24px 0; list-style: none; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--gray-700); }
.check {
  display: inline-grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center;
  border-radius: 50%; color: var(--white); background: var(--blue-bright);
  font-size: .78rem; font-weight: 900;
}
.notice {
  margin: 20px 0; padding: 16px 18px; border-left: 4px solid var(--blue-bright);
  border-radius: 0 12px 12px 0; color: var(--gray-700); background: var(--blue-pale);
}
.process-grid { display: grid; gap: 18px; }
.process-card {
  padding: 24px; border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-md); background: rgba(255,255,255,.07);
}
.process-number {
  display: grid; width: 48px; height: 48px; margin-bottom: 16px; place-items: center;
  border-radius: 50%; color: var(--navy); background: #91ceff; font-weight: 900;
}
.process-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.process-card p { margin: 0; color: rgba(255,255,255,.72); }

.gallery-grid { display: grid; gap: 14px; }
.gallery-item {
  position: relative; overflow: hidden; min-height: 290px;
  border-radius: var(--radius-md); background: var(--gray-200);
}
.gallery-item img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-label {
  position: absolute; right: 12px; bottom: 12px; left: 12px;
  padding: 10px 12px; border-radius: 10px; color: var(--white);
  background: rgba(5,16,31,.74); backdrop-filter: blur(10px); font-size: .76rem;
}
.area-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.area-pill {
  padding: 10px 15px; border: 1px solid var(--gray-200); border-radius: 999px;
  color: var(--navy); background: var(--white); box-shadow: var(--shadow-sm);
  font-size: .84rem; font-weight: 800;
}
.faq-list { display: grid; gap: 13px; max-width: 900px; margin-inline: auto; }
details { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 6px 20px rgba(11,31,58,.04); }
summary { position: relative; padding: 20px 58px 20px 20px; color: var(--navy); cursor: pointer; list-style: none; font-weight: 850; }
summary::-webkit-details-marker { display: none; }
summary::after {
  position: absolute; top: 50%; right: 18px; display: grid; width: 30px; height: 30px;
  content: "+"; place-items: center; border-radius: 50%; color: var(--blue-bright);
  background: var(--blue-light); transform: translateY(-50%);
}
details[open] summary::after { content: "–"; }
.faq-answer { padding: 0 20px 20px; color: var(--gray-500); }
.faq-answer p { margin: 0; }

.contact-grid { display: grid; gap: 26px; }
.contact-panel {
  padding: 30px; border-radius: var(--radius-lg); color: var(--white);
  background:
    radial-gradient(circle at 80% 15%, rgba(145,206,255,.2), transparent 25%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}
.contact-panel h2 { margin: 0 0 14px; font-size: clamp(2rem, 8vw, 3.5rem); line-height: 1.04; letter-spacing: -.045em; }
.contact-panel > p { color: rgba(255,255,255,.72); }
.contact-methods { display: grid; gap: 13px; margin-top: 26px; }
.contact-method {
  display: flex; align-items: center; gap: 14px; padding: 15px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.06);
}
.contact-method small { display: block; color: rgba(255,255,255,.58); }
.contact-method strong { display: block; font-size: .93rem; }
.contact-form {
  padding: 27px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-md);
}
.contact-form h2 { margin: 0 0 7px; color: var(--navy); }
.contact-form > p { margin: 0 0 22px; color: var(--gray-500); font-size: .9rem; }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--navy); font-size: .82rem; font-weight: 820; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 51px; padding: 12px 14px;
  border: 1px solid var(--gray-300); border-radius: 10px;
  color: var(--gray-900); background: var(--white); outline: none;
}
.field textarea { min-height: 138px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(42,125,225,.1);
}
.form-note { margin: 12px 0 0; color: var(--gray-500); font-size: .76rem; }
.form-status { display: none; margin-top: 14px; padding: 12px; border-radius: 10px; color: #075d2d; background: #e8f8ef; font-size: .85rem; font-weight: 750; }

.cta {
  padding: 38px 0; color: var(--white);
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
}
.cta-inner { display: grid; gap: 20px; align-items: center; }
.cta h2 { margin: 0; font-size: clamp(1.9rem, 7vw, 3.25rem); line-height: 1.04; letter-spacing: -.04em; }
.cta p { margin: 10px 0 0; color: rgba(255,255,255,.8); }
.cta-actions { display: grid; gap: 10px; }

.site-footer { padding: 60px 0 105px; color: rgba(255,255,255,.68); background: #061323; }
.footer-grid { display: grid; gap: 38px; }
.footer-brand img { width: 250px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 430px; font-size: .9rem; }
.footer-column h3 { margin: 0 0 14px; color: var(--white); font-size: 1rem; }
.footer-links { display: grid; gap: 10px; font-size: .87rem; }
.footer-links a:hover { color: #91ceff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.social {
  display: grid; width: 42px; height: 42px; place-items: center;
  border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
  color: var(--white); background: rgba(255,255,255,.05); font-weight: 900;
}
.social:hover { background: var(--blue-bright); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 12px; margin-top: 42px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem;
}
.footer-credit a { color: #91ceff; font-weight: 850; }
.mobile-actions {
  position: fixed; z-index: 1200; right: 10px; bottom: 10px; left: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
  border: 1px solid rgba(203,213,225,.5); border-radius: 18px;
  background: rgba(255,255,255,.95); box-shadow: 0 15px 45px rgba(11,31,58,.22);
  backdrop-filter: blur(16px);
}
.mobile-actions .btn { min-height: 48px; padding-inline: 12px; font-size: .82rem; }

.legal { max-width: 820px; }
.legal h2 { margin-top: 34px; color: var(--navy); }
.legal p, .legal li { color: var(--gray-500); }
.error-page { min-height: 70svh; display: grid; place-items: center; text-align: center; }
.error-code { margin: 0; color: var(--blue-bright); font-size: clamp(5rem, 25vw, 11rem); line-height: .8; letter-spacing: -.08em; }
.small-note { color: var(--gray-500); font-size: .82rem; }

:focus-visible { outline: 3px solid rgba(42,125,225,.38); outline-offset: 3px; }

@media (min-width: 600px) {
  .hero-actions, .cta-actions { display: flex; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
  .hero-trust { grid-template-columns: repeat(2, max-content); column-gap: 24px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid.two { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 820px) {
  .section { padding: 104px 0; }
  .header-call { display: inline-flex !important; }
  .hero { min-height: 735px; align-items: center; }
  .hero-content { padding: 120px 0 100px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr auto; }
  .footer-grid { grid-template-columns: 1.65fr 1fr 1fr; }
}
@media (min-width: 1040px) {
  .desktop-nav { display: flex; }
  .menu-toggle, .mobile-menu { display: none; }
  .cards-grid.three { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 230px; }
  .gallery-item { min-height: auto; }
  .gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .gallery-item:nth-child(2), .gallery-item:nth-child(3) { grid-column: span 5; }
  .gallery-item:nth-child(4), .gallery-item:nth-child(5), .gallery-item:nth-child(6) { grid-column: span 4; }
  .mobile-actions { display: none; }
  .site-footer { padding-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ================================================================
   CAPOTE TILES LLC — MODERN UI V3
   Applied to the complete multi-page website.
   ================================================================ */

:root {
  --glass-dark: rgba(4, 16, 31, .70);
  --glass-light: rgba(255, 255, 255, .78);
}

.site-header {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow .22s ease, background-color .22s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 42px rgba(11, 31, 58, .11);
}

.section {
  padding: 58px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.hero-content {
  padding-top: 76px;
  padding-bottom: 74px;
}

.mobile-menu {
  color: #fff;
  background:
    radial-gradient(circle at 85% 8%, rgba(42, 125, 225, .28), transparent 27%),
    rgba(4, 16, 31, .97);
  backdrop-filter: blur(22px);
}

.mobile-menu .nav-link {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  border-radius: 0;
  color: rgba(255, 255, 255, .87);
  background: transparent;
}

.mobile-menu .nav-link:hover {
  color: #91ceff;
  background: rgba(255, 255, 255, .045);
}

.mobile-menu-actions {
  display: none !important;
}

/* Entry animations */
.reveal {
  opacity: 0;
  transition:
    opacity .68s ease,
    transform .68s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translate3d(0, 34px, 0);
}

.reveal-left {
  transform: translate3d(-52px, 0, 0);
}

.reveal-right {
  transform: translate3d(52px, 0, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* More modern cards */
.card,
.service-card,
.process-card {
  transition:
    transform .28s cubic-bezier(.2, .7, .2, 1),
    box-shadow .28s ease,
    border-color .28s ease;
}

.card:hover,
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(42, 125, 225, .34);
  box-shadow: 0 25px 62px rgba(11, 31, 58, .15);
}

.card-media img,
.gallery-item img,
.service-card img {
  transition: transform .48s ease, filter .35s ease;
}

.card:hover .card-media img,
.gallery-item:hover img,
.service-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.06);
}

.process-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .10);
}

/* Uniform square gallery */
.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
}

.gallery-item,
.gallery-grid .gallery-item:nth-child(n) {
  grid-column: auto !important;
  grid-row: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  object-fit: cover;
}

.gallery-label {
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 9px 10px;
  font-size: .73rem;
}

/* Compact transparent floating actions */
.mobile-actions {
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: var(--glass-dark);
  box-shadow: 0 18px 48px rgba(4, 16, 31, .28);
  backdrop-filter: blur(18px) saturate(150%);
}

.mobile-actions .btn {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .045);
  box-shadow: none;
}

.mobile-actions .btn-primary {
  color: #9bd2ff;
  border-color: rgba(139, 203, 255, .45);
}

.mobile-actions .btn-whatsapp {
  color: #64e89e;
  border-color: rgba(100, 232, 158, .42);
}

/* Back to top */
.back-top {
  position: fixed;
  z-index: 1198;
  right: 16px;
  bottom: 82px;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: #fff;
  background: var(--glass-dark);
  box-shadow: 0 12px 32px rgba(4, 16, 31, .25);
  backdrop-filter: blur(15px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Compact accordion footer on mobile */
.footer-grid {
  gap: 18px;
}

.footer-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.footer-accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-weight: 850;
  text-align: left;
}

.footer-accordion-trigger span:last-child {
  transition: transform .2s ease;
}

.footer-accordion-trigger[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.footer-accordion-panel {
  display: grid;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height .28s ease, padding .28s ease;
}

.footer-accordion-panel.open {
  max-height: 340px;
  padding: 0 0 14px;
}

/* Full-screen gallery carousel */
.lightbox {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff;
  background: rgba(2, 8, 15, .95);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  position: relative;
  display: grid;
  width: min(100%, 1120px);
  height: min(84svh, 790px);
  place-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .46);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.lightbox-close {
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  font-size: 1.35rem;
}

.lightbox-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  font-size: 1.4rem;
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}

.lightbox-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(4, 16, 31, .64);
  backdrop-filter: blur(12px);
  font-size: .82rem;
}

.lightbox-caption {
  font-weight: 780;
}

.lightbox-counter {
  color: rgba(255, 255, 255, .58);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 819px) {
  .reveal-left,
  .reveal-right {
    transform: translate3d(0, 30px, 0);
  }

  .site-footer {
    padding-top: 42px;
  }
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 820px) {
  .section {
    padding: 74px 0;
  }

  .footer-grid {
    gap: 38px;
  }

  .footer-accordion {
    border-bottom: 0;
  }

  .footer-accordion-trigger {
    pointer-events: none;
    padding: 0 0 13px;
  }

  .footer-accordion-trigger span:last-child {
    display: none;
  }

  .footer-accordion-panel,
  .footer-accordion-panel.open {
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .mobile-actions {
    right: 18px;
    bottom: 18px;
    left: auto;
    display: flex;
    flex-direction: column;
    width: auto;
    border-radius: 24px;
  }

  .mobile-actions .btn {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .mobile-actions .btn svg {
    width: 21px;
    height: 21px;
  }

  .back-top {
    right: 24px;
    bottom: 142px;
  }
}

@media (min-width: 1040px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* =================================================================
   CAPOTE TILES LLC — V4.1 FINAL UX CORRECTIONS
   ================================================================= */

/* Header and hamburger menu */
.site-header {
  background: rgba(255, 255, 255, .91);
  backdrop-filter: blur(18px) saturate(155%);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 13px 38px rgba(7, 24, 44, .12);
}

.mobile-menu {
  inset: auto 0 0 !important;
  top: var(--mobile-menu-top, 72px) !important;
  padding: 18px 18px calc(42px + env(safe-area-inset-bottom)) !important;
  color: #fff;
  background:
    radial-gradient(circle at 84% 7%, rgba(42, 125, 225, .30), transparent 29%),
    rgba(4, 16, 31, .98) !important;
  backdrop-filter: blur(22px) saturate(145%);
}

.mobile-menu .nav-link {
  padding: 15px 13px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .09) !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, .89) !important;
  background: transparent !important;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link:focus-visible {
  color: #9bd2ff !important;
  background: rgba(255, 255, 255, .04) !important;
}

.mobile-menu-actions {
  display: none !important;
}

/* Compact sections */
.section {
  padding: 52px 0 !important;
}

.section-heading {
  margin-bottom: 25px !important;
}

.page-hero {
  padding: 57px 0 49px !important;
}

/* The home hero no longer consumes an empty full viewport on mobile */
.hero {
  min-height: auto !important;
  align-items: center !important;
}

.hero-content {
  padding: 50px 0 56px !important;
}

.hero h1 {
  margin-bottom: 16px !important;
  font-size: clamp(2.35rem, 10.4vw, 3.75rem) !important;
  line-height: .98 !important;
}

.hero-description {
  max-width: 620px;
}

.hero-media img {
  object-position: 67% center !important;
}

/* Entrance effects: visible by default; hidden only when JavaScript is active */
.reveal {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.js .reveal {
  opacity: 0 !important;
  filter: blur(4px);
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.2, .72, .2, 1),
    filter .72s ease !important;
  transition-delay: var(--delay, 0ms) !important;
  will-change: opacity, transform, filter;
}

.js .reveal-up {
  transform: translate3d(0, 42px, 0) !important;
}

.js .reveal-left {
  transform: translate3d(-58px, 0, 0) !important;
}

.js .reveal-right {
  transform: translate3d(58px, 0, 0) !important;
}

.js .reveal.is-visible {
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: translate3d(0, 0, 0) !important;
}

/* Clearer hover effects */
.card,
.service-card,
.process-card {
  transition:
    transform .30s cubic-bezier(.2, .72, .2, 1),
    box-shadow .30s ease,
    border-color .30s ease !important;
}

.card:hover,
.service-card:hover {
  transform: translateY(-9px) !important;
  border-color: rgba(42, 125, 225, .38) !important;
  box-shadow: 0 26px 64px rgba(7, 24, 44, .16) !important;
}

.process-card:hover {
  transform: translateY(-6px) !important;
  background: rgba(255, 255, 255, .105) !important;
}

/* Gallery: large, uniform square thumbnails */
.gallery-grid {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  gap: 12px !important;
}

.gallery-item,
.gallery-grid .gallery-item:nth-child(n) {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: stretch !important;
  overflow: hidden !important;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

.gallery-item::before {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  display: grid;
  width: 31px;
  height: 31px;
  content: "↗";
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 16, 31, .56);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  opacity: .92;
}

.gallery-caption,
.gallery-label,
.gallery-caption-modern {
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  padding: 42px 12px 11px !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: linear-gradient(180deg, transparent, rgba(4, 16, 31, .86)) !important;
  font-size: .74rem !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .24s ease, transform .24s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-caption,
.gallery-item:hover .gallery-label,
.gallery-item:focus-visible .gallery-caption,
.gallery-item:focus-visible .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* Floating CTA buttons without a white container */
.mobile-actions {
  right: 10px !important;
  bottom: 10px !important;
  left: 10px !important;
  gap: 9px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.mobile-actions .btn {
  min-height: 48px !important;
  border-width: 1px !important;
  box-shadow: 0 12px 32px rgba(4, 16, 31, .22) !important;
  backdrop-filter: blur(16px) saturate(145%);
}

.mobile-actions .btn-primary {
  color: #a8d9ff !important;
  border-color: rgba(139, 203, 255, .50) !important;
  background: rgba(7, 24, 44, .82) !important;
}

.mobile-actions .btn-whatsapp {
  color: #6ceca5 !important;
  border-color: rgba(108, 236, 165, .46) !important;
  background: rgba(7, 24, 44, .82) !important;
}

/* Back to top */
.back-top {
  position: fixed;
  z-index: 1198;
  right: 15px;
  bottom: 75px;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 24, 44, .78);
  box-shadow: 0 12px 32px rgba(4, 16, 31, .24);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Compact accordion footer on mobile */
.footer-grid {
  gap: 16px !important;
}

.footer-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.footer-accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-weight: 850;
  text-align: left;
}

.footer-accordion-trigger span:last-child {
  transition: transform .2s ease;
}

.footer-accordion-trigger[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.footer-accordion-panel {
  display: grid !important;
  gap: 8px !important;
  max-height: 0;
  overflow: hidden;
  padding: 0 !important;
  transition: max-height .28s ease, padding .28s ease;
}

.footer-accordion-panel.open {
  max-height: 360px;
  padding: 0 0 13px !important;
}

/* Lightbox carousel */
.lightbox {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #fff;
  background: rgba(2, 8, 15, .96);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  position: relative;
  display: grid;
  width: min(100%, 1120px);
  height: min(86svh, 800px);
  place-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 13px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .48);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(12px);
}

.lightbox-close {
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  font-size: 1.35rem;
}

.lightbox-nav {
  top: 50%;
  width: 45px;
  height: 45px;
  transform: translateY(-50%);
  font-size: 1.4rem;
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}

.lightbox-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(4, 16, 31, .66);
  backdrop-filter: blur(12px);
  font-size: .81rem;
}

.lightbox-caption {
  font-weight: 780;
}

.lightbox-counter {
  color: rgba(255, 255, 255, .58);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 819px) {
  .js .reveal-left,
  .js .reveal-right {
    transform: translate3d(0, 38px, 0) !important;
  }

  .gallery-caption,
  .gallery-label,
  .gallery-caption-modern {
    display: none !important;
  }

  .site-footer {
    padding-top: 39px !important;
  }
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 820px) {
  .section {
    padding: 70px 0 !important;
  }

  .hero {
    min-height: 650px !important;
  }

  .hero-content {
    padding: 92px 0 86px !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .footer-accordion {
    border-bottom: 0;
  }

  .footer-accordion-trigger {
    pointer-events: none;
    padding: 0 0 13px;
  }

  .footer-accordion-trigger span:last-child {
    display: none;
  }

  .footer-accordion-panel,
  .footer-accordion-panel.open {
    max-height: none;
    overflow: visible;
    padding: 0 !important;
  }

  .mobile-actions {
    right: 18px !important;
    bottom: 18px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column;
    width: auto;
  }

  .mobile-actions .btn {
    width: 49px;
    height: 49px;
    min-height: 49px !important;
    padding: 0 !important;
    border-radius: 50%;
    font-size: 0;
  }

  .mobile-actions .btn svg {
    width: 21px;
    height: 21px;
  }

  .back-top {
    right: 23px;
    bottom: 137px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}


/* ==================================================================
   CAPOTE TILES LLC — V5 FINAL POLISH
   ================================================================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

main,
section,
.site-header,
.site-footer,
.topbar {
  max-width: 100%;
}

section {
  overflow-x: clip;
}

.container,
.cards-grid,
.gallery-grid,
.footer-grid,
.contact-wrap,
.about-grid,
.areas-grid {
  min-width: 0;
}

.container {
  width: min(calc(100% - 28px), var(--container));
}

/* Rotating top information bar */
.topbar {
  display: block !important;
  position: relative;
  height: 32px;
  padding: 0 !important;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, #06172a, #0b3157 55%, #06172a);
}

.topbar-rotator {
  position: relative;
  height: 32px;
}

.topbar-message {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 10px;
  color: rgba(255,255,255,.88);
  font-size: .72rem;
  font-weight: 790;
  text-align: center;
  letter-spacing: .01em;
  opacity: 0;
  transform: translate3d(-44px,0,0);
  transition:
    opacity .48s ease,
    transform .48s cubic-bezier(.2,.72,.2,1);
  pointer-events: none;
}

.topbar-message.is-active {
  opacity: 1;
  transform: translate3d(0,0,0);
}

.topbar-message.is-leaving {
  opacity: 0;
  transform: translate3d(44px,0,0);
}

/* Compact dropdown menu, no full-screen empty space */
.mobile-menu {
  position: fixed !important;
  z-index: 1300 !important;
  top: var(--mobile-menu-top, 104px) !important;
  right: 12px !important;
  bottom: auto !important;
  left: 12px !important;
  width: auto !important;
  max-width: none !important;
  max-height: calc(100svh - var(--mobile-menu-top, 104px) - 16px) !important;
  padding: 8px 14px 14px !important;
  overflow-y: auto !important;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 0 0 20px 20px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 5%, rgba(42,125,225,.28), transparent 28%),
    rgba(4,16,31,.96) !important;
  box-shadow: 0 22px 60px rgba(4,16,31,.34);
  backdrop-filter: blur(22px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0,-12px,0) scale(.985) !important;
  transform-origin: top center;
  transition:
    opacity .22s ease,
    visibility .22s ease,
    transform .22s cubic-bezier(.2,.72,.2,1) !important;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0,0,0) scale(1) !important;
}

.mobile-menu nav {
  gap: 0 !important;
}

.mobile-menu .nav-link {
  padding: 13px 10px !important;
}

body.menu-open {
  overflow-y: auto !important;
}

/* Home hero: compact and balanced */
.hero {
  min-height: clamp(440px, 70svh, 560px) !important;
  display: flex !important;
  align-items: center !important;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 48px 0 54px !important;
}

.hero h1 {
  max-width: 760px;
}

.hero-media::after {
  background:
    linear-gradient(180deg, rgba(4,16,31,.22), rgba(4,16,31,.86)),
    linear-gradient(90deg, rgba(4,16,31,.94), rgba(4,16,31,.22)) !important;
}

/* Inner-page heroes with a real background image and restrained height */
.page-hero {
  min-height: 285px;
  display: flex;
  align-items: center;
  padding: 50px 0 46px !important;
  background-image:
    linear-gradient(90deg, rgba(4,16,31,.94), rgba(4,16,31,.58)),
    var(--page-hero-image) !important;
  background-size: cover !important;
  background-position: center !important;
}

.page-hero::after {
  opacity: .045 !important;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 8.8vw, 4.65rem) !important;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.83) !important;
}

/* Slightly tighter page rhythm */
.section {
  padding: 49px 0 !important;
}

.section-heading {
  margin-bottom: 24px !important;
}

.section-heading p,
.content-copy p,
.about-content > p {
  line-height: 1.72;
}

/* More dimensional cards */
.cards-grid {
  perspective: 1200px;
}

.card,
.service-card {
  position: relative;
  transform-style: preserve-3d;
  isolation: isolate;
  box-shadow:
    0 12px 28px rgba(7,24,44,.08),
    0 2px 4px rgba(7,24,44,.04) !important;
}

.card::after,
.service-card::before {
  pointer-events: none;
}

.card::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,.34), transparent 30%, transparent 70%, rgba(42,125,225,.08));
  opacity: .7;
}

.card-body {
  position: relative;
  z-index: 4;
  transform: translateZ(12px);
}

.card:hover,
.service-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-1.2deg) !important;
  box-shadow:
    0 30px 70px rgba(7,24,44,.18),
    0 9px 18px rgba(42,125,225,.10) !important;
}

.process-card {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 14px 32px rgba(2,8,15,.12);
}

/* WhatsApp ripple/wave — subtle and continuous */
.btn-whatsapp,
.mobile-actions .btn-whatsapp {
  position: relative;
  isolation: isolate;
  overflow: visible !important;
}

.btn-whatsapp::before,
.btn-whatsapp::after,
.mobile-actions .btn-whatsapp::before,
.mobile-actions .btn-whatsapp::after {
  position: absolute;
  z-index: -1;
  inset: -5px;
  content: "";
  border: 1.5px solid rgba(74,229,142,.46);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: whatsapp-wave 3.2s ease-out infinite;
}

.btn-whatsapp::after,
.mobile-actions .btn-whatsapp::after {
  animation-delay: 1.6s;
}

@keyframes whatsapp-wave {
  0% {
    opacity: 0;
    transform: scale(.98);
  }
  18% {
    opacity: .42;
  }
  72% {
    opacity: 0;
    transform: scale(1.13);
  }
  100% {
    opacity: 0;
    transform: scale(1.13);
  }
}

/* Floating actions: individual buttons, higher and without a container */
.mobile-actions {
  right: 12px !important;
  bottom: max(22px, env(safe-area-inset-bottom)) !important;
  left: 12px !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.mobile-actions .btn {
  min-height: 49px !important;
  border-width: 1px !important;
  background: rgba(7,24,44,.84) !important;
  box-shadow: 0 15px 38px rgba(4,16,31,.28) !important;
  backdrop-filter: blur(17px) saturate(150%);
}

.mobile-actions .btn-primary {
  color: #a9d9ff !important;
  border-color: rgba(139,203,255,.50) !important;
}

.mobile-actions .btn-whatsapp {
  color: #72eeaa !important;
  border-color: rgba(114,238,170,.48) !important;
}

.back-top {
  bottom: 88px !important;
}

/* Gallery width and responsiveness */
.gallery-grid {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 13px !important;
}

.gallery-item,
.gallery-grid .gallery-item:nth-child(n) {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 18px !important;
}

.gallery-item img {
  width: 100% !important;
  height: 100% !important;
}

.gallery-caption,
.gallery-label,
.gallery-caption-modern {
  font-size: .72rem !important;
}

/* Richer medium-blue CTA gradient */
.cta-banner {
  background:
    radial-gradient(circle at 82% 12%, rgba(139,203,255,.20), transparent 27%),
    radial-gradient(circle at 12% 88%, rgba(4,16,31,.20), transparent 34%),
    linear-gradient(135deg, #0d4a7e 0%, #1d67a8 52%, #0b3d70 100%) !important;
}

.cta-banner .btn-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,.34) !important;
  background: rgba(255,255,255,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}

/* Shorter, cleaner footer */
.site-footer {
  padding: 34px 0 calc(100px + env(safe-area-inset-bottom)) !important;
}

.footer-grid {
  gap: 12px !important;
}

.footer-brand .brand {
  margin-bottom: 0;
}

.footer-brand .brand-mark,
.footer-brand img {
  max-width: 210px;
}

.footer-brand p {
  margin: 10px 0 0 !important;
  max-width: 410px;
  font-size: .84rem !important;
}

.social-links {
  margin-top: 14px !important;
}

.footer-accordion-trigger {
  padding: 10px 0 !important;
}

.footer-bottom {
  margin-top: 20px !important;
  padding-top: 16px !important;
}

/* Contact: avoid visual repetition */
.contact-method strong {
  overflow-wrap: anywhere;
}

/* Mobile width hardening */
img,
svg,
video,
iframe {
  max-width: 100%;
}

.gallery-grid > *,
.cards-grid > *,
.services-grid > *,
.contact-wrap > *,
.about-grid > *,
.areas-grid > * {
  min-width: 0;
}

@media (max-width: 819px) {
  .page-hero {
    min-height: 250px;
  }

  .page-hero h1 {
    font-size: clamp(2.08rem, 9.2vw, 3.35rem) !important;
  }

  .gallery-caption,
  .gallery-label,
  .gallery-caption-modern {
    display: none !important;
  }

  .hero-actions {
    margin-top: 23px !important;
  }

  .site-footer {
    padding-top: 30px !important;
  }
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
}

@media (min-width: 820px) {
  .section {
    padding: 68px 0 !important;
  }

  .hero {
    min-height: 650px !important;
  }

  .hero-content {
    padding: 88px 0 84px !important;
  }

  .page-hero {
    min-height: 330px;
    padding: 62px 0 57px !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  }

  .mobile-actions {
    right: 20px !important;
    bottom: 20px !important;
    left: auto !important;
  }

  .back-top {
    right: 25px !important;
    bottom: 145px !important;
  }

  .site-footer {
    padding: 38px 0 26px !important;
  }

  .footer-grid {
    gap: 30px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-whatsapp::before,
  .btn-whatsapp::after,
  .mobile-actions .btn-whatsapp::before,
  .mobile-actions .btn-whatsapp::after {
    animation: none !important;
  }
}


/* =================================================================
   CAPOTE TILES LLC — V6 RESPONSIVE + FIXED NAV + BEFORE/AFTER
   ================================================================= */

:root {
  --fixed-topbar-height: 32px;
  --fixed-header-height: 80px;
  --fixed-navigation-height: calc(
    var(--fixed-topbar-height) + var(--fixed-header-height)
  );
}

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

body {
  padding-top: var(--fixed-navigation-height) !important;
}

main,
section,
.topbar,
.site-header,
.site-footer {
  width: 100%;
  max-width: 100%;
}

/* Fixed rotating information bar */
.topbar {
  position: fixed !important;
  z-index: 1700 !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: var(--fixed-topbar-height) !important;
}

/* Fixed navigation / link bar */
.site-header {
  position: fixed !important;
  z-index: 1650 !important;
  top: var(--fixed-topbar-height) !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
}

.header-inner {
  min-height: var(--fixed-header-height) !important;
}

/* Compact menu directly below the fixed navigation */
.mobile-menu {
  z-index: 1600 !important;
  top: var(--fixed-navigation-height) !important;
  right: 10px !important;
  bottom: auto !important;
  left: 10px !important;
  width: auto !important;
  max-width: calc(100vw - 20px) !important;
  max-height: calc(100dvh - var(--fixed-navigation-height) - 12px) !important;
  padding: 6px 13px 12px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}

/* Width hardening for mobile */
.container {
  width: min(calc(100% - 24px), var(--container)) !important;
  max-width: var(--container) !important;
  min-width: 0 !important;
}

.container > *,
.gallery-grid > *,
.cards-grid > *,
.services-grid > *,
.about-grid > *,
.areas-grid > *,
.contact-wrap > *,
.comparison-layout > * {
  min-width: 0 !important;
}

img,
svg,
video,
iframe,
canvas {
  max-width: 100%;
}

/* Gallery: one large square per row on phones */
.gallery-container {
  width: min(calc(100% - 20px), var(--container)) !important;
}

.gallery-grid {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto !important;
  gap: 14px !important;
  margin-inline: 0 !important;
}

.gallery-item,
.gallery-grid .gallery-item:nth-child(n) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: stretch !important;
  border-radius: 20px !important;
}

.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Floating actions remain inside the viewport */
.mobile-actions {
  box-sizing: border-box !important;
  right: 12px !important;
  bottom: max(28px, env(safe-area-inset-bottom)) !important;
  left: 12px !important;
  width: auto !important;
  max-width: calc(100vw - 24px) !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  transform: none !important;
}

.mobile-actions .btn {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap;
}

.back-top {
  right: 16px !important;
  bottom: 94px !important;
}

/* Before / after comparison */
.comparison-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(42, 125, 225, .10), transparent 28%),
    linear-gradient(180deg, #f8fbff, #eef5fc);
}

.comparison-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.comparison-copy p {
  color: var(--gray-500);
}

.comparison-points {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.comparison-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--gray-700);
  font-size: .92rem;
}

.comparison-points li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  content: "✓";
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--bright-blue);
  font-size: .68rem;
  font-weight: 900;
}

.before-after {
  --compare-position: 50%;
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid rgba(42, 125, 225, .18);
  border-radius: 25px;
  background: var(--navy);
  box-shadow:
    0 26px 68px rgba(7, 24, 44, .18),
    0 7px 18px rgba(42, 125, 225, .08);
  touch-action: none;
  user-select: none;
}

.before-after-base,
.before-after-overlay img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.before-after-base {
  filter: saturate(.65) brightness(.78) contrast(.92);
}

.before-after-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(
    0 calc(100% - var(--compare-position)) 0 0
  );
}

.before-after-divider {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(7, 24, 44, .18);
  transform: translateX(-50%);
  pointer-events: none;
}

.before-after-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 30px rgba(4, 16, 31, .26);
  transform: translate(-50%, -50%);
  font-size: 1.05rem;
  font-weight: 900;
}

.before-after-label {
  position: absolute;
  z-index: 4;
  top: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  color: #fff;
  background: rgba(4, 16, 31, .58);
  backdrop-filter: blur(10px);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  pointer-events: none;
}

.before-label {
  left: 14px;
}

.after-label {
  right: 14px;
}

.before-after-range {
  position: absolute;
  z-index: 10;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.before-after:focus-within {
  outline: 3px solid rgba(42, 125, 225, .36);
  outline-offset: 4px;
}

/* Keep desktop navigation fixed and mobile-safe */
@media (max-width: 599px) {
  .gallery-caption,
  .gallery-label,
  .gallery-caption-modern {
    display: none !important;
  }

  .section {
    padding: 46px 0 !important;
  }

  .section-heading {
    margin-bottom: 22px !important;
  }
}

@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 820px) {
  .comparison-layout {
    grid-template-columns: .88fr 1.12fr;
    gap: 48px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .mobile-actions {
    right: 20px !important;
    bottom: 22px !important;
    left: auto !important;
    width: auto !important;
    max-width: none !important;
  }

  .mobile-actions .btn {
    width: 49px !important;
    height: 49px !important;
  }

  .back-top {
    right: 25px !important;
    bottom: 146px !important;
  }
}

@media (min-width: 1120px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .before-after-divider,
  .before-after-overlay {
    transition: none !important;
  }
}


/* ================================================================
   CAPOTE TILES LLC — PREMIUM V7
   Spanish URL architecture + premium conversion refinements
   ================================================================ */

:root {
  --stone-50: #f8f6f2;
  --stone-100: #eee9e1;
  --stone-300: #d5c8b8;
  --stone-600: #8b7964;
}

/* Premium hero typography */
.hero h1 {
  max-width: 900px !important;
  text-wrap: balance;
}

.hero .lead {
  max-width: 690px !important;
}

/* Warm premium background details */
.section-soft {
  background:
    radial-gradient(circle at 92% 8%, rgba(213, 200, 184, .24), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, var(--stone-50) 100%) !important;
}

/* 5-step process on desktop */
@media (min-width: 1040px) {
  .process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* Premium gallery filters */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.gallery-filter {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(42, 125, 225, .18);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 7px 20px rgba(7, 24, 44, .05);
  backdrop-filter: blur(10px);
  font-size: .79rem;
  font-weight: 800;
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

.gallery-filter:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 125, 225, .42);
}

.gallery-filter.is-active {
  color: #fff;
  border-color: var(--bright-blue);
  background: linear-gradient(135deg, var(--bright-blue), var(--blue));
  box-shadow: 0 10px 28px rgba(42, 125, 225, .20);
}

.gallery-item.is-filtered-out {
  display: none !important;
}

/* Stronger but tasteful card depth */
.card,
.process-card {
  transform-style: preserve-3d;
}

.card:hover {
  transform: perspective(900px) translateY(-9px) rotateX(1.2deg) rotateY(-1.2deg) !important;
}

.card:hover .card-body {
  transform: translateZ(8px);
}

/* Premium final CTA */
.cta {
  background:
    radial-gradient(circle at 14% 20%, rgba(139, 203, 255, .22), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(213, 200, 184, .16), transparent 28%),
    linear-gradient(135deg, #2f78ba 0%, #1f5f9c 48%, #183f6d 100%) !important;
}

/* Three compact floating actions */
.mobile-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.mobile-actions .btn-estimate {
  color: #f2e6d7 !important;
  border-color: rgba(213, 200, 184, .48) !important;
  background: rgba(7, 24, 44, .82) !important;
}

@media (min-width: 820px) {
  .mobile-actions {
    grid-template-columns: 1fr !important;
  }

  .mobile-actions .btn-estimate {
    width: 49px !important;
    height: 49px !important;
    min-height: 49px !important;
    padding: 0 !important;
    border-radius: 50%;
    font-size: 0;
  }

  .mobile-actions .btn-estimate::before {
    content: "↗";
    font-size: 18px;
  }
}


/* ================================================================
   CAPOTE TILES LLC — V8 REAL BRANDING
   ================================================================ */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-mark-image img {
  display: block;
  width: clamp(54px, 8.5vw, 78px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(7, 24, 44, .15));
}

.brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: .03em;
  color: var(--navy);
}

.brand-sub {
  margin-top: 2px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .22em;
  color: var(--navy);
}

.brand-tag {
  margin-top: 5px;
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gray-500);
}

.footer-logo-image {
  margin-bottom: 14px;
}

.footer-logo-image img {
  display: block;
  width: clamp(120px, 24vw, 170px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
}

.owner-feature-card,
.van-feature-card {
  overflow: hidden;
  border-radius: 24px !important;
  border: 1px solid rgba(42, 125, 225, .12);
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 24px 60px rgba(7, 24, 44, .13), 0 8px 22px rgba(42, 125, 225, .08);
}

.owner-feature-card {
  max-width: 480px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}

.owner-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.van-feature-card {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.van-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-van-card {
  min-width: 0;
}

@media (max-width: 819px) {
  .header-inner {
    min-height: 74px !important;
  }

  .brand {
    gap: 10px;
    max-width: calc(100% - 62px);
  }

  .brand-mark-image img {
    width: 56px;
  }

  .brand-name {
    font-size: .98rem;
  }

  .brand-sub {
    font-size: .68rem;
    letter-spacing: .16em;
  }

  .brand-tag {
    font-size: .48rem;
    letter-spacing: .10em;
  }

  .owner-feature-card,
  .van-feature-card {
    border-radius: 20px !important;
  }
}

@media (min-width: 820px) {
  .brand {
    gap: 14px;
  }

  .brand-mark-image img {
    width: 74px;
  }

  .brand-tag {
    font-size: .58rem;
  }
}


/* ================================================================
   CAPOTE TILES LLC — V9 LOGO / OWNER IMAGE UPDATE
   ================================================================ */

.brand-mark-image img {
  width: clamp(50px, 8vw, 74px) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: none !important;
}

.footer-logo-image img,
.footer-brand img {
  width: clamp(120px, 23vw, 165px) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

.owner-feature-card {
  max-width: 460px !important;
  aspect-ratio: 1 / 1 !important;
}

.owner-feature-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}

@media (max-width: 819px) {
  .brand-mark-image img {
    width: 54px !important;
  }

  .brand-name {
    font-size: .96rem !important;
  }

  .brand-sub {
    font-size: .68rem !important;
  }

  .brand-tag {
    font-size: .47rem !important;
  }

  .footer-logo-image img,
  .footer-brand img {
    width: 122px !important;
  }
}

@media (min-width: 820px) {
  .brand-mark-image img {
    width: 72px !important;
  }

  .footer-logo-image img,
  .footer-brand img {
    width: 158px !important;
  }
}


/* ================================================================
   CAPOTE TILES LLC — V10 VISUAL FIXES
   ================================================================ */

/* Exact logo image in header */
.brand-mark-image img,
.brand img {
  width: clamp(52px, 8vw, 74px) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: none !important;
}

/* Footer logo: monochrome light treatment that preserves internal detail.
   Do NOT flatten it into a solid white silhouette. */
.footer-brand .footer-logo-image img,
.footer-brand img {
  width: clamp(132px, 24vw, 174px) !important;
  height: auto !important;
  object-fit: contain !important;
  filter: grayscale(1) brightness(1.72) contrast(.78) !important;
  opacity: .97 !important;
}

/* Real owner image in Home + Nosotros */
.owner-photo-card {
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 26px !important;
  border: 1px solid rgba(42, 125, 225, .14);
  background: #07182c;
  box-shadow:
    0 25px 62px rgba(7, 24, 44, .16),
    0 8px 22px rgba(42, 125, 225, .08);
}

.owner-photo-card img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Gallery active filter:
   V7 used an undefined --bright-blue variable, which made the active
   background invalid and left white text on a white button. */
.gallery-filter.is-active {
  color: #ffffff !important;
  border-color: var(--blue-bright) !important;
  background:
    linear-gradient(135deg, var(--blue-bright), var(--blue)) !important;
  box-shadow: 0 10px 28px rgba(42, 125, 225, .22) !important;
}

.gallery-filter.is-active:hover,
.gallery-filter.is-active:focus-visible {
  color: #ffffff !important;
  background:
    linear-gradient(135deg, #3b8bea, var(--blue)) !important;
}

/* Floating actions: readable labels in desktop instead of anonymous circles */
@media (min-width: 820px) {
  .mobile-actions {
    right: 18px !important;
    bottom: 22px !important;
    left: auto !important;
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .mobile-actions .btn,
  .mobile-actions .btn-primary,
  .mobile-actions .btn-whatsapp,
  .mobile-actions .btn-estimate {
    width: auto !important;
    min-width: 112px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    font-size: .78rem !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    letter-spacing: .01em !important;
  }

  .mobile-actions .btn-estimate::before {
    content: none !important;
  }

  .back-top {
    right: 22px !important;
    bottom: 178px !important;
  }
}

/* Mobile keeps compact buttons with clear labels */
@media (max-width: 819px) {
  .footer-brand .footer-logo-image img,
  .footer-brand img {
    width: 138px !important;
  }

  .owner-photo-card {
    max-width: 420px;
    border-radius: 22px !important;
  }

  .gallery-filters {
    gap: 7px !important;
  }

  .gallery-filter {
    min-height: 40px !important;
    padding: 8px 13px !important;
    font-size: .78rem !important;
  }
}


/* ================================================================
   CAPOTE TILES LLC — V11 RESPONSIVE FIX
   ================================================================ */

/* ===== Modern circular quick actions ===== */
.quick-actions {
  position: fixed;
  z-index: 1900;
  right: 16px;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.quick-action {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    opacity .22s ease,
    visibility .22s ease;
}

.quick-action svg {
  display: block;
  width: 23px;
  height: 23px;
}

.quick-action:hover {
  transform: translateY(-3px) scale(1.04);
}

.quick-action:active {
  transform: scale(.96);
}

.quick-action-whatsapp {
  color: #fff;
  border: 1px solid rgba(88, 235, 156, .42);
  background: linear-gradient(145deg, #20bd69, #10954d);
  box-shadow:
    0 14px 34px rgba(17, 155, 79, .28),
    inset 0 1px 0 rgba(255,255,255,.20);
}

.quick-action-whatsapp::before,
.quick-action-whatsapp::after {
  position: absolute;
  inset: -1px;
  content: "";
  border: 1px solid rgba(49, 211, 123, .34);
  border-radius: 50%;
  pointer-events: none;
  animation: whatsappWaveV11 2.8s ease-out infinite;
}

.quick-action-whatsapp::after {
  animation-delay: 1.35s;
}

@keyframes whatsappWaveV11 {
  0% {
    opacity: .46;
    transform: scale(1);
  }
  72%,
  100% {
    opacity: 0;
    transform: scale(1.48);
  }
}

.quick-action-top {
  color: #d9efff;
  border: 1px solid rgba(139, 203, 255, .30);
  background: linear-gradient(145deg, #13324f, #07182c);
  box-shadow:
    0 14px 34px rgba(4, 16, 31, .26),
    inset 0 1px 0 rgba(255,255,255,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.94);
}

.quick-action-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (min-width: 820px) {
  .quick-actions {
    right: 20px;
    bottom: 22px;
  }

  .quick-action {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  /* Small label appears only on desktop hover/focus. */
  .quick-action-top[data-label]:hover::after,
  .quick-action-top[data-label]:focus-visible::after {
    position: absolute;
    right: 62px;
    width: max-content;
    content: attr(data-label);
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 9px;
    color: #fff;
    background: rgba(4,16,31,.94);
    box-shadow: 0 8px 24px rgba(4,16,31,.18);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ===== Gallery hard responsive reset ===== */

/* Prevent any gallery wrapper from exceeding viewport. */
#galeria,
.gallery-section,
.gallery-container {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
}

.gallery-container.container {
  width: 100% !important;
  max-width: var(--container) !important;
  margin-inline: auto !important;
  padding-inline: clamp(16px, 4.5vw, 22px) !important;
}

.gallery-grid {
  box-sizing: border-box !important;
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
  overflow: visible !important;
}

/*
  Critical mobile fix:
  gallery items are FIGURE elements and browsers add margin-inline: 40px
  by default. width:100% + that native margin caused the overflow.
*/
.gallery-item,
.gallery-grid .gallery-item:nth-child(n) {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  transform-origin: center !important;
}

.gallery-item img,
.gallery-grid .gallery-item img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

.gallery-item::before {
  right: 10px !important;
}

/* Filter bar stays inside mobile viewport. */
.gallery-filters {
  box-sizing: border-box !important;
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
  padding: 2px 1px 7px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-filters::-webkit-scrollbar {
  display: none;
}

.gallery-filter {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

/* General overflow guards. */
body,
main,
.section,
.section > .container,
.content-grid,
.split,
.about-grid,
.areas-grid,
.contact-wrap,
.comparison-layout {
  min-width: 0 !important;
  max-width: 100% !important;
}

html,
body,
main {
  overflow-x: clip !important;
}

@media (min-width: 620px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .gallery-filters {
    justify-content: center;
    overflow-x: visible !important;
  }
}

@media (min-width: 1180px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-action-whatsapp::before,
  .quick-action-whatsapp::after {
    animation: none !important;
  }
}


/* ================================================================
   CAPOTE TILES LLC — V12 CONTRACTOR VAN + GALLERY MOSAIC
   ================================================================ */

/* Internal page hero: slightly smaller so it never feels cropped in mobile */
.page-hero {
  overflow: hidden !important;
}

.page-hero h1 {
  font-size: clamp(2rem, 7vw, 3.2rem) !important;
  line-height: .98 !important;
  text-wrap: balance;
}

.page-hero p {
  max-width: 680px;
}

/* Contractor service card image */
.contractor-card-media {
  margin: 0 !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 3 !important;
}

.contractor-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mosaic intro for gallery page */
.gallery-mosaic-intro .section-heading {
  margin-bottom: 20px !important;
}

.gallery-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.gallery-mosaic-item {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #e9eef5;
  box-shadow:
    0 16px 40px rgba(7, 24, 44, .10),
    0 5px 16px rgba(42, 125, 225, .06);
}

.gallery-mosaic-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-item-1 {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.mosaic-item-2,
.mosaic-item-3,
.mosaic-item-4,
.mosaic-item-5 {
  aspect-ratio: 1 / 1;
}

@media (min-width: 760px) {
  .gallery-mosaic-grid {
    grid-template-columns: 1.15fr .85fr .85fr;
    grid-template-rows: repeat(2, minmax(180px, auto));
    gap: 14px;
  }

  .mosaic-item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    aspect-ratio: auto;
    min-height: 420px;
  }

  .mosaic-item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .mosaic-item-3 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .mosaic-item-4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .mosaic-item-5 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }
}

@media (max-width: 819px) {
  .gallery-mosaic-item,
  .contractor-card-media {
    border-radius: 20px !important;
  }
}


/* ================================================================
   CAPOTE TILES LLC — V13 SERVICES IMAGE FIXES
   ================================================================ */

/* Contractor card uses the real van image */
.contractor-card-media {
  aspect-ratio: 16 / 11 !important;
  overflow: hidden !important;
  background: #e9eef5 !important;
}

.contractor-card-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 54% center !important;
}

/* Services page image mosaic */
.services-photo-mosaic {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  background: transparent !important;
}

.services-mosaic-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.services-mosaic-item {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #e9eef5;
  box-shadow: 0 10px 28px rgba(7, 24, 44, .08);
}

.services-mosaic-main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.services-mosaic-item img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (min-width: 900px) {
  .services-mosaic-grid {
    grid-template-columns: 1.25fr .75fr;
    grid-template-rows: repeat(3, minmax(112px, 1fr));
    gap: 12px;
    min-height: 440px;
  }

  .services-mosaic-main {
    grid-column: 1;
    grid-row: 1 / 4;
    aspect-ratio: auto;
  }

  .services-mosaic-item:not(.services-mosaic-main) {
    aspect-ratio: auto;
  }
}

@media (max-width: 619px) {
  .services-photo-mosaic {
    border-radius: 21px !important;
  }

  .services-mosaic-item {
    border-radius: 16px;
  }
}


/* ================================================================
   CAPOTE TILES LLC — V14 PROFESSIONAL SCROLL MOTION
   ================================================================ */

/* Default visible when JS is unavailable. */
.reveal {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* Only animate when JS is running. */
.js .reveal {
  opacity: 0 !important;
  filter: blur(5px);
  transition:
    opacity .78s cubic-bezier(.2,.72,.2,1),
    transform .78s cubic-bezier(.2,.72,.2,1),
    filter .72s ease !important;
  transition-delay: var(--delay, 0ms) !important;
  will-change: opacity, transform, filter;
}

.js .reveal-up {
  transform: translate3d(0, 54px, 0) !important;
}

.js .reveal-left {
  transform: translate3d(-64px, 0, 0) !important;
}

.js .reveal-right {
  transform: translate3d(64px, 0, 0) !important;
}

.js .reveal-scale {
  transform: scale(.94) translate3d(0, 18px, 0) !important;
}

.js .reveal-depth {
  transform:
    perspective(1000px)
    translate3d(0, 46px, 0)
    rotateX(4deg)
    scale(.975) !important;
}

.js .reveal-media {
  filter: blur(7px) saturate(.88) !important;
}

.js .reveal.is-visible {
  opacity: 1 !important;
  filter: blur(0) saturate(1) !important;
  transform:
    translate3d(0,0,0)
    rotateX(0)
    rotateY(0)
    scale(1) !important;
}

/* Section-level depth and background movement. */
.scroll-section {
  isolation: isolate;
}

.js [data-scroll-reveal-section]::after {
  position: absolute;
  z-index: -1;
  inset: 12% 4% auto;
  height: 45%;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(42,125,225,.065), transparent 68%);
  opacity: 0;
  transform: translateY(36px) scale(.92);
  transition:
    opacity .9s ease,
    transform 1s cubic-bezier(.2,.72,.2,1);
  pointer-events: none;
}

.js [data-scroll-reveal-section].section-in-view::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Images gain a small cinematic zoom as they enter. */
.js .reveal-media img {
  transform: scale(1.065);
  transition:
    transform 1.05s cubic-bezier(.2,.72,.2,1),
    filter .8s ease;
}

.js .reveal-media.is-visible img {
  transform: scale(1);
}

/* Stronger card polish after reveal. */
.reveal-depth.is-visible {
  backface-visibility: hidden;
}

.card.is-visible:hover,
.service-card.is-visible:hover {
  transform:
    perspective(1000px)
    translateY(-10px)
    rotateX(1.2deg)
    rotateY(-1.2deg) !important;
}

/* FAQ items stagger cleanly. */
.faq-list details.reveal {
  transform-origin: center top;
}

/* Hero gets a short load-in without depending on scroll. */
.hero .container,
.page-hero .container {
  animation: heroPremiumIn .9s cubic-bezier(.2,.72,.2,1) both;
}

@keyframes heroPremiumIn {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Mobile uses vertical movement only so lateral motion never causes overflow. */
@media (max-width: 819px) {
  .js .reveal-left,
  .js .reveal-right {
    transform: translate3d(0, 46px, 0) !important;
  }

  .js .reveal-depth {
    transform:
      perspective(1000px)
      translate3d(0, 42px, 0)
      rotateX(3deg)
      scale(.98) !important;
  }

  .js .reveal-scale {
    transform: scale(.955) translate3d(0, 20px, 0) !important;
  }
}

/* Accessibility / performance */
@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-media img,
  .hero .container,
  .page-hero .container,
  .js [data-scroll-reveal-section]::after {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}


/* ================================================================
   CAPOTE TILES LLC — V15 CLEAN PREMIUM BACKGROUNDS
   Removes the oversized animated radial halo from V14.
   Scroll reveal animations remain active.
   ================================================================ */

/* Completely disable the large animated section halo. */
.js [data-scroll-reveal-section]::after,
.js [data-scroll-reveal-section].section-in-view::after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
  transform: none !important;
}

/* Sections stay visually clean and separated. */
.section {
  background-color: #ffffff;
}

/* Normal light sections: pure clean white. */
.section:not(.section-soft):not(.section-dark):not(.comparison-section) {
  background: #ffffff !important;
}

/* Soft sections use a restrained neutral stone/blue tint. */
.section-soft {
  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f4f7fa 52%,
      #f8fafc 100%
    ) !important;
}

/* Comparison section remains special but much more restrained. */
.comparison-section {
  background:
    linear-gradient(
      180deg,
      #f6f9fc 0%,
      #eef4f9 100%
    ) !important;
}

/* Dark process sections keep depth without oversized decorative shapes. */
.section-dark {
  background:
    linear-gradient(
      135deg,
      #0b2139 0%,
      #07182c 58%,
      #04111f 100%
    ) !important;
}

/* Thin separators give structure without visual noise. */
.section + .section {
  border-top: 1px solid rgba(11, 31, 58, .045);
}

/* Cards remain neutral and readable on every background. */
.card,
.service-card,
.process-card:not(.section-dark .process-card),
.faq-list details,
.contact-form {
  background-color: #ffffff !important;
}

/* Prevent section animation effects from tinting cards or images. */
.scroll-section {
  isolation: auto !important;
}

/* Very subtle accent behind section headings only, not entire sections. */
.section-heading,
.content-copy {
  position: relative;
  z-index: 1;
}

/* Keep visual depth through shadows instead of giant background halos. */
.card,
.service-card {
  box-shadow:
    0 16px 38px rgba(7, 24, 44, .075),
    0 3px 10px rgba(7, 24, 44, .035) !important;
}

.card.is-visible:hover,
.service-card.is-visible:hover {
  box-shadow:
    0 24px 54px rgba(7, 24, 44, .13),
    0 7px 18px rgba(42, 125, 225, .06) !important;
}

/* About/owner image gets its depth from the card itself, not the section. */
.owner-photo-card,
.services-photo-mosaic,
.before-after,
.gallery-mosaic-item {
  position: relative;
  z-index: 1;
}

/* Mobile backgrounds stay especially clean. */
@media (max-width: 819px) {
  .section-soft {
    background:
      linear-gradient(
        180deg,
        #f9fbfd 0%,
        #f5f8fb 100%
      ) !important;
  }

  .comparison-section {
    background:
      linear-gradient(
        180deg,
        #f7fafc 0%,
        #f1f6fa 100%
      ) !important;
  }

  .section + .section {
    border-top-color: rgba(11, 31, 58, .035);
  }
}


/* ================================================================
   CAPOTE TILES LLC — V16 QUOTE DETAILS LAYOUT FIX
   Fixes oversized mosaic caused by generic .image-card img min-height.
   ================================================================ */

.quote-details-section {
  overflow: hidden !important;
}

.quote-details-layout {
  display: grid !important;
  align-items: center !important;
  gap: clamp(28px, 5vw, 58px) !important;
}

.quote-details-layout > * {
  min-width: 0 !important;
}

.quote-details-layout .content-copy {
  max-width: 560px;
}

.quote-details-layout .content-copy .content-title {
  max-width: 560px;
}

.quote-details-layout .content-copy > p {
  max-width: 600px;
}

/* Critical reset: these images must NOT inherit .image-card img min-height:430px */
.quote-details-mosaic,
.quote-details-mosaic.services-photo-mosaic {
  width: 100% !important;
  max-width: 600px !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin-inline: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.quote-details-mosaic .services-mosaic-grid {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.quote-details-mosaic .services-mosaic-item,
.quote-details-mosaic .services-mosaic-main,
.quote-details-mosaic .services-mosaic-item:not(.services-mosaic-main) {
  display: block !important;
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #e9eef5 !important;
  box-shadow: 0 12px 30px rgba(7,24,44,.08) !important;
}

/* Strongly override the generic .image-card img min-height */
.quote-details-mosaic img,
.quote-details-mosaic.services-photo-mosaic img,
.quote-details-mosaic .services-mosaic-item img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Slightly emphasize one tile without distorting the grid */
.quote-details-mosaic .services-mosaic-item:first-child {
  box-shadow:
    0 16px 36px rgba(7,24,44,.11),
    0 5px 15px rgba(42,125,225,.05) !important;
}

@media (min-width: 820px) {
  .quote-details-layout {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
  }

  .quote-details-mosaic {
    max-width: 570px !important;
  }
}

@media (min-width: 1180px) {
  .quote-details-layout {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
    gap: 64px !important;
  }

  .quote-details-mosaic {
    max-width: 590px !important;
  }
}

@media (max-width: 819px) {
  .quote-details-layout {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .quote-details-layout .content-copy {
    max-width: 100% !important;
  }

  .quote-details-mosaic {
    max-width: 100% !important;
  }

  .quote-details-mosaic .services-mosaic-grid {
    gap: 10px !important;
  }

  .quote-details-mosaic .services-mosaic-item {
    border-radius: 16px !important;
  }
}

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

  .quote-details-mosaic .services-mosaic-item {
    aspect-ratio: 1 / 1 !important;
  }
}


/* ================================================================
   CAPOTE TILES — HOME GALLERY COMPACT FIX
   Dedicated selectors isolate the Home gallery from legacy rules.
   ================================================================ */

.home-gallery-section {
  overflow: hidden !important;
  background: #ffffff !important;
}

.home-gallery-container {
  box-sizing: border-box !important;
  width: min(calc(100% - 32px), 1160px) !important;
  max-width: 1160px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

.home-gallery-section .section-heading {
  max-width: 760px !important;
  margin: 0 auto 22px !important;
}

.home-gallery-section .section-heading h2 {
  text-wrap: balance;
}

.home-gallery-section .gallery-filters {
  justify-content: center !important;
  margin: 0 auto 24px !important;
}

/* Desktop-first compact grid */
.home-gallery-grid {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.home-gallery-item {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  border: 1px solid rgba(11, 31, 58, .08);
  border-radius: 20px !important;
  background: #eef2f6;
  box-shadow:
    0 14px 34px rgba(7, 24, 44, .075),
    0 3px 10px rgba(7, 24, 44, .035);
  cursor: zoom-in;
  transform-origin: center;
  transition:
    transform .28s cubic-bezier(.2,.72,.2,1),
    box-shadow .28s ease,
    border-color .28s ease !important;
}

.home-gallery-item img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform .55s cubic-bezier(.2,.72,.2,1) !important;
}

.home-gallery-item::before {
  position: absolute;
  z-index: 4;
  top: 11px;
  right: 11px;
  display: grid;
  width: 34px;
  height: 34px;
  content: "↗";
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(4,16,31,.58);
  backdrop-filter: blur(10px);
  font-size: .8rem;
  pointer-events: none;
}

.home-gallery-item:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(42,125,225,.26);
  box-shadow:
    0 22px 50px rgba(7,24,44,.13),
    0 6px 16px rgba(42,125,225,.06);
}

.home-gallery-item:hover img {
  transform: scale(1.045) !important;
}

.home-gallery-caption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px 14px 13px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(4,16,31,.82));
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .24s ease, transform .24s ease;
  pointer-events: none;
}

.home-gallery-item:hover .home-gallery-caption,
.home-gallery-item:focus-visible .home-gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.home-gallery-item.is-filtered-out {
  display: none !important;
}

/* Tablet */
@media (max-width: 899px) {
  .home-gallery-container {
    width: min(calc(100% - 28px), 760px) !important;
  }

  .home-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .home-gallery-item {
    aspect-ratio: 4 / 3 !important;
  }
}

/* Mobile */
@media (max-width: 619px) {
  .home-gallery-container {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
  }

  .home-gallery-section .section-heading {
    margin-bottom: 18px !important;
  }

  .home-gallery-section .gallery-filters {
    justify-content: flex-start !important;
    margin-bottom: 18px !important;
  }

  .home-gallery-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .home-gallery-item {
    aspect-ratio: 4 / 3 !important;
    border-radius: 18px !important;
  }

  .home-gallery-caption {
    display: none !important;
  }
}
