/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
}

body {
  color: #0A1F44;
  
}

body.brand-interiors .logo { color: #8b5e3c; }
body.brand-tech .logo { color: #0057b8; }


/* Logo animation */
.logo {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo.fade-out {
  opacity: 0;
  transform: translateY(-6px);
}

.logo.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.logo-text {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: 22px;
  fill: currentColor;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-text.fade-out {
  opacity: 0;
  transform: translateY(-6px);
}

.logo-text.fade-in {
  opacity: 1;
  transform: translateY(0);
}


body.brand-interiors { --accent: #8b5e3c; }
body.brand-livings { --accent: #3a6f7d; }
body.brand-spaces { --accent: #5a6f8a; }
body.brand-tech { --accent: #0057b8; }
body.brand-design { --accent: #6a4a8a; }
body.brand-group { --accent: #00B4A6; }

/* Use accent */
.logo,
nav a.active,
#progressBar {
  color: var(--accent);
  border-color: var(--accent);
  //background-color: var(--accent);
}



.breadcrumb {
  //margin-top: 80px;
  padding: 10px 30px;
  font-size: 0.8rem;
  color: #666;
}

.breadcrumb a {
  color: #0A1F44;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 6px;
}


/* PROGRESS BAR */
#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #00B4A6;
  z-index: 10000;
}

/* NAVBAR */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  background: rgba(10, 31, 68, 0.9);
  backdrop-filter: blur(6px);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.7s ease;
}

nav.show {
  transform: translateY(0);
  opacity: 1;
}

nav .logo {
  color: #fff;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
}

nav a.active {
  border-bottom: 2px solid #00B4A6;
  padding-bottom: 4px;
}


/* NAVBAR BASE */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(10, 31, 68, 0.95);
  backdrop-filter: blur(6px);
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

/* Hamburger (hidden on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
}

/* ACTIVE LINK */
nav a.active {
  border-bottom: 2px solid #00B4A6;
  padding-bottom: 4px;
}

/* MOBILE */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(10, 31, 68, 0.98);
    width: 100%;
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .nav-links li {
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links a {
    display: block;
    padding: 15px 30px;
  }

  .nav-links.open {
    display: flex;
  }
}



/* NAVBAR BASE */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 31, 68, 0.95);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  transition: transform 0.4s ease;
}

#navbar.hide {
  transform: translateY(-100%);
}

.logo {
  color: #fff;
  font-weight: 700;
}

/* LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a.active {
  border-bottom: 2px solid #00B4A6;
  padding-bottom: 4px;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

/* Hamburger → X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE MENU */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 31, 68, 0.98);
    flex-direction: column;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links a {
    padding: 16px 30px;
    display: block;
  }
}

/* OVERLAY */
#navOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

#navOverlay.show {
  opacity: 1;
  pointer-events: auto;
}


/* Logo wrapper */
.logo-wrap {
  position: relative;
}

/* Group menu */
.group-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(10,31,68,0.12);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  display: none;
  flex-direction: column;
  min-width: 240px;
  z-index: 2000;
}

/* Menu links */
.group-menu a {
  padding: 12px 18px;
  text-decoration: none;
  font-size: 0.9rem;
  color: #0A1F44;
  white-space: nowrap;
}

.group-menu a:hover {
  background: rgba(10,31,68,0.05);
}

/* Show on hover (desktop) */
@media (min-width: 769px) {
  .logo-wrap:hover .group-menu {
    display: flex;
  }
}

/* Mobile group menu */
@media (max-width: 768px) {

  .group-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.95);
  }

  .group-menu.open {
    display: flex;
  }
}


/* Logo wrapper */
.logo-wrap {
  position: relative;
}

/* Mega menu container */
.mega-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(10,31,68,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  padding: 24px;
  display: none;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 20px;
  z-index: 2000;
  min-width: 520px;
}

/* Mega item */
.mega-item {
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: #0A1F44;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.mega-item:hover {
  background: rgba(10,31,68,0.05);
}

/* Logo placeholder */
.mega-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0A1F44;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Text */
.mega-item strong {
  font-size: 0.95rem;
}

.mega-item small {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 3px;
}

/* Show on hover (desktop) */
@media (min-width: 769px) {
  .logo-wrap:hover .mega-menu {
    display: grid;
  }
}


@media (max-width: 768px) {

  .mega-menu {
    position: static;
    display: none;
    min-width: auto;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: none;
    padding: 15px;
    background: rgba(255,255,255,0.98);
  }

  .mega-menu.open {
    display: grid;
  }
}




/* Make card behave like premium link */
.brand-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* CTA text */
.brand-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0A1F44;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover refinement */
.brand-card:hover .brand-cta {
  opacity: 1;
  transform: translateX(4px);
}

/* Stronger hover for clickable affordance */
.brand-card:hover {
  cursor: pointer;
}




/* SPLASH */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#splash.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

