/* Portalix Media — premium UI refresh */
:root {
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --surface-blue: #edf7ff;
  --navy-soft: #10223f;
  --text-soft: #53627a;
  --line: #dfe7f1;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 12px 34px rgba(7, 20, 38, .07);
  --shadow-md: 0 24px 65px rgba(13, 48, 104, .12);
  --shadow-blue: 0 22px 54px rgba(23, 74, 255, .24);
}

html { scroll-padding-top: 104px; }

body {
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-size: var(--body-size);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { color: #fff; background: var(--blue); }

a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(32, 201, 255, .5);
  outline-offset: 4px;
}

.shell { width: min(1220px, calc(100% - 64px)); }

.section { padding: 132px 0; }

.eyebrow,
.section-label {
  gap: 11px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .15em;
}

.eyebrow b { width: 32px; }

.two-col h2,
.section-head h2,
.why-copy h2,
.process h2,
.faq h2,
.page-main h2 {
  color: var(--ink);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.rich-text { color: var(--text-soft); font-size: 18px; line-height: 1.75; }

.button,
.header-cta {
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 28px rgba(23, 74, 255, .18);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}

.button::after,
.header-cta::after {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.button span,
.header-cta span { display: none; }

.button:hover,
.header-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border-color: rgba(12, 43, 92, .14);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.button-ghost:hover { color: var(--blue); background: #fff; border-color: rgba(23, 74, 255, .34); }

/* Header */
.site-header {
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  border-color: rgba(211, 222, 236, .72);
  backdrop-filter: blur(20px) saturate(150%);
}

.site-header.scrolled { box-shadow: 0 10px 38px rgba(10, 33, 70, .08); }

.header-inner { height: 92px; gap: 32px; }

.brand { width: 188px; flex: 0 0 auto; }

.brand img { width: 100%; background: transparent; }

.main-nav {
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(218, 228, 240, .82);
  border-radius: 999px;
  background: rgba(247, 250, 253, .72);
  font-size: 14px;
}

.main-nav a { padding: 9px 13px; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.main-nav a::after { display: none; }
.main-nav a:hover { color: var(--blue); background: #fff; }
.header-cta { margin-left: 2px; }

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  padding: 118px 0 96px;
  background:
    radial-gradient(circle at 92% 10%, rgba(32, 201, 255, .18), transparent 28%),
    radial-gradient(circle at 7% 100%, rgba(23, 74, 255, .08), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 46%, #eef8ff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image:
    linear-gradient(rgba(23, 74, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 74, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 62%, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr);
  gap: 72px;
}

.hero-copy { position: relative; z-index: 3; }

.hero h1,
.page-hero h1,
.service-hero h1,
.project-hero h1 {
  max-width: 810px;
  margin: 23px 0 26px;
  font-size: clamp(52px, 5.7vw, 80px);
  font-weight: 700;
  letter-spacing: -.072em;
  line-height: .99;
}

.hero h1 { max-width: 690px; }

.hero p,
.page-hero p,
.service-hero p {
  max-width: 650px;
  color: var(--text-soft);
  font-size: 19px;
  line-height: 1.68;
}

.hero-actions { gap: 14px; margin-top: 36px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 32px;
  color: #43536c;
  font-size: 13px;
  font-weight: 700;
}

.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }

.hero-proof i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(23, 74, 255, .09);
  font-size: 11px;
  font-style: normal;
}

.hero-visual-shell {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual-shell::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 25px -40px 15px 20px;
  border-radius: 44% 56% 45% 55% / 55% 39% 61% 45%;
  background: linear-gradient(145deg, rgba(23, 74, 255, .11), rgba(32, 201, 255, .16));
  filter: blur(.2px);
  transform: rotate(-3deg);
}

.portal-visual {
  z-index: 2;
  width: 112%;
  height: 560px;
  margin-left: -6%;
  background-position: center !important;
  background-size: contain !important;
  filter: drop-shadow(0 35px 42px rgba(14, 56, 119, .18));
  transform: translateY(-3px);
}

.hero-visual-badge {
  position: absolute;
  z-index: 5;
  right: -4px;
  bottom: 54px;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 17px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 50px rgba(15, 56, 115, .16);
  backdrop-filter: blur(16px);
}

.hero-visual-badge > i {
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #20c783;
  box-shadow: 0 0 0 5px rgba(32, 199, 131, .13);
}

.hero-visual-badge span { display: grid; gap: 2px; }
.hero-visual-badge small { color: #78869a; font: 500 9px var(--mono); letter-spacing: .12em; }
.hero-visual-badge strong { font-size: 14px; }

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(23, 74, 255, .14);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one { width: 460px; height: 460px; }
.hero-orbit-two { width: 560px; height: 560px; border-color: rgba(32, 201, 255, .12); }

/* Intro and benefit cards */
.intro { position: relative; background: #fff; }
.intro .two-col { grid-template-columns: 170px minmax(0, 1fr); gap: 8%; }
.intro .section-label { padding-top: 12px; }
.intro .rich-text { max-width: 810px; }

.intro .benefit-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.intro .benefit-list article,
.intro .benefit-list article:nth-child(odd) {
  min-height: 174px;
  padding: 30px 28px 28px 88px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #fff, #f8fbff);
  box-shadow: 0 14px 40px rgba(11, 42, 87, .055);
}

.intro .benefit-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 74, 255, .28);
  box-shadow: var(--shadow-md);
}

.intro .benefit-list span {
  top: 30px;
  left: 27px;
  width: 44px;
  height: 44px;
  font-size: 13px;
}

.intro .benefit-list h3 { margin-bottom: 10px; font-size: 19px; }
.intro .benefit-list p { color: var(--text-soft); font-size: 15px; line-height: 1.67; }

/* Services */
.services-section {
  position: relative;
  background:
    radial-gradient(circle at 88% 5%, rgba(32, 201, 255, .09), transparent 28%),
    var(--surface-soft);
}

.section-head { margin-bottom: 56px; }
.section-head h2 { max-width: 760px; margin-top: 17px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  font-size: 14px;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.text-link span { margin: 0; }
.text-link:hover { color: var(--blue); border-color: rgba(23, 74, 255, .32); transform: translateY(-2px); }

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  border: 0;
}

.service-card {
  min-height: 430px;
  padding: 197px 25px 72px;
  border: 1px solid rgba(214, 225, 239, .9);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 36, 76, .055);
  transform: translateY(0);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.service-card::before {
  height: 166px;
  border-radius: 19px 19px 0 0;
  background-position: center !important;
}

.service-card::after {
  inset: 105px 0 auto;
  height: 64px;
  background: linear-gradient(180deg, transparent, #fff);
}

.service-card:hover {
  color: var(--ink);
  border-color: rgba(23, 74, 255, .26);
  background: #fff;
  box-shadow: 0 24px 56px rgba(12, 48, 105, .15);
  transform: translateY(-8px);
}

.service-card:hover * { color: inherit !important; }
.service-card:hover::before { transform: scale(1.035); }
.service-card:hover::after { background: linear-gradient(180deg, transparent, #fff); }

.service-card .service-icon {
  top: 137px;
  left: 24px;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(9, 42, 96, .16);
}

.service-card:hover .service-icon { color: var(--blue) !important; background: #fff; }

.service-card .card-number {
  z-index: 3;
  top: 182px;
  right: 23px;
  color: #8492a7;
  font-size: 11px;
}

.service-card h2,
.service-card h3 { max-width: 230px; margin-bottom: 11px; font-size: 20px; letter-spacing: -.025em; }
.service-card p { color: var(--text-soft); font-size: 15px; line-height: 1.62; }
.service-card:hover p { color: var(--text-soft) !important; }

.service-card > a {
  left: 25px;
  bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
}

.service-card > a span { color: var(--blue); font-size: 17px; }
.service-card:hover > a { color: var(--blue) !important; }

/* Dark value section */
.why-section {
  background:
    radial-gradient(circle at 92% 18%, rgba(32, 201, 255, .17), transparent 25%),
    radial-gradient(circle at 8% 100%, rgba(23, 74, 255, .24), transparent 32%),
    linear-gradient(135deg, #061224, #0b1d39 72%, #102b58);
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 25px 25px;
}

.why-section::after { width: 680px; height: 680px; border-color: rgba(70, 201, 255, .15); }

.why-grid { grid-template-columns: .86fr 1.14fr; gap: 105px; }
.why-copy { align-self: center; }
.why-copy h2 { color: #fff; font-size: clamp(40px, 4vw, 58px); }
.why-copy p { max-width: 530px; color: #b9c7db; font-size: 17px; line-height: 1.75; }

.button-light-outline {
  margin-top: 32px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .24);
  box-shadow: none;
}

.button-light-outline:hover { color: var(--ink); background: #fff; border-color: #fff; }

.why-items { gap: 14px; border: 0; }

.why-items article {
  min-height: 196px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.why-items article:hover { transform: translateY(-5px); border-color: rgba(79, 207, 255, .36); background: rgba(255, 255, 255, .085); }
.why-items span { color: #62d8ff; font-size: 12px; }
.why-items h3 { margin: 26px 0 9px; color: #fff; font-size: 18px; }
.why-items p { color: #aebed4; font-size: 15px; line-height: 1.65; }

/* Portfolio */
.portfolio-section { background: #fff; }
.project-grid { gap: 24px; }

.project-card {
  overflow: hidden;
  border: 1px solid rgba(214, 225, 239, .9);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 34px rgba(10, 36, 76, .05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.project-card:hover { border-color: rgba(23, 74, 255, .25); box-shadow: var(--shadow-md); transform: translateY(-8px); }

.project-cover {
  aspect-ratio: 1.35;
  margin: 9px;
  border-radius: 15px;
  transition: transform .45s ease;
}

.project-card:hover .project-cover { box-shadow: none; transform: scale(1.018); }
.project-meta { padding: 20px 26px 27px; }
.project-meta > span { font-size: 11px; }
.project-meta h2,
.project-meta h3 { margin: 8px 0 9px; font-size: 22px; letter-spacing: -.03em; }
.project-meta p { color: var(--text-soft); font-size: 15px; line-height: 1.62; }
.project-meta small { margin-top: 16px; font-size: 11px; }

/* Process */
.process {
  background:
    radial-gradient(circle at 10% 15%, rgba(23, 74, 255, .07), transparent 26%),
    var(--surface-soft);
}

.process-intro { margin-bottom: 62px; }
.process .steps { gap: 16px; }

.process .steps article,
.process .steps article:not(:first-child) {
  min-height: 218px;
  padding: 27px 24px;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(10, 36, 76, .06);
}

.process .steps article:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }

.process .steps article > span {
  width: 51px;
  height: 51px;
  border-radius: 15px;
  font-size: 14px;
}

.process .steps h3 { max-width: 180px; margin-top: 31px; font-size: 17px; }
.process .steps article:not(:last-child)::after { right: -14px; width: 27px; height: 27px; }

/* Final conversion area */
.final-cta {
  padding: 58px 0;
  color: #fff;
  background: #fff;
}

.final-cta::after { display: none; }

.final-inner {
  width: min(1220px, calc(100% - 64px));
  max-width: 1220px;
  margin: 0 auto;
  padding: 74px 76px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 16%, rgba(56, 217, 255, .36), transparent 27%),
    radial-gradient(circle at 8% 100%, rgba(23, 74, 255, .4), transparent 35%),
    linear-gradient(125deg, #061326, #0b2d69 72%, #174aff);
  box-shadow: 0 28px 70px rgba(7, 31, 76, .22);
}

.final-inner::after {
  content: '';
  position: absolute;
  right: -95px;
  top: -130px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .025), 0 0 0 110px rgba(255, 255, 255, .018);
}

.final-cta h2 { max-width: 850px; margin: 20px 0; font-size: clamp(40px, 5vw, 66px); line-height: 1.04; }
.final-cta p { max-width: 690px; color: #c5d5ec; font-size: 18px; line-height: 1.7; }
.button-white { min-height: 55px; margin-top: 34px; }

/* Inner page heroes */
.page-hero,
.service-hero,
.project-hero {
  position: relative;
  overflow: hidden;
  padding: 126px 0 105px;
  background:
    radial-gradient(circle at 85% 20%, rgba(32, 201, 255, .15), transparent 25%),
    linear-gradient(130deg, #f7fbff, #fff 62%, #eef8ff);
}

.page-hero::after,
.project-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -240px;
  width: 530px;
  height: 530px;
  border: 1px solid rgba(23, 74, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(23, 74, 255, .025), 0 0 0 130px rgba(32, 201, 255, .018);
}

.page-hero .shell,
.project-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 930px; }

.page-content { padding-top: 105px; }
.page-content > .shell { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 85px; }
.page-main h2 { margin-bottom: 30px; }

.page-cards { display: grid; gap: 14px; border: 0; }

.page-cards > article {
  min-height: 145px;
  padding: 26px 24px 25px 76px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f8fbff);
  box-shadow: 0 12px 32px rgba(10, 36, 76, .045);
}

.page-cards > article span {
  top: 25px;
  left: 23px;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 11px;
}

.page-cards h3 { font-size: 18px; }
.page-cards p { color: var(--text-soft); font-size: 15px; line-height: 1.65; }

/* Contact form */
.contact-layout .page-main {
  max-width: none;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-form { margin-top: 38px; }
.contact-form p { margin-bottom: 18px; }

.contact-form label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  min-height: 54px;
  margin: 7px 0 0;
  padding: 15px 17px;
  border: 1px solid #d8e2ee;
  border-radius: 12px;
  color: var(--ink);
  background: #f8fbfe;
  font-size: 16px;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea { height: 160px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 74, 255, .09);
}

.contact-form .wpcf7-submit {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(23, 74, 255, .2);
}

.contact-form .wpcf7-list-item { font-size: 14px; line-height: 1.55; }
.contact-details a { overflow-wrap: anywhere; font-size: 15px; }

.page-cards > .contact-details {
  min-height: 0;
  padding: 25px;
  background: linear-gradient(135deg, var(--ink), #123370);
}

.page-cards > .contact-details span {
  position: static;
  display: inline-flex;
  width: auto;
  height: auto;
  margin-bottom: 13px;
  padding: 0;
  color: #72dcff;
  background: transparent;
  font: 500 11px var(--mono);
  letter-spacing: .13em;
}

.page-cards > .contact-details a {
  margin: 6px 0 0;
  color: #fff;
}

/* Service detail */
.service-hero { min-height: 620px; }
.service-hero > .shell { min-height: 385px; display: flex; flex-direction: column; justify-content:center; }
.service-hero .shell > .reveal { max-width: 590px; }

.service-hero::after {
  inset: 32px max(32px, calc((100vw - 1220px) / 2)) 32px 51%;
  border-radius: 26px;
  background: linear-gradient(90deg, rgba(247, 251, 255, .18), transparent), var(--service-single-image) center / cover no-repeat;
  opacity: .88;
  box-shadow: var(--shadow-md);
}

.breadcrumbs { margin-bottom: 37px; font-size: 13px; }
.detail-grid,
.story-grid { gap: 90px; }
.detail-grid h2,
.story-grid h2 { font-size: clamp(32px, 3vw, 43px); }

.check-list li {
  padding: 16px 15px 16px 40px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 16px;
}

.check-list li::before {
  top: 17px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(23, 74, 255, .09);
  font-size: 12px;
}

.includes { background: var(--surface-soft); }
.include-grid { gap: 16px; margin-top: 45px; }

.include-grid article {
  min-height: 176px;
  padding: 29px 25px 25px 67px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 36, 76, .045);
}

.include-grid article > span { top: 28px; left: 23px; font-size: 12px; }
.include-grid h3 { font-size: 18px; }
.include-grid p { color: var(--text-soft); font-size: 15px; line-height: 1.63; }

.workflow .steps { gap: 15px; margin-top: 43px; border: 0; }
.workflow .steps article,
.workflow .steps article:not(:first-child) { padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }

.faq { background: var(--surface-soft); }
.faq-list { max-width: 920px; }

.faq-item {
  margin-bottom: 10px;
  padding: 0 22px;
  border: 1px solid var(--line) !important;
  border-radius: 15px;
  background: #fff;
}

.faq-item button { padding: 23px 0; font-size: 18px; }
.faq-item > div > p { color: var(--text-soft); font-size: 16px; line-height: 1.7; }

/* Portfolio detail */
.project-title { grid-template-columns: minmax(0, 1fr) 340px; }
.project-title dl { padding: 7px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .72); }
.project-featured { margin-top: 68px; border-radius: 25px; box-shadow: var(--shadow-md); }
.result-card { padding: 50px; border-radius: 22px; background: linear-gradient(135deg, var(--ink), #102d61); }
.gallery-grid { gap: 20px; }
.gallery-grid img { border-radius: 16px; box-shadow: var(--shadow-sm); }
.tech-section { padding: 43px 0; background: var(--surface-blue); }

/* Footer and persistent inquiry */
.site-footer {
  padding-top: 82px;
  background:
    radial-gradient(circle at 10% 100%, rgba(23, 74, 255, .18), transparent 28%),
    #051122;
}

.footer-grid { grid-template-columns: 1.65fr .9fr 1.1fr 1.2fr; gap: 56px; padding-bottom: 70px; }
.footer-logo { width: 192px; margin-bottom: 21px; padding: 0; background: transparent; filter: none; }
.footer-grid p { max-width: 330px; color: #95a7c0; font-size: 15px; }
.footer-grid h3 { margin: 4px 0 22px; color: #fff; font-size: 14px; letter-spacing: .04em; }
.footer-grid a { margin: 10px 0; color: #abbad0; font-size: 14px; }

.footer-inquiry {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 23px !important;
  color: #fff !important;
  font-weight: 800;
}

.footer-inquiry span { color: var(--cyan); font-size: 17px; }
.footer-bottom { padding: 24px 0; font-size: 12px; }

.inquiry-float {
  right: 24px;
  bottom: 24px;
  min-height: 52px;
  padding: 13px 16px 13px 20px;
  border-color: rgba(255, 255, 255, .15);
  background: rgba(6, 18, 36, .94);
  box-shadow: 0 18px 45px rgba(7, 20, 38, .26);
  backdrop-filter: blur(12px);
}

.inquiry-float span { width: 26px; height: 26px; }
.inquiry-float:hover { background: var(--blue); box-shadow: var(--shadow-blue); }

.reveal { transform: translateY(22px); transition-duration: .7s; }

@media (max-width: 1100px) {
  .main-nav { gap: 3px; }
  .main-nav a { padding-inline: 10px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 38px; }
  .hero h1 { font-size: clamp(50px, 6.1vw, 68px); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card h2,
  .service-card h3 { max-width: 100%; }
  .why-grid { gap: 60px; }
  .process .steps { grid-template-columns: repeat(3, 1fr); }
  .process .steps article:not(:last-child)::after { display: none; }
}

@media (max-width: 900px) {
  .shell { width: min(100% - 44px, 760px); }
  .section { padding: 100px 0; }
  .header-inner { height: 80px; }
  .brand { width: 170px; }
  .main-nav { border: 0; background: transparent; }
  .header-cta { display: none; }
  .hero { min-height: auto; padding: 90px 0 78px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 720px; }
  .hero-visual-shell { min-height: 510px; width: min(100%, 650px); margin: 0 auto; }
  .portal-visual { height: 510px; }
  .hero-visual-badge { right: 6%; bottom: 38px; }
  .intro .two-col { grid-template-columns: 1fr; gap: 28px; }
  .intro .section-label { padding: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 55px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .final-inner { width: min(100% - 44px, 760px); padding: 60px 50px; }
  .page-content > .shell,
  .detail-grid,
  .story-grid { grid-template-columns: 1fr; gap: 55px; }
  .service-hero { min-height: 780px; padding-bottom: 390px; }
  .service-hero::after { inset: auto 22px 40px; height: 330px; }
  .service-hero > .shell { min-height: 0; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 38px; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 34px, 620px); }
  .section { padding: 78px 0; }
  .header-inner { height: 72px; }
  .brand { width: 148px; }
  .menu-toggle { display: block; }
  .menu-open .main-nav {
    top: 72px;
    padding: 18px 17px 25px;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 38px rgba(10, 33, 70, .12);
  }
  .menu-open .main-nav a { width: 100%; padding: 11px 12px; }
  .hero { padding: 67px 0 55px; }
  .hero::before { background-size: 48px 48px; }
  .hero h1,
  .page-hero h1,
  .service-hero h1,
  .project-hero h1 { margin: 19px 0 22px; font-size: clamp(42px, 12.5vw, 55px); line-height: 1.01; }
  .hero p,
  .page-hero p,
  .service-hero p { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 10px; margin-top: 27px; }
  .hero-visual-shell { min-height: 360px; }
  .portal-visual { width: 112%; height: 360px; }
  .hero-visual-shell::before { inset: 20px -15px; }
  .hero-orbit-one { width: 310px; height: 310px; }
  .hero-orbit-two { width: 370px; height: 370px; }
  .hero-visual-badge { right: 0; bottom: 12px; min-width: 222px; padding: 13px 15px; }
  .two-col h2,
  .section-head h2,
  .why-copy h2,
  .process h2,
  .faq h2,
  .page-main h2 { font-size: 37px; }
  .rich-text { font-size: 16px; }
  .intro .benefit-list { grid-template-columns: 1fr; gap: 12px; margin-top: 38px; }
  .intro .benefit-list article,
  .intro .benefit-list article:nth-child(odd) { min-height: 0; padding: 24px 20px 23px 74px; border-radius: 16px; }
  .intro .benefit-list span { top: 23px; left: 20px; width: 39px; height: 39px; }
  .section-head { gap: 22px; margin-bottom: 37px; }
  .service-grid { grid-template-columns: 1fr; gap: 15px; }
  .service-card { min-height: 415px; padding: 190px 23px 69px; border-radius: 18px; }
  .service-card::before { height: 160px; border-radius: 17px 17px 0 0; }
  .service-card .service-icon { top: 131px; left: 22px; }
  .service-card .card-number { top: 177px; }
  .service-card > a { left: 23px; }
  .why-items { grid-template-columns: 1fr; }
  .why-items article { min-height: 0; padding: 25px; }
  .project-grid { grid-template-columns: 1fr; gap: 16px; }
  .process .steps { grid-template-columns: 1fr; gap: 12px; }
  .process .steps article,
  .process .steps article:not(:first-child) { min-height: 0; padding: 21px; }
  .process .steps article > span { width: 44px; height: 44px; }
  .process .steps h3 { margin: 17px 0 0; }
  .final-cta { padding: 35px 0; }
  .final-inner { width: min(100% - 24px, 620px); padding: 48px 25px; border-radius: 22px; }
  .final-cta h2 { font-size: 40px; }
  .final-cta p { font-size: 16px; }
  .page-hero,
  .service-hero,
  .project-hero { padding: 82px 0 68px; }
  .page-content { padding-top: 68px; }
  .contact-layout .page-main { padding: 26px 20px; }
  .page-cards > article { min-height: 0; padding: 23px 20px 22px 70px; }
  .service-hero { min-height: 690px; padding-bottom: 320px; }
  .service-hero::after { inset: auto 17px 28px; height: 275px; border-radius: 19px; }
  .include-grid { grid-template-columns: 1fr; gap: 12px; }
  .workflow .steps { grid-template-columns: 1fr; }
  .project-title { grid-template-columns: 1fr; }
  .project-featured { margin-top: 42px; border-radius: 18px; }
  .result-card { padding: 29px 23px; border-radius: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 25px; }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 13px; }
  .inquiry-float { right: 13px; bottom: 13px; min-height: 48px; padding: 11px 13px 11px 16px; }
}

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