/* =========================================================================
   VARIABLES & RESET
   ========================================================================= */
:root {
  --primary: #bc2828;
  --primary-hover: #a9d125;
  --secondary: #286699;
  --secondary-hover: #1e293b;
  --background: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --text-main: #334155;
  --text-muted: #64748b;
  --white-70: rgba(255, 255, 255, 0.7);

  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --transition: all 0.3s ease;
}

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

html {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--background);
  scroll-behavior: smooth;
  line-height: 1.5;
}

body {
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: 1rem;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preloader-logo {
  width: 200px;
  animation: zoomIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.preloader-bar {
  width: 240px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 24px;
  overflow: hidden;
  border-radius: 4px;
}

.preloader-progress {
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform-origin: left;
  transform: scaleX(0);
  animation: loadBar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loadBar {
  to {
    transform: scaleX(1);
  }
}

/* =========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================= */
.text-primary {
  color: var(--primary);
}

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

.text-muted {
  color: var(--text-muted);
}

.text-white {
  color: var(--white);
}

.text-white-70 {
  color: var(--white-70);
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-light {
  font-weight: 300;
}

.italic {
  font-style: italic;
}

.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-lg {
  font-size: 1.125rem;
}

.shadow-2xl {
  box-shadow: var(--shadow-2xl);
}

.border-t {
  border-top: 1px solid var(--border);
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
  margin-inline: auto;
}

.max-w-md {
  max-width: 28rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.z-10 {
  z-index: 10;
}

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

/* =========================================================================
   LAYOUT & GRID
   ========================================================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

.grid {
  display: grid;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.items-center {
  align-items: center;
}

@media (min-width: 640px) {
  .sm-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .md-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .md-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .lg-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .lg-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .lg-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .lg-grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.section {
  padding: 6rem 0;
}

.section-badge {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.25rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-badge.light {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.875rem;
}

.btn-lg {
  height: 3.5rem;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

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

.btn-outline {
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--secondary);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--secondary);
  font-weight: 500;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  height: 3rem;
  padding: 0 2rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background: #128C7E;
}

.btn-submit {
  width: 100%;
  height: 3.5rem;
  font-size: 1rem;
  background: var(--secondary);
  color: var(--white);
}

.btn-submit:hover {
  background: var(--secondary-hover);
}

.icon-ml {
  margin-left: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
}

.icon-sm {
  width: 1.125rem;
  height: 1.125rem;
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1.5rem 0;
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}

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

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

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .nav-link {
  color: var(--secondary);
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  color: var(--white);
}

.navbar.scrolled .mobile-toggle {
  color: var(--secondary);
}

@media (max-width: 767px) {
  .mobile-toggle {
    display: block;
  }
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  color: var(--secondary);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-down:hover {
  color: var(--white);
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.animate-slide-up {
  animation: slideUp 0.7s ease-out forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(-25%) translateX(-50%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: none;
    transform: translateX(-50%);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about {
  background: var(--background);
}

.about-image {
  aspect-ratio: 4 / 5;
  border-radius: 0.5rem;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-decorator-1 {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 66%;
  aspect-ratio: 1;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 0.5rem;
  z-index: 0;
  display: none;
}

.about-decorator-2 {
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 8rem;
  height: 8rem;
  border: 4px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  z-index: 0;
  display: none;
}

@media (min-width: 768px) {

  .about-decorator-1,
  .about-decorator-2 {
    display: block;
  }
}

.experience-badge {
  position: absolute;
  top: 25%;
  right: -3rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  z-index: 20;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-xl);
  display: none;
}

@media (min-width: 1024px) {
  .experience-badge {
    display: block;
  }
}

.exp-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.exp-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

/* =========================================================================
   SERVICES SECTION
   ========================================================================= */
.services {
  background: var(--white);
}

.service-card {
  background: var(--background);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-icon-bg {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2rem;
  color: rgba(212, 175, 55, 0.05);
  opacity: 0;
  transform: scale(1);
  transition: all 0.5s ease;
  pointer-events: none;
}

.service-icon-bg svg {
  width: 4rem;
  height: 4rem;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-desc {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Know More Button */
.know-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  background: none;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  opacity: 1;
  transform: none;
  transition: color 0.3s ease;
  pointer-events: auto;
}

.know-more-btn:hover {
  color: #000;
}

/* Load More / Load Less Buttons */
#load-more-btn,
#load-less-btn {
  background: none !important;
  color: #000 !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 600;
  padding: 0;
}

#load-more-btn:hover,
#load-less-btn:hover {
  color: var(--primary) !important;
  background: none !important;
}

/* =========================================================================
   SERVICE MODALS
   ========================================================================= */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.service-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.service-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 0.75rem;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-modal.active .service-modal-content {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: sticky;
  top: 0.75rem;
  float: right;
  margin: 0.75rem 0.75rem 0 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  color: #333;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--primary);
  color: #fff;
}

.modal-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0.75rem 0.75rem 0 0;
  display: block;
}

.modal-body {
  padding: 1.75rem 2rem 2rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.modal-text {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* =========================================================================
   PROCESS SECTION
   ========================================================================= */
.process {
  background: var(--secondary);
}

.process-timeline {
  position: relative;
}

.process-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  display: none;
}

@media (min-width: 1024px) {
  .process-line {
    display: block;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-number {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--secondary);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.process-step:hover .process-number {
  border-color: var(--white);
  color: var(--white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.process-dot {
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
}

@media (min-width: 1024px) {
  .process-dot {
    display: block;
  }
}

.hidden-dot {
  display: none !important;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 200px;
}

/* =========================================================================
   PORTFOLIO SECTION
   ========================================================================= */
.portfolio {
  background: var(--background);
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .portfolio-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--white);
  color: var(--secondary);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

.filter-btn.active {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.portfolio-item {
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: opacity 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-cat {
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transform: translateY(1rem);
  transition: transform 0.5s ease;
}

.portfolio-title-text {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-serif);
  transform: translateY(1rem);
  transition: transform 0.5s ease 0.075s;
}

.portfolio-item:hover .portfolio-cat,
.portfolio-item:hover .portfolio-title-text {
  transform: translateY(0);
}

/* =========================================================================
   HOME AUTOMATION SECTION
   ========================================================================= */
.home-automation {
  background: var(--secondary);
  overflow: hidden;
}

.tech-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 40px 40px;
}

.automation-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.auto-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.auto-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.auto-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.automation-visual {
  position: relative;
  height: 600px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.auto-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

.auto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, var(--secondary), transparent, rgba(212, 175, 55, 0.2));
}

.mock-ui {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-2xl);
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mock-title {
  font-weight: 500;
}

.mock-toggle {
  width: 2rem;
  height: 1rem;
  background: var(--primary);
  border-radius: 9999px;
  position: relative;
}

.mock-toggle-circle {
  position: absolute;
  right: 0.25rem;
  top: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--white);
  border-radius: 50%;
}

.mock-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mock-item {
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================================================
   TESTIMONIALS SECTION
   ========================================================================= */
.testimonials {
  background: var(--white);
  overflow: hidden;
}

.quote-bg-icon {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 16rem;
  height: 16rem;
  color: var(--background);
  z-index: 0;
  opacity: 0.5;
}

.testimonial-card {
  background: var(--background);
  padding: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.stars svg {
  width: 1.25rem;
  height: 1.25rem;
}

.fill-primary {
  fill: var(--primary);
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.testimonial-author h4 {
  font-size: 1.125rem;
  color: var(--secondary);
  font-weight: 700;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.whatsapp-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.wa-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.5rem 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group input,
.form-group select {
  height: 3rem;
}

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

/* =========================================================================
   TRUSTED BRANDS
   ========================================================================= */
.brands {
  background: var(--white);
  padding: 4rem 0 6rem 0;
  border-top: 1px solid var(--border);
}

.brand-slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.brand-slider-container::before,
.brand-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}

.brand-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}

.brand-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.brand-slider {
  display: flex;
  width: 400%;
  animation: scroll-brands 20s linear infinite;
}

.brand-slide {
  width: 6.25%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.brand-slide img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  transition: var(--transition);
}

@keyframes scroll-brands {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .brand-slider {
    width: 800%;
  }
}

@media (max-width: 480px) {
  .brand-slide img {
    max-height: 50px;
  }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: #0f172a;
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--white-70);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.social-links a.facebook:hover {
  background: #1877F2;
  color: var(--white);
}

.social-links a.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: var(--white);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col li {
  color: var(--white-70);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.links-col a:hover,
.services-col a:hover,
.contact-col a:hover {
  color: var(--white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.contact-col li i {
  margin-top: 0.25rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white-70);
  font-size: 0.875rem;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: var(--white);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Align founder card vertically in the contact grid */
.founder-card {
  align-self: center;
}

/* =========================================================================
   FOUNDER CARD
   ========================================================================= */
.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  align-self: center;
}

.founder-photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: 0 8px 30px rgba(151, 130, 38, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(151, 130, 38, 0.35);
}

.founder-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.founder-role {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  font-family: var(--font-serif);
}