:root {
  --black: #050505;
  --panel: #101113;
  --panel-2: #17181a;
  --line: #2a2b2e;
  --text: #f5f5f5;
  --muted: #b1b2b6;
  --red: #e30613;
  --red-light: #ff2732;
  --silver: #d9dadd;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--black);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; min-width: 320px; background: var(--black); }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--black); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .75rem 1rem; background: var(--red); border-radius: .4rem; }
.skip-link:focus { top: 1rem; }
.eyebrow { margin: 0 0 .6rem; color: var(--red-light); font-size: .74rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }

.site-header { position: fixed; z-index: 30; inset: 0 0 auto; min-height: 78px; display: flex; align-items: center; gap: 1.5rem; padding: .7rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(5,5,5,.88); backdrop-filter: blur(18px); }
.logo-link { display: flex; align-items: center; gap: .75rem; min-width: 250px; text-decoration: none; }
.logo-link img { display: block; width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(225,6,19,.22)); }
.brand-copy { display: grid; gap: .12rem; line-height: 1; }
.brand-copy strong { font-size: 1rem; letter-spacing: .05em; }
.brand-copy small { color: #9c9da1; font-size: .57rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(.65rem, 1.8vw, 1.5rem); }
.site-nav a, .nav-portal { border: 0; padding: .55rem 0; color: #d5d5d7; background: transparent; text-decoration: none; font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.site-nav a:hover, .nav-portal:hover { color: white; }
.nav-portal { border-bottom: 2px solid var(--red); }
.header-cta { padding: .8rem 1rem; border-radius: 8px; color: white; background: linear-gradient(135deg, var(--red-light), #a90008); text-decoration: none; font-weight: 900; font-size: .82rem; text-transform: uppercase; }
.menu-button { display: none; margin-left: auto; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; color: white; background: var(--panel); }

.hero { position: relative; min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 3rem; padding: 120px clamp(1.2rem, 6vw, 7rem) 4rem; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 76% 43%, rgba(225,6,19,.21), transparent 25rem), linear-gradient(125deg, #030303 0%, #0d0d0f 48%, #171719 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .48; background: repeating-linear-gradient(118deg, transparent 0 84px, rgba(255,255,255,.025) 85px 86px), linear-gradient(180deg, transparent 64%, var(--black)); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 50rem; height: 50rem; right: -26rem; top: 3rem; border: 1px solid rgba(225,6,19,.42); transform: rotate(45deg); box-shadow: 0 0 100px rgba(225,6,19,.18); }
.hero-copy { max-width: 730px; }
.hero h1 { margin: 0; font-size: clamp(3.7rem, 8vw, 8.2rem); line-height: .83; letter-spacing: -.065em; text-transform: uppercase; text-shadow: 0 12px 38px rgba(0,0,0,.62); }
.hero h1 span { color: var(--red-light); }
.hero-lead { max-width: 38rem; margin: 1.6rem 0; color: #d3d3d5; font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.15rem; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-weight: 900; }
.button.primary { color: white; background: linear-gradient(135deg, var(--red-light), #a90008); box-shadow: 0 12px 28px rgba(225,6,19,.26); }
.button.ghost { color: white; border-color: #55565b; background: rgba(0,0,0,.54); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; margin-top: 2.5rem; color: #d0d0d2; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-facts b { color: var(--red-light); margin-right: .35rem; }
.hero-visual { position: relative; justify-self: center; width: min(590px, 100%); aspect-ratio: 1; display: grid; place-items: center; text-align: center; }
.hero-visual::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(225,6,19,.2), rgba(225,6,19,.03) 46%, transparent 67%); box-shadow: inset 0 0 80px rgba(225,6,19,.12); }
.hero-visual::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 2.3rem rgba(255,255,255,.012), 0 0 0 2.35rem rgba(225,6,19,.16), 0 0 90px rgba(225,6,19,.22); }
.hero-visual img { position: relative; z-index: 3; width: 88%; filter: drop-shadow(0 30px 48px rgba(0,0,0,.9)); }
.hero-visual p { position: absolute; z-index: 4; bottom: 3%; margin: 0; color: #bbb; font-size: .65rem; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; }
.hero-orbit { position: absolute; z-index: 2; border-radius: 50%; border: 1px solid rgba(225,6,19,.35); }
.orbit-one { inset: 5%; transform: rotate(18deg) scaleY(.58); }
.orbit-two { inset: 18%; border-color: rgba(255,255,255,.15); transform: rotate(-28deg) scaleY(.52); }

.section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.2rem, 6vw, 7rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .55fr); gap: 2rem; align-items: end; max-width: 1500px; margin: 0 auto 2.6rem; }
.section-heading h2, .about-copy h2, .contact-section h2 { margin: 0; max-width: 18ch; font-size: clamp(2.1rem, 4.6vw, 4.8rem); line-height: .96; letter-spacing: -.045em; text-transform: uppercase; }
.section-heading > p, .about-copy > p, .contact-section > div > p { margin: 0; color: var(--muted); line-height: 1.7; }
.service-section { background: linear-gradient(180deg, #070707, #0e0e0f); }
.service-grid { max-width: 1500px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.service-grid article { position: relative; min-height: 320px; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.5rem); background: radial-gradient(circle at 100% 0%, rgba(225,6,19,.12), transparent 16rem), #111214; }
.service-grid article > span { color: var(--red-light); font-size: .8rem; font-weight: 900; }
.service-grid h3 { margin: auto 0 .8rem; font-size: 2rem; text-transform: uppercase; }
.service-grid p { margin: 0 0 1.5rem; color: var(--muted); line-height: 1.55; }
.service-grid a { width: max-content; color: white; text-decoration-color: var(--red-light); text-underline-offset: .35rem; font-weight: 900; }
.catalog-section { background: #090909; }
.section-heading.compact { align-items: center; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.filters button { border: 1px solid #3a3b40; border-radius: 999px; padding: .55rem .8rem; color: #d4d4d6; background: #151618; }
.filters button.active { border-color: var(--red); color: white; background: rgba(225,6,19,.17); }
.catalog-status { max-width: 1500px; margin: 0 auto; padding: 1rem 0; color: var(--muted); }
.catalog-grid { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.catalog-card { min-height: 250px; display: flex; flex-direction: column; padding: 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(155deg, #17181a, #0d0e0f); }
.catalog-card .kind { color: var(--red-light); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.catalog-card h3 { margin: auto 0 .65rem; font-size: 1.25rem; }
.catalog-card p { color: var(--muted); line-height: 1.5; font-size: .88rem; }
.catalog-card strong { margin-top: 1rem; font-size: 1.2rem; }
.about-section { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; max-width: 1600px; margin: auto; }
.about-image { position: relative; min-height: 600px; overflow: hidden; border: 1px solid var(--line); clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%); }
.about-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.about-copy { max-width: 650px; }
.about-copy > p { margin: 1.5rem 0; }
.about-gallery { padding-top: 0; }
.about-gallery-grid { max-width: 1500px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.about-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.about-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-gallery figcaption { min-height: 3rem; padding: .85rem 1rem; color: var(--muted); }
.content-block { margin: 1.3rem 0; padding-left: 1rem; border-left: 2px solid var(--red); }
.content-block h3 { margin: 0 0 .35rem; }
.content-block p { margin: 0; color: var(--muted); line-height: 1.55; }
.inline-link { display: inline-block; margin-top: 1rem; color: white; text-decoration-color: var(--red); text-underline-offset: .4rem; font-weight: 900; }
.contact-section { border-top: 1px solid var(--line); background: radial-gradient(circle at 20% 50%, rgba(225,6,19,.16), transparent 28rem), #0c0c0d; }
.contact-section > div:first-child { max-width: 1500px; margin: 0 auto 2.5rem; }
.contact-section > div:first-child p:last-child { max-width: 42rem; margin-top: 1.2rem; }
.contact-actions { max-width: 1500px; margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .2rem 1rem; align-items: center; min-width: 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: 13px; background: rgba(17,18,20,.84); text-decoration: none; overflow: hidden; }
.contact-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; max-width: 44px; max-height: 44px; overflow: hidden; border-radius: 12px; color: white; background: rgba(225,6,19,.16); }
.contact-icon svg { display: block; width: 25px !important; height: 25px !important; max-width: 25px; max-height: 25px; fill: currentColor; }
.whatsapp-icon { color: #59df88; background: rgba(37,211,102,.12); }
.instagram-icon { color: #ff8bb4; background: rgba(225,48,108,.13); }
.location-icon { color: #ff6e76; }
.contact-card span { color: var(--red-light); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.contact-card span, .contact-card strong { min-width: 0; }
.contact-card strong { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; font-size: clamp(.9rem, 1.35vw, 1.15rem); }
.contact-extra { max-width: 1500px; margin: 1rem auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-extra > * { display: grid; gap: .35rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; color: inherit; background: rgba(17,18,20,.7); text-decoration: none; }
.contact-extra span { color: var(--red-light); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-extra strong { white-space: pre-line; font-size: .95rem; }
.site-footer { display: grid; place-items: center; gap: .5rem; padding: 3rem 1rem; text-align: center; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { width: 68px; height: 68px; object-fit: contain; }
.footer-brand strong { font-size: 1.15rem; letter-spacing: .06em; }
.site-footer p { margin: .6rem 0; color: var(--muted); }
.site-footer small { color: #77787c; }

.portal-dialog { width: min(760px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; overflow: auto; border: 1px solid #38393e; border-radius: 20px; color: var(--text); background: #111214; box-shadow: 0 30px 100px rgba(0,0,0,.8); }
.portal-dialog::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(6px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 1.65rem; }
.dialog-head button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: white; background: #191a1d; font-size: 1.8rem; }
.portal-login { display: grid; gap: 1rem; padding: 1.5rem; }
.portal-login > p { margin: 0; color: var(--muted); line-height: 1.5; }
.portal-login label { display: grid; gap: .45rem; font-weight: 800; }
.portal-login input { width: 100%; padding: .85rem 1rem; border: 1px solid #3a3b40; border-radius: 10px; color: white; background: #090a0b; outline: none; }
.portal-login input:focus { border-color: var(--red-light); box-shadow: 0 0 0 3px rgba(225,6,19,.15); }
.portal-message { min-height: 1.2rem; margin: 0; color: #ff9ea3; }
.portal-summary { padding: 1.5rem; }
.portal-summary h3 { margin: 0 0 .3rem; }
.portal-summary .welcome { margin-bottom: 1.2rem; }
.portal-summary .welcome p { color: var(--muted); }
.portal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.portal-metric { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: #17181a; }
.portal-metric span { display: block; color: var(--muted); font-size: .8rem; }
.portal-metric strong { display: block; margin-top: .4rem; font-size: 1.45rem; }
.portal-list { margin-top: 1rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.portal-row { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.portal-row:last-child { border-bottom: 0; }
.portal-row small { color: var(--muted); }
.portal-section { margin-top: 1.4rem; }
.portal-section > h3 { margin-bottom: .6rem; }
.portal-action-row { align-items: center; }
.row-actions { display: flex; align-items: center; gap: .55rem; }
.status-pill { padding: .3rem .55rem; border: 1px solid #414249; border-radius: 999px; color: #d9d9dc; background: #202125; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.accept-quote { border: 1px solid var(--red); border-radius: 8px; padding: .48rem .7rem; color: white; background: rgba(225,6,19,.18); font-weight: 900; }
.appointment-form { display: grid; gap: .85rem; margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: #17181a; }
.appointment-form h4 { margin: 0; }
.appointment-form label { display: grid; gap: .4rem; color: #e3e3e5; font-size: .82rem; font-weight: 800; }
.appointment-form input, .appointment-form select, .appointment-form textarea { width: 100%; padding: .78rem .9rem; border: 1px solid #3a3b40; border-radius: 9px; color: white; background: #090a0b; outline: none; }
.appointment-form textarea { resize: vertical; }
.appointment-date { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.portal-logout { margin-top: 1rem; border: 0; color: #ff9ea3; background: transparent; font-weight: 800; }

@media (max-width: 1080px) {
  .site-nav { position: fixed; inset: 78px 0 auto; display: none; align-items: stretch; gap: 0; padding: .8rem 1rem 1rem; background: rgba(8,8,8,.98); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: grid; }
  .site-nav a, .nav-portal { padding: .85rem; text-align: left; border-bottom: 1px solid #222; }
  .menu-button { display: inline-grid; place-items: center; }
  .header-cta { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(290px, .68fr); gap: 1rem; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; padding: .4rem 1rem; }
  .logo-link { min-width: 0; }
  .logo-link img { width: 48px; height: 48px; }
  .brand-copy strong { font-size: .87rem; }
  .brand-copy small { display: none; }
  .site-nav { inset-block-start: 68px; }
  .hero { min-height: 720px; grid-template-columns: 1fr; align-content: center; padding: 105px 1.2rem 3rem; }
  .hero-copy { position: relative; z-index: 5; }
  .hero-visual { position: absolute; z-index: 1; width: 580px; max-width: none; right: -300px; top: 110px; opacity: .34; }
  .hero h1 { font-size: clamp(3.3rem, 16vw, 5.7rem); }
  .section { padding: 4.5rem 1.2rem; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .section-heading h2, .about-copy h2, .contact-section h2 { font-size: 2.75rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 250px; }
  .about-section { grid-template-columns: 1fr; }
  .about-image { min-height: 500px; }
  .contact-actions { grid-template-columns: 1fr; }
  .about-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .hero-facts { gap: .6rem 1rem; }
  .hero-actions { display: grid; }
  .catalog-grid { grid-template-columns: 1fr; }
  .portal-metrics { grid-template-columns: 1fr; }
  .about-gallery-grid, .contact-extra, .appointment-date { grid-template-columns: 1fr; }
  .portal-action-row { align-items: flex-start; flex-direction: column; }
  .row-actions { width: 100%; justify-content: space-between; }
}

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