:root {
  --bg: #050607;
  --bg-2: #090d0f;
  --panel: rgba(17, 22, 24, .88);
  --panel-2: rgba(22, 28, 31, .92);
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.22);
  --text: #f7f7f7;
  --muted: #aeb6bb;
  --muted-2: #7f8b91;
  --red: #e51c23;
  --red-2: #af1016;
  --red-dark: #5f070b;
  --green: #42d874;
  --warning: #ff4b4b;
  --steel: #c7d0d4;
  --shadow: 0 18px 60px rgba(0,0,0,.42);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 86px;
  --hero-desktop: url('assets/images/hero-pdr-desktop.webp');
  --hero-mobile: url('assets/images/hero-pdr-mobile.webp');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(229,28,35,.08), transparent 32%),
    radial-gradient(circle at 90% 22%, rgba(255,255,255,.05), transparent 26%),
    linear-gradient(180deg, #050607 0%, #07090a 50%, #030303 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, black, transparent 80%);
  z-index: -1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { width: min(var(--container), calc(100% - 36px)); margin: 0 auto; }
.section { padding: 84px 0; position: relative; }
.section.tight { padding: 58px 0; }
.section-header { margin-bottom: 32px; max-width: 850px; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--red);
  margin-bottom: 10px;
}
.section-title, .hero-title, h1, h2, h3 {
  font-family: "Arial Black", Impact, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.035em;
  line-height: .94;
  text-transform: uppercase;
  margin: 0;
}
.section-title { font-size: clamp(2rem, 5vw, 4rem); }
.section-title .accent, .hero-title .accent { color: var(--red); }
.section-lead { margin: 14px 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.13rem); max-width: 760px; }

.topbar {
  background: rgba(7,9,10,.92);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  color: #d9dde0;
  position: relative;
  z-index: 40;
}
.topbar-grid {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 18px;
}
.topbar-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: #d8e0e3; }
.topbar-item svg { width: 17px; height: 17px; color: var(--steel); }

.header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3,4,5,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: max-content; }
.brand-logo { width: 112px; height: 74px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }
.brand-copy { display: none; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link {
  padding: 12px 10px;
  color: #e7ebed;
  font-size: .9rem;
  font-weight: 700;
  border-radius: 10px;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .22s ease;
  transform-origin: left;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.04); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.mobile-menu-btn {
  display: none;
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255,255,255,.05);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn span { width: 20px; height: 2px; background: #fff; display: block; position: relative; }
.mobile-menu-btn span::before, .mobile-menu-btn span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; }
.mobile-menu-btn span::before { top: -7px; }
.mobile-menu-btn span::after { top: 7px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 18px;
  min-height: 48px;
  font-weight: 900;
  color: #fff;
  background: rgba(255,255,255,.04);
  transition: .22s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn-primary {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-2) 100%);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 12px 26px rgba(229,28,35,.25), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(229,28,35,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.btn-wide { width: 100%; }
.btn-small { min-height: 38px; padding: 8px 12px; font-size: .84rem; border-radius: 10px; }

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3,4,5,.96) 0%, rgba(3,4,5,.78) 34%, rgba(3,4,5,.28) 62%, rgba(3,4,5,.92) 100%),
    var(--hero-desktop) center right / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.2) 62%, rgba(0,0,0,.82) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}
.hero-content { position: relative; z-index: 2; padding: 70px 0; width: min(660px, 100%); }
.hero-logo-mini { display: none; width: 132px; margin-bottom: 20px; }
.hero-title { font-size: clamp(3rem, 7vw, 6.7rem); max-width: 720px; text-shadow: 0 14px 35px rgba(0,0,0,.5); }
.hero-title .accent { display: block; }
.hero-copy { margin: 20px 0 26px; color: #dce1e4; font-size: clamp(1.02rem, 1.35vw, 1.2rem); max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(8,12,14,.72);
  color: #d7dcdf;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
}
.chip svg { width: 16px; height: 16px; color: var(--red); }
.hero-card {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - var(--container)) / 2));
  bottom: 90px;
  width: 295px;
  padding: 18px;
  background: rgba(8,11,13,.82);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.hero-card-row { display: flex; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 800; }
.hero-card-row:last-child { border-bottom: 0; }
.hero-card-row svg { width: 22px; height: 22px; color: var(--red); }

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

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.026));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(229,28,35,.12), transparent 35%);
  pointer-events: none;
}
.card-inner { position: relative; padding: 24px; }
.card h3 { font-size: 1.22rem; letter-spacing: -.02em; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }

