
/* ==========================================
   ZONA C39 — WEBSITE V2.9
   CONTACT REFINEMENT
========================================== */

:root {
  --bg: #111216;
  --bg-secondary: #191a20;
  --bg-card: #1e1f25;
  --bg-light: #f4f2ee;

  --text: #f8f7f5;
  --text-muted: #9a9aa2;
  --dark-text: #19191b;

  --accent: #b9a48d;
  --accent-light: #ded0be;

  --border: rgba(255, 255, 255, 0.12);

  --font-main: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --container: 1320px;
  --header-height: 88px;
}

/* ==========================================
   RESET / GLOBAL
========================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

.container {
  width: min(90%, var(--container));
  margin-inline: auto;
}

.section {
  padding: 145px 0;
}

/* ==========================================
   HEADER
========================================== */

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.scrolled,
.site-header.menu-active {
  background: rgba(17, 18, 22, 0.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 100%;
}

.logo,
.lightbox-brand {
  font-family: var(--font-main);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.6px;
  white-space: nowrap;
}

.logo {
  position: relative;
  z-index: 1002;
}

.logo span,
.lightbox-brand span {
  color: var(--accent);
}

.logo i,
.lightbox-brand i {
  color: white;
  font-style: normal;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #c5c5ca;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-instagram {
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s;
}

.nav-instagram span {
  margin-left: 10px;
}

.nav-instagram:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 1002;
  width: 36px;
  height: 36px;
  background: none;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  margin: 7px auto;
  background: white;
  transition: transform 0.3s;
}

.menu-toggle.open span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle.open span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ==========================================
   HERO / VIDEO
========================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;

  background:
    linear-gradient(
      rgba(17, 18, 22, 0.36),
      rgba(17, 18, 22, 0.36)
    ),
    url("../assets/images/motorsport/motorsport1.jpg")
      center / cover no-repeat,
    #111216;
}

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

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(9, 10, 13, 0.78) 0%,
      rgba(9, 10, 13, 0.50) 48%,
      rgba(9, 10, 13, 0.25) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(9, 10, 13, 0.25),
      transparent 35%,
      rgba(9, 10, 13, 0.55)
    );
}

.hero-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.09;
  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    );

  background-size: 90px 90px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 130px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
}

.eyebrow-line {
  width: 38px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  margin-top: 25px;
  font-family: var(--font-main);
  font-size: clamp(76px, 13vw, 210px);
  font-weight: 800;
  letter-spacing: -0.095em;
  line-height: 1.05;
  white-space: nowrap;
}

.hero-title span {
  color: var(--accent);
}

.hero-title em {
  color: white;
  font-style: normal;
}

.hero-subtitle {
  margin-top: 18px;
  color: #f0ece8;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 500;
  letter-spacing: 7px;
}

.hero-description {
  max-width: 610px;
  margin-top: 26px;
  color: #d1cfd0;
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;

  transition:
    transform 0.3s,
    background 0.3s,
    border-color 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--accent);
  color: #151515;
}

