/* Shared layouts start at phone size and expand with available space.
   Brand colors and gradients are inherited from style.css. */
:root {
  --section-padding: 64px 0;
  --container-max: 1200px;
  --container-padding: 0 20px;
}

html { scroll-padding-top: 96px; }
body { overflow-x: clip; }
main { min-width: 0; }
main:focus { outline: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
svg { flex-shrink: 0; }
img { height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 5px; }
.skip-link {
  position: fixed;
  z-index: 1100;
  top: 8px;
  left: 16px;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  background: var(--navy-600);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.btn { min-height: 48px; padding: 12px 22px; font-size: .9375rem; text-align: center; }
.btn-sm { min-height: 44px; padding: 10px 18px; }
.btn-lg { min-height: 52px; font-size: .9375rem; padding: 14px 24px; }
.btn svg { flex-shrink: 0; }
.section-header { text-align: left; margin: 0 0 32px; max-width: 680px; }
.section-label { font-size: .75rem; letter-spacing: .14em; margin-bottom: 12px; color: var(--cyan-400); background: none; -webkit-text-fill-color: currentColor; }
.section-label::before { width: 22px; }
.section-title { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.12; margin-bottom: 16px; text-wrap: balance; }
.section-subtitle { font-size: 1rem; margin: 0; line-height: 1.75; }

/* A compact header, with a full-width menu below the controls. */
.navbar, .navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 8, 22, .94);
  border-bottom: var(--border-glass);
  backdrop-filter: blur(18px);
  box-shadow: none;
}
.navbar .container { position: relative; z-index: 2; gap: 12px; min-height: 44px; }
.navbar-logo { flex-shrink: 0; }
.logo-img { width: 84px; height: auto; }
.navbar-cta { margin: 0 0 0 auto; min-height: 44px; padding: 10px 17px; font-size: .8125rem; }
.mobile-toggle {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: var(--border-glass);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
.mobile-toggle span { width: 20px; }
.navbar-links {
  position: absolute;
  top: calc(100% + 12px);
  left: 16px;
  right: 16px;
  width: auto;
  height: auto;
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
  padding: 12px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.navbar-links.open { display: flex; right: 16px; }
.navbar-links a { display: flex; align-items: center; min-height: 52px; padding: 12px 16px; font-size: 1rem; border: 0; border-radius: 10px; }
.navbar-links a::after { display: none; }
.navbar-links a.active { background: rgba(124,58,237,.14); color: var(--cyan-400); }
.nav-overlay { position: absolute; inset: 100% 0 auto; height: 100dvh; z-index: 1; background: rgba(5,8,22,.75); }

/* One concise hero for every screen size, with normal document scrolling. */
.home-hero {
  position: relative;
  padding: 112px 0 28px;
  background: radial-gradient(ellipse at 100% 15%, rgba(124,58,237,.14), transparent 55%), radial-gradient(ellipse at 0 75%, rgba(6,182,212,.07), transparent 50%), var(--navy-900);
}
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; font-size: .75rem; letter-spacing: .04em; color: var(--gray-200); margin-bottom: 22px; }
.status-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 12px rgba(34,211,238,.6); }
.home-hero h1 { font-size: clamp(2.6rem, 9.5vw, 4.7rem); line-height: 1.07; letter-spacing: -.045em; max-width: 650px; text-wrap: balance; }
.home-hero h1 .gradient-text { background-image: linear-gradient(105deg, var(--blue-600), var(--blue-400) 45%, var(--cyan-400)); }
.home-hero-description { margin-top: 22px; max-width: 520px; font-size: 1rem; line-height: 1.8; color: var(--gray-400); }
.home-hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 26px; }
.home-hero-actions .btn { min-height: 54px; }
.hero-secondary-link { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; font-size: .875rem; color: var(--gray-300); }
.hero-secondary-link span { color: var(--cyan-400); font-size: 1.2rem; }
.home-hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; padding-top: 22px; border-top: var(--border-glass); }
.home-hero-proof > div { display: flex; flex-direction: column; padding: 0 10px; border-left: var(--border-glass); }
.home-hero-proof > div:first-child { padding-left: 0; border-left: 0; }
.home-hero-proof strong { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600; line-height: 1.2; color: white; }
.home-hero-proof span { font-size: .6875rem; color: var(--gray-400); margin-top: 5px; line-height: 1.5; }
.hero-project { position: relative; display: block; min-width: 0; overflow: hidden; border: 1px solid rgba(34,211,238,.18); border-radius: 22px; background: var(--navy-800); box-shadow: 0 20px 80px rgba(6,182,212,.08); }
.hero-project-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; font-size: .625rem; letter-spacing: .06em; color: var(--gray-400); text-transform: uppercase; border-bottom: var(--border-glass); }
.hero-project-top > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--gray-300); }
.hero-project img { width: 100%; aspect-ratio: 1.3; height: auto; object-fit: cover; object-position: center 52%; }
.hero-project-caption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 48px 18px 20px; background: linear-gradient(transparent, rgba(5,8,22,.95)); }
.hero-project-caption strong { display: block; font: 500 1.125rem/1.3 var(--font-heading); color: white; margin-top: 6px; }
.project-eyebrow { color: var(--cyan-300); font-size: .625rem; }
.project-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; flex-shrink: 0; }
.hero-expertise { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.hero-expertise > span { font-size: .625rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gray-400); }
.expertise-links { display: flex; flex-wrap: wrap; gap: 6px; }
.expertise-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: var(--border-glass); border-radius: 999px; color: var(--gray-300); font-size: .75rem; }
.expertise-links a:hover { color: var(--cyan-400); border-color: rgba(34,211,238,.4); }

