/* ============================================================
   Ravelo AV Tech — V2
   Más carácter, menos template
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Oswald:wght@700&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', sans-serif;
  background: #05181f;
  color: #e8e8e4;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- Variables ---------- */
:root {
  --navy:   #05181f;
  --mid:    #0c2d3a;
  --blue:   #82A0CC;
  --cream:  #e8e4d9;
  --white:  #fff;
  --accent: #82A0CC;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: normal;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(5, 24, 31, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(130,160,204,0.12);
}

.nav-logo img { height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a,
.nav-links button {
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover,
.nav-links button:hover { color: #fff; }

/* Dropdown */
.nav-item { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  background: #0c2d3a;
  border: 1px solid rgba(130,160,204,0.15);
  padding: 8px 0;
}

.nav-item:hover .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  text-transform: none;
  border: none;
  white-space: nowrap;
  transition: color 0.2s, padding-left 0.2s;
}

.dropdown a:hover {
  color: var(--blue);
  padding-left: 26px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-social-link {
  color: rgba(255,255,255,0.5) !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
}

.nav-social-link svg { width: 16px; height: 16px; fill: currentColor; }

.nav-cta {
  padding: 7px 18px;
  border: 1px solid rgba(130,160,204,0.35);
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65) !important;
  white-space: nowrap;
  transition: all 0.2s;
}

.nav-cta:hover {
  border-color: rgba(130,160,204,0.7);
  color: #fff !important;
}

@media (max-width: 768px) {
  .nav-cta { display: none; }
}

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-mobile-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 64px 80px 64px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--blue);
}

.hero-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-heading em {
  font-style: italic;
  color: var(--blue);
}

.hero-body {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
  max-width: 440px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.btn-primary {
  padding: 15px 36px;
  background: var(--blue);
  color: var(--navy);
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .btn-primary {
    border-radius: 6px;
  }
}

.btn-ghost {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: #fff;
  border-color: #fff;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.8);
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 35%);
}

.hero-badge {
  position: absolute;
  bottom: 48px;
  right: 32px;
  z-index: 3;
  background: var(--blue);
  color: var(--navy);
  padding: 16px 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

/* ---------- TICKER ---------- */
.ticker {
  background: var(--blue);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  gap: 48px;
  animation: ticker 22s linear infinite;
}

.ticker-inner span {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
}

.ticker-dot {
  color: rgba(5,24,31,0.35) !important;
  font-size: 8px !important;
  letter-spacing: 0 !important;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- ABOUT STRIP ---------- */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.about-strip-img {
  position: relative;
  overflow: hidden;
}

.about-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}

.about-strip-text {
  padding: 80px 72px;
  background: #0c2d3a;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--blue);
}

.about-strip-text h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-strip-text p {
  font-size: 0.97rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  margin-bottom: 16px;
}

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(130,160,204,0.12);
}

.stat-item .num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

/* ---------- SERVICES ---------- */
.services-section {
  padding: 100px 0;
  background: var(--navy);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 48px;
}

.section-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
}

.section-header h2 em {
  font-style: italic;
  color: var(--blue);
}

.section-header a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 1px solid rgba(130,160,204,0.4);
  padding-bottom: 2px;
  white-space: nowrap;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.section-header a:hover { border-color: var(--blue); }

/* Bento grid */
.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 260px 260px 180px;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.s-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.s-card:nth-child(1) { grid-column: 1 / 6;  grid-row: 1; }
.s-card:nth-child(2) { grid-column: 6 / 9;  grid-row: 1; }
.s-card:nth-child(3) { grid-column: 9 / 13; grid-row: 1; }
.s-card:nth-child(4) { grid-column: 1 / 4;  grid-row: 2; }
.s-card:nth-child(5) { grid-column: 4 / 9;  grid-row: 2; }
.s-card:nth-child(6) { grid-column: 9 / 13; grid-row: 2; }
.s-card:nth-child(7) { grid-column: 1 / 13; grid-row: 3; }

.s-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
  filter: saturate(0.7) brightness(0.75);
}

.s-card:hover img { transform: scale(1.07); }

.s-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(5,24,31,0.9));
}

.s-card-num {
  display: none;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 6px;
}

.s-card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 400;
}

.s-card:hover .s-card-info {
  background: linear-gradient(transparent, rgba(5,24,31,0.97));
}

/* ---------- QUOTE / TESTIMONIAL ---------- */
/* ---------- REVIEWS SLIDER ---------- */
.reviews-section {
  background: var(--blue);
  padding: 80px 0 64px;
  overflow: hidden;
}