#splash video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY (shared) */
.splash-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.splash-overlay h1 {
  font-size: 2.3rem;
  font-weight: 700;
}

.splash-overlay p {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 300;
}

/* SKIP BUTTON */
#skipBtn {
  margin-top: 30px;
  padding: 10px 22px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#skipBtn:hover {
  background: #fff;
  color: #0A1F44;
}

/* MAIN */
#main {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

#main.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* HERO */
.hero {
  position: relative;
  height: 900px;
  width: 100%;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT SECTIONS */
.page {
  padding: 50px 30px;
  max-width: 900px;
  margin: auto;
}

.card {
  position: relative;
  padding: 35px 25px;
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  text-align: center;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

/* Gradient border */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00B4A6, #0A1F44);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.card:hover::after {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at top, rgba(0,180,166,0.15), transparent 60%);
  z-index: -1;
}


.card-elegant {
  padding: 40px 30px;
  background: #ffffff;
  border: 1px solid rgba(10, 31, 68, 0.12);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Title */
.card-elegant h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #0A1F44;
}

/* Divider line */
.card-line {
  display: block;
  width: 32px;
  height: 1px;
  background: #0A1F44;
  margin: 16px auto;
  opacity: 0.6;
}

/* Description */
.card-elegant p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

/* Hover – very subtle */
.card-elegant:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}


/* Icon */
.card-icon {
  font-size: 38px;
  display: block;
  margin-bottom: 15px;
}

/* Title */
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #0A1F44;
}

/* Description */
.card p {
  font-size: 0.9rem;
  color: #555;
}

/* Hover */
.card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.15);
}


/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* CONTACT FORM */
.contact-form {
  max-width: 500px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
}

.contact-form button {
  background: #0A1F44;
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #00B4A6;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  text-decoration: none;
  z-index: 1999;
}

/* DIVIDER */
.divider {
  width: 60px;
  height: 3px;
  background: #00B4A6;
  margin: 40px auto;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #666;
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}


/* Editorial timeline container */
.editorial {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

/* Vertical line */
.editorial::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(10, 31, 68, 0.15);
}

/* Item */
.editorial-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: flex-start;
  gap: 20px;
}

/* Index number */
.editorial-index {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(10, 31, 68, 0.6);
  text-align: center;
}

/* Content */
.editorial-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0A1F44;
}

.editorial-content p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #555;
  max-width: 600px;
}

/* Hover – extremely subtle */
.editorial-item:hover .editorial-index {
  color: #0A1F44;
}


@media (max-width: 768px) {
  .editorial::before {
    left: 20px;
  }

  .editorial-item {
    grid-template-columns: 40px 1fr;
  }

  .editorial-index {
    font-size: 0.75rem;
  }
}


/* Premium brand grid */
.brand-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* Brand card */
.brand-card {
  background: #ffffff;
  padding: 36px 32px;
  border-radius: 12px;
  border: 1px solid rgba(10, 31, 68, 0.12);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* Brand name */
.brand-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0A1F44;
  margin-bottom: 10px;
}

/* Description */
.brand-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #555;
}

/* Premium hover */
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}


/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

/* Contact blocks */
.contact-block {
  background: #ffffff;
  border: 1px solid rgba(10, 31, 68, 0.12);
  padding: 30px;
}

/* Headings */
.contact-block h3 {
  font-size: 1.05rem;
  margin-bottom: 15px;
  color: #0A1F44;
}

/* Text */
.contact-block p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 12px;
}

.contact-block a {
  color: #0A1F44;
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* Privacy note */
.contact-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #666;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

/* Contact blocks */
.contact-block {
  background: #ffffff;
  border: 1px solid rgba(10, 31, 68, 0.12);
  padding: 32px;
}

/* Headings */
.contact-block h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #0A1F44;
}

/* Text */
.contact-block p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 12px;
}

.contact-block a {
  color: #0A1F44;
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* Legal text */
.contact-block .legal {
  font-size: 0.85rem;
  color: #666;
}

/* Divider */
.contact-block hr {
  border: none;
  border-top: 1px solid rgba(10,31,68,0.1);
  margin: 16px 0;
}

/* Assurance text */
.contact-assurance {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #2a6f62;
}

/* Map */
.map-wrap {
  margin-top: 40px;
  border: 1px solid rgba(10,31,68,0.12);
}

.map-wrap iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-wrap iframe {
    height: 220px;
  }
}


.site-footer {
  background: #0A1F44;
  color: #fff;
  padding: 40px 30px;
  margin-top: 60px;
}

.footer-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  font-size: 0.85rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.site-footer a:hover {
  opacity: 1;
}


#cookieConsent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #0A1F44;
  color: #fff;
  padding: 14px 18px;
  font-size: 0.8rem;
  z-index: 999;
}

#cookieConsent button {
  margin-left: 10px;
  background: #00B4A6;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
}