.pdr-overview {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 18px;
}
.tools-visual {
  min-height: 240px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.68)),
    url('assets/images/pdr-closeup-card.webp') center / cover no-repeat;
  border: 1px solid var(--line);
  margin-top: 18px;
}
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.benefit {
  min-height: 100px;
  display: grid;
  gap: 8px;
  place-items: center;
  text-align: center;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
  color: #dfe5e8;
  font-size: .82rem;
  font-weight: 800;
}
.benefit svg { width: 24px; height: 24px; color: var(--red); }
.note {
  border-left: 4px solid var(--red);
  background: rgba(229,28,35,.08);
  border-radius: 14px;
  padding: 16px;
  color: #f0e8e8;
  margin-top: 18px;
}
.note strong { color: #fff; }

.services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.service-card { min-height: 330px; display: flex; flex-direction: column; }
.service-media {
  height: 132px;
  background: var(--img, url('assets/images/pdr-closeup-card.webp')) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.76)); }
.service-body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.service-body h3 { font-size: 1.08rem; }
.service-body p { font-size: .92rem; color: var(--muted); }
.mini-list { display: grid; gap: 7px; margin-top: auto; }
.mini-list span { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: #cad2d6; }
.mini-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(229,28,35,.12); }

.apply-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.apply-list {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255,255,255,.035);
}
.apply-list.is-good { border-color: rgba(66,216,116,.28); background: rgba(66,216,116,.07); }
.apply-list.is-bad { border-color: rgba(229,28,35,.36); background: rgba(229,28,35,.08); }
.apply-list h3 { font-size: 1.05rem; margin-bottom: 14px; color: #fff; }
.apply-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.apply-list li { display: flex; gap: 10px; color: #dce2e5; font-size: .95rem; }
.apply-list .ok { color: var(--green); }
.apply-list .warn { color: var(--warning); }

.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  color: #dce1e4;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .78rem;
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.work-card { background: rgba(10,14,16,.94); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-height: 410px; }
.work-media { height: 188px; background: #050607; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.before-after div { position: relative; overflow: hidden; }
.before-after span { position: absolute; bottom: 8px; left: 8px; z-index: 2; padding: 5px 8px; background: rgba(0,0,0,.7); border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; font-weight: 900; }
.embed-placeholder { height: 100%; display: grid; place-items: center; text-align: center; padding: 18px; color: var(--muted); background: radial-gradient(circle at 50% 30%, rgba(229,28,35,.11), transparent 42%), rgba(255,255,255,.03); }
.embed-placeholder code { display: block; color: #d9e1e4; white-space: normal; font-size: .76rem; line-height: 1.45; }
.embed-placeholder small { color: var(--muted-2); display: block; margin-top: 10px; }
.work-body { padding: 16px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.work-title { font-family: Inter, sans-serif; text-transform: none; letter-spacing: 0; line-height: 1.25; font-size: 1.02rem; font-weight: 950; margin: 0; }
.work-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.tag { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.055); border: 1px solid var(--line); color: #d5dde0; font-size: .72rem; font-weight: 900; }
.tag.red { background: rgba(229,28,35,.14); border-color: rgba(229,28,35,.34); color: #fff; }
.instagram-frame { min-height: 355px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.035); padding: 18px; display: grid; gap: 12px; }
.instagram-embed-slot { min-height: 270px; border: 1px dashed rgba(255,255,255,.25); border-radius: 14px; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); }
.instagram-embed-slot code { color: #e7ecef; font-size: .78rem; white-space: normal; }

.process { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.step { border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 16px; padding: 18px 12px; text-align: center; position: relative; }
.step:not(:last-child)::after { content: "›"; position: absolute; right: -12px; top: 46px; color: var(--muted-2); font-size: 2rem; }
.step-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px; background: #f1f3f4; color: #020203; font-weight: 950; box-shadow: 0 0 0 5px rgba(255,255,255,.06); }
.step svg { width: 30px; height: 30px; color: var(--red); margin: 0 auto 10px; }
.step h3 { font-family: Inter, sans-serif; text-transform: none; line-height: 1.15; letter-spacing: 0; font-size: .9rem; margin-bottom: 6px; }
.step p { font-size: .76rem; color: var(--muted); margin: 0; }

.photo-tips { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.tip { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: rgba(255,255,255,.035); font-size: .86rem; font-weight: 800; color: #dce1e4; }
.tip svg { width: 22px; height: 22px; color: var(--red); flex: 0 0 auto; }
.chile-map { width: 55px; height: 220px; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.16)); position: relative; margin: 0 auto; filter: drop-shadow(0 0 12px rgba(255,255,255,.12)); }
.chile-map::before, .chile-map::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(229,28,35,.15); }
.chile-map::before { top: 34%; }
.chile-map::after { top: 66%; }
.segment-card { background: rgba(245,247,248,.96); color: #151719; border-radius: 15px; padding: 18px; min-height: 250px; }
.segment-card h3 { font-family: Inter, sans-serif; text-transform: none; letter-spacing: 0; line-height: 1.2; margin-bottom: 12px; }
.segment-card ul { padding-left: 18px; margin: 0; color: #2c3438; font-size: .9rem; display: grid; gap: 6px; }

.why-grid { grid-template-columns: repeat(3, 1fr); }
.reason { padding: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 16px; display: flex; gap: 14px; align-items: flex-start; }
.reason svg { color: var(--red); width: 27px; height: 27px; flex: 0 0 auto; }
.reason strong { display: block; margin-bottom: 3px; }
.reason span { color: var(--muted); font-size: .9rem; }
.testimonial { min-height: 180px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); }
.testimonial .stars { color: var(--red); letter-spacing: .08em; margin-bottom: 12px; }
.testimonial p { color: var(--muted); }
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: rgba(255,255,255,.035); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; color: #fff; background: transparent; border: 0; cursor: pointer; text-align: left; font-weight: 950; }
.faq-question span:last-child { color: var(--red); font-size: 1.3rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open .faq-answer { max-height: 220px; }

.quote-layout { display: grid; grid-template-columns: 1.06fr .94fr; gap: 18px; align-items: stretch; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { color: #dce1e4; font-size: .82rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(0,0,0,.36);
  border: 1px solid var(--line-strong);
  color: #fff;
  border-radius: 12px;
  padding: 12px 13px;
  min-height: 46px;
  outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229,28,35,.12); }
.file-zone { border: 1px dashed rgba(255,255,255,.28); border-radius: 14px; min-height: 130px; display: grid; place-items: center; text-align: center; padding: 18px; color: var(--muted); background: rgba(255,255,255,.025); }
.whatsapp-preview { background: linear-gradient(180deg, rgba(28,40,31,.95), rgba(15,23,18,.95)); border: 1px solid rgba(66,216,116,.18); border-radius: 16px; padding: 18px; min-height: 280px; }
.whatsapp-bubble { background: #ddffd9; color: #172017; border-radius: 14px 14px 3px 14px; padding: 15px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; white-space: pre-wrap; min-height: 210px; box-shadow: inset 0 -20px 30px rgba(0,0,0,.03); }
.copy-row { display: flex; gap: 10px; margin-top: 12px; }

.final-cta {
  min-height: 480px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5,6,7,.96), rgba(5,6,7,.72) 54%, rgba(5,6,7,.18)),
    url('assets/images/pdr-closeup-card.webp') center right / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.final-cta .section-title { max-width: 780px; }
.final-cta p { color: #dbe1e4; max-width: 620px; }

.footer { background: #030405; border-top: 1px solid var(--line); padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .8fr 1fr; gap: 32px; }
.footer-logo { width: 145px; margin-bottom: 16px; }
.footer h3 { font-family: Inter, sans-serif; text-transform: none; letter-spacing: 0; line-height: 1.2; font-size: 1.05rem; margin-bottom: 12px; }
.footer p, .footer a, .footer li { color: var(--muted); font-size: .92rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted-2); text-align: center; font-size: .82rem; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact span { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.footer-contact svg { width: 18px; height: 18px; color: var(--red); }

.mobile-bottom-bar {
  display: none;
  position: fixed;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 60;
  background: rgba(3,4,5,.92);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 45px rgba(0,0,0,.55);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 8px;
  grid-template-columns: repeat(4,1fr);
  gap: 6px;
}
.mobile-bottom-bar a { display: grid; place-items: center; gap: 3px; padding: 9px 4px; border-radius: 15px; color: #e8eef1; font-size: .72rem; font-weight: 900; }
.mobile-bottom-bar a:hover { background: rgba(229,28,35,.16); }
.mobile-bottom-bar svg { width: 20px; height: 20px; color: var(--red); }
.float-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 61; border-radius: 999px; box-shadow: 0 16px 38px rgba(229,28,35,.35); }

.page-hero { padding: 92px 0 70px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(3,4,5,.94), rgba(3,4,5,.62)), var(--hero-desktop) center / cover no-repeat; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.4rem); max-width: 850px; }
.page-hero p { color: var(--muted); max-width: 720px; font-size: 1.1rem; }
.breadcrumb { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: 12px; }

@media (max-width: 1100px) {
  :root { --header-h: 78px; }
  .topbar-grid { grid-template-columns: 1fr 1fr; }
  .topbar-item:nth-child(3) { display: none; }
  .nav-links, .navbar > .btn { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .brand-logo { width: 96px; height: 64px; }
  .nav-links.open {
    display: grid;
    position: fixed;
    top: calc(var(--header-h) + 1px);
    left: 0; right: 0;
    margin: 0;
    padding: 16px 18px 22px;
    background: rgba(3,4,5,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(0,0,0,.44);
  }
  .nav-links.open .nav-link { padding: 14px; }
  .hero-card { display: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(4,1fr); }
  .step:nth-child(4)::after { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero {
    min-height: 760px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(3,4,5,.34) 0%, rgba(3,4,5,.68) 38%, rgba(3,4,5,.98) 82%),
      var(--hero-mobile) center / cover no-repeat;
  }
  .hero-content { padding: 320px 0 96px; width: 100%; }
  .hero-logo-mini { display: block; }
  .hero-title { font-size: clamp(2.8rem, 13vw, 5.2rem); }
  .hero-actions .btn { width: 100%; }
  .grid-2, .grid-3, .services-grid, .pdr-overview, .quote-layout { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2,1fr); }
  .apply-panel { grid-template-columns: 1fr; }
  .gallery-head { display: grid; align-items: start; }
  .filters { justify-content: flex-start; }
  .photo-tips { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-whatsapp { display: none; }
  .mobile-bottom-bar { display: grid; }
  body { padding-bottom: 86px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, var(--container)); }
  .section { padding: 58px 0; }
  .topbar-grid { grid-template-columns: 1fr; gap: 0; padding: 7px 0; }
  .topbar-item:nth-child(2), .topbar-item:nth-child(4) { display: none; }
  .brand-logo { width: 88px; height: 58px; }
  .hero { min-height: 775px; }
  .hero-content { padding-top: 350px; }
  .hero-copy { font-size: .98rem; }
  .hero-chips { gap: 7px; }
  .chip { font-size: .74rem; padding: 8px 10px; }
  .section-title { font-size: clamp(2rem, 11vw, 3.2rem); }
  .work-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .photo-tips { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { background: linear-gradient(180deg, rgba(3,4,5,.55), rgba(3,4,5,.96)), var(--hero-mobile) center / cover no-repeat; padding: 74px 0; }
  .page-hero h1 { font-size: clamp(2.7rem, 15vw, 4.6rem); }
}


/* === Ajuste de revisión visual: evita cortes, mejora similitud con maqueta y responsive === */
:root { --container: 1240px; --header-h: 82px; }
.container { width: min(var(--container), calc(100% - 40px)); }
.section { padding: 64px 0; }
.section.tight { padding: 42px 0; }
.card { overflow: hidden; }
.card-inner { padding: clamp(18px, 2.1vw, 28px); }
.card .section-title { font-size: clamp(1.8rem, 2.8vw, 2.8rem); line-height: 1; }
.card .section-lead { font-size: .98rem; }

.header { height: var(--header-h); }
.brand-logo { width: 106px; height: 68px; object-fit: contain; }
.nav-link { padding-inline: 9px; font-size: .86rem; }
.navbar > .btn { padding-inline: 15px; }

.hero {
  min-height: clamp(680px, 78vh, 840px);
  background:
    linear-gradient(90deg, rgba(3,4,5,.97) 0%, rgba(3,4,5,.86) 31%, rgba(3,4,5,.38) 58%, rgba(3,4,5,.88) 100%),
    var(--hero-desktop) center right / cover no-repeat;
}
.hero-content { width: min(610px, 100%); padding-block: 58px; }
.hero-title { font-size: clamp(3.25rem, 5.8vw, 5.9rem); max-width: 640px; }
.hero-copy { max-width: 600px; }
.hero-card { right: max(330px, calc((100vw - var(--container)) / 2 + 330px)); bottom: 130px; width: 270px; }
.hero-device {
  position: absolute;
  z-index: 3;
  right: max(34px, calc((100vw - var(--container)) / 2));
  bottom: 70px;
  width: 260px;
  border: 7px solid #16191b;
  border-radius: 36px;
  padding: 12px;
  background: #050607;
  box-shadow: 0 28px 70px rgba(0,0,0,.62), inset 0 0 0 1px rgba(255,255,255,.12);
}
.hero-device::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
}
.hero-device-screen {
  min-height: 430px;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(4,5,6,.16) 0%, rgba(4,5,6,.45) 42%, rgba(4,5,6,.96) 76%),
    var(--hero-mobile) 63% center / cover no-repeat;
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.hero-device-top { position:absolute; top:26px; left:26px; right:26px; display:flex; justify-content:space-between; align-items:center; z-index:2; }
.hero-device-logo { width: 60px; height: 44px; object-fit: contain; }
.hero-device-menu { width: 24px; display:grid; gap:4px; }
.hero-device-menu span { display:block; height:2px; background:#fff; border-radius:99px; }
.hero-device-title { font-family:"Arial Black", Impact, sans-serif; text-transform:uppercase; font-size:1.28rem; line-height:.95; letter-spacing:-.04em; margin:0 0 8px; }
.hero-device-title span { color: var(--red); display:block; }
.hero-device-copy { font-size:.72rem; color:#dfe5e8; line-height:1.35; margin:0 0 12px; }
.hero-device-actions { display:grid; gap:8px; }
.hero-device-actions span { display:grid; place-items:center; min-height:32px; border-radius:9px; font-size:.72rem; font-weight:900; border:1px solid rgba(255,255,255,.18); }
.hero-device-actions span:first-child { background:var(--red); border-color:var(--red); }
.hero-device-bar { margin-top:12px; display:grid; grid-template-columns:repeat(4,1fr); gap:4px; }
.hero-device-bar span { font-size:.55rem; text-align:center; padding:7px 2px; border-radius:8px; background:rgba(255,255,255,.06); color:#fff; }

.pdr-overview { grid-template-columns: .92fr 1.08fr; align-items: stretch; }
.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service-card { min-height: auto; }
.service-media { height: 116px; }
.service-body { padding: 15px; gap: 10px; }
.service-body h3 { font-size: 1rem; line-height: 1.12; }
.service-body p, .mini-list span { font-size: .8rem; line-height: 1.35; }

.apply-panel { gap: 14px; }
.apply-list { padding: 16px; }
.apply-list li { font-size: .88rem; line-height: 1.35; }

/* Las previews pequeñas no deben usar la grilla completa de 4 columnas */
[data-works-preview].work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
[data-works-preview] .work-card { min-height: 360px; }
[data-works-preview] .work-media { height: 150px; }
.work-grid[data-works-full] { grid-template-columns: repeat(4, minmax(230px, 1fr)); }
.work-card { min-width: 0; }
.work-body p { font-size: .88rem; line-height: 1.42; }
.work-title { font-size: .98rem; }

[data-video-preview].grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
[data-video-preview] .instagram-frame { min-height: auto; padding: 13px; border-radius: 14px; gap: 10px; }
[data-video-preview] .instagram-frame h3 { font-size: .95rem; line-height: 1.18; }
[data-video-preview] .instagram-frame p { font-size: .78rem; line-height: 1.35; }
[data-video-preview] .instagram-embed-slot { min-height: 150px; padding: 12px; }
[data-video-preview] .instagram-embed-slot code { font-size: .67rem; }

/* Proceso: antes eran 8 columnas dentro de media tarjeta; eso causaba texto cortado */
.process { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 12px; }
.step { min-height: 178px; padding: 16px 10px; }
.step:not(:last-child)::after { display: none; }
.step h3 { font-size: .86rem; }
.step p { font-size: .74rem; }
.step svg { width: 27px; height: 27px; }

.photo-tips { grid-template-columns: repeat(2, minmax(0,1fr)); }
.tip { min-width: 0; align-items: flex-start; line-height: 1.25; }
.segment-card { min-height: auto; padding: 16px; }
.why-grid { grid-template-columns: 1fr; }
.reason { padding: 16px; }
.testimonial { min-height: 142px; }
.faq-answer { max-height: none; display:none; }
.faq-item.open .faq-answer { display:block; }
.quote-layout { grid-template-columns: 1.03fr .97fr; }
.final-cta { min-height: 420px; }
.footer-grid { grid-template-columns: 1.1fr 1fr .8fr 1fr; }

@media (max-width: 1300px) {
  .hero-device { display: none; }
  .hero-card { right: max(32px, calc((100vw - var(--container)) / 2)); bottom: 96px; }
  .hero-content { width: min(650px, 100%); }
}

@media (max-width: 1100px) {
  .topbar-grid { grid-template-columns: 1fr auto; }
  .topbar-item:nth-child(2), .topbar-item:nth-child(3) { display:none; }
  .pdr-overview { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .work-grid[data-works-full] { grid-template-columns: repeat(2, minmax(0,1fr)); }
  [data-video-preview].grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .container { width: min(100% - 28px, var(--container)); }
  .hero {
    min-height: min(860px, calc(100svh + 170px));
    align-items: end;
    background:
      linear-gradient(180deg, rgba(3,4,5,.14) 0%, rgba(3,4,5,.32) 30%, rgba(3,4,5,.86) 66%, rgba(3,4,5,.99) 100%),
      var(--hero-mobile) 64% center / cover no-repeat;
  }
  .hero-content { padding: 300px 0 104px; }
  .hero-logo-mini { width: 116px; }
  .grid-2, .grid-3, .grid-4, .services-grid, .pdr-overview, .quote-layout { grid-template-columns: 1fr; }
  [data-works-preview].work-grid, .work-grid[data-works-full] { grid-template-columns: 1fr; }
  [data-video-preview].grid, [data-video-full].grid { grid-template-columns: 1fr; }
  [data-video-preview] .instagram-embed-slot { min-height: 190px; }
  .work-media, [data-works-preview] .work-media { height: 210px; }
  .process { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .photo-tips { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { background-position: 64% center; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, var(--container)); }
  .section { padding: 50px 0; }
  .section.tight { padding: 36px 0; }
  .topbar-grid { min-height: 34px; }
  .brand-logo { width: 86px; height: 56px; }
  .mobile-menu-btn { width: 42px; height: 42px; border-radius: 12px; }
  .hero { min-height: 780px; background-position: 64% center; }
  .hero-content { padding-top: 320px; padding-bottom: 94px; }
  .hero-title { font-size: clamp(2.55rem, 12.5vw, 4rem); line-height: .96; }
  .hero-copy { font-size: .95rem; }
  .hero-actions { gap: 10px; }
  .btn { width: 100%; padding-inline: 14px; white-space: normal; text-align: center; }
  .hero-chips { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .chip { justify-content: center; font-size: .7rem; line-height:1.15; }
  .benefits { grid-template-columns: 1fr; }
  .apply-panel { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .photo-tips { grid-template-columns: 1fr; }
  .work-media, [data-works-preview] .work-media { height: 196px; }
  .instagram-frame { min-height: auto; }
  .instagram-embed-slot { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bottom-bar a { font-size: .66rem; }
}

/* === Corrección solicitada: hero alineado a la izquierda y sin celular === */
.hero-device { display: none !important; }

.hero {
  min-height: clamp(650px, 78vh, 820px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3,4,5,.98) 0%, rgba(3,4,5,.92) 34%, rgba(3,4,5,.38) 63%, rgba(3,4,5,.72) 100%),
    var(--hero-desktop) center right / cover no-repeat;
}

.container.hero-content {
  width: min(var(--container), calc(100% - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: clamp(58px, 7vh, 84px);
  padding-bottom: clamp(58px, 7vh, 84px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title,
.hero-copy,
.hero-actions,
.hero-chips {
  max-width: 690px;
}

.hero-title {
  font-size: clamp(3.25rem, 5.45vw, 6.15rem);
  line-height: .94;
}

.hero-copy {
  max-width: 640px;
}

.hero-card {
  right: max(42px, calc((100vw - var(--container)) / 2 + 20px)) !important;
  bottom: 104px !important;
  width: 300px;
}

@media (max-width: 1300px) {
  .hero-card {
    right: max(28px, calc((100vw - var(--container)) / 2 + 20px)) !important;
    width: 280px;
  }
}

@media (max-width: 1100px) {
  .hero-card { display: none !important; }
  .hero {
    background:
      linear-gradient(90deg, rgba(3,4,5,.97) 0%, rgba(3,4,5,.86) 42%, rgba(3,4,5,.55) 100%),
      var(--hero-desktop) center right / cover no-repeat;
  }
  .container.hero-content {
    width: min(var(--container), calc(100% - 32px)) !important;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: min(820px, calc(100svh + 90px));
    align-items: end;
    background:
      linear-gradient(180deg, rgba(3,4,5,.20) 0%, rgba(3,4,5,.38) 34%, rgba(3,4,5,.90) 70%, rgba(3,4,5,1) 100%),
      var(--hero-mobile) 63% center / cover no-repeat;
  }
  .container.hero-content {
    width: min(100% - 28px, var(--container)) !important;
    padding-top: 280px !important;
    padding-bottom: 96px !important;
  }
  .hero-title,
  .hero-copy,
  .hero-actions,
  .hero-chips {
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .hero { min-height: 760px; background-position: 64% center; }
  .container.hero-content {
    width: min(100% - 24px, var(--container)) !important;
    padding-top: 300px !important;
    padding-bottom: 92px !important;
  }
  .hero-title { font-size: clamp(2.45rem, 12.2vw, 4rem); }
}


.work-grid[data-works-full] {
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  align-items: start;
}

[data-works-preview].work-grid {
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  align-items: start;
}

.work-card--embed {
  min-height: auto;
  overflow: visible;
}

.work-card--embed .work-media,
.work-media--embed {
  height: auto !important;
  min-height: 0;
  overflow: visible;
  padding: 10px;
  background: #050607;
}

.instagram-frame--real {
  align-content: start;
  min-height: auto;
  overflow: visible;
}

.instagram-frame--real .instagram-embed-slot,
.instagram-embed-slot--work {
  display: block;
  min-height: 610px;
  padding: 8px;
  overflow: hidden;
  background: #050607;
  border-style: solid;
  border-color: rgba(255,255,255,.12);
  text-align: left;
}

.instagram-embed-slot .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 540px !important;
  margin: 0 auto !important;
  border-radius: 12px !important;
}

.instagram-embed-slot iframe {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
}

@media (max-width: 1100px) {
  .work-grid[data-works-full] {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
  }
}

@media (max-width: 900px) {
  .work-grid[data-works-full],
  [data-works-preview].work-grid,
  [data-video-preview].grid,
  [data-video-full].grid {
    grid-template-columns: 1fr !important;
  }

  .instagram-frame--real .instagram-embed-slot,
  .instagram-embed-slot--work {
    min-height: 590px;
  }
}

@media (max-width: 420px) {
  .instagram-frame--real .instagram-embed-slot,
  .instagram-embed-slot--work {
    min-height: 560px;
    padding: 6px;
  }
}


/* === Corrección visual Reels Instagram: tarjetas compactas, sin estirarse hacia arriba === */
.work-grid[data-works-full],
[data-works-preview].work-grid {
  align-items: stretch !important;
}

.work-grid[data-works-full] {
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
}

[data-works-preview].work-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
}

.work-card--reel {
  min-height: auto !important;
  overflow: hidden !important;
}

.work-card--reel .work-media,
.work-media--reel {
  height: clamp(240px, 22vw, 320px) !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-bottom: 1px solid var(--line);
}

.reel-cover {
  position: relative;
  width: 100%;
  min-height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #050607 var(--reel-thumb) center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  color: #fff;
}

.reel-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 48%, rgba(229,28,35,.22), transparent 32%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.46) 48%, rgba(0,0,0,.92) 100%);
  z-index: 1;
}

.reel-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.46), rgba(0,0,0,.05));
  z-index: 1;
}

.reel-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.62);
  color: #fff;
  font-size: .72rem;
  font-weight: 950;
  padding: 7px 10px;
  backdrop-filter: blur(10px);
}

.reel-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  background: linear-gradient(135deg, var(--red), #b90f16);
  box-shadow: 0 18px 44px rgba(229,28,35,.34), 0 0 0 8px rgba(255,255,255,.08);
  font-size: 1.35rem;
  line-height: 1;
}

.reel-cover:hover .reel-play {
  transform: translate(-50%, -50%) scale(1.06);
}

.reel-cover-text {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 18px;
}

.reel-cover-text strong {
  font-family: Inter, sans-serif;
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 950;
}

.reel-cover-text small {
  color: #d6dde1;
  font-size: .78rem;
  font-weight: 750;
}

.work-actions,
.reel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.work-actions .btn,
.reel-actions .btn {
  flex: 1 1 160px;
  justify-content: center;
}

.instagram-frame--reel,
.instagram-frame--real {
  min-height: auto !important;
  overflow: hidden !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column;
  gap: 14px;
}

.instagram-frame-head h3 {
  margin: 10px 0 6px;
  font-size: 1.05rem;
  line-height: 1.15;
}

.instagram-frame-head p {
  font-size: .88rem;
  line-height: 1.42;
  color: var(--muted);
}

.reel-player,
.instagram-frame--real .instagram-embed-slot,
.instagram-embed-slot--work {
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #050607 !important;
  display: block !important;
  aspect-ratio: 9 / 12.3;
  max-height: 520px;
}

.reel-player .reel-cover {
  height: 100%;
  aspect-ratio: 9 / 12.3;
}

.reel-player.is-loaded {
  aspect-ratio: 9 / 13.4;
  max-height: 620px;
  overflow: hidden !important;
}

.reel-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  background: #050607;
}

.reel-fallback {
  display: block;
  padding: 10px 12px;
  background: rgba(255,255,255,.045);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.1);
}

[data-video-preview].grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
}

[data-video-preview] .instagram-frame--reel {
  padding: 14px !important;
}

[data-video-preview] .reel-player {
  aspect-ratio: 16 / 10.5;
  max-height: 250px;
}

[data-video-preview] .reel-player .reel-cover {
  aspect-ratio: 16 / 10.5;
}

[data-video-preview] .instagram-frame-head p {
  display: none;
}

@media (max-width: 1100px) {
  .work-grid[data-works-full] {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .work-grid[data-works-full],
  [data-works-preview].work-grid,
  [data-video-preview].grid,
  [data-video-full].grid {
    grid-template-columns: 1fr !important;
  }

  .work-card--reel .work-media,
  .work-media--reel {
    height: 300px !important;
  }

  .reel-player,
  .reel-player .reel-cover {
    aspect-ratio: 16 / 10.8;
    max-height: none;
  }

  .reel-player.is-loaded {
    aspect-ratio: 9 / 13.4;
    max-height: 620px;
  }
}

@media (max-width: 520px) {
  .work-card--reel .work-media,
  .work-media--reel {
    height: 245px !important;
  }

  .reel-player,
  .reel-player .reel-cover,
  [data-video-preview] .reel-player,
  [data-video-preview] .reel-player .reel-cover {
    aspect-ratio: 16 / 10.8;
  }

  .reel-play {
    width: 54px;
    height: 54px;
    font-size: 1.14rem;
  }

  .reel-cover-text { padding: 15px; }
}

.work-grid[data-works-full],
[data-works-preview].work-grid,
[data-video-preview].grid,
[data-video-full].grid {
  align-items: start !important;
}

.work-grid[data-works-full] {
  grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
}

[data-works-preview].work-grid {
  grid-template-columns: repeat(2, minmax(300px, 1fr)) !important;
}

[data-video-preview].grid,
[data-video-full].grid {
  grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
}

.work-card--official-embed {
  min-height: 0 !important;
  overflow: visible !important;
  align-self: start !important;
}

.work-card--official-embed .work-media,
.work-media--official-embed {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 12px !important;
  overflow: visible !important;
  background: #050607 !important;
  border-bottom: 1px solid var(--line) !important;
}

.instagram-frame--official {
  min-height: 0 !important;
  overflow: visible !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  align-self: start !important;
}

.instagram-official-embed {
  width: 100%;
  min-height: 460px;
  display: block;
  overflow: visible;
  background: #050607;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 10px;
}

.instagram-frame--official .instagram-official-embed {
  min-height: 560px;
}

.instagram-official-embed .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 540px !important;
  margin: 0 auto !important;
  border-radius: 12px !important;
}

.instagram-official-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
}

.instagram-native-fallback {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  font-weight: 900;
}

.instagram-native-fallback:hover {
  border-color: rgba(229,28,35,.5);
  background: rgba(229,28,35,.12);
}

.work-card--official-embed .work-body {
  padding-top: 14px;
}

.work-actions,
.reel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-actions .btn,
.reel-actions .btn {
  flex: 1 1 150px;
  justify-content: center;
}

@media (max-width: 1150px) {
  .work-grid[data-works-full],
  [data-video-preview].grid,
  [data-video-full].grid {
    grid-template-columns: repeat(2, minmax(290px, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .work-grid[data-works-full],
  [data-works-preview].work-grid,
  [data-video-preview].grid,
  [data-video-full].grid {
    grid-template-columns: 1fr !important;
  }

  .work-card--official-embed .work-media,
  .work-media--official-embed,
  .instagram-frame--official {
    padding: 10px !important;
  }

  .instagram-official-embed,
  .instagram-frame--official .instagram-official-embed {
    min-height: 500px;
    padding: 8px;
  }
}

@media (max-width: 390px) {
  .instagram-official-embed,
  .instagram-frame--official .instagram-official-embed {
    min-height: 470px;
    padding: 6px;
  }

  .instagram-native-fallback {
    font-size: .78rem;
  }
}
