/*
Theme Name: JNB Prompt
Theme URI: https://jnbprompt.com/
Author: JNB Prompt Software Development
Author URI: https://jnbprompt.com/
Description: ธีม WordPress สำหรับเว็บไซต์บริษัท รับทำเว็บไซต์ ผลงาน ราคา บทความ และแบบฟอร์มติดต่อ รองรับ Rank Math SEO และออกแบบเพื่อประสิทธิภาพสูง
 Version: 1.2.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: jnb-prompt
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-menu, featured-images, translation-ready, blog
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy: #0a1d34;
  --navy-2: #102b46;
  --orange: #ff6b00;
  --orange-2: #ff9d14;
  --orange-3: #ef4305;
  --cream: #fff7f1;
  --muted: #5d6875;
  --line: #dfe5ed;
  --surface: #ffffff;
  --bg: #f7f9fc;
  --green: #17bf53;
  --shadow: 0 14px 35px rgba(14, 35, 59, .10);
  --shadow-lg: 0 28px 65px rgba(14, 35, 59, .15);
  --radius: 22px;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--navy);
  background: var(--bg);
  font-family: 'Noto Sans Thai', Tahoma, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 82px 0; position: relative; }
.section.alt { background: #fff; }
.section.soft { background: linear-gradient(180deg, #f8fafc 0%, #fff8f2 100%); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 42px; }
.section-head p { margin: 7px 0 0; color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--orange);
  color: var(--orange-3);
  background: #fff9f5;
  border-radius: 999px;
  padding: 5px 18px;
  font-weight: 700;
  font-size: .93rem;
  line-height: 1.5;
}
.eyebrow.solid { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--orange-2), var(--orange-3)); }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(2.35rem, 4.4vw, 4.25rem); line-height: 1.08; letter-spacing: -.04em; margin: 14px 0 18px; font-weight: 900; }
h2 { font-size: clamp(2rem, 3.2vw, 3.05rem); line-height: 1.15; letter-spacing: -.035em; margin: 10px 0 5px; font-weight: 900; }
h3 { line-height: 1.28; }
.accent { color: var(--orange-3); }
.icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -.22em; flex: none; }

.site-header {
  height: 78px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(14,35,59,.07);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 3px 18px rgba(20,39,62,.05);
  backdrop-filter: blur(14px);
}
.nav-wrap { display: flex; height: 100%; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 176px; }
.brand-mark { width: 40px; height: 40px; display: inline-block; position: relative; background: linear-gradient(145deg, #ff9d13, #f04a00); border-radius: 9px 17px 17px 9px; overflow: hidden; transform: skewX(-5deg); }
.brand-mark::before { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; background: white; left: 8px; top: 10px; }
.brand-mark::after { content: ''; position: absolute; width: 16px; height: 25px; background: white; right: -5px; top: 8px; transform: rotate(45deg); }
.brand-mark i { position: absolute; inset: 6px; border: 3px solid rgba(255,255,255,.36); border-radius: 7px 12px 12px 7px; z-index: 2; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand b { font-size: 1.65rem; letter-spacing: -.045em; font-weight: 900; }
.brand small { font-size: .67rem; font-weight: 700; letter-spacing: -.015em; margin-top: 2px; }
.main-nav { display: flex; justify-content: center; align-items: stretch; flex: 1; height: 100%; }
.primary-menu { display: flex; justify-content: center; align-items: stretch; gap: 25px; width: 100%; height: 100%; margin: 0; padding: 0; list-style: none; }
.primary-menu > .menu-item { display: flex; align-items: stretch; position: relative; }
.main-nav a { display: grid; place-items: center; font-weight: 700; font-size: .92rem; position: relative; white-space: nowrap; }
.primary-menu > .menu-item > a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--orange); transition: .25s; }
.primary-menu > .menu-item > a:hover::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current-menu-ancestor > a::after,
.primary-menu > .menu-item > a.active::after { left: 0; right: 0; }
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav a.active { color: var(--orange-3); }
.submenu-toggle { align-self: center; width: 25px; height: 32px; margin-left: 2px; border: 0; background: transparent; color: var(--navy); position: relative; }
.submenu-toggle > span { display: none; }
.submenu-toggle::before { content: ''; position: absolute; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; left: 8px; top: 9px; transform: rotate(45deg); transition: transform .2s; }
.menu-item.submenu-open > .submenu-toggle::before { transform: translateY(3px) rotate(225deg); }
.sub-menu { position: absolute; z-index: 70; top: calc(100% - 5px); left: 50%; min-width: 225px; margin: 0; padding: 9px; list-style: none; background: #fff; border: 1px solid rgba(14,35,59,.08); border-radius: 15px; box-shadow: 0 18px 40px rgba(10,29,52,.16); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.sub-menu::before { content: ''; position: absolute; width: 13px; height: 13px; left: 50%; top: -7px; background: #fff; border-left: 1px solid rgba(14,35,59,.08); border-top: 1px solid rgba(14,35,59,.08); transform: translateX(-50%) rotate(45deg); }
.sub-menu .menu-item { display: block; position: relative; }
.sub-menu a { display: block; padding: 11px 14px; border-radius: 9px; font-size: .9rem; }
.sub-menu a:hover, .sub-menu a:focus-visible { background: #fff4eb; color: var(--orange-3); }
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children.submenu-open > .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.btn {
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 12px 25px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(242,77,0,.22); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #ff8a00 0%, #f44a00 100%); }
.btn-outline { color: var(--navy); border: 1.5px solid var(--orange); background: #fff; }
.btn-white { color: var(--navy); background: #fff; }
.nav-cta { min-height: 44px; padding: 9px 19px; font-size: .86rem; white-space: nowrap; }
.nav-toggle { display: none; border: 0; background: none; color: var(--navy); padding: 8px; }
.nav-toggle .icon { width: 28px; height: 28px; }

.hero { min-height: 590px; background: #fff; overflow: hidden; position: relative; display: flex; align-items: center; }
.hero::before {
  content: '';
  position: absolute;
  width: 71%;
  height: 125%;
  right: -18%;
  top: -28%;
  background: radial-gradient(circle at 35% 45%, #ffdfbd 0 15%, #ffae30 37%, #ff6b00 67%, #ef4200 82%);
  border-radius: 48% 0 0 57%;
  transform: rotate(-5deg);
}
.hero::after {
  content: '';
  position: absolute;
  width: 75%;
  height: 46%;
  right: -12%;
  bottom: -20%;
  border: 1.5px solid rgba(255,255,255,.72);
  border-radius: 50%;
  box-shadow: 0 -12px 0 rgba(255,255,255,.08), 0 -26px 0 rgba(255,255,255,.08);
  transform: rotate(-4deg);
}
.hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; position: relative; z-index: 2; width: 100%; padding: 58px 0; }
.hero-grid > *, .expert-grid > *, .service-split > *, .contact-layout > *, .blog-feature > *, .footer-grid > * { min-width: 0; }
.hero-copy { max-width: 610px; position: relative; z-index: 3; }
.hero-copy > p { font-size: 1.12rem; max-width: 590px; color: #25364a; margin-bottom: 19px; }
.hero-list { display: grid; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; font-weight: 600; }
.hero-list li { display: flex; align-items: center; gap: 10px; }
.hero-list .check { width: 23px; height: 23px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--orange); }
.hero-list .icon { width: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; width: 125%; margin-left: -9%; align-self: end; z-index: 2; }
.hero-visual img { width: 100%; filter: drop-shadow(0 20px 20px rgba(26,34,44,.18)); }
.wp-badge { position: absolute; right: 5%; top: -4%; width: 92px; height: 92px; border-radius: 22px; background: rgba(255,255,255,.95); color: #1475b9; font-family: Georgia, serif; font-size: 54px; font-weight: bold; display: grid; place-items: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.8); }
.wp-badge span { width: 66px; height: 66px; display: grid; place-items: center; border: 4px solid; border-radius: 50%; line-height: 1; }
.hero-mini-proof { position: absolute; right: 1%; bottom: 9%; width: 195px; background: rgba(255,255,255,.94); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; display: grid; gap: 8px; font-weight: 700; font-size: .9rem; backdrop-filter: blur(10px); }
.hero-mini-proof span { display: flex; gap: 8px; align-items: center; }
.hero-mini-proof i { width: 20px; height: 20px; color: #fff; background: var(--green); border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-style: normal; }
.home-hero {
  background: #fff url('assets/deejai-hero-background.webp') center / cover no-repeat;
}
.home-hero::before,
.home-hero::after { display: none; }
.home-hero .hero-visual {
  width: 128%;
  margin-left: 3%;
}
.home-hero .hero-visual img {
  filter: drop-shadow(0 20px 22px rgba(26,34,44,.18));
  border-radius: 0;
}
.services-hero {
  background: #fff url('assets/services-hero-background.webp') center / cover no-repeat;
}
.services-hero::before,
.services-hero::after { display: none; }
.services-hero .hero-visual {
  width: 128%;
  margin-left: 3%;
}
.services-hero .hero-visual img {
  filter: drop-shadow(0 20px 22px rgba(26,34,44,.18));
  border-radius: 0;
}
.portfolio-hero {
  background: #fff url('assets/portfolio-hero-background.webp') center / 100% 100% no-repeat;
}
.portfolio-hero::before,
.portfolio-hero::after { display: none; }
.portfolio-hero .hero-visual {
  width: 128%;
  margin-left: 3%;
}
.portfolio-hero .hero-visual img {
  filter: drop-shadow(0 20px 22px rgba(26,34,44,.18));
  border-radius: 0;
}
.blog-hero {
  background: #fff url('assets/blog-hero-background.webp') center / cover no-repeat;
}
.blog-hero::before,
.blog-hero::after { display: none; }
.blog-hero .hero-visual {
  width: 128%;
  margin-left: 3%;
}
.blog-hero .hero-visual img {
  filter: drop-shadow(0 20px 22px rgba(26,34,44,.18));
  border-radius: 0;
}
.blog-topics { gap: 28px; }
.blog-topics span { line-height: 1.25; }
.hero-topic-icon {
  width: 46px;
  height: 46px;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(244,81,0,.14));
}
.contact-hero {
  background: #fff url('assets/contact-hero-background.webp') center / cover no-repeat;
}
.contact-hero::before,
.contact-hero::after { display: none; }
.contact-hero .hero-visual {
  width: 128%;
  margin-left: 3%;
}
.contact-hero .hero-visual img {
  filter: drop-shadow(0 20px 22px rgba(26,34,44,.18));
  border-radius: 0;
}
.contact-benefits { gap: 25px; }
.contact-benefits span { line-height: 1.25; }
.contact-benefit-icon {
  width: 48px;
  height: 48px;
  flex: none;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(244,81,0,.14));
}
.hero-wave {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 110px;
  display: block;
  pointer-events: none;
}
.services-hero + .section { padding-top: 46px; }
.subhero { min-height: 515px; }
.subhero h1 { font-size: clamp(2.45rem, 4.2vw, 3.9rem); }
.subhero .hero-grid { padding-block: 42px 54px; }
.hero-stat-row { display: flex; gap: 24px; margin-top: 24px; }
.hero-stat-row span { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; }
.hero-stat-row .icon { color: var(--orange); font-size: 1.7rem; }

.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-card, .service-card, .testimonial-card, .contact-card, .article-card, .price-card {
  background: #fff;
  border: 1px solid rgba(16,43,70,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-card { text-align: center; padding: 28px 17px 25px; min-height: 208px; }
.feature-card .icon-wrap { width: 70px; height: 70px; color: var(--orange); margin: 0 auto 16px; display: grid; place-items: center; }
.feature-card .icon { width: 58px; height: 58px; stroke-width: 1.6; }
.feature-card h3 { font-size: 1.08rem; margin: 0 0 7px; }
.feature-card p { color: var(--muted); font-size: .89rem; margin: 0; }
.services-showcase .feature-grid { grid-template-columns: repeat(4, 1fr); }
.section.soft.services-showcase { padding-bottom: 28px; }
.service-visual-card { min-height: 270px; padding-top: 18px; }
.service-icon-image { width: 132px; height: 132px; object-fit: contain; margin: 0 auto 6px; }
.service-visual-card h3 { min-height: 44px; }
.section.soft.service-pricing {
  padding-top: 48px;
  margin-top: -1px;
  background-color: #fff;
  background-image:
    linear-gradient(180deg, #fff8f2 0%, rgba(255,248,242,.88) 7%, rgba(255,248,242,0) 20%),
    url('assets/service-pricing-background.webp');
  background-position: center, center;
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat;
}

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { padding: 30px 26px; position: relative; overflow: hidden; transition: .25s; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-card .service-icon { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 18px; color: var(--orange); background: #fff4eb; margin-bottom: 22px; }
.service-card .service-icon .icon { width: 43px; height: 43px; }
.service-card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.service-card p { margin: 0; color: var(--muted); }
.service-card a { display: inline-flex; gap: 7px; align-items: center; color: var(--orange-3); font-weight: 800; margin-top: 18px; }

.expert-section { background: linear-gradient(180deg, #fff, #f5f7fb); padding-top: 40px; overflow: hidden; }
.expert-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.expert-photo { position: relative; height: 520px; display: flex; align-items: flex-end; justify-content: center; }
.expert-photo::before { content: ''; position: absolute; width: 390px; height: 360px; bottom: 18px; background: linear-gradient(135deg, #ff9b19, #f34a00); border-radius: 52px; transform: rotate(12deg); }
.expert-photo::after { content: ''; position: absolute; width: 210px; height: 210px; left: -30px; bottom: 80px; background: #ffe1cc; border-radius: 50%; }
.expert-photo img { height: 510px; position: relative; z-index: 2; object-fit: contain; object-position: bottom; }
.expert-copy h2 { margin-bottom: 12px; }
.expert-copy > p { color: var(--muted); font-size: 1.03rem; }
.expert-points { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 30px; margin-top: 27px; }
.expert-point { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.expert-point > .icon { color: var(--orange); width: 38px; height: 38px; }
.expert-point h3 { margin: 0 0 3px; font-size: 1.02rem; }
.expert-point p { color: var(--muted); margin: 0; font-size: .9rem; }

.testimonial-slider { position: relative; overflow: hidden; padding: 8px 0 45px; }
.testimonial-track { display: flex; gap: 18px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.testimonial-card { flex: 0 0 calc((100% - 36px) / 3); padding: 25px; min-height: 205px; }
.testimonial-card .icon { color: #a8b1be; width: 29px; height: 29px; }
.testimonial-card > p { min-height: 68px; }
.stars { color: #ff9200; letter-spacing: 2px; font-size: 1.08rem; }
.customer { display: flex; gap: 12px; align-items: center; margin-top: 13px; }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #ffd0ac, #ff7a1a); color: #fff; font-weight: 900; }
.customer b, .customer small { display: block; }
.customer small { color: var(--muted); }
.slider-control { position: absolute; top: 45%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--orange); z-index: 3; display: grid; place-items: center; font-size: 1.7rem; box-shadow: var(--shadow); }
.slider-prev { left: 5px; transform: translateY(-50%); }
.slider-next { right: 5px; transform: translateY(-50%); }
.slider-dots { position: absolute; bottom: 10px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: #d3d8df; }
.slider-dots button.active { width: 25px; background: var(--orange); }

.cta-wrap { padding: 0 0 28px; background: #fff; }
.cta-banner { position: relative; min-height: 150px; color: #fff; background: linear-gradient(115deg, #ff8d00, #f14506 60%, #df330b); border-radius: 25px; overflow: hidden; padding: 29px 38px 28px 31%; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.cta-banner::after { content: ''; position: absolute; width: 470px; height: 200px; right: -100px; bottom: -130px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.cta-device { position: absolute; left: 30px; bottom: -26px; width: 290px; filter: drop-shadow(0 15px 15px rgba(48,20,0,.2)); }
.cta-banner h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); margin: 0; color: #fff; }
.cta-banner p { margin: 1px 0 0; color: rgba(255,255,255,.9); }
.cta-banner .btn { min-width: 200px; position: relative; z-index: 2; }

.site-footer { background: linear-gradient(135deg, #0e2942, #07192c 70%); color: #fff; position: relative; overflow: hidden; }
.footer-glow { position: absolute; width: 430px; height: 280px; right: -180px; bottom: -190px; border-radius: 50%; box-shadow: 0 0 50px #ff6a00; border: 2px solid #ff7b00; opacity: .55; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr 1.2fr 1.05fr .55fr; gap: 36px; padding: 48px 0 36px; position: relative; z-index: 2; }
.brand-light { min-width: auto; margin-bottom: 16px; }
.brand-light b { color: #fff; }
.footer-about p { color: #d4deea; font-size: .9rem; max-width: 280px; }
.site-footer h3 { font-size: 1.08rem; margin: 0 0 13px; position: relative; }
.site-footer h3::after { content: ''; display: block; width: 30px; height: 2px; background: var(--orange); margin-top: 7px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 5px 0; }
.site-footer li a { color: #d9e2ec; font-size: .88rem; }
.site-footer li a:hover { color: var(--orange-2); }
.site-footer li::before { content: '›'; color: var(--orange); margin-right: 8px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; transition: transform .2s ease, filter .2s ease; }
.socials a:hover { transform: translateY(-3px); filter: brightness(1.08); }
.socials img { width: 100%; height: 100%; display: block; object-fit: contain; }
.footer-contact p { display: flex; align-items: flex-start; gap: 9px; margin: 8px 0; color: #dce5ee; font-size: .88rem; }
.footer-contact .icon { margin-top: 2px; }
.line-qr { text-align: center; display: grid; justify-items: center; align-content: start; gap: 6px; }
.qr-grid { background: #fff; border: 7px solid #fff; display: grid; grid-template-columns: repeat(8, 6px); grid-auto-rows: 6px; gap: 1px; border-radius: 6px; }
.qr-grid i { background: #fff; }
.qr-grid i.on { background: #0c1926; }
.line-qr b { background: #20c75a; border-radius: 30px; padding: 2px 8px; font-size: .65rem; margin-top: -36px; position: relative; }
.line-qr span { font-size: .76rem; margin-top: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.18); color: #cbd6e2; font-size: .78rem; position: relative; z-index: 2; }
.footer-bottom span:last-child { display: flex; gap: 15px; }
.footer-bottom i { width: 1px; background: #8190a0; }

.portfolio-filters { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 25px; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 11px 22px; font-weight: 700; transition: .2s; }
.filter-btn:hover, .filter-btn.active { border-color: var(--orange); color: #fff; background: linear-gradient(135deg, #ff8b00, #f24c00); box-shadow: 0 8px 18px rgba(242,76,0,.18); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.portfolio-card { background: #fff; border-radius: 19px; box-shadow: var(--shadow); overflow: hidden; transition: .25s; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-card[hidden], .article-card[hidden] { display: none; }
.portfolio-visual { height: 225px; padding: 32px 24px 0; position: relative; overflow: hidden; background: linear-gradient(135deg, #dbeeff, #fcfdff); }
.portfolio-visual.orange { background: linear-gradient(135deg, #ffc68f, #fff2e1); }
.portfolio-visual.purple { background: linear-gradient(135deg, #e1c1ff, #f7ebff); }
.portfolio-visual.pink { background: linear-gradient(135deg, #ffd7e3, #fff4f7); }
.portfolio-visual.green { background: linear-gradient(135deg, #cfe8d9, #f2fbf5); }
.portfolio-visual::after { content: ''; position: absolute; width: 100px; height: 180px; right: -48px; bottom: -60px; background: rgba(255,255,255,.75); border-radius: 50% 50% 10% 10%; transform: rotate(-13deg); }
.portfolio-visual.real { padding: 0; background: #eef2f6; }
.portfolio-visual.real::after { display: none; }
.portfolio-visual.real > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.portfolio-card:hover .portfolio-visual.real > img { transform: scale(1.035); }
.mock-laptop { width: 89%; height: 145px; border: 7px solid #15202c; border-bottom-width: 13px; border-radius: 9px 9px 4px 4px; margin-left: auto; background: #fff; box-shadow: 0 14px 22px rgba(30,50,70,.2); position: relative; z-index: 2; overflow: hidden; }
.mock-laptop::before { content: ''; display: block; height: 18px; background: #fff; border-bottom: 1px solid #e5e9ef; }
.mock-laptop::after { content: ''; position: absolute; inset: 27px 0 0; background: var(--screen, linear-gradient(135deg, #043c6e, #1480b8)); }
.mock-laptop i { position: absolute; z-index: 3; left: 17px; top: 52px; width: 48%; height: 8px; background: #fff; border-radius: 8px; box-shadow: 0 17px 0 rgba(255,255,255,.5), 0 36px 0 var(--orange); }
.mock-phone { position: absolute; z-index: 4; width: 53px; height: 105px; left: 25px; bottom: 5px; border: 5px solid #111a24; border-radius: 10px; background: linear-gradient(#fff 14%, var(--phone, #17679f) 14%); box-shadow: 0 8px 15px rgba(16,30,45,.25); }
.portfolio-card .tag, .article-card .tag { position: absolute; z-index: 6; left: 18px; top: 12px; padding: 4px 13px; border-radius: 99px; color: #fff; background: var(--orange); font-size: .76rem; font-weight: 800; }
.portfolio-info { padding: 18px 20px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.portfolio-info h3 { margin: 0; font-size: 1.1rem; }
.portfolio-info p { margin: 3px 0 0; color: var(--muted); font-size: .86rem; }
.circle-arrow { width: 36px; height: 36px; flex: none; display: grid; place-items: center; color: var(--orange); border: 1.5px solid var(--orange); border-radius: 50%; }
.home-portfolio { background: linear-gradient(180deg, #fff 0%, #fffaf6 52%, #fff 100%); }
.home-portfolio .portfolio-card { border: 1px solid rgba(255,107,0,.08); }
.home-portfolio .portfolio-info { min-height: 92px; }
.home-portfolio .circle-arrow:hover { color: #fff; background: var(--orange); transform: translateX(2px); }
.portfolio-actions { display: flex; justify-content: center; margin-top: 34px; }
.stats-strip { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 20px; margin-top: 42px; }
.stat { text-align: center; padding: 22px 15px; position: relative; }
.stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 22%; height: 56%; width: 1px; background: var(--line); }
.stat strong { display: block; color: var(--orange-3); font-size: 2rem; line-height: 1.2; }
.stat span { font-size: .87rem; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { padding: 29px; display: flex; flex-direction: column; position: relative; }
.price-card.recommended { border: 2px solid var(--orange); transform: translateY(-10px); box-shadow: 0 24px 55px rgba(242,76,0,.16); }
.recommend-badge { position: absolute; right: -2px; top: -16px; color: #fff; background: linear-gradient(135deg,#ff9d13,#f34b00); border-radius: 9px 9px 0 9px; padding: 6px 16px; font-weight: 800; font-size: .8rem; }
.price-card h3 { font-size: 1.35rem; margin: 0; }
.price-desc { color: var(--muted); min-height: 52px; font-size: .9rem; }
.price { color: var(--orange-3); font-size: 2.25rem; line-height: 1.2; font-weight: 900; margin: 6px 0 18px; }
.price-card ul { list-style: none; padding: 17px 0 0; border-top: 1px solid var(--line); margin: 0 0 26px; flex: 1; }
.price-card li { display: flex; gap: 9px; margin: 8px 0; font-size: .9rem; }
.price-card li::before { content: '✓'; color: #fff; background: var(--orange); width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 50%; font-size: .7rem; flex: none; margin-top: 2px; }
.price-card .btn { width: 100%; min-height: 46px; }

.service-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 35px; align-items: center; }
.wp-dashboard { min-height: 390px; border-radius: 28px; background: linear-gradient(145deg,#ffc685,#ffefdb); padding: 42px 30px; overflow: hidden; position: relative; }
.wp-dashboard::before { content: ''; position: absolute; width: 90px; height: 210px; background: #34783e; border-radius: 50%; left: -45px; bottom: -75px; transform: rotate(-16deg); opacity: .7; }
.dashboard-screen { height: 300px; background: #e9edf1; border: 12px solid #222e3a; border-radius: 15px; box-shadow: 0 22px 35px rgba(31,43,56,.25); display: grid; grid-template-columns: 72px 1fr; padding: 0; overflow: hidden; transform: perspective(900px) rotateY(3deg); }
.dashboard-side { background: #142433; }
.dashboard-main { padding: 28px; display: grid; place-content: center; text-align: center; color: #176da9; font-family: Georgia,serif; font-size: 70px; }
.dashboard-main span { width: 100px; height: 100px; display: grid; place-items: center; border: 6px solid; border-radius: 50%; }
.service-list { display: grid; }
.service-list article { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 18px 8px; border-bottom: 1px solid var(--line); }
.service-list article .icon { width: 40px; height: 40px; color: var(--orange); }
.service-list h3 { margin: 0 0 3px; }
.service-list p { margin: 0; color: var(--muted); }

.blog-feature { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 25px; overflow: hidden; background: #fff; box-shadow: var(--shadow); margin-bottom: 28px; }
.blog-image { min-height: 320px; position: relative; overflow: hidden; background: linear-gradient(145deg, #c1ddca, #edf4ef); display: grid; place-items: center; }
.blog-image .blog-laptop { width: 74%; height: 185px; border: 10px solid #17222e; border-bottom-width: 18px; background: radial-gradient(circle, #1978b6, #082b50 70%); border-radius: 13px 13px 5px 5px; box-shadow: 0 22px 35px rgba(18,34,49,.25); display: grid; place-items: center; color: #fff; font: 700 85px Georgia; }
.blog-image::before, .blog-image::after { content: ''; position: absolute; width: 70px; height: 190px; border-radius: 50%; background: #4d8557; left: -20px; bottom: -70px; transform: rotate(-30deg); }
.blog-image::after { left: auto; right: -25px; background: #fff; opacity: .8; }
.blog-feature-copy { padding: 35px; display: flex; flex-direction: column; justify-content: center; }
.blog-feature-copy h2 { font-size: 1.8rem; margin: 0 0 11px; }
.blog-feature-copy p { color: var(--muted); }
.meta { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: .82rem; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-toolbar { display: flex; gap: 20px; justify-content: space-between; align-items: flex-end; margin: 35px 0 20px; }
.article-toolbar .portfolio-filters { margin: 0; }
.search-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #ccd5e0; border-radius: 99px; padding: 10px 16px; min-width: 260px; }
.search-box input { width: 100%; border: 0; outline: none; background: transparent; }
.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.article-card { overflow: hidden; position: relative; }
.article-thumb { height: 190px; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg,#9ed1f4,#e8f6ff); }
.article-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.article-thumb.seo::before { content: ''; width: 130px; height: 130px; border: 14px solid #21374d; border-radius: 50%; box-shadow: 19px 19px 0 -10px #21374d; opacity: .9; }
.article-thumb.seo::after { content: 'SEO'; position: absolute; font-size: 36px; font-weight: 900; }
.article-thumb.security { background: linear-gradient(135deg,#d8ecdd,#f6fbf7); }
.article-thumb.security::before { content: '♢'; width: 120px; height: 90px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,#0c75b9,#173f69); border: 9px solid #162432; border-radius: 10px; font-size: 70px; }
.article-thumb.design { background: linear-gradient(135deg,#e4e7ef,#fff); }
.article-thumb.design::before { content: ''; width: 170px; height: 115px; border-radius: 8px; background: linear-gradient(115deg,#e6ecf5 60%,#ff7d23 60%); border: 9px solid #263442; box-shadow: 80px 28px 0 -55px #101b28; }
.article-thumb.shop { background: linear-gradient(135deg,#f6d8b8,#fff1de); }
.article-thumb.shop::before { content: '🛒'; font-size: 90px; }
.article-thumb.ai { background: radial-gradient(circle,#00b6ff,#073874 70%,#061d3e); }
.article-thumb.ai::before { content: 'AI'; color: #75e7ff; font-size: 70px; font-weight: 900; transform: rotate(-8deg); border: 3px solid; padding: 0 12px; }
.article-thumb.speed { background: linear-gradient(145deg,#dce6d7,#f9fcf7); }
.article-thumb.speed::before { content: '◔'; color: #16416c; font-size: 120px; line-height: 1; }
.article-copy { padding: 18px 18px 20px; }
.article-copy h3 { min-height: 55px; margin: 0 0 14px; font-size: 1.03rem; }
.article-copy .meta { justify-content: space-between; }
.read-more { color: var(--orange-3); font-weight: 800; }
.article-page { background: #fff; }
.article-header { max-width: 900px; margin: auto; text-align: center; padding: 72px 0 35px; }
.article-header h1 { font-size: clamp(2.2rem,4.2vw,3.55rem); }
.article-cover { max-width: 1040px; height: 480px; margin: 0 auto 45px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.article-cover .blog-image { height: 100%; }
.article-cover > img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 820px; margin: auto; padding-bottom: 85px; font-size: 1.05rem; color: #26384b; }
.article-body h2 { font-size: 1.75rem; margin: 42px 0 15px; }
.article-body p, .article-body li { color: #526070; }
.article-body blockquote { margin: 30px 0; padding: 22px 28px; border-left: 5px solid var(--orange); background: #fff6ef; border-radius: 0 15px 15px 0; font-weight: 700; }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 32px; }
.contact-info h2, .contact-form h2 { font-size: 2rem; }
.contact-info > p, .contact-form > p { color: var(--muted); }
.contact-list { display: grid; gap: 12px; margin: 25px 0; }
.contact-card { padding: 15px 18px; display: flex; gap: 16px; align-items: center; }
.contact-card .icon-bubble { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#ffa21e,#f24c00); color: #fff; }
.contact-card .icon { width: 25px; height: 25px; }
.contact-card b, .contact-card span { display: block; }
.contact-card span { color: var(--muted); font-size: .9rem; }
.map-card { height: 235px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); position: relative; background-color: #e9eef2; background-image: linear-gradient(28deg, transparent 43%, rgba(93,168,220,.4) 44% 48%, transparent 49%), linear-gradient(115deg, transparent 28%, rgba(246,202,90,.65) 29% 31%, transparent 32%), repeating-linear-gradient(20deg, transparent 0 35px, #fff 36px 40px, transparent 41px 69px); }
.map-pin { position: absolute; left: 50%; top: 49%; transform: translate(-50%,-50%); background: #fff; border-radius: 13px; box-shadow: var(--shadow); padding: 15px 20px; font-weight: 800; display: flex; gap: 9px; align-items: center; white-space: nowrap; }
.map-pin .icon { color: #ec3d2f; width: 27px; height: 27px; }
.contact-form { background: #fff; border-radius: 27px; box-shadow: var(--shadow); padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-notice { margin: 15px 0; padding: 12px 15px; border-radius: 11px; font-weight: 700; }
.form-notice.success { color: #126a36; background: #eaf8ef; border: 1px solid #bce5ca; }
.form-notice.error { color: #9b261a; background: #fff0ee; border: 1px solid #f2c2bc; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 8px; left: 8px; z-index: 10000; width: auto; height: auto; padding: 10px 14px; margin: 0; overflow: visible; clip: auto; color: var(--navy); background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.rank-math-breadcrumb-wrap { padding-block: 12px; font-size: .9rem; }
.wp-content img { height: auto; border-radius: 14px; }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 38px; height: 38px; padding: 7px 10px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.pagination .current { color: #fff; border-color: var(--orange); background: var(--orange); }
.field label { font-weight: 700; }
.required { color: #e62727; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #c8d1dc; border-radius: 10px; padding: 13px 14px; background: #fff; color: var(--navy); outline: none; transition: .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,0,.12); }
.field textarea { min-height: 135px; resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 18px; border-radius: 12px; }
.privacy-note { margin: 12px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }

.faq-list { max-width: 900px; margin: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 7px 20px rgba(14,35,59,.05); overflow: hidden; }
.faq-item button { width: 100%; border: 0; background: #fff; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; font-weight: 800; color: var(--navy); }
.faq-item button::after { content: '+'; color: var(--orange); font-size: 1.5rem; }
.faq-item.open button::after { content: '−'; }
.faq-item div { display: grid; grid-template-rows: 0fr; transition: .25s; }
.faq-item p { overflow: hidden; margin: 0; padding: 0 22px; color: var(--muted); }
.faq-item.open div { grid-template-rows: 1fr; }
.faq-item.open p { padding-bottom: 20px; }

.toast { position: fixed; right: 25px; bottom: 25px; background: var(--navy); color: #fff; padding: 16px 20px; border-left: 5px solid var(--orange); box-shadow: var(--shadow-lg); border-radius: 11px; z-index: 100; transform: translateY(140%); opacity: 0; transition: .3s; max-width: 380px; }
.toast.show { transform: translateY(0); opacity: 1; }
.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(15px); transition: .25s; }
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.reveal { opacity: 0; transform: translateY(28px); transition: .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (min-width: 821px) {
  .hero-grid.container { width: min(1180px, calc(100% - 40px)); }
}

@media (max-width: 1050px) {
  .primary-menu { gap: 16px; }
  .nav-cta { display: none; }
  .hero { min-height: 545px; }
  .hero-grid { grid-template-columns: 1fr .95fr; }
  .hero-visual { width: 142%; margin-left: -24%; }
  .wp-badge { right: 0; width: 75px; height: 75px; font-size: 42px; }
  .wp-badge span { width: 55px; height: 55px; }
  .hero-mini-proof { display: none; }
  .feature-grid { grid-template-columns: repeat(3,1fr); }
  .services-showcase .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid.four, .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.2fr .75fr 1.1fr 1fr; }
  .line-qr { display: none; }
  .cta-banner { padding-left: 34%; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 30px, 700px); }
  .site-header { height: 70px; }
  .nav-wrap { justify-content: space-between; }
  .brand { min-width: 0; }
  .brand-mark { width: 37px; height: 37px; }
  .brand b { font-size: 1.45rem; }
  .nav-toggle { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin-left: auto; color: var(--navy); }
  .main-nav { position: fixed; inset: 70px 0 0; z-index: 999; width: 100%; max-width: 100vw; height: calc(100dvh - 70px); background: #fff; opacity: 0; visibility: hidden; pointer-events: none; backdrop-filter: none; -webkit-backdrop-filter: none; display: flex; flex-direction: column; justify-content: flex-start; padding: 20px 25px 40px; gap: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 16px 30px rgba(8,28,47,.12); transform: none; transition: opacity .2s ease, visibility 0s linear .2s; isolation: isolate; contain: layout paint; }
  .main-nav.open { background: #fff; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .primary-menu { display: block; width: 100%; height: auto; }
  .primary-menu > .menu-item { display: grid; grid-template-columns: minmax(0,1fr) 48px; width: 100%; }
  .main-nav a { display: block; padding: 17px 5px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .submenu-toggle { width: 48px; height: 58px; margin: 0; border-bottom: 1px solid var(--line); }
  .submenu-toggle::before { left: 19px; top: 20px; }
  .sub-menu { display: none; grid-column: 1 / -1; position: static; min-width: 0; width: 100%; padding: 4px 0 10px 16px; border: 0; border-radius: 0; box-shadow: none; background: #f8fafc; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none; }
  .sub-menu::before { display: none; }
  .menu-item-has-children.submenu-open > .sub-menu { display: block; transform: none; }
  .sub-menu a { padding: 13px 16px; font-size: .96rem; color: #3b4b5e; }
  .nav-toggle { position: relative; z-index: 1000; }
  body.menu-open .nav-toggle { position: fixed; top: 13px; right: 15px; background: #f1f4f7; border-radius: 50%; }
  .hero { min-height: auto; }
  .hero::before { width: 115%; height: 58%; top: auto; bottom: -9%; right: -20%; border-radius: 50% 50% 0 0; }
  .hero-grid { grid-template-columns: 1fr; padding: 44px 0 15px; text-align: center; }
  .hero-copy { width: 100%; margin-inline: auto; }
  .hero-copy > p { margin-inline: auto; }
  .hero-list { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .hero-actions, .hero-stat-row { justify-content: center; }
  .hero-visual { width: min(760px, 120%); margin: 25px auto -5px; left: -10%; }
  .home-hero .hero-copy, .services-hero .hero-copy, .portfolio-hero .hero-copy, .blog-hero .hero-copy, .contact-hero .hero-copy { padding: 28px; border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
  .home-hero .hero-visual, .services-hero .hero-visual, .portfolio-hero .hero-visual, .blog-hero .hero-visual, .contact-hero .hero-visual { width: min(820px, 118%); margin: 24px auto -4px; left: -9%; }
  .home-hero .hero-visual img, .services-hero .hero-visual img, .portfolio-hero .hero-visual img, .blog-hero .hero-visual img, .contact-hero .hero-visual img { border-radius: 0; box-shadow: none; }
  .hero-wave { height: 72px; }
  .services-hero + .section { padding-top: 38px; }
  .wp-badge { top: 6%; right: 1%; }
  .section { padding: 63px 0; }
  .expert-grid, .service-split, .contact-layout { grid-template-columns: 1fr; }
  .expert-photo { order: 2; height: 470px; }
  .expert-copy { text-align: center; }
  .expert-points { text-align: left; }
  .portfolio-grid, .article-grid, .price-grid { grid-template-columns: repeat(2,1fr); }
  .price-card.recommended { transform: none; }
  .blog-feature { grid-template-columns: 1fr; }
  .article-toolbar { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .footer-contact { grid-column: auto; }
  .cta-banner { padding: 28px 25px; text-align: center; flex-direction: column; }
  .cta-device { display: none; }
  .testimonial-card { flex-basis: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

@media (max-width: 580px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 24px); }
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.85rem; }
  .brand small { display: none; }
  .hero-copy .eyebrow { font-size: .83rem; }
  .hero-copy > p { font-size: 1rem; }
  .hero-list { font-size: .92rem; }
  .hero-list li, .hero-copy, .hero-copy p, .hero-copy h1 { overflow-wrap: anywhere; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; min-width: 0; white-space: normal; text-align: center; }
  .hero-stat-row { flex-direction: column; align-items: flex-start; width: 100%; max-width: 100%; margin-inline: auto; }
  .hero-stat-row span { min-width: 0; overflow-wrap: anywhere; }
  .hero-visual { width: 130%; left: -15%; }
  .home-hero .hero-copy, .services-hero .hero-copy, .portfolio-hero .hero-copy, .blog-hero .hero-copy, .contact-hero .hero-copy { padding: 22px 16px; }
  .home-hero .hero-visual, .services-hero .hero-visual, .portfolio-hero .hero-visual, .blog-hero .hero-visual, .contact-hero .hero-visual { width: 112%; left: -6%; }
  .blog-topics { justify-content: center; gap: 15px; }
  .blog-topics span { flex-direction: column; gap: 5px; }
  .hero-topic-icon { width: 40px; height: 40px; }
  .contact-benefit-icon { width: 42px; height: 42px; }
  .wp-badge { width: 62px; height: 62px; border-radius: 14px; }
  .wp-badge span { width: 48px; height: 48px; font-size: 36px; }
  .feature-grid, .feature-grid.four, .services-grid, .portfolio-grid, .article-grid, .price-grid { grid-template-columns: 1fr; }
  .services-showcase .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .expert-photo { height: 405px; }
  .expert-photo img { height: 410px; }
  .expert-photo::before { width: 290px; height: 285px; }
  .expert-points { grid-template-columns: 1fr; }
  .testimonial-card { padding: 21px; }
  .slider-control { top: auto; bottom: 0; }
  .slider-dots { bottom: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 23px; }
  .footer-about, .footer-contact { grid-column: 1/-1; }
  .footer-bottom { text-align: center; flex-direction: column; align-items: center; }
  .footer-bottom span:last-child { flex-wrap: wrap; justify-content: center; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2)::after { display: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .portfolio-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .filter-btn { flex: none; padding: 9px 17px; }
  .wp-dashboard { min-height: 310px; padding: 32px 18px; }
  .dashboard-screen { height: 245px; }
  .blog-image { min-height: 245px; }
  .article-cover { height: 290px; }
  .blog-image .blog-laptop { height: 145px; font-size: 60px; }
  .blog-feature-copy { padding: 25px; }
  .search-box { min-width: 0; }
  .contact-form { padding: 22px 17px; }
  .toast { left: 12px; right: 12px; bottom: 12px; }
}

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


h1 {
    font-size: clamp(2.35rem, 4.4vw, 3.50rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    margin: 14px 0 18px;
    font-weight: 900;
}

.subhero h1 {
    font-size: 50px;
}

h2 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -.035em;
    margin: 10px 0 5px;
    font-weight: 900;
}

/* Product: Biz Prompt Lite */
.product-service-page { background: #fffaf6 url('assets/product-page-background.webp') center top / 100% auto repeat-y; overflow: hidden; }
.product-hero { min-height: 650px; display: flex; align-items: center; position: relative; background: #fff url('assets/product-hero-background.webp') center / cover no-repeat; overflow: hidden; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: 8px; padding: 52px 0 64px; position: relative; z-index: 2; }
.product-hero-grid > * { min-width: 0; }
.product-hero-copy { position: relative; z-index: 3; max-width: 560px; }
.product-hero-copy h1 { max-width: 100%; font-size: clamp(2.25rem, 3.5vw, 3.2rem); margin: 12px 0 17px; overflow-wrap: anywhere; word-break: break-word; }
.product-name { color: var(--orange-3); font-style: italic; }
.product-hero-copy > p { max-width: 540px; color: #26384d; font-size: 1.08rem; }
.product-check-list { display: grid; gap: 7px; margin: 18px 0 24px; padding: 0; list-style: none; font-weight: 700; }
.product-check-list li { display: flex; align-items: center; gap: 9px; }
.product-check-list li > span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--orange); color: #fff; }
.product-check-list .icon { width: 14px; height: 14px; }
.product-hero-copy .hero-actions { justify-content: flex-start; }
.product-hero-visual { width: 132%; margin-left: -22%; position: relative; z-index: 1; }
.product-hero-visual img { width: 100%; filter: drop-shadow(0 22px 22px rgba(19,35,54,.17)); }
.product-problem { padding: 58px 0 64px; }
.product-problem-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 45px; }
.product-problem-title h2 { margin-top: 12px; }
.product-problem-content { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 28px; }
.problem-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.problem-cards article { display: flex; align-items: center; gap: 12px; min-height: 78px; padding: 14px 17px; background: rgba(255,255,255,.9); border: 1px solid rgba(14,35,59,.06); border-radius: 16px; box-shadow: 0 10px 25px rgba(14,35,59,.08); }
.problem-cards article > span { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 29px; border-radius: 50%; background: #d92d20; color: #fff; font-size: 1.25rem; font-weight: 900; line-height: 1; }
.problem-cards strong, .problem-cards small { display: block; }
.problem-cards small { color: var(--muted); }
.product-problem-content > p { margin: 0; padding-left: 28px; border-left: 1px solid #d5dce5; color: #334458; }
.product-features { padding-top: 48px; }
.product-feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.product-feature-card { min-height: 260px; padding: 25px 20px 22px; text-align: center; background: rgba(255,255,255,.94); border: 1px solid rgba(14,35,59,.06); border-radius: 20px; box-shadow: 0 13px 30px rgba(14,35,59,.09); transition: transform .25s, box-shadow .25s; }
.product-feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(14,35,59,.14); }
.product-feature-card h3 { margin: 16px 0 7px; font-size: 1.1rem; }
.product-feature-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.product-feature-icon { display: block; width: 82px; height: 82px; margin: 0 auto 14px; padding: 8px; object-fit: contain; object-position: center; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px rgba(235,92,0,.16); }
.product-steps { padding-top: 40px; }
.product-step-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 55px; }
.product-step-grid article { display: grid; grid-template-columns: 42px 48px 1fr; align-items: center; gap: 12px; position: relative; }
.product-step-grid article:not(:last-child)::after { content: '›'; position: absolute; right: -35px; color: var(--orange); font-size: 2.6rem; font-weight: 300; }
.product-step-grid b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 1.2rem; }
.product-step-grid article > span { color: var(--orange); }
.product-step-grid article > span .icon { width: 45px; height: 45px; }
.product-step-grid h3 { margin: 0 0 2px; font-size: 1.05rem; }
.product-step-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.product-showcase-section { padding: 20px 0 36px; }
.product-showcase-panel { min-height: 420px; position: relative; overflow: hidden; border-radius: 25px; background: #f55a00 url('assets/product-cta-background.webp') center / cover no-repeat; box-shadow: 0 20px 50px rgba(164,69,0,.18); }
.product-showcase-panel > img { position: absolute; right: -2%; bottom: -1%; width: 77%; filter: drop-shadow(0 16px 18px rgba(63,28,0,.2)); }
.product-showcase-copy { position: relative; z-index: 2; width: 32%; padding: 38px 0 28px 38px; color: #fff; }
.product-showcase-copy > span { font-weight: 800; font-size: 1.25rem; }
.product-showcase-copy h2 { color: #fff; margin: 0; font-size: 2.25rem; }
.product-showcase-copy p { font-size: 1.05rem; }
.product-showcase-copy ul { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.product-showcase-copy li { width: 150px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.93); color: var(--orange-3); text-align: center; font-weight: 800; }
.product-trial { padding: 0 0 42px; }
.product-trial-panel { min-height: 158px; display: grid; grid-template-columns: 34% 1fr auto; align-items: center; gap: 28px; padding: 12px 40px 0 22px; overflow: hidden; border-radius: 24px; background: #f85d00 url('assets/product-cta-background.webp') center / cover no-repeat; color: #fff; box-shadow: 0 18px 38px rgba(214,75,0,.16); }
.product-trial-panel > img { align-self: end; width: 100%; max-height: 175px; object-fit: contain; object-position: bottom; }
.product-trial-panel h2 { color: #fff; margin: 0; font-size: clamp(1.6rem,2.5vw,2.35rem); }
.product-trial-panel p { margin: 3px 0 0; }
.product-trial-panel .btn { min-width: 175px; background: #fff; color: var(--navy); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.product-faq { padding: 28px 0 75px; }
.product-faq-grid { display: grid; grid-template-columns: .4fr .6fr; gap: 44px; align-items: start; }
.product-faq-title { display: flex; gap: 18px; align-items: flex-start; }
.product-question-mark { display: grid; place-items: center; flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 1.7rem; font-weight: 900; }
.product-faq-title h2 { margin: 0; font-size: 2.05rem; }
.product-faq-title p { color: var(--muted); }
.product-faq .faq-list { gap: 8px; }
.product-faq .faq-item { border-radius: 999px; }
.product-faq .faq-item button { padding: 12px 20px; }
.product-faq .faq-item.open { border-radius: 18px; }

@media (max-width: 1050px) {
  .product-hero-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .product-hero-visual { width: 138%; margin-left: -25%; }
  .product-problem-grid { grid-template-columns: 1fr; gap: 25px; }
  .product-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-showcase-panel { min-height: 360px; }
  .product-showcase-copy { width: 38%; }
}

@media (max-width: 820px) {
  .product-hero { min-height: auto; }
  .product-hero-grid { grid-template-columns: 1fr; padding: 42px 0 18px; text-align: center; }
  .product-hero-copy { max-width: 670px; margin: auto; padding: 28px; border-radius: 24px; background: rgba(255,255,255,.91); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
  .product-hero-copy > p { margin-inline: auto; }
  .product-check-list { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .product-hero-copy .hero-actions { justify-content: center; }
  .product-hero-visual { width: 112%; margin: 15px auto -5px; position: relative; left: -6%; }
  .product-problem-content { grid-template-columns: 1fr; }
  .product-problem-content > p { padding: 18px 0 0; border-left: 0; border-top: 1px solid #d5dce5; }
  .product-step-grid { grid-template-columns: 1fr; gap: 22px; max-width: 620px; margin: auto; }
  .product-step-grid article:not(:last-child)::after { content: '⌄'; right: auto; left: 12px; bottom: -27px; font-size: 1.6rem; }
  .product-showcase-panel { min-height: 540px; }
  .product-showcase-copy { width: 100%; padding: 30px; text-align: center; }
  .product-showcase-copy li { margin-inline: auto; }
  .product-showcase-panel > img { right: -9%; width: 118%; }
  .product-trial-panel { grid-template-columns: 1fr; gap: 12px; padding: 24px; text-align: center; }
  .product-trial-panel > img { display: none; }
  .product-trial-panel .btn { margin: auto; }
  .product-faq-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 580px) {
  .product-hero-copy { padding: 22px 18px; }
  .product-hero-copy h1 { font-size: clamp(1.75rem, 8.3vw, 2rem); }
  .product-hero-copy .hero-actions { display: grid; }
  .product-hero-copy .btn { width: 100%; }
  .problem-cards, .product-feature-grid { grid-template-columns: 1fr; }
  .product-feature-card { min-height: 0; }
  .product-feature-icon { width: 76px; height: 76px; padding: 7px; margin-bottom: 12px; }
  .product-showcase-panel { min-height: 465px; }
  .product-faq-title { display: grid; grid-template-columns: 50px 1fr; }
}

/* Custom Web & Software Development */
.web-software-page { overflow: hidden; }
.web-software-hero {
  min-height: 640px;
  background: #fff url('assets/web-software/hero/hero-background.webp') center / cover no-repeat;
}
.web-software-hero::before,
.web-software-hero::after { display: none; }
.web-software-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 52px 0 84px;
  position: relative;
  z-index: 2;
}
.web-software-hero-grid > * { min-width: 0; }
.web-software-hero-copy { width: 100%; max-width: 565px; min-width: 0; }
.web-software-hero-copy h1 {
  font-size: clamp(2.65rem,3.6vw,3.2rem);
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.web-software-lead {
  margin: 0 0 10px;
  font-size: clamp(1.25rem,1.65vw,1.55rem);
  line-height: 1.35;
  letter-spacing: -.02em;
}
.web-software-lead,
.web-software-hero-copy > p { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.web-software-hero-visual {
  width: 132%;
  margin-left: 2%;
  position: relative;
  align-self: center;
  z-index: 1;
}
.web-software-device {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 24px rgba(19,35,54,.2));
}
.web-software-hero + .section { padding-top: 48px; }
.web-software-services { padding-bottom: 45px; }
.web-software-service-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}
.web-software-service-card { min-height: 300px; padding: 20px 20px 26px; }
.web-software-service-icon {
  width: 142px;
  height: 132px;
  margin: 0 auto 4px;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(238,82,0,.1));
}
.web-software-service-card h3 { min-height: 44px; margin-bottom: 8px; }
.web-software-service-card p { font-size: .88rem; }
.web-software-pricing {
  margin-top: -1px;
  padding-top: 56px;
  background-color: #fffaf6;
  background-image:
    linear-gradient(180deg,rgba(248,250,252,.97) 0%,rgba(255,250,246,.9) 20%,rgba(255,250,246,.6) 100%),
    url('assets/service-pricing-background.webp');
  background-position: center, center;
  background-size: cover, 100% 100%;
  background-repeat: no-repeat;
}
.web-software-price-grid { align-items: stretch; }
.web-software-price-card { padding: 26px 27px 28px; }
.web-software-plan-icon {
  width: 88px;
  height: 78px;
  margin: 0 auto 8px;
  object-fit: contain;
}
.web-software-price-card > h3 { text-align: center; }
.web-software-price-card .price-desc { min-height: 72px; text-align: center; }
.web-software-price-card .price { text-align: center; }
.web-software-custom-quote { font-size: clamp(1.85rem,3vw,2.25rem); }
.web-software-proof {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin-top: 34px;
  padding: 18px 12px;
  border: 1px solid rgba(16,43,70,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.web-software-proof > span {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 0 13px;
  padding: 4px 20px;
}
.web-software-proof > span:not(:last-child) { border-right: 1px solid var(--line); }
.web-software-proof b { grid-row: 1 / 3; color: var(--orange); }
.web-software-proof .icon { width: 44px; height: 44px; }
.web-software-proof strong,
.web-software-proof small { display: block; }
.web-software-proof small { color: var(--muted); }

@media (min-width: 821px) {
  .web-software-hero-copy h1 {
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -.05em;
    white-space: nowrap;
  }
  .web-software-title-development { display: inline; }
}

@media (max-width: 1050px) {
  .web-software-hero-grid { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); }
  .web-software-hero-visual { width: 130%; margin-left: 0; }
  .web-software-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .web-software-proof { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .web-software-proof > span:nth-child(2) { border-right: 0; }
  .web-software-proof > span:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .web-software-proof > span:nth-child(n+3) { padding-top: 14px; }
}

@media (max-width: 820px) {
  .web-software-hero { min-height: auto; }
  .web-software-hero-grid { grid-template-columns: 1fr; width: min(100% - 30px,700px); padding: 42px 0 34px; text-align: center; }
  .web-software-hero-copy {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255,255,255,.91);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
  }
  .web-software-hero-copy > p { margin-inline: auto; }
  .web-software-hero-copy .hero-list { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .web-software-hero-copy .hero-actions { justify-content: center; }
  .web-software-hero-visual { width: 112%; margin: 16px auto -10px; left: -6%; }
  .web-software-price-grid { grid-template-columns: 1fr; max-width: 670px; margin-inline: auto; }
  .web-software-price-card.recommended { transform: none; }
  .web-software-price-card .price-desc { min-height: 0; }
}

@media (max-width: 580px) {
  .web-software-hero-grid { width: calc(100% - 24px); padding-top: 28px; }
  .web-software-hero-copy { padding: 22px 17px; }
  .web-software-hero-copy h1 { font-size: clamp(1.8rem,8.6vw,2.15rem); }
  .web-software-title-development { display: block; }
  .web-software-lead { font-size: 1.1rem; }
  .web-software-hero-copy .hero-actions { display: grid; }
  .web-software-hero-copy .btn { width: 100%; }
  .web-software-hero-visual { width: 112%; left: -6%; }
  .web-software-service-grid,
  .web-software-proof { grid-template-columns: 1fr; }
  .web-software-service-card { min-height: 0; }
  .web-software-proof > span,
  .web-software-proof > span:nth-child(n+3) { padding: 13px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .web-software-proof > span:last-child { border-bottom: 0; }
}
