/* ----------------------------------------------------------- */
/*  Tokens                                                      */
/* ----------------------------------------------------------- */

:root {
  --color-cyan: #2dc6c0;
  --color-cyan-hover: #26a49f;
  --color-cyan-soft: #2db7b2;

  --color-coral: #ed6450;
  --color-coral-hover: #da5f4d;
  --color-blue: #3286e9;

  --color-navy: #47485f;
  --color-navy-deep: #353648;
  --color-navy-soft: #646686;

  --color-text: #999999;
  --color-text-strong: #606060;
  --color-text-muted: #8c9aaa;

  --color-bg: #ffffff;
  --color-bg-soft: #f7f8fb;
  --color-bg-soft-2: #f8f9fc;
  --color-bg-soft-3: #f5f6fa;
  --color-bg-dark: #333333;

  --color-border: #e9ecef;
  --color-border-2: #f0f1f4;
  --color-border-3: #ededed;

  --grad-cyan: linear-gradient(135deg, #2dc6c0 0%, #26a49f 100%);
  --grad-dark: linear-gradient(135deg, #47485f 0%, #353648 100%);

  --container: 1170px;
  --header-height: 90px;

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --transition: 0.3s ease-in-out;
  --transition-slow: 0.7s ease-in-out;

  --shadow-sm: 0 2px 8px rgba(53, 54, 72, 0.08);
  --shadow-md: 0 8px 24px rgba(53, 54, 72, 0.12);
  --shadow-lg: 0 18px 48px rgba(53, 54, 72, 0.18);
}

/* ----------------------------------------------------------- */
/*  Base                                                        */
/* ----------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--color-text-strong);
  line-height: 1.4;
  margin: 0 0 12px;
  text-align: center;
}

h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 300; }
h3 { font-size: 1.4rem; font-weight: 400; }
h4 { font-size: 1.2rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; color: var(--color-cyan); }
h6 { font-size: 0.95rem; font-weight: 600; color: var(--color-text-muted); }

p { margin: 0 0 18px; }

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--color-cyan-hover); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
  border-radius: var(--radius);
}

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

.skip-link {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--color-cyan);
  border-radius: var(--radius);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ----------------------------------------------------------- */
/*  Layout helpers                                              */
/* ----------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 20px;
}

.section + .section {
  padding-top: 0;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-head h3,
.section-head .lead {
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 720px;
  margin: 0 auto;
}

/* ----------------------------------------------------------- */
/*  Buttons                                                     */
/* ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 16px 32px;
  color: #fff;
  background: var(--color-cyan);
  border: 0;
  border-bottom: 4px solid var(--color-cyan-hover);
  border-radius: var(--radius);
  cursor: pointer;
  text-transform: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  color: #fff;
  background: var(--color-cyan-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: translateY(0);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  color: var(--color-navy-deep);
  background: transparent;
  border: 1px solid var(--color-border);
  border-bottom: 4px solid var(--color-border);
}

.btn-ghost:hover {
  color: #fff;
  background: var(--color-navy);
  border-color: var(--color-navy);
  border-bottom-color: var(--color-navy-deep);
}

.btn-dark {
  background: var(--color-navy);
  border-bottom-color: var(--color-navy-deep);
}

.btn-dark:hover {
  color: #fff;
  background: var(--color-navy-deep);
}

.promo-box .btn-ghost,
.parallax .btn-ghost,
.hero .btn-ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom-width: 1px;
}

.promo-box .btn-ghost:hover,
.parallax .btn-ghost:hover,
.hero .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ----------------------------------------------------------- */
/*  Header & nav                                                */
/* ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.06);
}

.site-header.is-fixed {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  max-height: 50px;
}

.site-nav {
  flex: 1;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-block;
  padding: 12px 16px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav-menu a:hover {
  color: #fff;
  background: var(--color-cyan);
}

.nav-menu a.active {
  color: #fff;
  background: var(--color-navy-deep);
}

.social-top {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.social-top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.social-top a:hover {
  color: #fff;
  background: var(--color-cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text-strong);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Anchor offset under sticky header */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* ----------------------------------------------------------- */
/*  Hero slider                                                 */
/* ----------------------------------------------------------- */

.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--color-navy-deep);
}