.reviews-slider {
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.review-card {
  min-width: 100%;
  padding: 0 10vw;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.review-stars {
  font-size: 1.4rem;
  color: var(--navy);
  opacity: 0.6;
  margin-bottom: 28px;
  letter-spacing: 4px;
}

.review-text {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--navy);
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.45;
  font-weight: 400;
}

.review-author {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(5,24,31,0.5);
  font-weight: 600;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.reviews-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(5,24,31,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.reviews-dots button.active {
  background: var(--navy);
  transform: scale(1.3);
}

/* ---------- FORM FIELDS & BUTTONS ---------- */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(130,160,204,0.2);
  color: #fff;
  padding: 10px 0;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-bottom-color: var(--blue); }
.form-field textarea { resize: none; min-height: 80px; }
.form-field select {
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form-field select option { background: #0c2d3a; }
.submit-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 36px;
  background: var(--blue);
  color: var(--navy);
  font-family: 'Figtree', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.submit-btn:hover { opacity: 0.85; }

/* ---------- WORK GALLERY ---------- */
.work-section {
  background: var(--mid);
  padding: 100px 0;
}

.work-header {
  max-width: 1200px;
  margin: 0 auto 52px;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  border-bottom: 1px solid rgba(130,160,204,0.1);
  padding-bottom: 32px;
}

.work-header-left .label { margin-bottom: 10px; }

.work-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
}

.work-header-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  max-width: 280px;
  text-align: right;
  padding-bottom: 4px;
}

/* Gallery data store — hidden, carousel reads from it */
#gallery-container { display: none; }

/* Gallery filters */
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 auto 36px;
  max-width: 1200px;
  padding: 0 48px;
}
.gf-btn {
  background: none;
  border: 1px solid rgba(130,160,204,0.2);
  color: rgba(255,255,255,0.5);
  padding: 9px 22px;
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 2px;
}
.gf-btn:hover { color: #fff; border-color: rgba(130,160,204,0.5); }
.gf-btn.active { background: var(--blue); border-color: var(--blue); color: var(--navy); }

/* ── Gallery Carousel ─────────────────────────── */
.gallery-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

.gc-wrapper {
  overflow: hidden;
  border-radius: 2px;
  background: transparent;
}

.gc-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.gc-slide {
  min-width: 100%;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
}

.gc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gc-slide-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 28px 22px;
  background: linear-gradient(to top, rgba(5,24,31,0.65) 0%, transparent 100%);
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.gc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 24px));
  width: 44px; height: 44px;
  background: rgba(12,45,58,0.85);
  border: 1px solid rgba(130,160,204,0.2);
  color: rgba(255,255,255,0.75);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
}
.gc-arrow:hover:not(:disabled) {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--navy);
}
.gc-arrow:disabled { opacity: 0.2; cursor: default; }
.gc-prev { left: 10px; }
.gc-next { right: 10px; }

.gc-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  min-height: 26px;
}

.gc-dots { display: flex; gap: 8px; align-items: center; }

.gc-dot {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.gc-dot.active { background: var(--blue); width: 22px; }

.gc-counter {
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  min-width: 36px;
}

.gc-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: rgba(255,255,255,0.2);
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .gallery-filters { padding: 0 24px; gap: 6px; }
  .gf-btn { padding: 8px 14px; font-size: 10px; }
  .gallery-carousel { padding: 0 14px; }
  .gc-arrow { width: 36px; height: 36px; font-size: 1.4rem; }
  .gc-prev { left: -4px; }
  .gc-next { right: -4px; }
}

/* ---------- CONTACT STRIP ---------- */
.contact-strip {
  background: var(--navy);
  padding: 90px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-strip h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}

.contact-strip .sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  margin-bottom: 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(130,160,204,0.1);
}

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

.contact-row-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.contact-row-value {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
}

.contact-row-value a { transition: color 0.2s; }
.contact-row-value a:hover { color: #fff; }

/* Contact right — large CTA */
.contact-cta-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(130,160,204,0.1);
  padding-left: 80px;
}

.contact-cta-side p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-cta-side a.big-cta {
  display: inline-block;
  padding: 17px 40px;
  background: var(--blue);
  color: var(--navy);
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.contact-cta-side a.big-cta:hover { opacity: 0.85; }

.payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.payment-tags span {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 12px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #020d11;
  border-top: 1px solid rgba(130,160,204,0.08);
}

.footer-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 48px 56px;
}

.footer-brand img { height: 36px; margin-bottom: 16px; display: block; }

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.35);
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(130,160,204,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.footer-social svg { width: 14px; height: 14px; fill: currentColor; }

.footer-col h4 {
  font-family: 'Figtree', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(130,160,204,0.6);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-col .footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}

.footer-contact-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(130,160,204,0.5);
}

.footer-contact-item a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-contact-item a:hover { color: #fff; }

.footer-bar {
  border-top: 1px solid rgba(130,160,204,0.07);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bar p {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
}

.footer-bar-links {
  display: flex;
  gap: 20px;
}

.footer-bar-links a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}

.footer-bar-links a:hover { color: rgba(255,255,255,0.5); }

/* ---------- Inner page styles ---------- */
.page-hero {
  height: 55vh;
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 0;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.55);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 64px;
  max-width: 900px;
}

