/* ============================================================
   Fast Repairs — Global Styles
   Pure CSS. Light/Dark themes via [data-theme] on <html>.
   ============================================================ */

/* ---------- Fonts ---------- */
@import url("https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@800,900,500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap");

/* ---------- Theme tokens ---------- */
:root,
[data-theme="light"] {
  --bg-primary: #f7f7f8;
  --bg-surface: #ffffff;
  --bg-inverse: #0a0a0b;
  --text-primary: #0a0a0b;
  --text-secondary: #5b5b62;
  --text-inverse: #fafafa;
  --brand-primary: #0055ff;
  --brand-hover: #0044cc;
  --brand-accent: #ff3b30;
  --border-color: #e5e5e5;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);
  --grid-line: rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] {
  --bg-primary: #0a0a0b;
  --bg-surface: #151517;
  --bg-inverse: #fafafa;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-inverse: #0a0a0b;
  --brand-primary: #2e73ff;
  --brand-hover: #5c93ff;
  --brand-accent: #ff5247;
  --border-color: #27272a;
  --glass-bg: rgba(10, 10, 11, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --grid-line: rgba(255, 255, 255, 0.06);
}

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

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

body {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

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

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: "Cabinet Grotesk", "Outfit", sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.75rem, 8vw, 6.25rem);
}
h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}
h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
}
h4 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--text-secondary);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }
  .container {
    padding: 0 1.25rem;
  }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.brand__mark {
  width: 36px;
  height: 36px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text-primary);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  display: grid;
  place-items: center;
  color: var(--text-primary);
  transition: transform 0.3s ease, background 0.3s ease;
}

.theme-toggle:hover {
  transform: rotate(20deg);
  background: var(--text-primary);
  color: var(--bg-primary);
}

.theme-toggle i {
  font-size: 1.15rem;
}

[data-theme="light"] .theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle .icon-sun {
  display: inline-block;
}
[data-theme="light"] .theme-toggle .icon-sun,
[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  place-items: center;
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__links .nav__link {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  .menu-btn {
    display: grid;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}
.btn--primary:hover {
  transform: translateY(-3px);
  background: var(--brand-primary);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  background: var(--bg-surface);
  border-color: var(--text-primary);
}

.btn--accent {
  background: var(--brand-accent);
  color: #fff;
}
.btn--accent:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

/* ---------- Hero (Home) ---------- */
.hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: end;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero__title {
  font-size: clamp(3rem, 9vw, 7rem);
}

.hero__title .accent {
  color: var(--brand-primary);
  font-style: italic;
  font-weight: 800;
}

.hero__subtitle {
  margin-top: 2rem;
  max-width: 480px;
  font-size: 1.1rem;
  line-height: 1.55;
}

.hero__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.hero__media:hover img {
  transform: scale(1.05);
}

.hero__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.2);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
}

.stat__num {
  font-family: "Cabinet Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat__label {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* ---------- Section header ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.section-head h2 {
  max-width: 720px;
}

.section-head p {
  max-width: 360px;
}

/* ---------- About preview ---------- */
.about {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 860px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about__title {
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.about__text p + p {
  margin-top: 1rem;
}

.about__text {
  font-size: 1.05rem;
}

.about__list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.about__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.about__list i {
  color: var(--brand-primary);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 980px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--text-primary);
}

.service-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.08);
}

.service-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.service-card__num {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
}

.service-card h3 {
  font-size: 1.5rem;
}

.service-card p {
  font-size: 0.92rem;
  flex: 1;
}

.service-card__arrow {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--bg-primary);
  display: grid;
  place-items: center;
  margin-top: 0.5rem;
  transition: transform 0.4s ease, background 0.4s ease;
}

.service-card:hover .service-card__arrow {
  background: var(--brand-primary);
  color: #fff;
  transform: rotate(-45deg);
}

/* ---------- Why Choose Us ---------- */
.why {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 860px) {
  .why__grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem;
  background: var(--bg-primary);
  transition: transform 0.5s ease, border-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--text-primary);
}

