/* ==========================================================================
   LINGARI — Estonian Creative/Design Agency
   Dark-themed website with aurora/particle effects
   Mobile-first • Desktop breakpoint: 768px
   ========================================================================== */

/* ==========================================================================
   0. SELF-HOSTED FONTS
   ========================================================================== */

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/Lato-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Lato-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/Lato-Bold.ttf') format('truetype');
}

/* ==========================================================================
   1. DESIGN TOKENS (Custom Properties)
   ========================================================================== */

:root {
  /* Backgrounds */
  --bg-darkest: #00072A;
  --bg-section: #00072A;
  --bg-card: #00072A;
  --bg-light: #00072A;

  /* Accent — cyan palette */
  --color-accent: #27B6CA;
  --color-accent-bright: #27B6CA;
  --color-accent-light: #27B6CA;

  /* Text */
  --color-white: #ffffff;
  --color-body: #ffffff;
  --color-muted: #ffffff;
  --color-highlight: #27B6CA;

  /* Borders & dividers */
  --border-subtle: rgba(39, 182, 202, 0.15);
  --border-accent: rgba(39, 182, 202, 0.3);

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-nav: 'Lato';
  --font-body: 'Lato';

  /* Spacing */
  --container-max: 1300px;
  --container-padding: clamp(1.5rem, 8vw - 2rem, 4rem);
  --header-height: clamp(5rem, 6.5vw, 120px);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-darkest);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body.no-scroll {
  overflow: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-white);
  letter-spacing: 0;
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-white);
  line-height: normal;
}

/* ==========================================================================
   3. UTILITIES
   ========================================================================== */

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

.section-heading {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-highlight);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero .section-heading {
  color: var(--color-white);
}

.section-heading__dot {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.section-heading__dot--white {
  /* SVG is already white */
}

.section-heading__dot--accent {
  filter: brightness(0) saturate(100%) invert(62%) sepia(98%) saturate(370%) hue-rotate(140deg) brightness(95%) contrast(92%);
}

.text-cyan {
  color: var(--color-accent);
}

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

.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;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.header--scrolled {
  background: rgba(7, 11, 26, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  flex-wrap: nowrap;
  overflow: visible;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding-left: 1rem;
}

.header__logo-img {
  width: clamp(10rem, 18vw, 12.625rem);
  height: auto;
}

/* Desktop navigation — hidden on mobile */
.header__nav {
  display: none;
  min-width: 0;
  flex-shrink: 1;
}

.header__nav-link {
  position: relative;
  font-family: var(--font-nav);
  font-size: clamp(0.9rem, 1.3vw, 1.25rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  transition: color var(--transition-fast);
  padding-top: 1rem;
}

.header__nav-link:hover {
  color: #27B6CA;
}

.header__nav-link:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27B6CA;
}

.header__nav-link.active {
  color: #27B6CA;
}

.header__nav-link.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27B6CA;
}

/* Language toggle — hidden on mobile, shown on desktop */
.header__lang {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 400;
  min-width: 3rem;
  flex-shrink: 0;
}

.header__lang-btn {
  display: block;
  width: 100%;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-nav);
  font-size: 1rem;
  color: var(--color-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  line-height: normal;
}

.header__lang-btn.active {
  color: var(--color-accent);
}

.header__lang-btn:hover {
  color: var(--color-accent);
}

/* Mobile lang dropdown — next to hamburger */
.header__lang-mobile {
  position: relative;
  margin-left: auto;
}

.header__lang-mobile-toggle {
  font-family: var(--font-nav);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.25em;
}

.header__lang-mobile-toggle::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--color-accent);
}

.header__lang-mobile-arrow {
  display: none;
}

.header__lang-mobile-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-darkest);
  border: 1px solid var(--border-accent);
  border-radius: 4px;
  flex-direction: column;
  padding: 0.25rem 0;
  z-index: 1001;
  min-width: 60px;
}

.header__lang-mobile.open .header__lang-mobile-dropdown {
  display: flex;
}

.header__lang-mobile-btn {
  font-family: var(--font-nav);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: 0.05em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  text-align: left;
  transition: background var(--transition-fast);
}

