/*
Theme Name: RAM Computer
Theme URI: https://www.ramcomputer.com.bd/
Author: RAM Computer
Description: A responsive custom corporate homepage theme for RAM Computer, inspired by the company's blue and white profile design.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ram-computer
*/

:root {
  --navy-950: #07101f;
  --navy-900: #0b1830;
  --navy-800: #12264b;
  --blue-700: #1f4695;
  --blue-600: #2b59b2;
  --blue-500: #3d70d3;
  --blue-100: #dcecff;
  --blue-50: #f2f8ff;
  --ink: #101e38;
  --slate: #536176;
  --line: #d8e1ed;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 24, 48, .12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 5.6vw, 5.6rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.35rem, 4vw, 4.2rem); }
h3 { font-size: 1.35rem; }
p { color: var(--slate); }
em { color: var(--blue-600); font-style: normal; }

.site-container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 120px 0; }
.skip-link {
  position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 10px 16px;
  transform: translateY(-150%); color: #fff; background: var(--navy-950); border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
  color: var(--blue-600); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow > span { width: 34px; height: 3px; background: currentColor; }
.eyebrow-light { color: #a8c9ff; }
.lead { color: var(--ink); font-size: 1.16rem; line-height: 1.75; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 25px;
  color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); border: 1px solid transparent;
  border-radius: 9px; box-shadow: 0 14px 34px rgba(31, 70, 149, .24); font-weight: 800; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(31, 70, 149, .34); }
.button-small { min-height: 44px; padding-inline: 18px; font-size: .88rem; }
.button-light { color: var(--navy-900); background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .15); }
.text-link { color: var(--ink); font-weight: 800; }
.text-link span { margin-left: 6px; color: var(--blue-600); }