.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition-delay: 0s;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(53, 54, 72, 0.55), rgba(53, 54, 72, 0.7));
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 720px;
}

.hero-title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.hero-arrow {
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #fff;
  background: rgba(53, 54, 72, 0.7);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}

.hero-arrow:hover {
  background: var(--color-cyan);
}

.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-dots {
  z-index: 2;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.hero-dots button.is-active {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

/* ----------------------------------------------------------- */
/*  Modern Box                                                  */
/* ----------------------------------------------------------- */

.modern-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.modern-box-text h2 {
  text-align: left;
  line-height: 1.3;
  margin-bottom: 24px;
}

.modern-box-text strong {
  color: var(--color-navy-deep);
  font-weight: 700;
}

.modern-box-text p {
  margin-bottom: 28px;
}

.modern-box-media img {
  margin: 0 auto;
}

/* ----------------------------------------------------------- */
/*  Parallax                                                    */
/* ----------------------------------------------------------- */

.parallax {
  position: relative;
  padding: 90px 20px;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  color: #fff;
}

.parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(53, 54, 72, 0.6);
}

.parallax > * {
  position: relative;
}

.parallax .section-head h2,
.parallax .section-head h3,
.parallax .type-prose :is(h1, h2, h3, h4, h5, h6) {
  color: #fff;
}

.parallax .section-head h3 {
  color: rgba(255, 255, 255, 0.85);
}

/* ----------------------------------------------------------- */
/*  Services grid                                               */
/* ----------------------------------------------------------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.main-service {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.main-service:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-md);
  border-color: var(--color-cyan);
}

.main-service-icon {
  display: inline-grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  font-size: 36px;
  color: #fff;
  background: var(--color-cyan);
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}

.main-service:hover .main-service-icon {
  background: var(--color-navy);
  color: #fff;
}

.parallax .main-service:hover .main-service-icon {
  background: #fff;
  color: var(--color-cyan);
}

.main-service h3 {
  color: var(--color-text-strong);
  margin-bottom: 12px;
}

.main-service p {
  color: var(--color-text);
  margin: 0;
}

.parallax .main-service {
  background: rgba(255, 255, 255, 0.05);
  border-color: transparent;
  backdrop-filter: blur(2px);
}

.parallax .main-service:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  border-color: transparent;
}

.parallax .main-service h3 {
  color: #fff;
}

.parallax .main-service p {
  color: rgba(255, 255, 255, 0.85);
}

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

/* ----------------------------------------------------------- */
/*  Tabs (Team)                                                 */
/* ----------------------------------------------------------- */

.tabs-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.tab-btn {
  display: block;
  width: 100%;
  padding: 0;
  background: var(--color-bg-soft-2);
  border: 0;
  cursor: pointer;
  overflow: hidden;
  transition: opacity var(--transition);
  position: relative;
}

.tab-btn img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.tab-btn:hover img,
.tab-btn.is-active img {
  opacity: 1;
}

.tab-btn.is-active::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--color-cyan);
}