.header__lang-mobile-btn:hover {
  background: rgba(39, 182, 202, 0.2);
}

.header__lang-mobile-btn.active {
  color: var(--color-accent);
}

/* Hamburger — visible on mobile */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  margin-left: 2rem;
}

.header__hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-darkest);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav--open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 0 1.5rem;
  padding-top: var(--header-height);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
}

/* Section border: always-visible single line at top/bottom of nav */
.mobile-nav__border {
  height: 1px;
  background: url('../assets/icons/horisontal-divider.svg') center / 100% auto no-repeat;
}

/* Button wrapper */
.mobile-nav__item {
  position: relative;
}

/* Inner divider: single line at top/bottom of each button */
.mobile-nav__divider {
  height: 1px;
  background: url('../assets/icons/horisontal-divider.svg') center / 100% auto no-repeat;
}

/* Collapse adjacent inner dividers so they form a double line with 11px gap */
.mobile-nav__item + .mobile-nav__item .mobile-nav__divider:first-child {
  margin-top: 11px;
}

.mobile-nav__item .mobile-nav__divider:last-child {
  margin-bottom: 0;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-nav);
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-decoration: none;
  border-radius: 0;
  transition: background var(--transition-fast);
}

.mobile-nav__link:hover {
  background: linear-gradient(90deg, #00d4ff 0%, #0066ff 100%);
}

/* Hide inner dividers when button is hovered */
.mobile-nav__item:hover .mobile-nav__divider {
  visibility: hidden;
}

.mobile-nav__bullet {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  padding-top: var(--header-height);
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Mobile: card first, text below */
.hero__card {
  order: -1;
}

.hero__text {
  order: 0;
}

.hero__text p + p {
  margin-top: 1em;
}

/* Hero card — SVG image */
.hero__card {
  position: relative;
  width: calc(100% + 2 * var(--container-padding));
  margin-left: calc(-1 * var(--container-padding));
  margin-right: calc(-1 * var(--container-padding));
  max-width: none;
  padding: 0;
}

.hero__card-img {
  width: 100%;
  min-height: 300px;
  display: block;
  object-fit: contain;
  background: transparent;
}

/* Desktop: constrain hero card within container */
@media (min-width: 768px) {
  .hero__card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    max-width: 851px;
    margin-inline: auto;
  }

  .hero__card-img {
    width: 100%;
    max-width: 851px;
    height: auto;
    aspect-ratio: 851 / 479;
  }

  .hero__tagline {
    padding-inline: 105px;
  }
}

/* Tagline — first line left, second line right */
.hero__tagline {
  grid-column: 1 / -1;
  position: relative;
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 300;
  color: var(--color-accent);
  padding-top: 4rem;
  padding-inline: 1rem;
  line-height: normal;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
}

.hero__tagline-left {
  text-align: left;
}

.hero__tagline-right {
  text-align: right;
}

/* Values grid — 2x2 mobile, 4-col desktop */
.hero__values-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 1.5rem;
  margin-top: 4rem;
  padding: 0;
  overflow: visible;
  background: url('../assets/images/TestDots.png') no-repeat center center / calc(100% + 3rem) auto;
  background-origin: padding-box;
}

.hero__values-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.5rem;
}

.hero__values-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero__values-item p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: normal;
  text-align: center;
  width: 100%;
}

/* Decorative dot patterns from Figma */
.hero__dots {
  position: absolute;
  top: var(--header-height);
  bottom: -5rem;
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

.hero__dots--left {
  left: -25%;
  width: 55%;
  transform: rotate(-3deg);
  transform-origin: center center;
}

.hero__dots--right {
  right: -10%;
  width: 52%;
}

/* ==========================================================================
   6. SERVICES SECTION
   ========================================================================== */

.services {
  padding: 4rem 0;
  background: var(--bg-section);
}

.services__heading {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-white);
  margin-bottom: 2.5rem;
}

.services__heading::before {
  content: '●';
  color: var(--color-accent);
  margin-right: 0.5rem;
  font-size: 0.6rem;
  vertical-align: middle;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Individual service item */
.service-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: background var(--transition-fast);
  cursor: pointer;
}