/* Header */
.topbar { color: rgba(255,255,255,.82); background: var(--navy-950); font-size: .78rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 37px; }
.topbar a { color: #fff; font-weight: 700; }
.site-header {
  position: sticky; z-index: 900; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(216,225,237,.75);
  backdrop-filter: blur(14px); transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(11,24,48,.08); }
.header-inner { display: flex; align-items: center; min-height: 85px; gap: 26px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 13px; }
.brand img, .brand .custom-logo { width: 58px; height: 48px; object-fit: cover; }
.brand-copy { display: grid; gap: 1px; line-height: 1.1; }
.brand-copy strong { color: var(--ink); font-size: .92rem; letter-spacing: .055em; }
.brand-copy small { color: var(--slate); font-size: .64rem; }
.primary-navigation { margin-left: auto; }
.site-menu { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-menu a { position: relative; color: #34445d; font-size: .89rem; font-weight: 700; }
.site-menu a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; content: ""; transform: scaleX(0); background: var(--blue-600); transition: transform .2s ease; }
.site-menu a:hover::after, .site-menu a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 43px; height: 43px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 8px; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 104px 0 0; background: linear-gradient(145deg, #f8fbff 0%, #eef7ff 54%, #fff 100%); }
.hero::before {
  position: absolute; top: -100px; right: -90px; width: 47vw; height: 560px; content: "";
  background: linear-gradient(140deg, var(--blue-700), var(--navy-950) 74%); clip-path: polygon(26% 0, 100% 0, 100% 78%, 72% 100%, 0 16%);
}
.hero::after { position: absolute; right: 2%; bottom: 64px; width: 280px; height: 280px; content: ""; border: 1px solid rgba(61,112,211,.14); border-radius: 50%; }
.hero-shape { position: absolute; pointer-events: none; }
.hero-shape-one { bottom: 22px; left: -120px; width: 410px; height: 230px; opacity: .7; background: var(--blue-100); clip-path: polygon(0 45%, 75% 0, 100% 55%, 30% 100%); }
.hero-shape-two { top: 40%; left: 47%; width: 150px; height: 150px; border: 26px solid rgba(61,112,211,.08); border-radius: 50%; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 70px; min-height: 625px; }
.hero-copy { padding-bottom: 46px; }
.hero h1 { max-width: 730px; margin-bottom: 28px; }
.hero-intro { max-width: 650px; margin-bottom: 34px; font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.trust-line { display: flex; align-items: center; gap: 14px; margin-top: 42px; color: #4f5d72; font-size: .8rem; line-height: 1.5; }
.trust-mark { display: grid; place-items: center; width: 64px; height: 64px; color: #fff; background: var(--navy-900); border-radius: 50%; font-size: 1.2rem; font-weight: 900; }
.hero-visual { position: relative; min-height: 540px; }
.visual-ring { position: absolute; overflow: hidden; background: #fff; border: 12px solid #fff; border-radius: 50%; box-shadow: var(--shadow); }
.visual-ring img { width: 100%; height: 100%; object-fit: cover; }
.visual-ring-large { top: 15px; right: 25px; width: 410px; height: 410px; }
.visual-ring-small { right: 0; bottom: 18px; width: 235px; height: 235px; border-width: 9px; }
.visual-badge {
  position: absolute; bottom: 66px; left: 6px; display: grid; gap: 2px; padding: 18px 22px; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-900)); border: 5px solid rgba(255,255,255,.85); border-radius: 16px; box-shadow: var(--shadow);
}
.visual-badge strong { font-size: 1.05rem; }
.visual-badge span { color: rgba(255,255,255,.75); font-size: .72rem; }
.hero-metrics { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4,1fr); color: #fff; background: var(--navy-900); border-radius: 22px 22px 0 0; }
.hero-metrics > div { display: grid; gap: 2px; padding: 25px 30px; border-right: 1px solid rgba(255,255,255,.11); }
.hero-metrics > div:last-child { border: 0; }
.hero-metrics strong { font-size: .98rem; }
.hero-metrics span { color: rgba(255,255,255,.63); font-size: .72rem; }

/* About */
.split-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 105px; }
.section-visual { position: relative; }
.section-visual::before { position: absolute; z-index: -1; top: -36px; left: -38px; width: 76%; height: 70%; content: ""; background: var(--blue-100); clip-path: polygon(0 0,100% 14%,80% 100%,8% 88%); }
.image-frame { overflow: hidden; width: 88%; aspect-ratio: 1/1.08; margin-left: auto; border-radius: 50% 50% 26px 50%; box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.experience-card { position: absolute; bottom: 24px; left: 0; display: flex; align-items: center; gap: 14px; padding: 20px 23px; color: #fff; background: var(--navy-900); border-radius: 14px; box-shadow: var(--shadow); }
.experience-card strong { color: #8db7ff; font-size: 2.2rem; line-height: 1; }
.experience-card span { color: rgba(255,255,255,.78); font-size: .78rem; line-height: 1.45; }
.section-copy > p:not(.eyebrow) { margin-bottom: 20px; }
.value-strip { display: flex; gap: 28px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.value-strip span { color: var(--ink); font-size: .84rem; font-weight: 800; }
.value-strip span::before { display: inline-block; width: 8px; height: 8px; margin-right: 9px; content: ""; background: var(--blue-600); border-radius: 50%; }

/* Vision & mission */
.vision-mission { overflow: hidden; background: var(--blue-50); }
.vision-mission::before { position: absolute; right: -100px; bottom: -140px; width: 510px; height: 330px; content: ""; opacity: .55; background: #c9e6ff; clip-path: polygon(0 45%, 72% 0, 100% 78%, 22% 100%); }
.section-heading { max-width: 780px; margin-bottom: 55px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading > p:last-child { max-width: 690px; margin: 0 auto; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vm-card { position: relative; overflow: hidden; min-height: 310px; padding: 55px; border-radius: var(--radius-lg); }
.vm-card::after { position: absolute; right: -65px; bottom: -80px; width: 250px; height: 250px; content: ""; border: 42px solid rgba(61,112,211,.10); border-radius: 50%; }
.vm-card h3 { margin: 34px 0 18px; font-size: 2rem; }
.vm-card p { max-width: 500px; font-size: 1.05rem; }
.vm-light { background: #fff; box-shadow: var(--shadow); }
.vm-dark { color: #fff; background: linear-gradient(140deg, var(--blue-700), var(--navy-950)); }
.vm-dark h3, .vm-dark p { color: #fff; }
.vm-dark p { color: rgba(255,255,255,.74); }
.card-number { font-size: .8rem; font-weight: 900; letter-spacing: .15em; }
.vm-light .card-number { color: var(--blue-600); }
.vm-dark .card-number { color: #9dc0ff; }

/* Shared heading and services */
.heading-row { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 70px; margin-bottom: 55px; }
.heading-row h2 { margin-bottom: 0; }
.heading-row > p { margin-bottom: 6px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(11,24,48,.06); }
.service-card { position: relative; min-height: 340px; padding: 38px 28px 32px; background: #fff; border-right: 1px solid var(--line); }
.service-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.service-card:last-child { border-right: 0; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.service-card:nth-child(even) { background: var(--blue-50); }
.service-card h3 { max-width: 190px; margin: 38px 0 18px; }
.service-card p, .service-card div p { font-size: .88rem; line-height: 1.65; }
.service-index { position: absolute; top: 36px; right: 24px; color: #b2bdcb; font-size: .74rem; font-weight: 900; }
.service-icon { display: grid; place-items: center; width: 68px; height: 68px; color: var(--blue-600); background: #fff; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 12px 30px rgba(11,24,48,.08); }
.service-icon svg, .check-icon svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Team */
.team { background: #f8fafc; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 820px; margin-inline: auto; }
.team-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 50px rgba(11,24,48,.07); }
.team-photo { position: relative; overflow: hidden; aspect-ratio: 1.18/1; background: linear-gradient(135deg, #deecff, #fff); }
.team-photo::after { position: absolute; right: -50px; bottom: -90px; width: 220px; height: 150px; content: ""; transform: rotate(-14deg); background: rgba(43,89,178,.12); }
.team-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: saturate(.88); }
.photo-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--blue-700); font-size: 4rem; font-weight: 900; }
.team-copy { padding: 28px 28px 32px; }
.team-copy > span { color: var(--blue-600); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.team-copy h3 { margin: 9px 0 15px; font-size: 1.5rem; }
.team-copy p { margin: 0; font-size: .86rem; line-height: 1.65; }

/* Projects */
.projects { overflow: hidden; color: #fff; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); }
.projects::before { position: absolute; top: -180px; left: -140px; width: 520px; height: 520px; content: ""; border: 75px solid rgba(61,112,211,.12); border-radius: 50%; }
.projects::after { position: absolute; right: -140px; bottom: -140px; width: 440px; height: 300px; content: ""; background: rgba(61,112,211,.16); clip-path: polygon(0 40%, 80% 0, 100% 70%, 22% 100%); }
.projects-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.projects-intro { position: sticky; top: 130px; align-self: start; }
.projects h2, .projects h3 { color: #fff; }
.projects-intro > p:not(.eyebrow) { margin-bottom: 34px; color: rgba(255,255,255,.65); }
.project-list { border-top: 1px solid rgba(255,255,255,.15); }
.project-item { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.project-item > span { color: #7faaff; font-size: .78rem; font-weight: 900; }
.project-item small { color: #8eb6ff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-item h3 { margin: 7px 0 10px; font-size: 1.25rem; letter-spacing: -.02em; }
.project-item p { margin: 0; color: rgba(255,255,255,.6); font-size: .85rem; }

/* Advantages */
.advantage-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.advantage-card { grid-column: span 2; min-height: 280px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.advantage-card:nth-child(4) { grid-column: 2 / span 2; }
.advantage-card:hover { transform: translateY(-6px); border-color: #a8c5f5; box-shadow: var(--shadow); }
.advantage-card > span { float: right; color: #b5c0cf; font-size: .72rem; font-weight: 900; }
.advantage-card h3 { margin: 32px 0 14px; font-size: 1.22rem; }
.advantage-card p { margin: 0; font-size: .86rem; }
.check-icon { display: grid; float: left; place-items: center; width: 48px; height: 48px; color: var(--blue-600); background: var(--blue-50); border-radius: 50%; }
.check-icon svg { width: 27px; }

/* Contact and footer */
.contact-section { padding: 40px 0 120px; }
.contact-card { position: relative; overflow: hidden; display: grid; grid-template-columns: .72fr 1.28fr; min-height: 480px; color: #fff; background: linear-gradient(135deg, var(--blue-700), var(--navy-950)); border-radius: 34px; box-shadow: var(--shadow); }
.contact-card::after { position: absolute; right: -100px; bottom: -140px; width: 430px; height: 300px; content: ""; background: rgba(255,255,255,.06); clip-path: polygon(0 50%, 70% 0, 100% 80%, 20% 100%); }
.contact-image { position: relative; min-height: 480px; }
.contact-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, transparent 58%, var(--blue-700)); }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }
.contact-copy { position: relative; z-index: 2; align-self: center; padding: 65px 70px 65px 42px; }
.contact-copy h2 { color: #fff; font-size: clamp(2.4rem, 3.8vw, 4.1rem); }
.contact-copy > p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.7); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 30px 0 20px; }
.contact-email { color: #fff; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.4); }
.contact-copy .address { max-width: 520px; margin-bottom: 0; font-size: .78rem; }
.site-footer { padding: 80px 0 24px; color: #fff; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr 1fr; gap: 80px; padding-bottom: 60px; }
.brand-light .brand-copy strong { color: #fff; }
.brand-light .brand-copy small { color: rgba(255,255,255,.62); }
.footer-grid > div:first-child p { max-width: 390px; margin-top: 24px; }
.footer-grid h2 { margin-bottom: 22px; color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a { display: block; margin-bottom: 11px; color: rgba(255,255,255,.78); }
.footer-grid p { color: rgba(255,255,255,.52); font-size: .86rem; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; color: rgba(255,255,255,.42); border-top: 1px solid rgba(255,255,255,.1); font-size: .73rem; }

/* Standard content */
.entry-shell { min-height: 60vh; padding: 90px 0; }
.entry-card { max-width: 860px; margin: auto; }
.entry-card h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.entry-image { margin: 35px 0; overflow: hidden; border-radius: var(--radius-md); }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .site-menu { gap: 20px; }
  .hero-grid { gap: 35px; }
  .visual-ring-large { width: 360px; height: 360px; }
  .visual-ring-small { width: 205px; height: 205px; }
  .split-grid { gap: 65px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { border-bottom: 1px solid var(--line); }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-last-child(-n+2) { border-bottom: 0; }
  .service-card:first-child { border-radius: var(--radius-lg) 0 0 0; }
  .service-card:last-child { border-radius: 0 0 var(--radius-lg) 0; }
}

@media (max-width: 860px) {
  .site-container { width: min(calc(100% - 36px), var(--container)); }
  .section { padding: 90px 0; }
  .topbar-inner > span { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { min-height: 76px; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-navigation {
    position: fixed; z-index: 899; top: 113px; right: 0; left: 0; overflow: auto; max-height: calc(100vh - 113px); margin: 0;
    transform: translateX(100%); background: #fff; border-top: 1px solid var(--line); transition: transform .25s ease;
  }
  .primary-navigation.is-open { transform: translateX(0); }
  .site-menu { display: block; padding: 22px 18px 34px; }
  .site-menu li { border-bottom: 1px solid var(--line); }
  .site-menu a { display: block; padding: 15px 8px; font-size: 1rem; }
  .site-menu a::after { display: none; }
  .hero { padding-top: 70px; }
  .hero::before { top: auto; right: -90px; bottom: 100px; width: 65vw; height: 400px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { min-height: 500px; }
  .visual-ring-large { right: 16%; width: 400px; height: 400px; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .hero-metrics > div:nth-child(2) { border-right: 0; }
  .hero-metrics > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.11); }
  .split-grid, .projects-layout { grid-template-columns: 1fr; gap: 70px; }
  .image-frame { width: 72%; margin: auto; }
  .experience-card { left: 7%; }
  .vm-grid { grid-template-columns: 1fr; }
  .heading-row { grid-template-columns: 1fr; gap: 24px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .projects-intro { position: static; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-card, .advantage-card:nth-child(4) { grid-column: auto; }
  .advantage-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); margin: auto; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-image { min-height: 310px; }
  .contact-image::after { background: linear-gradient(0deg, var(--blue-700), transparent 58%); }
  .contact-copy { padding: 45px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .site-container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 74px 0; }
  .brand-copy { display: none; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 400px; }
  .visual-ring-large { top: 0; right: 2%; width: 305px; height: 305px; border-width: 8px; }
  .visual-ring-small { right: 0; bottom: 0; width: 165px; height: 165px; border-width: 6px; }
  .visual-badge { bottom: 26px; left: 0; padding: 13px 15px; }
  .hero-metrics { width: calc(100% - 20px); grid-template-columns: 1fr 1fr; }
  .hero-metrics > div { padding: 20px 18px; }
  .split-grid { gap: 55px; }
  .image-frame { width: 90%; }
  .experience-card { bottom: -14px; left: 0; }
  .value-strip { flex-wrap: wrap; gap: 14px 22px; }
  .vm-card { min-height: 280px; padding: 38px 30px; }
  .service-grid, .team-grid, .advantage-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
  .service-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; }
  .service-card:last-child { border-bottom: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important; }
  .service-card:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .advantage-card:last-child { grid-column: auto; width: 100%; }
  .project-item { grid-template-columns: 42px 1fr; gap: 10px; }
  .contact-section { padding: 20px 0 80px; }
  .contact-card { width: calc(100% - 20px); border-radius: 24px; }
  .contact-image { min-height: 240px; }
  .contact-copy { padding: 38px 26px 42px; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}