.btn-primary:hover {
  background: var(--accent-light);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

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

.hero-bottom {
  position: absolute;
  z-index: 2;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #d2ced0;
  font-size: 10px;
  letter-spacing: 2px;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 15px;
}

.scroll-indicator span {
  color: var(--accent);
  font-size: 20px;
}

/* ==========================================
   TYPOGRAPHY
========================================== */

.section-label {
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.section-label span {
  margin-right: 10px;
  color: #777781;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(42px, 5.6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.15;
}

.section-title span {
  color: var(--accent);
}

.section-description {
  max-width: 600px;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
}

.large-text {
  margin-bottom: 28px;
  font-size: clamp(21px, 2.5vw, 31px);
  font-weight: 600;
  line-height: 1.5;
}

.body-text {
  max-width: 520px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  transition: gap 0.3s;
}

.text-link:hover {
  gap: 45px;
}

/* ==========================================
   ABOUT
========================================== */

.about {
  background: var(--bg-light);
  color: var(--dark-text);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.about-content {
  padding-top: 65px;
}

.about .body-text {
  color: #66666b;
}

.about .section-label span {
  color: #888;
}

/* ==========================================
   SERVICES
========================================== */

.services {
  background: #15161a;
}

.section-heading {
  margin-bottom: 65px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-card);

  transition:
    transform 0.35s,
    background 0.35s,
    border-color 0.35s;
}

.service-card:hover {
  transform: translateY(-7px);
  background: #24252c;
  border-color: rgba(185, 164, 141, 0.4);
}

.service-number {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
}

.service-icon {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 48px;
  line-height: 1;
}

.service-content h3 {
  font-family: var(--font-main);
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 700;
  letter-spacing: -1px;
}

.service-content p {
  max-width: 350px;
  min-height: 110px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-category {
  display: block;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* ==========================================
   PORTFOLIO
========================================== */

.portfolio {
  background: var(--bg-light);
  color: var(--dark-text);
}

.portfolio-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 55px;
}

.portfolio-description {
  max-width: 440px;
  color: #66666b;
  font-size: 15px;
  line-height: 1.9;
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 45px;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 19px;
  border: 1px solid #d9d6d0;
  border-radius: 100px;
  background: transparent;
  color: #55555b;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s;
}

.filter-btn:hover {
  border-color: #222;
  color: #222;
}

.filter-btn.active {
  background: #19191b;
  border-color: #19191b;
  color: white;
}

.filter-count {
  opacity: 0.6;
  font-size: 10px;
}

.portfolio-counter {
  color: #88817a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.portfolio-view-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
}

.portfolio-view-label {
  color: #8d8175;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.portfolio-view-title {
  margin-top: 5px;
  font-family: var(--font-main);
  font-size: clamp(25px, 3vw, 37px);
  font-weight: 800;
  letter-spacing: -1.5px;
}

.portfolio-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #aaa39a;
  background: transparent;
  color: #3b3936;
  font-size: 12px;
  font-weight: 700;
  transition: gap 0.3s;
}

.portfolio-back:hover {
  gap: 18px;
}

/* PHOTO GRID */

.portfolio-loading {
  grid-column: 1 / -1;
  padding: 35px 0;
  color: #77777b;
  font-size: 13px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-card {
  min-width: 0;
}

.photo-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #191a20;
  text-align: left;
  cursor: zoom-in;
}

.photo-button::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08),
    transparent 40%,
    rgba(0, 0, 0, 0.48)
  );
}

.portfolio-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  transition:
    transform 0.7s,
    filter 0.5s;
}

.photo-button:hover .portfolio-photo {
  transform: scale(1.07);
  filter: brightness(1.08);
}

.photo-number,
.photo-label,
.photo-expand {
  position: absolute;
  z-index: 2;
  color: white;
}

.photo-number {
  top: 20px;
  left: 24px;
  font-size: 11px;
  letter-spacing: 2px;
}

.photo-label {
  bottom: 22px;
  left: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.photo-expand {
  right: 22px;
  bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  font-size: 18px;
  transition: background 0.3s;
}

.photo-button:hover .photo-expand {
  background: rgba(255, 255, 255, 0.18);
}

.photo-error-message {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #ddd;
  text-align: center;
  font-size: 13px;
}

.photo-button.image-error .portfolio-photo {
  display: none;
}

.photo-button.image-error .photo-error-message {
  display: flex;
}

.portfolio-card-info {
  padding: 16px 0 8px;
}

.project-category {
  color: #8d8175;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.project-title {
  margin-top: 5px;
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* CATEGORY NAVIGATION */

.portfolio-explore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 45px;
  padding: 35px;
  background: #e8e3dc;
}

.portfolio-explore-text span {
  color: #847566;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.portfolio-explore-text p {
  max-width: 400px;
  margin-top: 8px;
  color: #37332e;
  font-size: 15px;
  line-height: 1.7;
}

.portfolio-explore-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 140px;
  padding: 15px 20px;
  border: 1px solid #292929;
  background: #19191b;
  color: white;
  font-size: 12px;
  font-weight: 700;

  transition:
    background 0.3s,
    transform 0.3s;
}

