/* ============================================
   MBA Inc. — Main Stylesheet
   ============================================ */

/* Import Design System */
@import url('variables.css');
@import url('animations.css');

/* Import Google Fonts — Cormorant Garamond (Tangoure substitute) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ===========================================
   CUSTOM FONT FACES — Optika
   =========================================== */

@font-face {
  font-family: 'Optika';
  src: url('../fonts/optika/Optika-Regular.woff2') format('woff2'),
       url('../fonts/optika/Optika-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Optika';
  src: url('../fonts/optika/Optika-Bold.woff2') format('woff2'),
       url('../fonts/optika/Optika-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Optika';
  src: url('../fonts/optika/Optika-ThinItalic.woff2') format('woff2'),
       url('../fonts/optika/Optika-ThinItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* ===========================================
   CSS RESET & BASE
   =========================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-background);
  overflow-x: hidden;
}

/* Selection */
::selection {
  background-color: var(--color-soft-taupe);
  color: var(--color-off-white);
}

/* ===========================================
   TYPOGRAPHY
   =========================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  line-height: var(--leading-tight);
  color: var(--color-iron);
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-regular);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--color-soft-taupe);
}

strong {
  font-weight: var(--weight-semibold);
}

em {
  font-style: italic;
}

/* Small Text */
small, .text-small {
  font-size: var(--text-sm);
}

/* Lead Text */
.text-lead {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

/* Accent Text (Thin Italic) */
.text-accent {
  font-weight: var(--weight-thin);
  font-style: italic;
  color: var(--color-soft-taupe);
}

/* Uppercase Labels */
.text-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-soft-taupe);
}

/* ===========================================
   LAYOUT UTILITIES
   =========================================== */

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

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

/* Section Spacing */
section {
  padding: var(--section-padding) 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

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

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

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

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

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

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ===========================================
   NAVIGATION
   =========================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-lg) 0;
  background-color: transparent;
  transition: background-color var(--transition-base), 
              padding var(--transition-base),
              box-shadow var(--transition-base);
}

.header.scrolled {
  background-color: var(--color-off-white);
  padding: var(--space-md) 0;
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 55px;
  width: auto;
  transition: opacity var(--transition-base);
}

.logo-img.logo-light {
  display: block;
}

.logo-img.logo-dark {
  display: none;
}

.logo:hover .logo-img {
  opacity: 0.8;
}

.logo-img-footer {
  height: 65px;
  width: auto;
  opacity: 0.9;
}

.logo-img-footer.logo-light {
  display: block;
}

.logo-img-footer.logo-dark {
  display: none;
}

/* Dark mode - swap logos */
body.dark-mode .logo-img.logo-light,
body.dark-mode .logo-img-footer.logo-light {
  display: none;
}

body.dark-mode .logo-img.logo-dark,
body.dark-mode .logo-img-footer.logo-dark {
  display: block;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-iron);
  position: relative;
  padding: var(--space-sm) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-soft-taupe);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  z-index: calc(var(--z-overlay) + 1);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-iron);
  transition: var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-off-white);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-3xl);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    box-shadow: var(--shadow-xl);
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    gap: var(--space-xl);
  }
  
  .nav-link {
    font-size: var(--text-xl);
  }
  
  .nav-cta {
    margin-top: var(--space-xl);
  }
}

/* ===========================================
   BUTTONS
   =========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-all);
}

/* Primary Button */
.btn-primary {
  background-color: var(--color-iron);
  color: var(--color-off-white);
}

.btn-primary:hover {
  background-color: var(--color-deep-charcoal);
  color: var(--color-off-white);
  transform: translateY(-2px);
}

/* Secondary Button */
.btn-secondary {
  background-color: transparent;
  color: var(--color-iron);
  border: 1px solid var(--color-iron);
}

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

/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  color: var(--color-iron);
  padding: var(--space-sm) 0;
}

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

/* Button Sizes */
.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-base);
}