/* Readable cards and touch targets take priority over fitting more columns. */
.services-grid, .portfolio-grid, .blog-grid, .testimonials-grid, .why-grid, .responsive-grid, .service-detail-features {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.services-grid > *, .portfolio-grid > *, .blog-grid > *, .responsive-grid > *, .about-grid > *, .contact-grid > *, .service-detail-content > * { min-width: 0; }
.services-grid { counter-reset: services; }
.service-card { padding: 26px 24px 16px; border-radius: 18px; display: flex; flex-direction: column; align-items: flex-start; counter-increment: services; }
.service-card::after { content: '0' counter(services); position: absolute; top: 30px; right: 24px; font: 500 .8125rem var(--font-heading); letter-spacing: .06em; color: var(--gray-500); }
.service-card-icon { width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; }
.service-card h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
.service-card p { font-size: .9375rem; line-height: 1.75; margin-bottom: 14px; }
.service-card-link { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; margin-top: auto; color: var(--cyan-400); }
.service-prompt { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px 24px; border: 1px solid rgba(124,58,237,.25); border-radius: 18px; background: radial-gradient(ellipse at top right, rgba(124,58,237,.2), transparent 80%), var(--navy-800); }
.service-prompt h3 { font-size: 1.6rem; line-height: 1.2; max-width: 280px; margin-bottom: 14px; }
.service-prompt p { font-size: .9375rem; color: var(--gray-400); line-height: 1.75; margin-bottom: 22px; }
.service-prompt .btn { max-width: 100%; }
.portfolio-filters { display: flex; justify-content: flex-start; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.portfolio-filter-btn { min-height: 44px; padding: 10px 18px; font-size: .8125rem; }
.portfolio-results { margin: -10px 0 24px; color: var(--gray-400); font-size: .8125rem; }
.portfolio-card-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.portfolio-card-body { padding: 24px; }
.portfolio-card-body h3 { font-size: 1.25rem; line-height: 1.3; }
.portfolio-card-body p { font-size: .9375rem; line-height: 1.75; }
.portfolio-card-category { font-size: .75rem; }
.portfolio-card-overlay { display: none; }
.portfolio-card-body .btn { min-height: 44px; }
.blog-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-body h3 { font-size: 1.3rem; line-height: 1.3; }
.blog-card-body p { font-size: .9375rem; }
.bento-gallery { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.bento-item.bento-lg, .bento-item.bento-md, .bento-item.bento-wide { min-height: 0; grid-column: auto; grid-row: auto; aspect-ratio: 1.1; }
.bento-item .bento-overlay { opacity: 1; padding: 22px; background: linear-gradient(transparent 28%, rgba(5,8,22,.95)); }
.bento-overlay h3 { font-size: 1.2rem; line-height: 1.3; }
.bento-overlay p { font-size: .875rem; color: var(--gray-300); }
.bento-item img { height: 100%; }
.trust-section { border-bottom: var(--border-glass); }
.trust-bar { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 12px; padding: 10px 0; }
.trust-logo { justify-content: center; font-size: .75rem; gap: 7px; opacity: .65; white-space: nowrap; }
.trust-logo svg { width: 18px; height: 18px; }
.stats-bar { grid-template-columns: repeat(2, minmax(0,1fr)); border-radius: 20px; }
.stats-bar-item { padding: 26px 10px; }
.stats-bar-item .stat-number { font-size: 2rem; }
.stats-bar-item .stat-label { font-size: .75rem; }
.stats-bar-item:not(:last-child)::after { display: none; }
.about-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
.about-image { min-height: 0; }
.about-image-placeholder { min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.about-image-badge { bottom: 16px; right: 16px; padding: 16px 20px; }
.about-image-badge strong { font-size: 1.8rem; }
.about-image-badge span { font-size: .75rem; }
.about-content > p { font-size: .9375rem; line-height: 1.8; }
.about-features { grid-template-columns: minmax(0,1fr); gap: 18px; }
.about-feature p { font-size: .875rem; }
.process-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
.process-grid::before { display: none; }
.process-card { display: grid; grid-template-columns: 48px minmax(0,1fr); column-gap: 18px; padding: 22px 0; text-align: left; border-bottom: var(--border-glass); }
.process-card-number { grid-row: span 2; width: 44px; height: 44px; margin: 0; font-size: 1rem; border-width: 1px; }
.process-card-icon { display: none; }
.process-card h3 { font-size: 1.125rem; line-height: 1.35; margin: 0 0 7px; }
.process-card p { margin: 0; max-width: none; font-size: .9375rem; line-height: 1.7; }
.why-card { padding: 26px; text-align: left; }
.why-card-icon { width: 48px; height: 48px; margin: 0 0 20px; }
.why-card h3 { font-size: 1.25rem; }
.why-card p { font-size: .9375rem; }
.testimonial-card { padding: 26px; }
.testimonial-text { font-size: 1rem; line-height: 1.8; }

/* Inner pages and forms use the same comfortable rhythm. */
.page-header { padding: 116px 0 48px; text-align: left; }
.page-header .container { position: relative; }
.page-header h1 { font-size: clamp(2.25rem, 8vw, 4rem); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; max-width: 800px; }
.page-header p { margin: 18px 0 0; max-width: 650px; font-size: 1rem; line-height: 1.8; }
.breadcrumb { justify-content: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-size: .8125rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-grid, .service-detail-content { grid-template-columns: minmax(0,1fr); gap: 36px; }
.contact-form-wrapper { padding: 24px 20px; border-radius: 20px; }
.contact-form { gap: 22px; }
.form-row { grid-template-columns: minmax(0,1fr); gap: 22px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; min-width: 0; min-height: 52px; font-size: 16px; padding: 14px; }
.form-group label { font-size: .875rem; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-400); }
.contact-details { gap: 22px; }
.contact-detail { gap: 12px; }
.contact-detail-text { min-width: 0; overflow-wrap: anywhere; }
.contact-detail-text a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--gray-300); }
.contact-social { flex-wrap: wrap; gap: 10px; }
.contact-info h2 { font-size: clamp(2rem,5vw,3.25rem); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 22px; }
.contact-next-steps { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 26px; }
.contact-next-steps li { display: flex; gap: 18px; align-items: flex-start; }
.contact-next-steps li > span { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid rgba(34,211,238,.24); border-radius: 12px; color: var(--cyan-400); font-size: .6875rem; background: rgba(6,182,212,.07); }
.contact-next-steps h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 7px; }
.contact-next-steps p { font-size: .875rem; line-height: 1.7; margin: 0; }
.contact-promise { display: flex; gap: 16px; align-items: center; border-top: var(--border-glass); padding-top: 24px; }
.contact-promise > span { font-size: 2.25rem; color: var(--cyan-300); }
.contact-promise p { font-size: .875rem; margin: 0; }
.form-row.form-row-single { grid-template-columns: minmax(0,1fr); }
.form-title { font-size: 1.65rem; line-height: 1.15; letter-spacing: -.03em; }
.form-intro { color: var(--gray-400); font-size: .875rem; margin-top: -10px; }
.form-hint, .form-privacy { display: block; font-size: .75rem; color: var(--gray-400); line-height: 1.6; }
.form-hint { margin-top: 8px; }
.form-privacy { text-align: center; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-status { border: 1px solid rgba(34,211,238,.25); background: rgba(6,182,212,.08); color: var(--gray-200); border-radius: 12px; padding: 16px; line-height: 1.7; font-size: .875rem; }
.form-status[data-state=error] { border-color: rgba(251,113,133,.5); background: rgba(190,18,60,.09); color: #fecdd3; }
.form-status[data-state=success] { border-color: rgba(34,211,238,.5); color: var(--cyan-300); }
.contact-form button:disabled { opacity: .7; cursor: progress; }
.service-detail-main > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-sidebar { position: static; }
.service-sidebar-card { padding: 24px; }
.service-detail-feature { padding: 20px; }
.service-detail-feature h4 { font-size: 1rem; }
.service-detail-feature p { font-size: .875rem; }
.service-sidebar-links a { min-height: 48px; }
.newsletter-card { padding: 32px 22px !important; }
.newsletter-form { flex-direction: column; }
.newsletter-form input { min-width: 0; width: 100%; font-size: 16px !important; min-height: 52px; }
.cta-banner { padding: 40px 0; }
.cta-banner-inner { padding: 44px 22px; border-radius: 24px; }
.cta-banner-inner h2 { font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1.15; text-wrap: balance; }
.cta-banner-inner .gradient-text { background: none; color: white; -webkit-text-fill-color: currentColor; }
.cta-banner-inner p { font-size: 1rem; line-height: 1.75; }
.cta-banner-inner .btn { width: 100%; max-width: 320px; }
.footer { padding: 56px 0 24px; }
.footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 18px; }
.footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
.footer-brand .logo-img { width: 110px; }
.footer-brand p { font-size: .875rem; max-width: 320px; }
.footer-col { min-width: 0; }
.footer-col h4 { font-size: 1rem; margin-bottom: 12px; }
.footer-links { gap: 0; }
.footer-links a { display: flex; align-items: center; min-height: 44px; padding: 7px 0; font-size: .8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.footer-invitation { font-size: .8125rem; color: var(--gray-400); line-height: 1.75; max-width: 240px; }
.footer-project-link { display: inline-flex; min-height: 48px; align-items: center; gap: 16px; color: var(--cyan-400); font-size: .8125rem; margin-top: 8px; }
.footer-bottom { margin-top: 32px; padding-top: 24px; text-align: left; align-items: flex-start; }
.footer-bottom p { font-size: .75rem; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-bottom-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; }
.back-to-top { width: 44px; height: 44px; right: 16px; bottom: max(16px,env(safe-area-inset-bottom)); }

/* Content is readable even when scripts or motion are disabled. */
.reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }

.catalog-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) {
  .services-page .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 600px) {
  :root { --container-padding: 0 32px; --section-padding: 80px 0; }
  .home-hero { padding-top: 130px; }
  .home-hero h1 { font-size: clamp(3.5rem, 7.5vw, 4.5rem); }
  .home-hero-actions { flex-direction: row; align-items: center; gap: 22px; }
  .home-hero-proof { max-width: 440px; margin-top: 30px; }
  .home-hero-proof strong { font-size: 1.8rem; }
  .home-hero-proof span { font-size: .75rem; }
  .hero-project { max-width: 580px; }
  .hero-expertise { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 20px; }
  .services-grid, .portfolio-grid, .blog-grid, .why-grid, .testimonials-grid, .service-detail-features, .grid-two, .grid-four { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .about-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trust-bar { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
  .trust-logo { font-size: .875rem; }
  .trust-logo svg { width: 22px; height: 22px; }
  .bento-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bento-item.bento-lg { grid-column: span 2; aspect-ratio: 1.7; }
  .stats-bar { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .form-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-form-wrapper { padding: 32px; }
  .newsletter-form { flex-direction: row; }
  .newsletter-card { padding: 40px !important; }
  .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
  .footer-col:last-child { grid-column: auto; }
}

@media (min-width: 960px) {
  :root { --section-padding: 96px 0; }
  .navbar, .navbar.scrolled { padding: 16px 0; }
  .logo-img { width: 100px; }
  .navbar-links, .navbar-links.open { position: static; display: flex; flex-direction: row; width: auto; max-height: none; padding: 0; gap: 26px; border: 0; background: none; box-shadow: none; overflow: visible; }
  .navbar-links a { min-height: 44px; padding: 10px 0; font-size: .875rem; }
  .navbar-links a.active { background: none; }
  .navbar-links a::after { display: block; }
  .navbar-cta { margin-left: 0; padding: 12px 22px; font-size: .875rem; }
  .mobile-toggle, .nav-overlay, .nav-overlay.active { display: none; }
  .home-hero { padding: 150px 0 36px; }
  .home-hero-grid { grid-template-columns: 1.12fr 1fr; gap: 56px; }
  .home-hero h1 { font-size: clamp(3.5rem,5.2vw,4.5rem); }
  .home-hero-description { font-size: 1.0625rem; }
  .home-hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-project img { aspect-ratio: .95; }
  .hero-project-caption { padding: 70px 28px 28px; }
  .hero-project-caption strong { font-size: 1.5rem; }
  .hero-project-top { padding: 18px 22px; font-size: .6875rem; }
  .hero-expertise { padding-top: 26px; margin-top: 44px; border-top: var(--border-glass); }
  .expertise-links { gap: 10px; }
  .expertise-links a { padding: 10px 20px; font-size: .8125rem; }
  .services-grid, .portfolio-grid, .blog-grid, .why-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .section-header { margin-bottom: 44px; }
  .service-card { padding: 30px 28px 20px; }
  .service-card h3 { font-size: 1.35rem; }
  .service-prompt { padding: 32px 28px; }
  .trust-bar { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 18px; }
  .bento-gallery { grid-template-columns: 1.3fr 1fr; }
  .bento-item.bento-lg { grid-column: auto; grid-row: span 2; aspect-ratio: auto; }
  .bento-item.bento-md { aspect-ratio: 1.85; }
  .about-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 56px; }
  .about-image-placeholder { aspect-ratio: 1; }
  .process-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; }
  .process-card { display: block; padding: 0; border-bottom: 0; }
  .process-card-number { margin-bottom: 22px; }
  .grid-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 48px; }
  .service-detail-content { grid-template-columns: minmax(0,1fr) 320px; gap: 44px; }
  .service-sidebar { position: sticky; top: 108px; }
  .page-header { padding: 152px 0 60px; }
  .cta-banner-inner { padding: 64px 48px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr .65fr 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: row; align-items: center; }
}

@media (min-width: 1200px) {
  .home-hero-actions { flex-direction: row; align-items: center; gap: 18px; }
}

@media (hover: none) {
  .service-card:hover, .portfolio-card:hover, .bento-item:hover, .why-card:hover { transform: none; }
  .bento-item:hover img, .portfolio-card:hover img { transform: none; }
}

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