:root {
  --color-bg: #FBF9F5;
  --color-bg-alt: #F2ECE1;
  --color-cream: #FFFFFF;
  --color-white: #FFFFFF;
  --color-text: #1C2028;
  --color-text-muted: #565E6D;
  --color-charcoal-900: #14171D;
  --color-charcoal-800: #1E232B;
  --color-charcoal-700: #2B313D;
  --color-brown-900: #14171D;
  --color-brown-700: #2B313D;
  --color-brown-500: #8D6E52;
  --color-gold: #C8963E;
  --color-gold-dark: #A97A27;
  --color-gold-light: #F7EFE1;
  --color-accent: #C8963E;
  --color-accent-dark: #A97A27;
  --font-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(20, 23, 29, 0.08);
  --shadow-lg: 0 12px 28px rgba(20, 23, 29, 0.14);
  --max-width: 1140px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-charcoal-900);
}

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

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

ul, ol { list-style: none; }

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

.section {
  padding: 72px 0;
}

.section-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold-dark);
  background: var(--color-gold-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  color: var(--color-text-muted);
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  text-align: center;
}

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

.btn-primary {
  background: var(--color-gold);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(200, 150, 62, 0.3);
}
.btn-primary:hover {
  background: var(--color-gold-dark);
  box-shadow: 0 6px 16px rgba(169, 122, 39, 0.4);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-charcoal-900);
  border-color: var(--color-charcoal-900);
}
.btn-secondary:hover {
  background: var(--color-charcoal-900);
  color: var(--color-white);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  background: #1EBE5D;
  border-color: #1EBE5D;
  color: #FFFFFF;
}

.btn-tertiary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.8);
}
.btn-tertiary:hover {
  background: var(--color-white);
  color: var(--color-charcoal-900);
}

/* --- TOPBAR --- */
.topbar {
  background: var(--color-charcoal-900);
  color: #D3D8E0;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(200, 150, 62, 0.3);
  padding: 8px 0;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar__left, .topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar__item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.topbar a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .topbar__item--hide-mobile {
    display: none;
  }
}

/* --- HEADER --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(20, 23, 29, 0.06);
  border-bottom: 1px solid var(--color-bg-alt);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(20, 23, 29, 0.14);
  border-bottom: 3px solid var(--color-gold);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.25s ease, visibility 0.25s ease;
}
.nav.is-open { max-height: 380px; visibility: visible; }

.nav__list {
  display: flex;
  flex-direction: column;
  padding: 12px 24px 20px;
}

.nav__link {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--color-charcoal-900);
  border-bottom: 1px solid var(--color-bg-alt);
  transition: color 0.15s ease;
}
.nav__link:hover {
  color: var(--color-gold);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-call {
  padding: 10px 18px;
  font-size: 0.92rem;
}

@media (max-width: 520px) {
  .btn-call__label {
    display: none;
  }
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--color-charcoal-900);
  border-radius: 2px;
}

@media (min-width: 860px) {
  .nav {
    position: static;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    background: transparent;
    visibility: visible;
  }
  .nav__list {
    flex-direction: row;
    padding: 0;
    gap: 28px;
  }
  .nav__link { border-bottom: none; padding: 0; }
  .nav__toggle { display: none; }
}

/* --- HERO --- */
.hero {
  background: linear-gradient(145deg, #13161C 0%, #1E232B 55%, #2B3340 100%);
  color: var(--color-white);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 150, 62, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 150, 62, 0.16);
  border: 1px solid rgba(200, 150, 62, 0.45);
  color: #F8F1E4;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero__location-badge svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  max-width: 660px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: #D3D8E0;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* --- SERVICES --- */
.services {
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 23, 29, 0.05);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  background: var(--color-gold-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* --- PROJECTS (REAL WORK FROM CORPORATE RECEIPT & FIELDWORK) --- */
.projects {
  background: var(--color-bg-alt);
}

.projects__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--color-white);
  border: 1px solid rgba(20, 23, 29, 0.1);
  color: var(--color-charcoal-700);
  padding: 9px 20px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold);
  color: var(--color-gold-dark);
}

.filter-btn.is-active {
  background: var(--color-charcoal-900);
  border-color: var(--color-charcoal-900);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(20, 23, 29, 0.18);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(20, 23, 29, 0.06);
  cursor: pointer;
}