/* ===========================================
   HERO SECTION
   =========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--space-5xl) + var(--space-3xl));
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, var(--color-off-white) 0%, var(--color-cream) 100%);
  z-index: -2;
}

/* Geometric Pattern Overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      var(--color-taupe-light) 40px,
      var(--color-taupe-light) 41px
    );
  opacity: 0.15;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.hero-content-centered {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-content-centered .hero-line {
  margin-left: auto;
  margin-right: auto;
}

.hero-content-centered .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero-content-centered .hero-cta {
  justify-content: center;
}

.hero-label {
  margin-bottom: var(--space-lg);
}

.hero-title {
  margin-bottom: var(--space-xl);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* Decorative Line */
.hero-line {
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-soft-taupe);
  margin-bottom: var(--space-xl);
}

/* ===========================================
   CARDS
   =========================================== */

.card {
  background-color: var(--color-warm-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  transition: var(--transition-all);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  color: var(--color-soft-taupe);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.card-text {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

/* Service Card Variant */
.card-service {
  position: relative;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--color-warm-white);
  border-top: 3px solid var(--color-soft-taupe);
}

.card-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--color-cream) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card-service:hover::before {
  opacity: 0.5;
}

/* Service Card with Image Variant */
.card-service-img {
  position: relative;
  padding: 0;
  background: var(--color-warm-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-service-content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-service-content .card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-md);
}

.card-service-content .card-text {
  flex-grow: 1;
}

/* Team Card */
.card-team {
  text-align: center;
  padding: 0;
  overflow: hidden;
}

.card-team-image {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--color-cream);
}

.card-team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-team-content {
  padding: var(--space-xl);
}

.card-team-name {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.card-team-role {
  font-size: var(--text-sm);
  color: var(--color-soft-taupe);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

/* ===========================================
   SECTIONS
   =========================================== */

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .text-label {
  margin-bottom: var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-lg);
}

/* Alternate Section Background */
.section-alt {
  background-color: var(--color-cream);
}

/* Dark Section */
.section-dark {
  background-color: var(--color-deep-charcoal);
  color: var(--color-off-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-off-white);
}

.section-dark p {
  color: var(--color-taupe-light);
}

/* ===========================================
   ABOUT SECTION STYLES
   =========================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.about-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

/* Service Icon Box */
.service-icon-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-taupe-light) 50%, var(--color-cream) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.service-icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(168, 159, 145, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(168, 159, 145, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.service-icon-box svg {
  color: var(--color-soft-taupe);
  opacity: 0.7;
  transition: all var(--transition-base);
}

.service-icon-box:hover svg {
  opacity: 1;
  transform: scale(1.05);
}

.service-icon-label {
  font-size: var(--text-sm);
  color: var(--color-taupe-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Dark mode adjustments */
body.dark-mode .service-icon-box {
  background: linear-gradient(135deg, var(--dark-card-bg) 0%, #3a3a3a 50%, var(--dark-card-bg) 100%);
}

body.dark-mode .service-icon-box svg {
  color: var(--dark-accent);
}

body.dark-mode .service-icon-label {
  color: var(--dark-text);
  opacity: 0.8;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image::after {
  content: '';
  position: absolute;
  top: var(--space-xl);
  left: var(--space-xl);
  right: calc(var(--space-xl) * -1);
  bottom: calc(var(--space-xl) * -1);
  border: 2px solid var(--color-soft-taupe);
  z-index: -1;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

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

.value-item {
  text-align: center;
  padding: var(--space-xl);
}

.value-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
  color: var(--color-soft-taupe);
}

.value-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

/* ===========================================
   CONTACT SECTION
   =========================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-4xl);
}

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

.contact-info {
  padding-right: var(--space-2xl);
}

.contact-item {
  margin-bottom: var(--space-xl);
}

.contact-item-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-soft-taupe);
  margin-bottom: var(--space-sm);
}

.contact-item-value {
  font-size: var(--text-lg);
  color: var(--color-iron);
}

.contact-item-value a {
  color: var(--color-iron);
}

.contact-item-value a:hover {
  color: var(--color-soft-taupe);
}

/* ===========================================
   FORMS
   =========================================== */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-iron);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-iron);
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-taupe-light);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-base), 
              box-shadow var(--transition-base);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-soft-taupe);
  box-shadow: 0 0 0 3px rgba(168, 159, 145, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-taupe-light);
}

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

.form-error {
  font-size: var(--text-sm);
  color: #c44536;
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: #c44536;
}

.form-group.error .form-error {
  display: block;
}