.tab-panel {
  background: var(--color-bg);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.tab-panel-grid img {
  width: 100%;
  border-radius: var(--radius-md);
}

.tab-panel-grid h3 {
  text-align: left;
  color: var(--color-cyan);
  margin-bottom: 4px;
  padding-top: 12px;
}

.tab-panel-grid h6 {
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

/* ----------------------------------------------------------- */
/*  Social icons                                                */
/* ----------------------------------------------------------- */

.social,
.social-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.social a,
.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 16px;
  color: #fff;
  background: var(--color-navy);
  border-radius: var(--radius);
  transition: background var(--transition);
}

.social a:hover,
.social-list a:hover {
  background: var(--color-cyan);
}

/* ----------------------------------------------------------- */
/*  Projects grid                                               */
/* ----------------------------------------------------------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.image-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-cyan);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.image-item:hover img {
  transform: scale(1.06);
  opacity: 0.4;
}

.image-item-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition);
}

.image-item:hover .image-item-overlay {
  opacity: 1;
}

/* ----------------------------------------------------------- */
/*  Future Box (video)                                          */
/* ----------------------------------------------------------- */

.future-box {
  padding: 80px 20px;
  background: var(--color-bg-soft-3);
}

.future-box-monitor {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.future-box-frame {
  width: 100%;
  height: auto;
  display: block;
}

.future-box-screen {
  position: absolute;
  top: 4%;
  left: 13%;
  width: 74%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.future-box-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----------------------------------------------------------- */
/*  Promo box (quote)                                           */
/* ----------------------------------------------------------- */

.promo-box {
  background: var(--color-cyan);
  padding: 50px 20px;
}

.promo-box-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.promo-box blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: italic;
}

.promo-box cite {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  font-style: normal;
  opacity: 0.85;
}

/* ----------------------------------------------------------- */
/*  Partners                                                    */
/* ----------------------------------------------------------- */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.partners-grid a {
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: var(--radius);
  filter: grayscale(1) opacity(0.7);
  transition: filter var(--transition), transform var(--transition);
}

.partners-grid a:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------- */
/*  Expanded home modules                                       */
/* ----------------------------------------------------------- */

.compact-head {
  text-align: left;
  margin-bottom: 28px;
}

.compact-head h2,
.compact-head h3 {
  text-align: left;
  margin-left: 0;
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-preview-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 20px;
  align-items: end;
}

.about-preview-media > img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-preview-media > img:last-child {
  margin-bottom: -30px;
  background: var(--color-bg-soft);
  padding: 16px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  min-height: 42px;
  min-width: 102px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

.portfolio-filter-grid,
.shop-grid,
.pricing-grid,
.blog-grid,
.card-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-filter-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-card,
.shop-card,
.pricing-card,
.blog-card,
.content-card,
.product-card {
  display: block;
  overflow: hidden;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.portfolio-card[hidden] {
  display: none;
}

.portfolio-card:hover,
.shop-card:hover,
.pricing-card:hover,
.blog-card:hover,
.content-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-cyan);
}

.portfolio-card img,
.shop-card img,
.blog-card img,
.product-card img,
.media-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.shop-card > div,
.pricing-card,
.content-card,
.product-card {
  padding: 24px;
}

.blog-card {
  padding: 0 0 24px;
}

.blog-card > a:has(img) {
  display: block;
}

.blog-card > .meta,
.blog-card > h3,
.blog-card > p,
.blog-card > .text-link {
  padding-inline: 24px;
}

.blog-card > .meta {
  padding-top: 20px;
}

.portfolio-card span,
.meta {
  display: block;
  margin-bottom: 8px;
  color: var(--color-cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-card span {
  padding: 18px 20px 0;
}

.portfolio-card h3 {
  padding: 6px 20px 0;
  margin: 0;
  color: var(--color-navy-deep);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
}

.portfolio-card p {
  padding: 8px 20px 20px;
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.55;
}

.stats-band {
  color: #fff;
  background: var(--grad-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid article {
  min-height: 160px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 28px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid strong {
  color: var(--color-cyan);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
}

.stats-grid span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  color: var(--color-cyan);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
}

.shop-card h3,
.blog-card h3,
.content-card h3,
.product-card h3 {
  text-align: left;
}

.pricing-card {
  text-align: center;
}

.pricing-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: 0 auto 14px;
}

.pricing-card.is-featured {
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-md);
}

.page-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.page-link-grid a {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--color-text-strong);
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.page-link-grid a:hover {
  color: #fff;
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

/* ----------------------------------------------------------- */
/*  Inner pages                                                 */
/* ----------------------------------------------------------- */

.page-hero {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 72px 20px;
  text-align: center;
  color: #fff;
  background-color: var(--color-navy-deep);
  background-image: url('img/hero/hero-2.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.page-hero.parallax {
  background-attachment: scroll;
}

.page-hero::before,
.page-hero.parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(53, 54, 72, 0.58);
}

.page-hero > * {
  position: relative;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.page-main {
  padding: 80px 20px;
}

.detail-grid,
.checkout-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.product-detail .about-preview-grid {
  align-items: start;
}

.cart-summary {
  color: #fff;
  background: var(--color-navy-deep);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.cart-summary h3,
.cart-summary h4 {
  color: #fff;
  text-align: left;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cart-line:last-child {
  color: var(--color-cyan);
  border-bottom: 0;
  font-weight: 800;
}

.search-form {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.search-form input {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--color-navy-soft);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius);
}

/* ----------------------------------------------------------- */
/*  Contact form                                                */
/* ----------------------------------------------------------- */

.contact-form {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border-2);
  border-bottom: 1px solid var(--color-border-2);
  padding: 80px 20px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-strong);
}

.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-navy-soft);
  background: #fff;
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23646686' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-field input:not([type="checkbox"]):not([type="radio"]):focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(45, 198, 192, 0.18);
  outline: none;
}

.form-field input[type="checkbox"],
.form-field input[type="radio"],
.form label input[type="checkbox"],
.form label input[type="radio"] {
  width: 1.15em;
  height: 1.15em;
  margin: 0 8px 0 0;
  accent-color: var(--color-cyan);
  vertical-align: middle;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #ff4b64;
}

.form-status {
  font-size: 14px;
  min-height: 22px;
}

.form-status.is-success { color: var(--color-cyan); }
.form-status.is-error { color: #ff4b64; }

.contact-intro h4,
.contact-intro h5 {
  text-align: left;
  margin-bottom: 12px;
}

.contact-intro p {
  margin-bottom: 20px;
}

.contact-intro img {
  width: auto;
  max-height: 40px;
  margin: 8px 0 20px;
}

.contact-intro h5 {
  margin-top: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.contact-facts,
.contact-hints {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.contact-facts li,
.contact-hints li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-strong);
  font-size: 14px;
}

.contact-facts li:last-child,
.contact-hints li:last-child {
  border-bottom: 0;
}

.contact-facts i {
  width: 1.1em;
  color: var(--color-cyan);
  margin-top: 3px;
}

.contact-hints li::before {
  content: '–';
  color: var(--color-cyan);
  font-weight: 700;
}

/* ----------------------------------------------------------- */
/*  Stay in touch                                               */
/* ----------------------------------------------------------- */

.stay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stay-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.stay-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-cyan);
}

.stay-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  font-size: 24px;
  color: #fff;
  background: var(--grad-cyan);
  border-radius: 50%;
  margin-bottom: 16px;
}

.stay-card h5 {
  color: var(--color-text-strong);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stay-card p {
  margin-bottom: 12px;
  font-size: 14px;
}

.stay-card p:last-child {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.price span,
.price small {
  margin-left: 6px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.pricing-grid:has(> .pricing-card:only-child) {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.image-item[hidden],
.portfolio-card[hidden] {
  display: none;
}

/* ----------------------------------------------------------- */
/*  Inner-page components                                       */
/* ----------------------------------------------------------- */

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.shop-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-text-strong);
}

.shop-toolbar select {
  min-height: 44px;
  padding: 8px 36px 8px 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-navy-soft);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23646686' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  appearance: none;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.pagination a {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  color: var(--color-text-strong);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.pagination a:hover,
.pagination a.is-active {
  color: #fff;
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

.plan-feature-list,
.product-features,
.bulleted-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.plan-feature-list li,
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border-2);
  color: var(--color-text-strong);
}

.plan-feature-list li:last-child,
.product-features li:last-child {
  border-bottom: 0;
}

.plan-feature-list .fa-check,
.product-features .fa-check {
  color: var(--color-cyan);
  margin-top: 4px;
}

.plan-feature-list .muted {
  color: var(--color-text-muted);
}

.plan-feature-list .fa-xmark {
  color: #c9ced8;
  margin-top: 4px;
}

.pricing-card h3,
.product-info h2,
.checkout-summary h3,
.cart-total h3,
.blog-detail h2,
.blog-detail h3,
.blog-sidebar h4,
.project-detail-section h2,
.comment-form-section h2,
.search-results h3 {
  text-align: left;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 4px 20px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  color: var(--color-text-strong);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  float: right;
  color: var(--color-cyan);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: '–';
}

.faq-list details p {
  padding-bottom: 16px;
  color: var(--color-text);
}

.data-table,
.bp-table,
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.data-table th,
.data-table td,
.bp-table th,
.bp-table td,
.cart-table th,
.cart-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.data-table th,
.bp-table th,
.cart-table thead th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.cart-layout,
.search-layout {
  overflow-x: auto;
}

.cart-table {
  min-width: 640px;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 400;
  text-align: left;
}

.cart-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-table input[type="number"] {
  width: 72px;
  min-height: 44px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.cart-remove {
  width: 40px;
  height: 40px;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
}

.cart-remove:hover {
  color: #fff;
  background: var(--color-coral);
  border-color: var(--color-coral);
}

.cart-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 30px;
  align-items: start;
  margin-top: 32px;
}

.coupon-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}

.coupon-form label {
  flex: 1 1 100%;
  font-weight: 600;
  color: var(--color-text-strong);
}

.coupon-form input {
  flex: 1 1 180px;
  min-height: 52px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.cart-total,
.checkout-summary {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.cart-total dl,
.cart-total-dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  margin: 0 0 24px;
}

.cart-total dt,
.cart-total-dl dt,
.dl-list dt {
  color: var(--color-text-muted);
}

.cart-total dd,
.cart-total-dl dd,
.dl-list dd {
  margin: 0;
  text-align: right;
  color: var(--color-text-strong);
  font-weight: 600;
}

.cart-total .total,
.cart-total-dl .total {
  color: var(--color-navy-deep);
  font-size: 1.15rem;
  font-weight: 800;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

.cart-total .btn + .btn {
  margin-top: 10px;
}

.cart-total .btn,
.product-form .btn {
  width: 100%;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 40px;
  align-items: start;
}

.checkout-form fieldset {
  margin: 0 0 28px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid var(--color-border-2);
}

.checkout-form legend {
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-strong);
}

.checkout-form fieldset > label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--color-text-strong);
}

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.radio-card:has(input:checked) {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(45, 198, 192, 0.15);
}