.project-card.is-hidden {
  display: none !important;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card__image-wrap {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: var(--color-charcoal-900);
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:hover .project-card__img {
  transform: scale(1.04);
}

.project-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(19, 22, 27, 0.88);
  color: var(--color-gold);
  border: 1px solid rgba(200, 150, 62, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-card__zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(19, 22, 27, 0.75);
  color: #FFFFFF;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
}

.project-card:hover .project-card__zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.project-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card__location {
  font-size: 0.8rem;
  color: var(--color-gold-dark);
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-card__content h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: var(--color-charcoal-900);
}

.project-card__content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
  border: none;
  border-radius: var(--radius);
  background: var(--color-charcoal-900);
  color: #FFFFFF;
  max-width: 860px;
  width: 92vw;
  padding: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin: auto;
}

.lightbox::backdrop {
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox__content {
  position: relative;
  display: flex;
  flex-direction: column;
}

.lightbox__image-wrap {
  width: 100%;
  max-height: 70vh;
  background: #090B0E;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox__img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox__info {
  padding: 24px 28px;
  background: var(--color-charcoal-800);
}

.lightbox__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.lightbox__title {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.lightbox__desc {
  color: #B5BDC9;
  font-size: 0.95rem;
  line-height: 1.5;
}

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox__close:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-charcoal-900);
}

/* --- WHY US --- */
.why-us {
  background: var(--color-bg);
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: center;
}

.why-us__item {
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 23, 29, 0.05);
}

.why-us__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--color-gold);
  background: var(--color-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.why-us__item h3 {
  font-size: 1.05rem;
}

/* --- PROCESS --- */
.process {
  background: var(--color-bg-alt);
}

.process__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.process__step {
  position: relative;
  text-align: center;
  padding: 32px 20px 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 23, 29, 0.05);
}

.process__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--color-charcoal-700);
}

.process__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.process__step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process__step p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- CONTACT SECTION --- */
.contact {
  background: var(--color-bg);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 960px) {
  .contact__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
  }
}

.contact__intro {
  display: flex;
  flex-direction: column;
}

.contact-card {
  background: var(--color-white);
  border: 1px solid rgba(200, 150, 62, 0.35);
  border-radius: var(--radius);
  padding: 28px;
  margin: 24px 0 28px;
  box-shadow: var(--shadow);
}

.contact-card__title {
  font-size: 1.15rem;
  color: var(--color-charcoal-900);
  margin-bottom: 18px;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 8px;
  display: inline-block;
}

.contact-card__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--color-gold-light);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__details strong {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card__details a, .contact-card__details p {
  font-size: 0.98rem;
  color: var(--color-charcoal-900);
  font-weight: 500;
  line-height: 1.4;
}

.contact-card__details a:hover {
  color: var(--color-gold-dark);
  text-decoration: underline;
}

.contact__direct {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact__form {
  background: var(--color-white);
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 23, 29, 0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__form-title {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.contact__form-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-charcoal-900);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-bg-alt);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #FCFBF8;
  color: var(--color-charcoal-900);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.2);
  background: #FFFFFF;
}

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

.form-error {
  color: #D32F2F;
  font-size: 0.85rem;
  min-height: 1em;
}

/* --- FOOTER --- */
.footer {
  background: var(--color-charcoal-900);
  color: #C2C8D2;
  padding: 64px 0 28px;
  border-top: 3px solid var(--color-gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

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

.footer__brand .logo__img--footer {
  height: 54px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer__brand p {
  max-width: 380px;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #9AA3B0;
}

.footer__address-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: #FFFFFF;
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer__address-badge svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__address-badge a {
  color: #F8F1E4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__address-badge a:hover {
  color: var(--color-gold);
}

.footer__col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer__col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-gold);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  color: #A3ABB7;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: var(--color-gold);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #D3D8E0;
}

.footer__contact-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #838C9A;
}

/* --- MOBILE SPECIFIC OPTIMIZATIONS --- */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 767px) {
  /* Prevent horizontal overflow */
  body {
    overflow-x: hidden;
    padding-bottom: 74px; /* Space for fixed bottom action bar */
  }

  /* Fixed bottom bar for high-conversion tap-to-call and WhatsApp */
  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 10px 14px;
    background: rgba(19, 22, 27, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    gap: 10px;
    border-top: 1px solid rgba(200, 150, 62, 0.35);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  }

  .mobile-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: var(--font-heading);
    text-align: center;
    text-decoration: none;
    min-height: 46px;
    transition: opacity 0.15s ease;
  }

  .mobile-cta-btn:active {
    opacity: 0.85;
  }

  .mobile-cta-btn--call {
    background: var(--color-gold);
    color: #FFFFFF;
  }

  .mobile-cta-btn--whatsapp {
    background: #25D366;
    color: #FFFFFF;
  }

  /* Section padding adjustments */
  .section {
    padding: 54px 0;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero__title {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    margin-bottom: 16px;
  }

  .hero__subtitle {
    font-size: 1.02rem;
    margin-bottom: 28px;
    padding: 0 8px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 12px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  /* Horizontal scrolling filter pills for touch */
  .projects__filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 16px 12px;
    margin: 0 -16px 28px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .projects__filters::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.84rem;
  }

  /* Projects grid */
  .projects__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card__image-wrap {
    height: 220px;
  }

  /* Touch-friendly inputs with 16px to prevent iOS zoom */
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
    min-height: 48px;
  }

  .contact__direct {
    flex-direction: column;
  }

  .contact__direct .btn {
    width: 100%;
    min-height: 48px;
  }

  .contact-card {
    padding: 22px 18px;
  }

  .contact__form {
    padding: 26px 18px;
  }

  /* Lightbox modal on mobile */
  .lightbox {
    width: 95vw;
    border-radius: 12px;
  }

  .lightbox__image-wrap {
    max-height: 52vh;
  }

  .lightbox__info {
    padding: 16px 18px;
  }

  .lightbox__title {
    font-size: 1.15rem;
  }

  .lightbox__desc {
    font-size: 0.88rem;
  }
}

