:root {
  --blue: #087fc5;
  --blue-deep: #075886;
  --blue-pale: #eaf7ff;
  --ink: #112331;
  --muted: #58707d;
  --yellow: #ffc900;
  --paper: #f7fbfc;
  --line: #d8e8ef;
  --shadow: 0 24px 60px rgba(7, 88, 134, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Poppins", sans-serif; font-weight: 600; letter-spacing: -0.028em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; margin-bottom: 18px; }
.section { padding: 114px 0; }
.section-intro { max-width: 620px; }
.section-intro p { color: var(--muted); font-size: 1.08rem; }

.emergency-strip { background: var(--yellow); color: #151515; font-size: 0.88rem; font-weight: 700; }
.emergency-strip__inner { align-items: center; display: flex; justify-content: center; min-height: 38px; text-align: center; }
.emergency-strip strong { margin-right: 8px; }

.site-header { background: rgba(251, 253, 253, 0.94); border-bottom: 1px solid transparent; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(15px); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { align-items: center; display: flex; height: 90px; justify-content: space-between; }
.brand img { height: 55px; width: auto; }
.main-nav { align-items: center; display: flex; gap: 24px; }
.main-nav a { color: #38505d; font-family: "Poppins", sans-serif; font-size: 0.83rem; font-weight: 500; position: relative; }
.main-nav a:hover { color: var(--blue); }
.main-nav a.is-current, .main-nav a.is-page-current { color: var(--blue); font-weight: 700; }
.language-link { align-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--blue-deep) !important; display: inline-flex; font-size: 0.72rem !important; gap: 7px; padding: 7px 12px; }
.flag { border-radius: 2px; box-shadow: 0 0 0 1px rgba(17,35,49,0.12); display: inline-block; height: 12px; overflow: hidden; position: relative; width: 18px; }
.flag-us { background: repeating-linear-gradient(to bottom, #b22234 0 0.92px, #fff 0.92px 1.84px); }
.flag-us::before { background: #3c3b6e; content: ""; height: 6.4px; left: 0; position: absolute; top: 0; width: 8px; }
.flag-mx { background: linear-gradient(to right, #006847 0 33.3%, #fff 33.3% 66.6%, #ce1126 66.6%); }
.flag-mx::before { border: 1px solid #b88b32; border-radius: 50%; content: ""; height: 3px; left: 7.5px; position: absolute; top: 4.5px; width: 3px; }
.menu-toggle { background: none; border: 0; color: var(--blue-deep); cursor: pointer; display: none; font-size: 1.4rem; padding: 8px; }

.hero { background: linear-gradient(180deg, #f4fafc 0%, var(--paper) 76%, #fff 100%); overflow: hidden; padding: 102px 0 110px; position: relative; }
.hero::before { background: radial-gradient(circle, rgba(8, 127, 197, 0.12) 1px, transparent 1px); background-size: 18px 18px; content: ""; height: 420px; opacity: 0.6; position: absolute; right: -100px; top: 0; width: 420px; }
.hero-grid { align-items: center; display: grid; gap: 54px; grid-template-columns: 1.02fr 0.98fr; position: relative; }
.hero h1 { font-size: clamp(3rem, 4.7vw, 4.35rem); line-height: 1.04; margin: 15px 0 24px; max-width: 650px; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero h1 span { color: var(--blue); font-size: 0.9em; letter-spacing: -0.045em; white-space: nowrap; }
.hero-copy { color: var(--muted); font-size: 1.13rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { align-items: center; border: 2px solid var(--blue); border-radius: 12px; display: inline-flex; font-family: "Poppins", sans-serif; font-size: 0.82rem; font-weight: 600; gap: 9px; justify-content: center; min-height: 51px; padding: 0 21px; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button:hover { box-shadow: 0 10px 22px rgba(8, 127, 197, 0.2); transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; }
.button-secondary { background: white; color: var(--blue-deep); }
.button-yellow { background: var(--yellow); border-color: var(--yellow); color: #1b1b1b; }
.hero-note { color: var(--blue-deep); font-size: 0.84rem; font-weight: 600; margin: 18px 0 0; }
.hero-visual { min-height: 550px; position: relative; }
.pet-carousel { align-items: center; display: grid; inset: 14px 10px 36px 45px; justify-items: center; position: absolute; }
.pet-carousel::before { background: rgba(255,255,255,0.84); border: 1px solid rgba(255,255,255,0.95); border-radius: 28px; box-shadow: var(--shadow); content: ""; inset: 0; position: absolute; transform: rotate(3deg); }
.pet-slide { align-items: center; display: flex; inset: 14px; justify-content: center; opacity: 0; position: absolute; transform: translateY(18px) scale(0.92); transition: opacity 420ms ease, transform 420ms ease; z-index: 1; }
.pet-slide.is-active { opacity: 1; transform: translateY(0) scale(1); }
.pet-slide__image { border-radius: 21px; height: 100%; max-width: 100%; object-fit: cover; position: relative; width: 100%; z-index: 2; }
.hero-decoration { filter: drop-shadow(0 14px 18px rgba(7, 88, 134, 0.14)); left: 50%; max-height: 72%; max-width: 70%; object-fit: contain; opacity: 0.78; position: absolute; top: 50%; transform: translate(-50%, -50%) rotate(var(--decoration-rotation, 0deg)); transition: transform 180ms ease-out; width: 58%; z-index: 1; }
.pet-slide--0 .hero-decoration { left: 8%; max-height: 68%; top: 10%; width: 65%; }
.pet-slide--1 .hero-decoration { left: 94%; top: 10%; width: 55%; }
.pet-slide--2 .hero-decoration { left: 94%; top: 8%; width: 64%; }
.pet-slide--3 .hero-decoration { left: 7%; top: 15%; width: 72%; }
.pet-dots { bottom: 58px; display: flex; gap: 8px; position: absolute; right: 30px; z-index: 3; }
.pet-dot { background: #b7d7e6; border: 0; border-radius: 50%; cursor: pointer; height: 8px; padding: 0; transition: width 180ms ease, background 180ms ease; width: 8px; }
.pet-dot.is-active { background: var(--blue); border-radius: 8px; width: 23px; }
.hero-tag { background: #fff; border-radius: 14px; bottom: 18px; box-shadow: var(--shadow); left: 66px; padding: 14px 18px; position: absolute; text-align: center; transform: rotate(-3deg); z-index: 4; }
.hero-tag span { color: var(--blue); display: block; font-family: "Poppins", sans-serif; font-size: 1.55rem; font-weight: 700; line-height: 1; }
.hero-tag small { color: var(--muted); display: block; font-weight: 600; }
.cursor-paw { align-items: center; background: var(--yellow); border-radius: 50%; display: flex; font-size: 1.35rem; height: 54px; justify-content: center; position: absolute; right: 13%; top: 12%; transition: transform 120ms ease-out; width: 54px; z-index: 2; }
.cursor-paw { display: none; }

.trust-bar { background: #fff; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); color: var(--ink); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { align-items: center; display: flex; gap: 14px; justify-content: center; min-height: 112px; padding: 18px; text-align: left; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { color: var(--blue); font-size: 1.6rem; }
.trust-item strong { display: block; font-family: "Poppins", sans-serif; font-size: 0.9rem; font-weight: 600; }
.trust-item span { color: var(--muted); font-size: 0.82rem; }

.services { background: white; }
.services-header { align-items: end; display: flex; gap: 30px; justify-content: space-between; margin-bottom: 42px; }
.services-header .section-intro { max-width: 620px; }
.services-grid { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); }
.service-card { background: var(--paper); border: 1px solid #e5eef2; border-radius: 18px; grid-column: span 3; overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.service-card--feature { grid-column: span 3; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.service-card:focus-visible { box-shadow: 0 0 0 4px rgba(8, 127, 197, 0.28); outline: none; }
.service-card img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; width: 100%; }
.service-card img { transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1); }
.service-card:hover img { transform: scale(1.045); }
.service-card--feature img { height: auto; }
.service-card__body { min-height: 158px; padding: 16px 19px 20px; position: relative; }
.service-card__number { color: #9bb7c1; display: block; font-family: "Poppins", sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 10px; }
.service-card h3 { font-family: "Poppins", sans-serif; font-size: 0.98rem; font-weight: 600; margin-bottom: 6px; }
.service-card p { color: var(--muted); font-size: 0.89rem; margin-bottom: 0; }
.service-card__open { background: none; border: 0; color: var(--blue-deep); cursor: pointer; font: inherit; font-size: 0.8rem; font-weight: 700; margin-top: 13px; padding: 0; }
.service-card__open:hover { color: var(--blue); }

.jobs-card { align-items: center; background: linear-gradient(125deg, var(--blue-deep), var(--blue)); border-radius: 26px; color: #fff; display: flex; gap: 38px; justify-content: space-between; overflow: hidden; padding: 52px 58px; position: relative; }
.jobs-card::after { border: 36px solid rgba(255, 201, 0, 0.55); border-radius: 50%; content: ""; height: 190px; position: absolute; right: -80px; top: -105px; width: 190px; }
.jobs-card > * { position: relative; z-index: 1; }
.jobs-card h2 { margin: 13px 0; }
.jobs-card p { color: #d6eff9; font-size: 1.05rem; margin-bottom: 0; max-width: 690px; }
.jobs-card .button { flex: 0 0 auto; }
.jobs-card .jobs-email { font-size: 0.94rem; margin-top: 22px; }
.jobs-email a { border-bottom: 1px solid rgba(255,255,255,0.55); color: #fff; font-weight: 700; overflow-wrap: anywhere; }

.special-page { min-height: calc(100vh - 90px); }
.page-heading { background: linear-gradient(180deg, #eff9fd, #fff); padding: 76px 0 44px; }
.page-heading h1, .jobs-page h1, .silvestre-page h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); margin: 18px 0; }
.page-heading p, .silvestre-page p { color: var(--muted); font-size: 1.08rem; max-width: 660px; }
.back-link { color: var(--blue-deep); display: inline-block; font-size: 0.88rem; font-weight: 700; }
.back-link--light { color: #fff; opacity: 0.9; }
.playlist-section { background: #fff; padding: 32px 0 100px; }
.playlist-layout { align-items: start; display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) 345px; }
.featured-video { min-width: 0; }
.featured-video__frame { align-items: center; aspect-ratio: 16 / 9; background: #08141b; border-radius: 18px; display: flex; justify-content: center; margin: 0 auto; max-height: 70vh; overflow: hidden; transition: aspect-ratio 180ms ease; }
.featured-video__frame video { display: block; height: 100%; max-height: 70vh; max-width: 100%; object-fit: contain; width: 100%; }
.featured-video h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); margin: 22px 0 7px; }
.featured-video p { color: var(--muted); margin-bottom: 0; }
.playlist { background: #f5f9fb; border: 1px solid var(--line); border-radius: 18px; max-height: 70vh; overflow: auto; padding: 20px 14px; }
.playlist h2 { font-size: 1.15rem; margin: 0 6px 12px; }
.playlist ol { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
.playlist-item { align-items: center; background: transparent; border: 0; border-radius: 10px; color: var(--ink); cursor: pointer; display: grid; font: inherit; gap: 11px; grid-template-columns: 28px 1fr; padding: 11px 8px; text-align: left; width: 100%; }
.playlist-item:hover, .playlist-item.is-active { background: #dff3fc; color: var(--blue-deep); }
.playlist-item span { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.playlist-item strong { font-size: 0.84rem; line-height: 1.25; }
.jobs-page { background: linear-gradient(180deg, #fff 0, #f3fafc 100%); padding: 92px 0; }
.jobs-page .jobs-card { min-height: 370px; }
.silvestre-page { background: radial-gradient(circle at 15% 15%, rgba(255, 201, 0, 0.2), transparent 24%), radial-gradient(circle at 85% 20%, rgba(8, 127, 197, 0.35), transparent 27%), linear-gradient(145deg, #061b2a 0%, #073c5a 58%, #061b2a 100%); color: #fff; min-height: calc(100vh - 180px); overflow: hidden; padding: 72px 0 90px; position: relative; }
.silvestre-page::before { background-image: linear-gradient(rgba(105, 228, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(105, 228, 255, 0.07) 1px, transparent 1px); background-size: 32px 32px; content: ""; inset: 0; pointer-events: none; position: absolute; }
.silvestre-page > .container { position: relative; }
.silvestre-page > .container > h1 { max-width: 850px; }
.silvestre-intro { align-items: center; display: grid; gap: 34px; grid-template-columns: 1fr minmax(240px, 360px); }
.silvestre-intro h1 { line-height: 0.91; max-width: 720px; }
.silvestre-intro > img { image-rendering: pixelated; max-width: 100%; }
.silvestre-page .back-link { color: #b7ecff; }
.silvestre-page p { color: #d4eff8; }
.silvestre-game { margin: 45px auto 72px; max-width: 940px; position: relative; }
.game-layout { align-items: center; display: grid; gap: 32px; grid-template-columns: minmax(0, 560px) minmax(220px, 1fr); }
.game-panel { background: rgba(4, 27, 41, 0.75); border: 1px solid rgba(183, 236, 255, 0.25); border-radius: 20px; box-shadow: 0 16px 35px rgba(0,0,0,0.2); padding: 24px 20px; }
.game-hud { align-items: stretch; background: #122e29; border: 5px solid #071d1b; border-radius: 12px; box-shadow: inset 0 0 0 2px #cce486, 0 5px 0 rgba(7,29,27,0.27); display: grid; gap: 10px; margin: 0; padding: 12px; }
.game-hud strong { color: #d9f38d; font-family: "Poppins", sans-serif; font-size: 0.84rem; text-shadow: 0 0 7px rgba(217,243,141,0.6); }
.gameboy-shell { aspect-ratio: 630 / 1110; margin: 0 auto; max-width: 560px; position: relative; width: 100%; }
.gameboy-frame { height: 100%; inset: 0; pointer-events: none; position: absolute; width: 100%; z-index: 2; }
#silvestre-canvas { background: #a8bd8d; border: 0; display: block; height: 40%; image-rendering: pixelated; left: 9.25%; position: absolute; top: 7.25%; width: 81.45%; z-index: 1; }
.game-start { background: #e44534; border-color: #b42f26; display: flex; margin: 22px auto 0; }
.game-keyboard { color: #d4eff8; font-size: 0.84rem; font-weight: 700; line-height: 1.45; margin: 22px 0 0; text-align: center; }
.game-controls { display: none; }
.game-over { align-items: center; background: rgba(5, 47, 71, 0.64); display: flex; inset: 0; justify-content: center; padding: 20px; position: absolute; z-index: 2; }
.game-over[hidden] { display: none; }
.game-over__card { background: #fff; border-radius: 20px; box-shadow: 0 22px 60px rgba(0,0,0,0.25); max-width: 420px; padding: 29px; text-align: center; }
.game-over__bros { margin: 0 auto 15px; max-width: 320px; position: relative; }
.game-over__bros img { display: block; image-rendering: pixelated; width: 100%; }
.game-over__bros strong { align-items: center; background: var(--blue); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 8px 18px rgba(0,0,0,0.2); color: #fff; display: flex; font-family: "Poppins", sans-serif; font-size: 1.5rem; height: 76px; justify-content: center; position: absolute; right: -15px; top: -18px; width: 76px; }
.game-over__card h2 { font-size: 2rem; margin: 12px 0 8px; }
.game-over__card p { color: var(--muted); }
.game-over__card #game-message { color: var(--blue-deep); font-family: "Poppins", sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.game-over__card > div { display: flex; gap: 10px; justify-content: center; }
.game-over__card .button { min-height: 45px; padding: 0 14px; }

.emergency { background: linear-gradient(105deg, #f4fcff 0%, #fff 62%); overflow: hidden; position: relative; }
.emergency::after { border: 35px solid var(--yellow); border-radius: 50%; content: ""; height: 240px; opacity: 0.65; position: absolute; right: -100px; top: -100px; width: 240px; }
.emergency-grid { align-items: center; display: grid; gap: 60px; grid-template-columns: 1fr 0.86fr; position: relative; z-index: 1; }
.emergency-copy h2 { max-width: 540px; }
.emergency-copy > p { color: var(--muted); font-size: 1.07rem; }
.night-notice { background: white; border-left: 5px solid var(--yellow); border-radius: 0 14px 14px 0; box-shadow: 0 13px 30px rgba(7, 88, 134, 0.08); color: #314955; margin: 25px 0; padding: 18px 19px; }
.night-notice strong { color: var(--ink); display: block; margin-bottom: 4px; }
.emergency-card { background: var(--blue-deep); border-radius: 22px; box-shadow: var(--shadow); color: white; padding: 38px; }
.emergency-card .pulse { background: rgba(255,255,255,0.18); border-radius: 50%; display: grid; font-size: 2.1rem; height: 64px; margin-bottom: 25px; place-items: center; width: 64px; }
.emergency-card h3 { font-family: "Poppins", sans-serif; font-size: 1.8rem; font-weight: 700; line-height: 1.1; margin-bottom: 15px; }
.emergency-card p { color: #d2f0fc; }
.emergency-card .button { margin-top: 8px; }

.about-grid { align-items: center; display: grid; gap: 65px; grid-template-columns: 0.9fr 1.1fr; }
.about-visual { min-height: 330px; position: relative; }
.team-photo { aspect-ratio: 16 / 9; border-radius: 30px; box-shadow: var(--shadow); height: auto; object-fit: cover; object-position: center 30%; width: 100%; }
.silvestre-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; bottom: 0; box-shadow: var(--shadow); display: flex; gap: 14px; padding: 11px; position: absolute; right: 0; width: 235px; }
.silvestre-card img { border-radius: 12px; height: 72px; object-fit: cover; width: 72px; }
.silvestre-card strong { color: var(--blue-deep); display: block; font-family: "Poppins", sans-serif; font-size: 0.98rem; font-weight: 700; }
.silvestre-card span { color: var(--muted); display: block; font-size: 0.76rem; line-height: 1.3; margin-top: 4px; }
.about-copy p { color: var(--muted); font-size: 1.04rem; }
.check-list { display: grid; gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
.check-list li { align-items: center; display: flex; font-size: 0.94rem; font-weight: 600; gap: 10px; }
.check-list li::before { background: var(--yellow); border-radius: 50%; color: var(--ink); content: "✓"; display: grid; font-size: 0.75rem; height: 20px; place-items: center; width: 20px; }

.faq { background: var(--blue-pale); }
.faq-grid { display: grid; gap: 40px; grid-template-columns: 0.9fr 1.1fr; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: white; border: 1px solid #d6edf7; border-radius: 12px; padding: 0 19px; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; padding: 18px 28px 18px 0; position: relative; }
.faq-item summary::after { color: var(--blue); content: "+"; font-size: 1.4rem; font-weight: 400; position: absolute; right: 0; top: 12px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); font-size: 0.94rem; padding-bottom: 18px; }

.contact { background: white; }
.contact-grid { display: grid; gap: 52px; grid-template-columns: 0.86fr 1.14fr; }
.contact-info { display: grid; gap: 18px; margin-top: 27px; }
.contact-link { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 14px; padding: 0 0 17px; }
.contact-link__icon { background: var(--blue-pale); border-radius: 12px; color: var(--blue); display: grid; font-size: 1.2rem; height: 43px; place-items: center; width: 43px; }
.contact-link small { color: var(--muted); display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-link strong { display: block; font-size: 0.97rem; margin-top: 2px; }
.map { border: 0; border-radius: 25px; box-shadow: var(--shadow); min-height: 445px; width: 100%; }

.site-footer { background: #073c5a; color: white; padding: 42px 0 25px; }
.footer-top { align-items: center; display: flex; gap: 30px; justify-content: space-between; }
.footer-logo { height: 67px; object-fit: contain; width: auto; }
.footer-links { display: flex; gap: 17px; }
.footer-links a { align-items: center; background: rgba(255,255,255,0.11); border-radius: 50%; display: grid; font-size: 0.72rem; font-weight: 700; height: 36px; place-items: center; width: 36px; }
.footer-links svg { height: 16px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); color: #b7dce9; display: flex; flex-wrap: wrap; font-size: 0.72rem; gap: 10px 20px; justify-content: space-between; margin-top: 28px; padding-top: 20px; }
.floating-whatsapp { align-items: center; background: #16a562; border: 3px solid white; border-radius: 50%; bottom: 20px; box-shadow: 0 10px 24px rgba(0,0,0,0.2); color: white; display: flex; font-size: 1.4rem; height: 56px; justify-content: center; position: fixed; right: 20px; width: 56px; z-index: 30; }
.whatsapp-icon { display: inline-block; fill: currentColor; flex: 0 0 auto; height: 1.1em; width: 1.1em; }
.floating-whatsapp .whatsapp-icon { height: 26px; width: 26px; }
.contact-link__icon .whatsapp-icon { height: 21px; width: 21px; }

.modal { background: transparent; border: 0; max-width: min(100% - 28px, 525px); padding: 0; }
.modal::backdrop { background: rgba(6, 42, 62, 0.58); backdrop-filter: blur(5px); }
.modal-card { background: white; border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,0.25); padding: 35px; position: relative; }
.modal-card h2 { font-size: clamp(1.8rem, 5vw, 2.45rem); margin: 11px 0 10px; }
.modal-card > p { color: var(--muted); font-size: 0.92rem; }
.modal-close { background: var(--blue-pale); border: 0; border-radius: 50%; color: var(--blue-deep); cursor: pointer; font-size: 1.5rem; height: 34px; line-height: 1; position: absolute; right: 17px; top: 17px; width: 34px; }
.modal-mark { align-items: center; background: #16a562; border-radius: 15px; color: white; display: flex; height: 51px; justify-content: center; width: 51px; }
.modal-mark .whatsapp-icon { height: 29px; width: 29px; }
.modal-mark-phone { background: var(--blue); font-size: 1.45rem; }
.desktop-note { background: var(--blue-pale); border-radius: 12px; color: var(--blue-deep) !important; font-size: 0.83rem !important; padding: 11px 13px; }
.modal form { display: grid; gap: 14px; margin-top: 20px; }
.modal label { color: var(--ink); display: grid; font-size: 0.82rem; font-weight: 700; gap: 6px; }
.modal input, .modal select { appearance: none; background: #f8fbfc; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font: inherit; font-size: 0.92rem; outline: none; padding: 11px 12px; width: 100%; }
.modal input:focus, .modal select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 127, 197, 0.13); }
.modal-alert { background: #fff7d6; border-left: 4px solid var(--yellow); border-radius: 0 10px 10px 0; color: #655000 !important; font-size: 0.81rem !important; margin: 0; padding: 11px 12px; }
.modal form .button { border: 0; cursor: pointer; width: 100%; }
.phone-number { color: var(--blue); display: block; font-size: clamp(1.45rem, 6vw, 2rem); font-weight: 800; letter-spacing: -0.04em; margin: 20px 0; }
.modal-phone .button { cursor: pointer; margin-top: 8px; }
.modal-service .modal-card { max-width: 650px; }
.service-modal__image { border-radius: 15px; height: 230px; margin: 0 0 24px; object-fit: cover; width: 100%; }
.service-modal__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 23px; }
.service-modal__actions .button { flex: 1 1 215px; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-grid { animation: rise-in 700ms ease both; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease var(--reveal-delay), transform 650ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.scroll-progress { background: var(--yellow); height: 3px; left: 0; position: fixed; top: 0; transform-origin: left center; width: 0; z-index: 50; }

@media (max-width: 850px) {
  .main-nav { background: white; border-bottom: 1px solid var(--line); box-shadow: 0 16px 25px rgba(7, 88, 134, 0.08); display: none; flex-direction: column; left: 0; padding: 18px 20px 25px; position: absolute; right: 0; top: 90px; }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .hero { padding-top: 52px; }
  .hero-grid, .emergency-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .jobs-card { align-items: flex-start; flex-direction: column; }
  .playlist-layout { grid-template-columns: 1fr; }
  .playlist { max-height: none; }
  .silvestre-intro { grid-template-columns: 1fr; }
  .silvestre-intro > img { margin: -10px auto 0; max-width: min(360px, 100%); order: -1; }
  .game-hud { align-items: flex-start; flex-wrap: wrap; gap: 7px 14px; }
  .game-keyboard { display: none; }
  .game-controls { display: grid; gap: 6px; justify-content: center; margin: 15px 0 0; }
  .game-controls > button { margin: 0 auto; }
  .game-controls div { display: flex; gap: 6px; }
  .game-controls button { background: var(--blue-pale); border: 1px solid var(--line); border-radius: 9px; color: var(--blue-deep); cursor: pointer; font-size: 1.25rem; height: 40px; width: 44px; }
  .hero-visual { margin: 10px auto 0; min-height: 410px; width: min(440px, 100%); }
  .hero-photo { height: 365px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card, .service-card--feature { grid-column: span 1; }
  .service-card--feature img { height: auto; }
  .about-grid { gap: 38px; }
  .about-visual { margin: 0 auto; width: min(520px, 100%); }
  .emergency-grid { gap: 30px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .emergency-strip__inner { font-size: 0.73rem; line-height: 1.25; min-height: 44px; padding: 5px 8px; }
  .header-inner { height: 70px; }
  .brand img { height: 44px; }
  .main-nav { top: 70px; }
  .section { padding: 70px 0; }
  .hero h1 { font-size: 3.1rem; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { min-height: 342px; }
  .hero-tag { bottom: 12px; left: 34px; }
  .hero-photo { border-width: 7px; border-radius: 27px; height: 303px; width: 88%; }
  .cursor-paw { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { justify-content: flex-start; min-height: 76px; padding-left: 22px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid rgba(255,255,255,0.22); }
  .services-header { display: block; margin-bottom: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card--feature { grid-column: span 1; }
  .service-card { display: grid; grid-template-columns: 116px 1fr; }
  .service-card img { aspect-ratio: auto; height: 100%; min-height: 125px; }
  .service-card__body { min-height: 0; }
  .service-modal__actions { display: grid; }
  .emergency-card { padding: 28px; }
  .jobs-card { border-radius: 20px; padding: 34px 26px; }
  .page-heading { padding: 52px 0 25px; }
  .playlist-section { padding-bottom: 70px; }
  .silvestre-page { padding: 50px 0 70px; }
  .silvestre-game { margin-top: 28px; }
  .game-layout { grid-template-columns: 1fr; }
  .game-panel { order: -1; padding: 14px; }
  .game-hud { border-width: 4px; display: flex; font-size: 0.75rem; justify-content: space-between; padding: 7px; }
  .gameboy-shell { max-width: 100%; }
  .game-over__card { padding: 23px 18px; }
  .game-over__card > div { display: grid; }
  .team-photo { width: 100%; }
  .about-visual { min-height: 310px; }
  .silvestre-card { right: 0; width: 210px; }
  .map { min-height: 330px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