.page-hero-content .label { margin-bottom: 14px; }

.page-hero-content h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
}

/* Inner content */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 64px;
}

.page-content-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: start;
}

.content-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  margin-bottom: 20px;
}

.feature-group {
  margin-top: 36px;
}

.feature-group h3 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-group h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(130,160,204,0.2);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
}

.feature-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.content-aside {
  position: sticky;
  top: 100px;
}

.aside-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 24px;
}

.aside-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: filter 0.4s;
}

.aside-img:hover img { filter: saturate(1); }

.aside-cta {
  background: var(--mid);
  padding: 28px;
}

.aside-cta p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 20px;
}

.aside-cta a {
  display: block;
  padding: 14px 24px;
  background: var(--blue);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  transition: opacity 0.2s;
}

.aside-cta a:hover { opacity: 0.85; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 50vw; }
  .hero-left { padding: 140px 40px 60px; }
  .services-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 220px);
  }
  .s-card:nth-child(1) { grid-column: 1/2; grid-row: 1; }
  .s-card:nth-child(2) { grid-column: 2/3; grid-row: 1; }
  .s-card:nth-child(3) { grid-column: 1/2; grid-row: 2; }
  .s-card:nth-child(4) { grid-column: 2/3; grid-row: 2; }
  .s-card:nth-child(5) { grid-column: 1/2; grid-row: 3; }
  .s-card:nth-child(6) { grid-column: 2/3; grid-row: 3; }
  .s-card:nth-child(7) { grid-column: 1/3; grid-row: 4; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip-text { padding: 60px 40px; }
  .contact-strip { grid-template-columns: 1fr; gap: 48px; padding: 60px 40px; }
  .contact-cta-side { border-left: none; padding-left: 0; border-top: 1px solid rgba(130,160,204,0.1); padding-top: 48px; }
  .page-content { padding: 60px 40px; }
  .page-content-grid { grid-template-columns: 1fr; gap: 48px; }
  .content-aside { position: static; }
}

/* ---- Mobile drawer ---- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.open { display: block; opacity: 1; }

@keyframes linkFadeIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  /* Remove backdrop-filter so position:fixed children (the drawer) position relative to viewport, not nav */
  .nav, .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5,24,31,0.98); }
  .nav-mobile-btn { display: flex; }

  /* Drawer panel */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: #071e28;
    padding: 80px 32px 48px;
    gap: 0;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateX(0) !important;
  }
  .nav-links.open li {
    border-bottom: 1px solid rgba(130,160,204,0.08);
    opacity: 0;
    animation: linkFadeIn 0.25s ease forwards;
  }
  .nav-links.open li:last-child { border-bottom: none; }
  .nav-links.open li:nth-child(1) { animation-delay: 0.08s; }
  .nav-links.open li:nth-child(2) { animation-delay: 0.14s; }
  .nav-links.open li:nth-child(3) { animation-delay: 0.20s; }
  .nav-links.open li:nth-child(4) { animation-delay: 0.26s; }
  .nav-links li a,
  .nav-links li button {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    width: 100%;
    text-align: left;
  }
  .nav-links li a:hover,
  .nav-links li button:hover { color: #fff; }

  /* Dropdown inline — no absolute overlap */
  /* Kill desktop :hover rule on touch devices */
  .nav-item:hover .dropdown { display: none; }
  .dropdown.open { display: block !important; }

  .dropdown {
    display: none;
    position: static !important;
    transform: none !important;
    min-width: auto;
    background: transparent;
    border: none;
    border-left: 2px solid rgba(130,160,204,0.25);
    padding: 4px 0 12px 16px;
    margin: 0 0 4px;
  }
  .dropdown.open { display: block; }
  .dropdown a {
    padding: 9px 0 !important;
    font-size: 0.88rem !important;
    color: rgba(255,255,255,0.5) !important;
    letter-spacing: 0.06em;
    border: none !important;
  }
  .dropdown a:hover { color: var(--blue) !important; padding-left: 6px !important; }
  .services-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; padding: 0 16px; gap: 8px; }
  .s-card:nth-child(n) { grid-column: auto; grid-row: auto; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 24px; }
  .work-header { flex-direction: column; align-items: flex-start; padding: 0 24px 24px; gap: 16px; }
  .work-header-sub { text-align: left; max-width: 100%; }
  .reviews-section { padding: 64px 0 48px; }
  .review-card { padding: 0 6vw; }
  .footer-body { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px 40px; }
  .footer-bar { flex-direction: column; align-items: flex-start; padding: 18px 24px; gap: 10px; }
  .page-hero-content { padding: 48px 24px; }
  .page-content { padding: 48px 24px; }
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