/* ===========================================
   FOOTER
   =========================================== */

.footer {
  background-color: var(--color-deep-charcoal);
  color: var(--color-off-white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

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

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

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-off-white);
  margin-bottom: var(--space-lg);
}

.footer-logo span {
  color: var(--color-soft-taupe);
}

.footer-desc {
  color: var(--color-taupe-light);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.footer-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-off-white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--color-taupe-light);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-off-white);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--color-taupe-light);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: var(--text-sm);
  color: var(--color-taupe-light);
}

.footer-legal a:hover {
  color: var(--color-off-white);
}

/* ===========================================
   CTA SECTION
   =========================================== */

.cta-section {
  background: linear-gradient(135deg, var(--color-iron) 0%, var(--color-deep-charcoal) 100%);
  color: var(--color-off-white);
  text-align: center;
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(168, 159, 145, 0.05) 60px,
      rgba(168, 159, 145, 0.05) 61px
    );
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  color: var(--color-off-white);
  margin-bottom: var(--space-lg);
}

.cta-text {
  color: var(--color-taupe-light);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.cta-section .btn-primary {
  background-color: var(--color-off-white);
  color: var(--color-iron);
}

.cta-section .btn-primary:hover {
  background-color: var(--color-cream);
}

/* ===========================================
   PAGE SPECIFIC — SERVICES
   =========================================== */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  padding: var(--space-4xl) 0;
  border-bottom: 1px solid var(--color-taupe-light);
}

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

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.service-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  color: var(--color-taupe-light);
  opacity: 0.3;
  margin-bottom: var(--space-md);
}

/* ===========================================
   UTILITY CLASSES
   =========================================== */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margins */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* Visibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-all);
  z-index: var(--z-sticky);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* ===========================================
   DARK MODE TOGGLE
   =========================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.dark-mode-toggle {
  width: 40px;
  height: 40px;
  padding: var(--space-sm);
  background: transparent;
  border: 1px solid var(--color-taupe-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-all);
  color: var(--color-iron);
}

.dark-mode-toggle:hover {
  background: var(--color-cream);
  border-color: var(--color-soft-taupe);
}

.dark-mode-toggle .icon-sun {
  display: block;
}

.dark-mode-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .dark-mode-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .dark-mode-toggle .icon-moon {
  display: block;
}

/* ===========================================
   HERO GRID WITH IMAGE
   =========================================== */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .hero-image {
    order: -1;
  }
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(168, 159, 145, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Hero image frame accent */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  right: calc(var(--space-lg) * -1);
  bottom: calc(var(--space-lg) * -1);
  border: 2px solid var(--color-soft-taupe);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ===========================================
   FOOTER ENHANCEMENTS
   =========================================== */

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-taupe-light);
  transition: var(--transition-all);
}

.footer-social a:hover {
  background: var(--color-soft-taupe);
  color: var(--color-off-white);
}

.footer-legal-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-registration {
  font-size: var(--text-xs);
  color: var(--color-taupe-dark);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }
  
  .footer-legal-info {
    align-items: center;
  }
}

/* ===========================================
   ENHANCED VALUE ICONS
   =========================================== */

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  color: var(--color-soft-taupe);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 48px;
  height: 48px;
}

/* ===========================================
   TEAM CARD LINKEDIN
   =========================================== */

.card-team-social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card-team-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: var(--radius-full);
  color: var(--color-soft-taupe);
  transition: var(--transition-all);
}

.card-team-social a:hover {
  background: var(--color-soft-taupe);
  color: var(--color-off-white);
}

/* Taupe Accent Line (Signature Element) */
.accent-line {
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-soft-taupe);
}

.accent-line-center {
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================
   MAP EMBED
   =========================================== */

.map-container {
  width: 100%;
  height: 400px;
  background-color: var(--color-cream);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===========================================
   PAGE HEADER (Inner Pages)
   =========================================== */

.page-header {
  padding: calc(var(--space-5xl) + var(--space-3xl)) 0 var(--space-3xl);
  background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-cream) 100%);
  text-align: center;
}

.page-header .text-label {
  margin-bottom: var(--space-md);
}

.page-header h1 {
  margin-bottom: var(--space-lg);
}

.page-header-desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