.feature__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

.feature h4 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.feature p {
  font-size: 0.95rem;
}

/* ---------- Gallery (Bento) ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery__item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.gallery__item:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}
.gallery__item:nth-child(2) {
  grid-column: span 5;
  grid-row: span 1;
}
.gallery__item:nth-child(3) {
  grid-column: span 5;
  grid-row: span 1;
}
.gallery__item:nth-child(4) {
  grid-column: span 12;
  grid-row: span 2;
}

@media (max-width: 860px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery__item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-inverse);
  color: var(--text-inverse);
  padding: 5rem 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.footer h4 {
  color: var(--text-inverse);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer__brand .brand {
  color: var(--text-inverse);
}
.footer__brand .brand__mark {
  background: var(--text-inverse);
  color: var(--bg-inverse);
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.footer ul a,
.footer ul li {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.footer ul a:hover {
  color: var(--text-inverse);
}

.footer__big {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 18vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 4rem 0 2rem;
  color: var(--text-inverse);
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Floating action buttons ---------- */
.fab {
  position: fixed;
  bottom: 2rem;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 200;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab:hover {
  transform: translateY(-4px) scale(1.05);
}

.fab--call {
  right: 3rem;
  background: var(--brand-primary);
}

.fab--whatsapp {
  left: 3rem;
  background: #25d366;
}

.fab::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.4;
  animation: ring 2s ease-out infinite;
}

@keyframes ring {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .fab {
    width: 70px;
    height: 70px;
    font-size: 1.4rem;
    bottom: 1.25rem;
  }
  .fab--call {
    right: 2rem;
  }
  .fab--whatsapp {
    left: 2rem;
  }
}

/* ---------- Page hero (about/services/contact) ---------- */
.page-hero {
  padding: 11rem 0 5rem;
  border-bottom: 1px solid var(--border-color);
}

.page-hero__eyebrow {
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  max-width: 1000px;
}

.page-hero p {
  margin-top: 1.5rem;
  max-width: 540px;
  font-size: 1.1rem;
}

/* ---------- About page extras ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 860px) {
  .story {
    grid-template-columns: 1fr;
  }
}

.story__media {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

@media (max-width: 860px) {
  .values__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .values__grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: var(--bg-primary);
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-primary);
}

.value-card__num {
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--brand-primary);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

/* ---------- Services page ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row.reverse {
  direction: rtl;
}
.service-row.reverse > * {
  direction: ltr;
}

@media (max-width: 860px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-row.reverse {
    direction: ltr;
  }
}

.service-row__media {
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.service-row__media:hover img {
  transform: scale(1.06);
}

.service-row h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1rem;
}

.service-row__list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.service-row__list li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.service-row__list i {
  color: var(--brand-primary);
}

.tag {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form {
  display: grid;
  gap: 1rem;
}

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

@media (max-width: 520px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 4px rgba(0, 85, 255, 0.1);
}

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

.form__notice {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(52, 199, 89, 0.12);
  color: #1b8a3a;
  border: 1px solid rgba(52, 199, 89, 0.4);
  font-size: 0.95rem;
}
.form__notice.is-visible {
  display: block;
}

.contact-info {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.contact-info__card {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.contact-info__card:hover {
  transform: translateY(-4px);
  border-color: var(--text-primary);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--text-primary);
  color: var(--bg-primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__card h4 {
  margin-bottom: 0.25rem;
}

.contact-info__card p,
.contact-info__card a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ---------- Reveal animations (no-JS friendly fallback) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}
.reveal--delay-2 {
  transition-delay: 0.16s;
}
.reveal--delay-3 {
  transition-delay: 0.24s;
}
.reveal--delay-4 {
  transition-delay: 0.32s;
}

/* If user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  padding: 1.5rem 0;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Cabinet Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.marquee__item i {
  color: var(--brand-primary);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