.category-link:hover {
  transform: translateY(-3px);
  background: #3c3834;
}

.portfolio-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 55px;
  padding-top: 28px;
  border-top: 1px solid #d9d6d0;
}

.portfolio-bottom p {
  color: #77777b;
  font-size: 13px;
}

/* ==========================================
   LIGHTBOX
========================================== */

.lightbox {
  position: fixed;
  z-index: 5000;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: rgba(9, 10, 13, 0.98);
  color: white;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.25s,
    visibility 0.25s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 20px 5%;
  border-bottom: 1px solid var(--border);
}

.lightbox-counter {
  color: #adadb4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.lightbox-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 30px;
  line-height: 1;

  transition: all 0.3s;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

.lightbox-main {
  display: grid;
  flex: 1;
  grid-template-columns: 75px minmax(0, 1fr) 75px;
  align-items: center;
  gap: 15px;
  min-height: 0;
  padding: 22px 3%;
}

.lightbox-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 25px;
  transition: all 0.3s;
}

.lightbox-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lightbox-error {
  color: #ccc;
  font-size: 14px;
  text-align: center;
}

.lightbox-footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 20px 5%;
  border-top: 1px solid var(--border);
}

.lightbox-footer > span:first-child {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.lightbox-hint {
  color: #898991;
  font-size: 10px;
  letter-spacing: 1.5px;
}

/* ==========================================
   STATEMENT
========================================== */

.statement {
  display: flex;
  align-items: center;
  min-height: 580px;
  background: var(--accent);
  color: #19191c;
  text-align: center;
}

.statement-eyebrow {
  margin-bottom: 30px;
  color: #34312c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.statement-content h2 {
  font-family: var(--font-main);
  font-size: clamp(58px, 9vw, 135px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1.05;
}

.statement-content h2 span {
  color: rgba(25, 25, 28, 0.45);
}

.statement-content > p:last-child {
  margin-top: 35px;
  font-size: 15px;
}

/* ==========================================
   CONTACT — REFINED V2.9
========================================== */

.contact {
  padding: 105px 0 110px;
  background: #111216;
  border-top: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(45px, 8vw, 120px);
  max-width: 1130px;
}

/* Smaller and more balanced title */

.contact .section-label {
  margin-bottom: 23px;
}

.contact-title {
  font-family: var(--font-main);
  font-size: clamp(45px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.12;
}

.contact-title span {
  color: var(--accent);
}

.contact-description {
  max-width: 355px;
  margin-top: 23px;
  color: #a8a7ac;
  font-size: 14px;
  line-height: 1.85;
}

/* Minimal email button */

.contact-button {
  min-height: 46px;
  margin-top: 26px;
  padding: 0 20px;
  gap: 35px;

  border: 1px solid rgba(185, 164, 141, 0.48);
  border-radius: 2px;
  background: transparent;
  color: var(--accent);

  font-size: 11px;
  font-weight: 700;
}

.contact-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #111216;
}

/* Elegant two-column contact details */

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
  row-gap: 28px;

  min-width: 0;
  padding-top: 10px;
  font-style: normal;
}

.contact-entry {
  min-width: 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-caption {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Same subtle style for email, phone and Instagram */

.contact-social,
.contact-address {
  display: inline-block;
  max-width: 100%;
  margin-top: 10px;

  color: #e5e3e0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.7;

  overflow-wrap: anywhere;
  transition: color 0.3s ease;
}

.contact-social:hover,
.contact-address:hover {
  color: var(--accent);
}

.contact-social span,
.contact-address span {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent);
  font-size: 13px;
}

/* Old separators are replaced by subtle top borders */

.contact-divider {
  display: none;
}

/* ==========================================
   FOOTER
========================================== */

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--border);
  background: #0b0c0f;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-inner p,
.back-top {
  color: var(--text-muted);
  font-size: 11px;
}

.back-top:hover {
  color: var(--accent);
}

/* ==========================================
   SCROLL ANIMATIONS
========================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

  :root {
    --header-height: 76px;
  }

  .navigation {
    gap: 18px;
  }

  .nav-instagram {
    display: none;
  }

  .section {
    padding: 110px 0;
  }

  .about-layout {
    gap: 55px;
  }

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

  .portfolio-heading {
    grid-template-columns: 1fr;
  }

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

  .portfolio-explore {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-main {
    grid-template-columns: 60px minmax(0, 1fr) 60px;
  }

  .contact-layout {
    gap: 45px;
  }

  .contact-details {
    column-gap: 22px;
    row-gap: 25px;
  }

  .contact-social,
  .contact-address {
    font-size: 14px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

  :root {
    --header-height: 72px;
  }

  .container {
    width: 88%;
  }

  .section {
    padding: 85px 0;
  }

  .logo {
    font-size: 23px;
  }

  .menu-toggle {
    display: block;
  }

  .navigation {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;

    padding: 110px 8% 45px;
    background: #111216;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);

    transition:
      opacity 0.3s,
      visibility 0.3s,
      transform 0.3s;
  }

  .navigation.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    font-family: var(--font-main);
    font-size: clamp(27px, 7vw, 42px);
    font-weight: 700;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 140px;
  }

  .hero-title {
    font-size: clamp(53px, 11.7vw, 90px);
  }

  .hero-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    margin-top: 40px;
  }

  .hero-bottom {
    bottom: 25px;
  }

  .hero-bottom > span {
    display: none;
  }

  .scroll-indicator {
    font-size: 9px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-content {
    padding-top: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card {
    min-height: 350px;
    padding: 28px;
  }

  .service-content p {
    min-height: 0;
  }

  .portfolio-heading {
    gap: 20px;
  }

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

  .photo-button {
    aspect-ratio: 1 / 1;
  }

  .photo-label {
    bottom: 15px;
    left: 15px;
    font-size: 9px;
    letter-spacing: 1px;
  }

  .photo-number {
    top: 15px;
    left: 15px;
  }

  .photo-expand {
    right: 12px;
    bottom: 12px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .portfolio-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .statement {
    min-height: 420px;
  }

  .contact {
    padding: 75px 0 85px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-title {
    font-size: clamp(44px, 8vw, 60px);
  }

  .contact-description {
    margin-top: 20px;
  }

  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 24px;
  }

  .contact-social,
  .contact-address {
    font-size: 14px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .lightbox-header {
    min-height: 70px;
    padding: 15px 5%;
  }

  .lightbox-main {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 5px;
    padding: 10px 2%;
  }

  .lightbox-arrow {
    width: 39px;
    height: 39px;
    font-size: 21px;
  }

  .lightbox-footer {
    min-height: 60px;
    padding: 15px 5%;
  }

  .lightbox-hint {
    display: none;
  }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

  .hero-title {
    font-size: 11.4vw;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    justify-content: space-between;
  }

  .section-title {
    font-size: 44px;
  }

  .portfolio-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 10px 14px;
    font-size: 11px;
  }

  .portfolio-view-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .portfolio-explore {
    padding: 25px;
  }

  .portfolio-explore-actions {
    width: 100%;
    flex-direction: column;
  }

  .category-link {
    width: 100%;
  }

  .project-title {
    font-size: 14px;
  }

  .project-category {
    font-size: 9px;
  }

  .contact {
    padding: 65px 0 75px;
  }

  .contact-title {
    font-size: 48px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .contact-entry {
    padding-top: 13px;
  }

  .contact-social,
  .contact-address {
    font-size: 15px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-brand {
    font-size: 19px;
  }

  .lightbox-counter {
    font-size: 10px;
    letter-spacing: 1px;
  }
}

/* ==========================================
   ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