.service-item:active {
  background: rgba(0, 200, 255, 0.06);
}

.service-item:hover {
  background: rgba(0, 200, 255, 0.04);
}

.service-item__icon {
  width: 73px;
  height: 81px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
  font-size: 1.1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.service-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-item__content h3 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 0.4rem;
  overflow-wrap: break-word;
}

.service-item__content p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-muted);
  line-height: normal;
  margin-bottom: 0.6rem;
}

.service-item__link {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

.service-item__link:hover {
  color: var(--color-accent-bright);
}

/* ==========================================================================
   7. PORTFOLIO SECTION
   ========================================================================== */

.portfolio {
  padding: 0;
  background: var(--bg-light);
}

/* Portfolio anchor offset for fixed header */
#portfoolio {
  scroll-margin-top: var(--header-height);
}

/* Portfolio banner */
.portfolio__banner {
  display: block;
  width: 100%;
  min-height: 80px;
  background: url('../assets/images/portolio_mobile.png') center / cover no-repeat;
  aspect-ratio: 430 / 100;
  transition: filter var(--transition-fast);
  overflow: hidden;
}

.portfolio__banner:hover {
  filter: brightness(1.1);
}

/* Apply scroll-margin to all nav target sections and portfolio items */
#kes-me-oleme,
#teenused,
#portfoolio,
#kontakt,
[id^="portfolio-"] {
  scroll-margin-top: var(--header-height);
}

/* Portfolio list */
.portfolio__list {
  padding: 2rem 0;
}

