:root {
  --ink: #121417;
  --ink-soft: #454a50;
  --paper: #fbfaf8;
  --paper-warm: #f1eee9;
  --line: #d9d5cf;
  --line-dark: #33383e;
  --red: #d83d34;
  --red-dark: #a92722;
  --red-soft: #f7e2df;
  --white: #fff;
  --green: #1d8a63;
  --shadow: 0 20px 60px rgba(18, 20, 23, .08);
  --radius: 2px;
  --max: 1180px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--red); color: var(--white); }
.skip-link:focus { top: 16px; }
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: middle; }
.site-header { position: relative; z-index: 20; background: rgba(251, 250, 248, .96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; letter-spacing: -.04em; }
.brand-mark { width: 36px; height: 36px; color: var(--red); display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; align-items: baseline; font-size: .93rem; letter-spacing: .035em; }
.brand-text strong { font-weight: 800; }
.brand-text small { color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .05em; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: .77rem; font-weight: 750; letter-spacing: .03em; }
.main-nav > a:not(.header-phone):not(.header-wa) { color: var(--ink-soft); }
.main-nav > a:hover, .main-nav > a.active { color: var(--red); }
.header-phone, .header-wa, .hero-actions a, .cta-actions a, .mobile-action, .form-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--ink); min-height: 44px; padding: 0 15px; font-weight: 800; font-size: .75rem; letter-spacing: .02em; }
.header-phone { background: var(--ink); color: var(--white); border-color: var(--ink); }
.header-wa { background: var(--green); color: var(--white); border-color: var(--green); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 7px; color: var(--ink); }
.menu-toggle .icon { width: 24px; height: 24px; }
.hero { border-bottom: 1px solid var(--line); background: var(--paper); }
.hero-grid { min-height: 570px; display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(360px, .93fr); align-items: center; gap: 7vw; padding: 84px 0 78px; }
.eyebrow, .section-label, .footer-label, .metric-label, .board-top, .board-bottom, .card-index, .breadcrumb { font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red); font-size: .68rem; font-weight: 700; }
.eyebrow-line { display: inline-block; width: 38px; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 750px; margin-bottom: 22px; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .98; letter-spacing: -.065em; font-weight: 850; }
h2 { margin-bottom: 18px; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 820; }
h3 { margin-bottom: 10px; line-height: 1.16; letter-spacing: -.035em; }
.hero-lede { max-width: 650px; margin-bottom: 30px; color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .wa-link, .cta-whatsapp, .form-submit { background: var(--green); color: var(--white); border-color: var(--green); }
.hero-actions .call-link, .cta-phone { background: var(--white); }
.hero-note { display: flex; align-items: center; gap: 9px; margin: 18px 0 0; color: var(--ink-soft); font-size: .78rem; }
.note-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.hero-board { min-height: 380px; position: relative; padding: 22px; background: var(--ink); color: var(--white); overflow: hidden; box-shadow: var(--shadow); }
.hero-board::before, .hero-board::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(255, 255, 255, .14); }
.hero-board::before { inset: 14px; }
.hero-board::after { width: 140px; height: 140px; right: -50px; bottom: -52px; transform: rotate(45deg); background: var(--red); border: 0; opacity: .9; }
.board-top, .board-bottom { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.55); font-size: .62rem; }
.board-illustration { position: relative; min-height: 275px; display: grid; place-items: center; }
.board-ring { width: 190px; height: 190px; border: 12px solid var(--red); border-right-color: transparent; border-radius: 50%; transform: rotate(-22deg); opacity: .96; }
.board-core { position: absolute; width: 94px; height: 94px; border-radius: 50%; border: 1px solid rgba(255,255,255,.65); box-shadow: inset 0 0 0 18px rgba(255,255,255,.06); }
.board-line { position: absolute; height: 1px; background: rgba(255,255,255,.4); }
.line-one { width: 90%; top: 36%; left: 5%; transform: rotate(-28deg); }
.line-two { width: 80%; bottom: 25%; left: 10%; transform: rotate(22deg); }
.board-label { position: absolute; z-index: 3; padding: 4px 7px; background: var(--ink); color: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.25); font-family: "IBM Plex Mono", monospace; font-size: .58rem; letter-spacing: .08em; }
.label-a { left: 6%; top: 26%; }.label-b { right: 3%; bottom: 24%; }
.board-number { position: absolute; bottom: 3%; left: 8%; font-size: 5.5rem; line-height: 1; color: rgba(255,255,255,.06); font-weight: 900; letter-spacing: -.1em; }
.board-bottom { border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; }
.board-bottom .icon { color: var(--red); }
.trust-strip { border-bottom: 1px solid var(--line); background: var(--paper-warm); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 16px 24px 16px 0; border-right: 1px solid var(--line); }
.trust-item + .trust-item { padding-left: 24px; }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--red); color: var(--red); }
.trust-icon .icon { width: 16px; height: 16px; }
.trust-item strong, .trust-item small { display: block; }
.trust-item strong { font-size: .83rem; line-height: 1.3; }
.trust-item small { margin-top: 3px; color: var(--ink-soft); font-size: .68rem; }
.content-section { padding: 100px 0; }
.section-heading { max-width: 620px; margin-bottom: 44px; }
.section-heading.wide { max-width: 760px; }
.section-heading p, .feature-row p, .business-grid p, .area-grid p, .field-copy p, .section-main p, .service-intro p, .builder-copy p { color: var(--ink-soft); }
.section-label { margin-bottom: 14px; color: var(--red); font-size: .64rem; font-weight: 700; }
.section-heading > .section-label { margin-bottom: 13px; }
.service-overview { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.service-card { min-height: 280px; display: flex; flex-direction: column; padding: 24px; background: var(--paper); transition: transform .18s ease, background .18s ease, color .18s ease; }
.service-card:hover { transform: translateY(-4px); background: var(--ink); color: var(--white); }
.service-card:hover p { color: rgba(255,255,255,.7); }
.service-card:hover .card-icon, .service-card:hover .text-link { color: var(--red); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 55px; }
.card-index { color: var(--red); font-size: .66rem; }
.card-icon { color: var(--red); }.card-icon .icon { width: 28px; height: 28px; }
.service-card h3 { max-width: 220px; font-size: 1.16rem; }
.service-card p { margin-bottom: 20px; color: var(--ink-soft); font-size: .82rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--red-dark); font-size: .76rem; font-weight: 800; }
.text-link .icon { transition: transform .18s ease; }.text-link:hover .icon { transform: translateX(4px); }
.secondary-link { margin-left: 18px; color: var(--ink-soft); }
.dark-band { background: var(--ink); color: var(--white); }.dark-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12vw; align-items: end; padding: 84px 0; }.dark-band p { color: rgba(255,255,255,.68); }.text-link.light { color: #ff8279; }
.feature-stack { max-width: 980px; }.feature-row { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 48px 0; border-bottom: 1px solid var(--line); }.feature-row:first-child { padding-top: 0; }.feature-number { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: .8rem; letter-spacing: .14em; }.feature-row h2 { max-width: 650px; }.feature-row p { max-width: 670px; }.feature-row .text-link { margin-top: 10px; }
.dark-panel-section { background: var(--paper-warm); }.business-grid { display: grid; grid-template-columns: 1fr .78fr; gap: 10vw; align-items: center; }.metric-board { padding: 30px; background: var(--ink); color: var(--white); }.metric-label { color: #ff8279; font-size: .62rem; }.metric-row { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.16); }.metric-row span { color: #ff8279; font-family: "IBM Plex Mono", monospace; font-size: .7rem; }.metric-row strong { font-size: .9rem; }.metric-foot { padding-top: 20px; color: rgba(255,255,255,.55); font-size: .7rem; }
.area-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10vw; align-items: center; }.area-graphic { position: relative; min-height: 290px; background: var(--paper-warm); border: 1px solid var(--line); overflow: hidden; }.area-graphic::before { content: ""; position: absolute; inset: 20px; border: 1px dashed var(--line-dark); transform: skewY(-11deg); }.route-line { position: absolute; left: 15%; right: 13%; top: 51%; height: 2px; background: var(--red); transform: rotate(-14deg); }.route-line::before, .route-line::after { content: ""; position: absolute; width: 11px; height: 11px; top: -5px; background: var(--red); border-radius: 50%; }.route-line::before { left: 0; }.route-line::after { right: 0; }.area-node { position: absolute; padding: 5px 8px; background: var(--ink); color: var(--white); font-family: "IBM Plex Mono", monospace; font-size: .6rem; letter-spacing: .08em; }.node-one { left: 12%; top: 33%; }.node-two { left: 43%; top: 58%; }.node-three { right: 8%; top: 36%; }.area-caption { position: absolute; left: 20px; bottom: 18px; color: var(--ink-soft); font-family: "IBM Plex Mono", monospace; font-size: .58rem; letter-spacing: .1em; }
.field-section { border-top: 1px solid var(--line); }.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: center; }.field-placeholder { min-height: 330px; padding: 34px; background: var(--paper-warm); border: 1px solid var(--line); }.field-illustration { width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 60px; background: var(--ink); color: var(--red); }.field-illustration .icon { width: 36px; height: 36px; }.field-placeholder h3 { max-width: 380px; font-size: 1.35rem; }.field-placeholder p { max-width: 420px; color: var(--ink-soft); font-size: .82rem; }.check-list { display: grid; gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; }.check-list li { display: flex; align-items: flex-start; gap: 9px; font-size: .84rem; }.check-list .icon { color: var(--red); margin-top: 4px; width: 15px; height: 15px; }
.faq-section { padding-top: 40px; }.faq-section .section-heading { margin-bottom: 28px; }.faq-list { border-top: 1px solid var(--line); }.faq-list details { border-bottom: 1px solid var(--line); }.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 800; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary .icon { color: var(--red); transition: transform .18s ease; }.faq-list details[open] summary .icon { transform: rotate(45deg); }.faq-answer { max-width: 740px; padding: 0 40px 18px 0; }.faq-answer p { margin: 0; color: var(--ink-soft); font-size: .86rem; }
.cta-band { background: var(--red); color: var(--white); }.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 58px 0; }.cta-inner .section-label { color: rgba(255,255,255,.72); }.cta-inner h2 { max-width: 630px; margin-bottom: 10px; }.cta-inner p { margin-bottom: 0; color: rgba(255,255,255,.82); }.cta-actions { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }.cta-actions a { background: var(--white); color: var(--ink); border-color: var(--white); }.cta-actions .cta-whatsapp { color: var(--white); background: var(--green); border-color: var(--green); }
.breadcrumb { display: flex; align-items: center; gap: 10px; padding-top: 30px; color: var(--ink-soft); font-size: .61rem; }.breadcrumb a { color: var(--red-dark); }.page-body > .breadcrumb + .service-intro { margin-top: 62px; }.service-intro { display: grid; grid-template-columns: 78px 1fr; gap: 28px; max-width: 820px; margin-bottom: 54px; }.service-intro-mark { width: 72px; height: 72px; display: grid; place-items: center; background: var(--red); color: var(--white); }.service-intro-mark .icon { width: 32px; height: 32px; }.service-intro p { margin: 0; font-size: 1.08rem; }.split-section { display: grid; grid-template-columns: 100px 1fr; gap: 28px; max-width: 880px; padding: 55px 0; border-top: 1px solid var(--line); }.split-section:first-of-type { border-top: 0; }.section-rail { display: flex; align-items: flex-start; gap: 16px; color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: .7rem; }.section-rail i { display: block; width: 26px; height: 1px; margin-top: 9px; background: var(--red); }.section-main { max-width: 740px; }.section-main h2 { max-width: 700px; font-size: clamp(1.6rem, 2.8vw, 2.35rem); }.section-main p { max-width: 700px; font-size: .95rem; }.related { border-top: 1px solid var(--line); }.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.related-card { position: relative; min-height: 160px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); background: var(--paper-warm); }.related-card:hover { border-color: var(--red); }.related-card span { margin-bottom: 18px; color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: .6rem; letter-spacing: .09em; }.related-card strong { max-width: 250px; font-size: .95rem; line-height: 1.3; }.related-card .icon { position: absolute; right: 18px; bottom: 18px; color: var(--red); }
.region-list { padding: 32px 0 74px; }.region-chips { display: flex; flex-wrap: wrap; gap: 8px; }.region-chips span { padding: 8px 12px; border: 1px solid var(--line); background: var(--paper-warm); font-size: .78rem; }
.contact-builder { padding: 10px 0 84px; }.builder-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 10vw; align-items: start; }.steps { display: grid; gap: 12px; padding: 0; margin: 30px 0 0; list-style: none; font-size: .83rem; font-weight: 760; }.steps li { display: flex; align-items: center; gap: 13px; }.steps li span { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: .67rem; }.quote-form { display: grid; gap: 9px; padding: 28px; background: var(--paper-warm); border: 1px solid var(--line); }.quote-form label { margin-top: 7px; font-size: .76rem; font-weight: 800; }.quote-form label span { color: var(--ink-soft); font-weight: 500; }.quote-form select, .quote-form textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line-dark); border-radius: 0; background: var(--white); color: var(--ink); }.quote-form select:focus, .quote-form textarea:focus { outline: 3px solid rgba(216,61,52,.25); border-color: var(--red); }.form-preview { padding: 13px; margin: 10px 0; background: var(--white); border-left: 3px solid var(--red); color: var(--ink-soft); font-size: .75rem; }.form-submit { width: 100%; cursor: pointer; border: 0; }
.site-footer { background: var(--ink); color: var(--white); padding: 64px 0 26px; }.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 70px; }.site-footer .brand { margin-bottom: 16px; }.site-footer .brand-text { color: var(--white); }.site-footer p { max-width: 300px; color: rgba(255,255,255,.58); font-size: .78rem; }.footer-label { margin-bottom: 18px; color: #ff8279; font-size: .62rem; }.footer-grid > div:nth-child(2) a { display: block; width: max-content; margin: 9px 0; color: rgba(255,255,255,.7); font-size: .79rem; }.footer-grid > div:nth-child(2) a:hover { color: #ff8279; }.footer-phone, .footer-wa { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: rgba(255,255,255,.78); font-size: .8rem; }.footer-wa { color: #78ddb2; }.footer-note { display: block; margin-top: 18px; color: rgba(255,255,255,.45); font-size: .7rem; }.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.4); font-family: "IBM Plex Mono", monospace; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.mobile-bar { display: none; }
@media (max-width: 1000px) { .main-nav { gap: 12px; }.main-nav > a:not(.header-phone):not(.header-wa) { font-size: .7rem; }.service-grid { grid-template-columns: repeat(2, 1fr); }.hero-grid { gap: 5vw; }.footer-grid { gap: 35px; } }
@media (max-width: 760px) { :root { --max: 100%; }.container { width: min(100% - 32px, var(--max)); }.header-inner { min-height: 68px; }.menu-toggle { display: block; }.main-nav { position: absolute; top: 68px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }.main-nav.is-open { display: flex; }.main-nav > a { padding: 13px 10px; border-bottom: 1px solid var(--line); }.main-nav > a:last-child { border-bottom: 0; }.header-phone, .header-wa { margin-top: 7px; }.hero-grid, .dark-grid, .business-grid, .area-grid, .field-grid, .builder-grid { grid-template-columns: 1fr; gap: 42px; }.hero-grid { padding: 64px 0 48px; min-height: auto; }.hero-board { min-height: 330px; }.trust-grid { grid-template-columns: 1fr; }.trust-item, .trust-item + .trust-item { padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }.trust-item:last-child { border-bottom: 0; }.content-section { padding: 70px 0; }.service-grid { grid-template-columns: 1fr; }.service-card { min-height: 230px; }.card-top { margin-bottom: 35px; }.feature-row, .split-section { grid-template-columns: 45px 1fr; gap: 14px; }.feature-row { padding: 36px 0; }.section-rail i { display: none; }.cta-inner { align-items: flex-start; flex-direction: column; padding: 46px 0 86px; }.cta-actions { width: 100%; }.cta-actions a { width: 100%; }.related-links { grid-template-columns: 1fr; }.footer-grid { grid-template-columns: 1fr; gap: 30px; }.footer-bottom { flex-direction: column; margin-bottom: 60px; }.mobile-bar { position: fixed; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; bottom: 0; left: 0; right: 0; min-height: 56px; background: var(--ink); box-shadow: 0 -8px 26px rgba(18,20,23,.16); }.mobile-action { border: 0; min-height: 56px; color: var(--white); }.mobile-call { background: var(--ink); }.mobile-whatsapp { background: var(--green); }.breadcrumb { padding-top: 22px; }.page-body > .breadcrumb + .service-intro { margin-top: 38px; }.service-intro { grid-template-columns: 52px 1fr; gap: 16px; }.service-intro-mark { width: 52px; height: 52px; }.service-intro-mark .icon { width: 24px; height: 24px; }.service-intro p { font-size: .95rem; }.contact-builder { padding-top: 0; }.quote-form { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Applications hero: one clean saw disk with the brand logo at its center. */
.hero-board.applications-hero-board { display: grid; place-items: center; min-height: 380px; padding: 22px; }
.hero-board.applications-hero-board::before { inset: 18px; border-color: rgba(255,255,255,.12); }
.hero-board.applications-hero-board::after { display: none; }
.applications-saw-svg { position: relative; z-index: 1; display: block; width: min(100%, 360px); height: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); }
@media (max-width: 760px) { .hero-board.applications-hero-board { min-height: 320px; padding: 16px; }.applications-saw-svg { width: min(100%, 300px); } }
/* Guide Hub Styles */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.guide-card { display: flex; flex-direction: column; padding: 24px; background: var(--paper-warm); border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.guide-card:hover { transform: translateY(-3px); border-color: var(--red); background: var(--white); }
.guide-idx { color: var(--red); font-family: "IBM Plex Mono", monospace; font-size: .66rem; letter-spacing: .12em; margin-bottom: 12px; }
.guide-card h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 10px; }
.guide-card p { font-size: .8rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 20px; }
.guide-card .text-link { margin-top: auto; }
@media (max-width: 1000px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .guide-grid { grid-template-columns: 1fr; } }

/* Applications Gallery & Real Site Photos Styles */
.app-home-section { border-top: 1px solid var(--line); padding: 75px 0; }
.app-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.app-photo-grid.home-grid { grid-template-columns: repeat(4, 1fr); }
.app-photo-grid.service-photo-grid { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.app-photo-grid.full-gallery { grid-template-columns: repeat(3, 1fr); }

.app-card { margin: 0; background: var(--white); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; border-radius: var(--radius); }
.app-card:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 14px 34px rgba(18, 20, 23, .12); }
.app-media { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #e8e4df; overflow: hidden; }
.app-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.app-card:hover .app-media img { transform: scale(1.04); }
.app-category-badge { position: absolute; top: 10px; left: 10px; background: rgba(18, 20, 23, .84); color: var(--white); font-family: "IBM Plex Mono", monospace; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; backdrop-filter: blur(4px); }

.app-card-caption { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.app-card-caption h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.35; margin: 0 0 6px; color: var(--ink); }
.app-card-caption p { font-size: .78rem; line-height: 1.45; color: var(--ink-soft); margin: 0; }

.home-gallery-actions { margin-top: 36px; text-align: center; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; background: var(--red); color: var(--white); font-weight: 780; font-size: .88rem; letter-spacing: .02em; border: 1px solid var(--red); border-radius: var(--radius); transition: background .18s ease, transform .18s ease; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }

/* Category Filters */
.app-filter-section { padding-top: 10px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.filter-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius); font-size: .78rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.filter-btn:hover { background: var(--white); border-color: var(--ink-soft); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }
.filter-count { font-family: "IBM Plex Mono", monospace; font-size: .68rem; opacity: .85; }

/* Video Cards */
.app-videos-section { padding: 60px 0; border-top: 1px solid var(--line); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.video-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.video-wrapper { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-caption { padding: 18px 20px; }
.video-caption .app-category-badge { position: static; display: inline-block; margin-bottom: 8px; background: var(--ink); }
.video-caption h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
.video-caption p { font-size: .8rem; color: var(--ink-soft); margin: 0; }

/* Lightbox Modal */
.lightbox-modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 24px; }
.lightbox-modal.is-open { display: grid; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(18, 20, 23, .88); backdrop-filter: blur(6px); }
.lightbox-content { position: relative; z-index: 2; max-width: 1000px; max-height: 90vh; width: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox-close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: var(--white); font-size: 2.2rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.lightbox-image { max-width: 100%; max-height: 75vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.lightbox-caption { margin-top: 12px; color: var(--white); font-size: .88rem; text-align: center; max-width: 700px; line-height: 1.45; }

/* Responsive adjustments */
@media (max-width: 1050px) {
  .app-photo-grid.home-grid { grid-template-columns: repeat(3, 1fr); }
  .app-photo-grid.full-gallery { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .app-photo-grid.home-grid,
  .app-photo-grid.service-photo-grid,
  .app-photo-grid.full-gallery { grid-template-columns: 1fr; gap: 16px; }
  .video-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; overflow-x: auto; padding-bottom: 12px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .filter-btn { white-space: nowrap; font-size: .74rem; padding: 7px 11px; }
  .home-gallery-actions .btn-primary { width: 100%; }
}

/* Services dropdown menu */
.nav-item.has-dropdown { position: relative; display: inline-flex; align-items: center; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-soft); font-weight: 750; }
.dropdown-arrow { font-size: .65rem; transition: transform .2s ease; }
.nav-item.has-dropdown:hover .dropdown-arrow,
.nav-item.has-dropdown:focus-within .dropdown-arrow { transform: rotate(180deg); color: var(--red); }
.services-dropdown { display: none; position: absolute; top: calc(100% + 14px); left: -20px; z-index: 100; min-width: 680px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(18, 20, 23, .12); padding: 24px; border-radius: var(--radius); }
.services-dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; background: transparent; }
.nav-item.has-dropdown:hover .services-dropdown,
.nav-item.has-dropdown:focus-within .services-dropdown { display: block; }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1.2fr; gap: 24px; }
.dropdown-col { display: flex; flex-direction: column; gap: 6px; }
.dropdown-cat { font-family: "IBM Plex Mono", monospace; font-size: .66rem; font-weight: 800; color: var(--red); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.dropdown-col a { font-size: .8rem; font-weight: 600; color: var(--ink); padding: 4px 0; transition: color .15s ease, padding-left .15s ease; text-decoration: none; display: block; line-height: 1.35; }
.dropdown-col a:hover { color: var(--red); padding-left: 3px; }

/* District cards grid on /hizmet-bolgeleri/ */
.district-areas-section { padding-top: 50px; }
.district-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.district-card { display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1px solid var(--line); padding: 26px; border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; min-height: 200px; box-shadow: 0 4px 12px rgba(18, 20, 23, .03); }
.district-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); }
.district-card:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.district-card-badge { display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: .64rem; color: var(--red); font-weight: 700; letter-spacing: .1em; margin-bottom: 10px; text-transform: uppercase; }
.district-card h3 { font-size: 1.18rem; font-weight: 850; margin: 0 0 10px; color: var(--ink); line-height: 1.25; }
.district-card p { font-size: .86rem; color: var(--ink-soft); margin: 0 0 18px; line-height: 1.5; flex-grow: 1; }
.district-card .card-action { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; color: var(--ink); transition: color .15s ease; margin-top: auto; }
.district-card:hover .card-action { color: var(--red); }
.district-card .card-action .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.district-card:hover .card-action .icon { transform: translateX(3px); }

@media (max-width: 960px) {
  .district-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .nav-item.has-dropdown { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
  .dropdown-toggle { width: 100%; justify-content: space-between; padding: 8px 0; }
  .services-dropdown { display: none; position: static; min-width: 100%; box-shadow: none; border: 1px solid var(--line); margin: 6px 0 12px; padding: 14px; background: var(--paper-warm); }
  .nav-item.has-dropdown.dropdown-open .services-dropdown { display: block; }
  .dropdown-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  .district-grid { grid-template-columns: 1fr; gap: 14px; }
  .district-card { padding: 20px; min-height: auto; }
}