.checkout-items {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.checkout-items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.checkout-note {
  margin: 16px 0 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

.product-detail .about-preview-media,
.project-meta-card.about-preview-media {
  grid-template-columns: 1fr;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.product-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-soft);
  cursor: pointer;
}

.product-thumbs button.is-active,
.product-thumbs button:hover {
  border-color: var(--color-cyan);
}

.product-thumbs img {
  width: 100%;
  height: 100%;
  min-height: 72px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.product-info h2 {
  margin-bottom: 8px;
}

.product-form {
  margin: 20px 0 24px;
}

.dl-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  margin: 16px 0 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.dl-list dd {
  text-align: left;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.blog-detail-main {
  min-width: 0;
}

.blog-detail img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}

.blog-detail h2 {
  margin-top: 28px;
}

.blog-detail blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  color: var(--color-text-strong);
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-cyan);
  font-style: italic;
}

.blog-sidebar {
  display: grid;
  gap: 28px;
  padding: 24px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list li {
  border-bottom: 1px solid var(--color-border);
}

.sidebar-list a {
  display: block;
  padding: 10px 0;
  color: var(--color-text-strong);
}

.sidebar-list a:hover {
  color: var(--color-cyan);
}

.tag-cloud,
.post-tags,
.component-row,
.ui-words {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.post-tags {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.tag,
.tag-cloud a,
.post-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--color-navy);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag:hover,
.tag-cloud a:hover,
.post-tags a:hover {
  color: #fff;
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  color: #fff;
  background: var(--color-cyan);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-dark {
  background: var(--color-navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.comments-block {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--color-border);
}

.comments-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.comments-head h2,
.comment-form h3 {
  text-align: left;
  margin: 0;
}

.comments-head p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.comment-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.comment-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.comment-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.comment-list img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

.comment-list p:last-child {
  margin-bottom: 0;
}

.comment-form {
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.comment-form-lead {
  margin: 8px 0 20px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.search-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.search-bar input {
  width: 100%;
  min-height: 44px;
  padding: 8px 0;
  font-family: inherit;
  font-size: 1rem;
  border: 0;
  background: transparent;
}

.search-bar input:focus {
  outline: none;
}

.blog-sidebar .search-bar {
  grid-template-columns: 1fr auto;
  padding: 6px;
}

.blog-sidebar .search-bar button {
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--color-cyan);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.search-results {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.search-results li {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.search-meta {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

.grid-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.grid-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.grid-cell {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 10px 8px;
  color: var(--color-navy-deep);
  background: var(--color-bg-soft);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.type-scale {
  display: grid;
  gap: 28px;
  max-width: 720px;
  margin-inline: auto;
}

.type-scale article,
.type-prose {
  text-align: left;
}

.type-scale h1,
.type-scale h2,
.type-scale h3,
.type-scale h4,
.type-prose h3 {
  text-align: left;
}

.type-prose {
  max-width: 720px;
  margin-inline: auto;
}

.component-form {
  max-width: 720px;
  margin-inline: auto;
}

.code-snippet {
  margin-top: 24px;
  padding: 16px 20px;
  overflow-x: auto;
  color: #e8edf5;
  background: var(--color-navy-deep);
  border-radius: var(--radius-md);
  font-size: 13px;
}

.tabs-panels .tab-panel {
  padding: 8px 0 0;
}

.tabs-panels .tab-panel h3 {
  text-align: left;
  color: var(--color-cyan);
}

.launch-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  color: #fff;
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
}

.launch-banner h3,
.launch-banner p {
  color: #fff;
  text-align: left;
  margin: 0;
}

.partners-grid > span {
  display: grid;
  place-items: center;
  color: var(--color-navy-soft);
}

/* ----------------------------------------------------------- */
/*  Footer                                                      */
/* ----------------------------------------------------------- */

.footer {
  background: var(--color-bg-dark);
  color: var(--color-text);
  padding: 24px 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-logo img {
  width: auto;
  max-height: 36px;
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 13px;
}

.back-to-top {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--color-text-strong);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
  transition: background var(--transition);
}

.back-to-top:hover {
  background: var(--color-cyan);
}

/* ----------------------------------------------------------- */
/*  Responsive                                                  */
/* ----------------------------------------------------------- */

@media (max-width: 1024px) {
  .nav-menu a { padding: 10px 12px; }
  .hero { height: 480px; }
}

@media (max-width: 991px) {
  .parallax { background-attachment: scroll; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.is-open {
    max-height: 600px;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
  }

  .nav-menu a {
    display: block;
    text-align: left;
  }

  .social-top { display: none; }

  .service-grid,
  .service-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-filter-grid,
  .shop-grid,
  .pricing-grid,
  .blog-grid,
  .card-grid,
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid,
  .page-link-grid { grid-template-columns: repeat(2, 1fr); }
  .stay-grid { grid-template-columns: 1fr; }

  .hero { height: 420px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 20px; }

  .modern-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-preview-grid,
  .detail-grid,
  .checkout-grid,
  .contact-grid,
  .checkout-layout,
  .cart-footer,
  .blog-detail-layout,
  .launch-banner {
    grid-template-columns: 1fr;
  }

  .about-preview-media {
    grid-template-columns: 1fr;
  }

  .about-preview-media img:last-child {
    margin-bottom: 0;
  }

  .modern-box-text h2 { text-align: center; }
  .modern-box-text .btn { display: inline-flex; }
  .modern-box-text { text-align: center; }

  .service-grid,
  .service-grid-4 { grid-template-columns: 1fr; }

  .cart-table { min-width: 0; }
  .cart-table thead { display: none; }
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table th,
  .cart-table td {
    display: block;
    width: 100%;
  }
  .cart-table tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .cart-table td,
  .cart-table th {
    border: 0;
    padding: 6px 0;
  }
  .cart-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
  }
  .cart-product { padding-bottom: 8px; }

  .tabs-list { grid-template-columns: repeat(5, 1fr); gap: 2px; }
  .tab-panel-grid { grid-template-columns: 1fr; gap: 24px; }

  .promo-box-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-box-inner .btn { justify-self: center; }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .future-box-screen {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .future-box-frame { display: none; }

  .hero { height: 380px; }
  .hero-arrow { width: 40px; height: 40px; font-size: 18px; }
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
}

@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .portfolio-filter-grid,
  .shop-grid,
  .pricing-grid,
  .blog-grid,
  .card-grid,
  .media-grid,
  .stats-grid,
  .page-link-grid,
  .search-form,
  .search-bar,
  .grid-12,
  .comment-list li,
  .product-thumbs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  html { scroll-behavior: auto; }
}