/* Individual portfolio item */
.portfolio-item {
  padding: calc(2.5rem + 20px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-item + .portfolio-item {
  border-top: 4px solid transparent;
  border-image: url('../assets/icons/horisontal-divider.svg') 1 stretch;
}

.portfolio-item:last-child {
  border-bottom: 4px solid transparent;
  border-image: url('../assets/icons/horisontal-divider.svg') 1 stretch;
  margin-bottom: 6rem;
}

/* Grid layout */
.portfolio-item__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* SVG heading */
.portfolio-item__heading {
  margin-bottom: 15px;
}

.portfolio-item__svg {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* Links under heading */
.portfolio-item__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  margin-top: 15px;
}

.portfolio-item__link {
  font-family: var(--font-nav);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.portfolio-item__link:hover {
  color: var(--color-accent-bright);
  transform: translateX(3px);
}

/* Right side — descriptions (hidden on mobile by default, shown on desktop) */
.portfolio-item__right {
  display: none;
}

/* Content side */
.portfolio-item__highlight {
  color: var(--color-highlight);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.portfolio-item__description {
  font-size: 0.95rem;
  line-height: normal;
  color: var(--color-body);
}

.portfolio-item__description p {
  margin-bottom: 1rem;
}

/* ==========================================================================
   8. CTA SECTION
   ========================================================================== */

.cta {
  position: relative;
  width: 100%;
  padding: 0;
  text-align: center;
  background: url('../assets/images/footer_mobile.png') center / cover no-repeat;
  min-height: 80px;
  aspect-ratio: 430 / 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__text {
  position: relative;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000A3D;
  line-height: normal;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

.footer {
  padding: 3rem 0;
  background: #0B2563;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.footer__company,
.footer__phone,
.footer__email {
  font-family: var(--font-nav);
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer__company p {
  color: #fff;
}

.footer__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.footer__phone a,
.footer__email a {
  color: #fff;  transition: opacity var(--transition-fast);
}

.footer__phone a:hover,
.footer__email a:hover {
  opacity: 0.8;
}

/* ==========================================================================
   10. AURORA BACKGROUND EFFECT
   ========================================================================== */

.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.aurora::before,
.aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}

.aurora::before {
  width: 600px;
  height: 600px;
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.4) 0%, rgba(0, 100, 200, 0.1) 50%, transparent 70%);
}

.aurora::after {
  width: 500px;
  height: 500px;
  bottom: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(77, 232, 255, 0.3) 0%, rgba(100, 50, 200, 0.1) 50%, transparent 70%);
  animation-delay: -8s;
  animation-duration: 20s;
}

/* Extra aurora layer for richer effect */
.aurora__layer {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 30%;
  left: 40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 60%);
  filter: blur(60px);
  opacity: 0.3;
  animation: aurora-pulse 12s ease-in-out infinite alternate;
  pointer-events: none;
}

/* ==========================================================================
   11. ANIMATIONS / KEYFRAMES
   ========================================================================== */

@keyframes aurora-drift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translate(40px, -30px) scale(1.1);
    opacity: 0.35;
  }
}

@keyframes aurora-pulse {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  100% {
    transform: translate(-20px, 20px) scale(1.15);
    opacity: 0.4;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered fade-in class */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up--visible,
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   12. RESPONSIVE — TABLET (min-width: 768px)
   ========================================================================== */

@media (min-width: 768px) {

  html {
    font-size: clamp(10px, 0.77vw + 6px, 16px);
  }

  /* Header: show full nav, hide hamburger */
  .header__nav {
    display: flex;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    align-items: center;
  }

  .header__hamburger {
    display: none;
  }

  .header__lang {
    display: flex;
  }

  .header__lang-mobile {
    display: none;
  }

  /* Hero: 2-column grid */
  .hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
  }

  .hero__grid {
    grid-template-columns: 2fr 3fr;
    align-items: stretch;
    gap: 2.5rem;
  }

  .hero__card {
    order: 0;
  }

  .hero__text {
    order: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hero__text p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    letter-spacing: 0;
  }

  .section-heading {
    font-size: 2.25rem;
  }

  p {
    font-size: 1.25rem;
  }

  .hero__values-item p {
    font-size: 1rem;
  }

  .service-item__content p {
    font-size: 1.25rem;
  }

  .service-item__link {
    font-size: 1.25rem;
  }

  .portfolio-item__highlight {
    font-size: 1.25rem;
  }

  .section-heading__dot {
    width: 2.2rem;
    height: 2.2rem;
  }

  .hero__values-icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  /* Values: 4 in a row on desktop */
  .hero__values-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
    background: none;
  }

  /* Services: 2-column grid */
  .services {
    padding: 5rem 0;
  }

  .service-item__content h3 {
    font-size: 2.25rem;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
  }

  /* Portfolio: show descriptions, 2-column grid */
  .portfolio-item__right {
    display: block;
  }

  .portfolio-item__grid {
    grid-template-columns: 40% 1fr;
    gap: 3rem;
    align-items: center;
  }

  .portfolio-item {
    padding: 3rem 0;
  }

  .portfolio-item__svg {
    max-width: 420px;
  }

  /* CTA */
  .cta {
    padding: 0;
    background-image: url('../assets/images/footer.png');
    aspect-ratio: 1920 / 155;
  }

  /* Portfolio banner */
  .portfolio__banner {
    background-image: url('../assets/images/portolio.png');
    aspect-ratio: 1920 / 240;
  }

  /* Footer: horizontal layout */
  .footer__inner {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 6rem;
    text-align: center;
  }
}

/* ==========================================================================
   13. RESPONSIVE — DESKTOP (min-width: 1024px)
   ========================================================================== */

@media (min-width: 1024px) {

  /* Larger hero spacing */
  .hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 5rem;
  }

  .hero__grid {
    gap: 3rem;
  }

  /* Portfolio: larger headings and spacing */
  .portfolio-item {
    padding: 4rem 0;
  }

  .portfolio-item__grid {
    grid-template-columns: 38% 1fr;
    gap: 4rem;
  }

  .portfolio-item__svg {
    max-width: 480px;
  }

  /* Services padding */
  .services {
    padding: 6rem 0;
  }

  /* CTA */
  .cta {
    padding: 0;
    max-width: 1920px;
    margin-inline: auto;
  }

  /* Portfolio banner */
  .portfolio__banner {
    aspect-ratio: 1920 / 240;
    max-width: 1920px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   14. RESPONSIVE — WIDE DESKTOP (min-width: 1440px)
   Matches Figma 1920px layout proportions
   ========================================================================== */

@media (min-width: 1200px) {
  :root {
    --container-padding: 4rem;
  }
}