/* --- LUMINOVA DESIGN FOOTER CREDIT --- */
.footer__credits {
  margin-top: 10px;
  font-size: 0.86rem;
  color: #8C96A5;
}

.luminova-link {
  color: var(--color-gold);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.luminova-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(200, 150, 62, 0.7);
}

/* --- FLOATING ACTIONS DOCK (WHATSAPP & AI ROBOT) --- */
.floating-dock {
  position: fixed;
  bottom: 30px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  z-index: 998;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  position: relative;
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

.floating-btn:active {
  transform: scale(0.96);
}

/* WhatsApp Floating Button */
.floating-btn--whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.floating-btn--whatsapp:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* AI Assistant Floating Button */
.floating-btn--ai {
  background: linear-gradient(135deg, #14171D 0%, #222834 60%, #3B4455 100%);
  color: var(--color-gold);
  border: 1.5px solid rgba(200, 150, 62, 0.55);
  box-shadow: 0 8px 25px rgba(20, 23, 29, 0.5);
}

.floating-btn--ai:hover {
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(200, 150, 62, 0.35);
}

.ai-status-pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  background: #10B981;
  border: 2px solid #14171D;
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Tooltip for desktop */
.floating-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: rgba(19, 22, 27, 0.95);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- MARTINEZ AI ASSISTANT PANEL --- */
.ai-panel {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #14171D;
  border-radius: 18px;
  border: 1px solid rgba(200, 150, 62, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-panel:not([hidden]) {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ai-panel__header {
  padding: 16px 20px;
  background: #1E232B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-panel__bot-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-panel__avatar {
  width: 40px;
  height: 40px;
  background: rgba(200, 150, 62, 0.15);
  border: 1px solid rgba(200, 150, 62, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  position: relative;
}

.ai-online-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #10B981;
  border: 2px solid #1E232B;
  border-radius: 50%;
}

.ai-panel__title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.ai-panel__status {
  font-size: 0.76rem;
  color: #9AA3AF;
  display: block;
}

.ai-panel__close {
  background: transparent;
  border: none;
  color: #9AA3AF;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.ai-panel__close:hover {
  color: #FFFFFF;
}

.ai-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: msgFadeIn 0.25s ease;
}

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

.ai-msg__avatar {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-msg__bubble {
  background: #1E232B;
  color: #E2E8F0;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 86%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ai-msg--user {
  flex-direction: row-reverse;
}

.ai-msg--user .ai-msg__bubble {
  background: var(--color-gold);
  color: #14171D;
  font-weight: 600;
  border-color: transparent;
}

.ai-quick-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.ai-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 150, 62, 0.28);
  color: #F0F4F8;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ai-chip:hover {
  background: rgba(200, 150, 62, 0.2);
  border-color: var(--color-gold);
  color: #FFFFFF;
  transform: translateX(4px);
}

.ai-panel__footer {
  padding: 12px 14px;
  background: #1A1F27;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-panel__input {
  flex: 1;
  background: #13161C;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #FFFFFF;
  padding: 10px 14px;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.ai-panel__input:focus {
  border-color: var(--color-gold);
}

.ai-panel__send {
  background: var(--color-gold);
  border: none;
  color: #14171D;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.ai-panel__send:hover {
  background: #D8A54A;
  transform: scale(1.04);
}

/* Mobile adjustments for floating dock and AI panel */
@media (max-width: 767px) {
  .floating-dock {
    bottom: 84px; /* Sits right above the mobile sticky bottom bar */
    right: 14px;
    gap: 10px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
  }

  .floating-btn svg {
    width: 24px;
    height: 24px;
  }

  .floating-tooltip {
    display: none; /* Hide tooltips on touch devices */
  }

  .ai-panel {
    bottom: 82px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    height: 480px;
  }
}
