@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Poppins:wght@300;400;500;600;700&family=Prata&display=swap');

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
  --primary-color: #063a49;       /* Deep teal/green */
  --primary-color-hover: #03212a;
  --secondary-color: #c69e66;     /* Gold/bronze accent */
  --secondary-color-hover: #b48d56;
  --bg-light: #f9f9fb;            /* Soft off-white section background */
  --text-dark: #2d2d2d;           /* Deep charcoal body text */
  --text-light: #ffffff;          /* White text */
  --text-muted: #666666;          /* Muted gray subtexts */
  --border-color: #d9d9d9;        /* Light gray borders */
  
  --font-serif: 'Prata', Georgia, serif;
  --font-sans: 'Poppins', 'Lato', sans-serif;
  
  --transition-normal: all 0.3s cubic-bezier(0.42, 0, 0.58, 1);
  --transition-slow: all 0.5s ease-in-out;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --border-radius: 12px;
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--text-light);
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.3;
}

p {
  font-family: var(--font-sans);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

ul {
  list-style: none;
}

/* --- UTILITY CLASSES --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Scroll reveal - visible by default; hidden only when JS is active */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

html.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 58, 73, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-outline-white:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(6, 58, 73, 0.08);
  z-index: 1000;
  transition: var(--transition-normal);
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color) 20%, var(--secondary-color) 80%, transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(6, 58, 73, 0.1);
}

header.scrolled::after {
  opacity: 1;
}

.nav-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  height: 84px;
  transition: var(--transition-normal);
}

header .container {
  max-width: 1360px;
  padding-left: 28px;
  padding-right: 28px;
}

header.scrolled .nav-bar {
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

header.scrolled .logo img {
  height: 40px;
}

#logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--primary-color);
  letter-spacing: 2px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--text-dark);
  padding: 0 10px;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  border-radius: 8px;
  transition: var(--transition-normal);
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--primary-color);
  background-color: rgba(6, 58, 73, 0.05);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
  transition: var(--transition-normal);
}

.nav-link:hover::after {
  width: calc(100% - 20px);
}

/* Dropdown styling */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background-color: var(--text-light);
  box-shadow: 0 12px 40px rgba(6, 58, 73, 0.14);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999;
  border: 1px solid rgba(6, 58, 73, 0.06);
  overflow: hidden;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: var(--transition-normal);
}

.dropdown-item a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
  border-left-color: var(--secondary-color);
  padding-left: 26px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  justify-self: end;
}

.header-divider {
  width: 1px;
  height: 28px;
  background: rgba(6, 58, 73, 0.12);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.social-icon:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Language selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  padding: 8px 14px;
  border-radius: 30px;
  border: 1px solid rgba(6, 58, 73, 0.15);
  background: rgba(6, 58, 73, 0.03);
  transition: var(--transition-normal);
}

.lang-selector:hover {
  border-color: var(--secondary-color);
  background: rgba(198, 158, 102, 0.08);
  color: var(--primary-color);
}

.lang-selector svg {
  width: 10px;
  height: 6px;
  transition: var(--transition-normal);
}

.header-right .btn-primary {
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(198, 158, 102, 0.35);
}

.header-right .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(6, 58, 73, 0.25);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
  padding: 2px 0;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* Mobile nav active toggle states */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  margin-top: 84px;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background-color: #03151b;
}

/* Ken Burns zooming container */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
  animation: kenburns 30s ease-in-out infinite;
}

/* Drifting clouds overlay */
.hero-sky-clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="400" viewBox="0 0 1000 400"><path d="M 50 220 Q 90 180 130 220 Q 180 140 240 220 Q 290 110 380 220 Q 430 160 480 220 Q 530 130 600 220 Q 640 170 680 220 Q 730 120 810 220 Q 860 160 910 220 Z" fill="rgba(255,255,255,0.16)" filter="blur(30px)"/><path d="M 100 260 Q 140 210 180 260 Q 230 170 300 260 Q 350 140 450 260 Q 500 190 550 260 Q 610 160 690 260 Q 740 200 790 260 Q 840 160 920 260 Z" fill="rgba(255,255,255,0.12)" filter="blur(40px)"/></svg>');
  background-repeat: repeat-x;
  background-size: 1000px 400px;
  z-index: 2;
  opacity: 0.85;
  animation: drift-clouds 80s linear infinite;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(115deg, rgba(3, 21, 27, 0.82) 0%, rgba(3, 21, 27, 0.45) 48%, rgba(3, 21, 27, 0.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 3;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--text-light);
  width: 100%;
  max-width: 720px;
  padding: 20px 0 40px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 1px solid rgba(198, 158, 102, 0.45);
  border-radius: 30px;
  background: rgba(198, 158, 102, 0.12);
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.1s;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary-color);
  box-shadow: 0 0 10px var(--secondary-color);
}

.hero-title {
  font-size: 64px;
  line-height: 1.12;
  max-width: 700px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.25s;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.45s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.6s;
}

.hero-actions .btn {
  min-width: 170px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.75s;
}

.hero-trust span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  padding-left: 14px;
  position: relative;
}

.hero-trust span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--secondary-color);
}

/* Animations */
@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.1) translate(-1.5%, -1%);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

@keyframes drift-clouds {
  0% {
    background-position: 0px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .hero {
    height: 560px;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-actions .btn {
    min-width: 140px;
    padding: 11px 22px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 520px;
  }
  .hero-title {
    font-size: 34px;
    min-height: auto !important;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 400px;
  }
  .hero-title {
    font-size: 36px;
  }
}

/* --- LEAD & FORM SECTION --- */
.lead-form-section {
  background-color: var(--text-light);
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lead-text-box h2 {
  font-size: 44px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.lead-text-box .highlight {
  color: var(--secondary-color);
}

.lead-text-box p {
  font-size: 18px;
  color: var(--primary-color);
  font-family: var(--font-serif);
  margin-bottom: 30px;
  line-height: 1.5;
}

.lead-arrow img {
  width: 120px;
  height: auto;
}

.form-card {
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-field {
  margin-bottom: 15px;
  position: relative;
}

.form-field-full {
  grid-column: span 2;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  font-size: 14px;
  transition: var(--transition-normal);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  border-color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(198, 158, 102, 0.2);
}

select.form-input {
  appearance: none;
  cursor: pointer;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url('data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

textarea.form-input {
  height: 100px;
  resize: none;
}

/* Captcha Mock */
.captcha-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  padding: 10px 15px;
  margin-bottom: 20px;
  color: #333;
}

.captcha-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  background-color: var(--text-light);
  transition: var(--transition-normal);
}

.captcha-checkbox.checked {
  border-color: #04b74a;
}

.captcha-checkbox.checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 11px;
  border: solid #04b74a;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.captcha-label {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
}

.captcha-logo img {
  width: 65px;
  height: auto;
}

.form-card .btn-submit {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .lead-form-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 576px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .form-field-full {
    grid-column: span 1;
  }
  .form-card {
    padding: 25px 20px;
  }
}

/* --- STAIRCASE / GUESSWORK SECTION --- */
.guesswork-section {
  background-color: var(--bg-light);
}

.guesswork-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.video-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.video-container img {
  width: 100%;
  transition: var(--transition-slow);
}

.video-container:hover img {
  transform: scale(1.03);
}



.guesswork-content h2 {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.guesswork-content .highlight {
  color: var(--secondary-color);
}

.guesswork-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 35px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.checklist-item svg {
  width: 18px;
  height: 18px;
  fill: var(--secondary-color);
}

.guesswork-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .guesswork-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 576px) {
  .checklist {
    grid-template-columns: 1fr;
  }
}

/* --- SERVICES SECTION --- */
.services-section {
  background-color: var(--text-light);
  text-align: center;
}

.services-section h2 {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.services-section h2 span {
  color: var(--secondary-color);
}

.services-section > p {
  color: var(--text-muted);
  margin-bottom: 60px;
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--text-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.service-img-wrapper {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-info h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.service-info p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.service-info .btn {
  padding: 10px 20px;
  font-size: 14px;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
  background-color: var(--bg-light);
  text-align: center;
  overflow: hidden;
}

.testimonials-section h2 {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.testimonials-section h2 span {
  color: var(--secondary-color);
}

.testimonials-section > p {
  font-size: 18px;
  font-family: var(--font-serif);
  color: var(--secondary-color);
  margin-bottom: 50px;
}

.carousel-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 50px;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 30px;
}

.testimonial-card {
  flex: 0 0 calc((100% - 60px) / 3);
  background-color: var(--text-light);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(198, 158, 102, 0.3);
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.reviewer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.reviewer-date {
  font-size: 12px;
  color: var(--text-muted);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: #ffc107;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--text-light);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-normal);
}

.carousel-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.carousel-btn:hover svg {
  fill: var(--text-light);
}

.carousel-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--text-dark);
  transition: var(--transition-normal);
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 30px) / 2);
  }
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 0 10px;
  }
  .testimonial-card {
    flex: 0 0 100%;
  }
  .carousel-btn {
    position: static;
    transform: none;
    margin: 20px 10px 0;
    display: inline-flex;
  }
  .carousel-navigation-mobile {
    margin-top: 10px;
  }
}

/* --- COLLECTIONS SECTION --- */
.collections-section {
  background-color: var(--text-light);
  text-align: center;
}

.collections-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  text-align: left;
}

.collections-header h2 {
  font-size: 38px;
  color: var(--primary-color);
}

.collections-header h2 span {
  color: var(--secondary-color);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.collection-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.collection-img-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: collection-drift 22s ease-in-out infinite alternate;
}

@keyframes collection-drift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.04) translate(-1%, 0); }
}

.collection-card:hover .collection-img-layer {
  transform: scale(1.08);
  animation: none;
}

.collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 2;
  transition: var(--transition-normal);
}

.collection-card:hover .collection-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.9) 100%);
}

.collection-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 10;
  color: var(--text-light);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.collection-info h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.collection-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 260px;
  transform: translateY(8px);
  opacity: 0.85;
  transition: var(--transition-normal);
}

.collection-card:hover .collection-desc {
  transform: translateY(0);
  opacity: 1;
}

.collection-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.collection-card:hover .collection-arrow {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateX(4px);
}

.collection-arrow svg {
  width: 14px;
  height: 14px;
  fill: var(--text-light);
}

@media (max-width: 992px) {
  .collections-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .collections-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  .collection-card {
    height: 350px;
  }
}

/* --- FAQ SECTION --- */
.faq-section {
  background-color: var(--bg-light);
  text-align: center;
}

.faq-section h2 {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.faq-section h2 span {
  color: var(--secondary-color);
}

.faq-section > p {
  color: var(--text-muted);
  margin-bottom: 60px;
  font-size: 16px;
}

.faq-accordion {
  max-width: 960px;
  margin: 0 auto 50px;
  text-align: left;
}

.faq-item {
  background-color: var(--text-light);
  border-radius: 6px;
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-normal);
}

.faq-question h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition-normal);
}

.faq-question:hover h3 {
  color: var(--secondary-color);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.faq-toggle-icon svg {
  width: 12px;
  height: 12px;
  fill: var(--primary-color);
  transition: var(--transition-normal);
}

.faq-item.active {
  border-color: var(--primary-color);
}

.faq-item.active .faq-question {
  background-color: var(--primary-color);
}

.faq-item.active .faq-question h3 {
  color: var(--text-light);
}

.faq-item.active .faq-toggle-icon {
  background-color: var(--secondary-color);
  transform: rotate(180deg);
}

.faq-item.active .faq-toggle-icon svg {
  fill: var(--text-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer-inner {
  padding: 25px 30px 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  background-color: var(--text-light);
}

.faq-still-questions {
  margin-top: 40px;
}

.faq-still-questions h4 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.faq-still-questions p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 16px 20px;
  }
  .faq-answer-inner {
    padding: 20px;
  }
}

/* --- BOTTOM CTA & STATS --- */
.bottom-cta-section {
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

/* Floating vector circles on dark teal background */
.bottom-cta-section::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.bottom-cta-section::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-card {
  background-color: var(--text-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.cta-info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-info-box h2 {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.cta-info-box p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 35px;
}

.cta-info-box .checklist-item {
  color: var(--text-dark);
}

.cta-form-box {
  background-color: #ffffff;
}

/* CTA form inputs styling */
.cta-form-box .form-input {
  background-color: #fafafa;
  color: var(--text-dark);
  border: 1px solid #d3d3d3;
}

.cta-form-box .form-input::placeholder {
  color: #999;
}

.cta-form-box .form-input:focus {
  border-color: var(--secondary-color);
  background-color: var(--text-light);
}

.cta-form-box .select-wrapper::after {
  background-image: url('data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="%236D6D6D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* Stats counter bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
}

.stat-item {
  padding: 10px 0;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 54px;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px) {
  .cta-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .stats-bar {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-card {
    padding: 30px 20px;
  }
}

/* --- FOOTER --- */
footer {
  position: relative;
  background: linear-gradient(180deg, #03212a 0%, #02151c 100%);
  color: var(--text-light);
  padding: 0 0 28px;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

footer > .container {
  padding-top: 56px;
}

.footer-top-accent {
  padding: 0 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 56px;
}

.footer-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-top-text h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-light);
}

.footer-top-text p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  max-width: 480px;
}

.footer-top-accent .btn-primary {
  flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(198, 158, 102, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  padding-right: 20px;
}

.footer-logo-text {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.footer-logo-tagline {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 0;
}

.footer-col {
  min-width: 0;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-color);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(198, 158, 102, 0.25);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.5;
  transition: var(--transition-normal);
}

.footer-links a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--secondary-color);
  margin-right: 0;
  transition: var(--transition-normal);
  vertical-align: middle;
}

.footer-links a:hover {
  color: var(--text-light);
  padding-left: 0;
}

.footer-links a:hover::before {
  width: 12px;
  margin-right: 8px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(198, 158, 102, 0.12);
  border: 1px solid rgba(198, 158, 102, 0.2);
  flex-shrink: 0;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  fill: var(--secondary-color);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.62);
  transition: var(--transition-normal);
}

.footer-contact a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  transition: var(--transition-normal);
}

.footer-bottom-links a:hover {
  color: var(--secondary-color);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 992px) {
  .footer-top-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-top-text p {
    max-width: none;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  footer > .container {
    padding-top: 40px;
  }

  .footer-top-accent {
    padding-bottom: 36px;
    margin-bottom: 40px;
  }

  .footer-top-text h3 {
    font-size: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}


.nav-mobile-cta {
  display: none;
}

/* --- NAVIGATION DROPDOWN CARAT STYLES --- */
.nav-caret {
  width: 9px;
  height: 5px;
  flex-shrink: 0;
  transition: var(--transition-normal);
  opacity: 0.6;
}

.nav-item:hover .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Compact nav on medium desktop screens */
@media (max-width: 1200px) and (min-width: 993px) {
  header .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-link {
    font-size: 11px;
    padding: 0 8px;
    letter-spacing: 0.3px;
  }

  .header-right .btn-primary {
    padding: 8px 14px;
    font-size: 11px;
  }
}

/* --- MOBILE NAVIGATION SYSTEM (<= 992px) --- */
@media (max-width: 992px) {
  .nav-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  header .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-menu {
    position: fixed;
    top: 84px;
    left: -100%;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 84px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px 24px 40px;
    gap: 4px;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: 0 16px 40px rgba(6, 58, 73, 0.12);
    overflow-y: auto;
    border-top: 1px solid rgba(6, 58, 73, 0.06);
  }
  
  header.scrolled .nav-menu {
    top: 72px;
    height: calc(100vh - 72px);
  }
  
  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(6, 58, 73, 0.06);
  }

  .nav-link {
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding: 16px 12px;
    font-size: 14px;
    border-radius: 0;
    white-space: normal;
  }

  .nav-link::after {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }

  .header-divider {
    display: none;
  }
  
  .header-right .social-icons, 
  .header-right .lang-selector, 
  .header-right .btn-primary {
    display: none;
  }

  .nav-menu .btn-primary,
  .nav-mobile-cta {
    display: inline-flex !important;
    width: 100%;
    margin-top: 20px;
    justify-content: center;
  }
  
  /* Mobile dropdown styles overrides */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background-color: var(--bg-light);
    min-width: 100%;
    transform: none;
    text-align: left;
    padding: 4px 0 12px;
    display: none;
    border-radius: 0;
    border: none;
    left: auto;
  }

  .dropdown-menu::before {
    display: none;
  }
  
  .dropdown-menu.mobile-show {
    display: block !important;
  }

  .dropdown-item a {
    padding: 10px 20px 10px 28px;
    font-size: 13px;
    border-left: none;
  }

  .dropdown-item a:hover {
    padding-left: 32px;
    border-left: none;
  }
}

/* --- SUBPAGE HERO BANNER --- */
.subpage-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 84px;
  overflow: hidden;
  text-align: center;
}

.subpage-hero-media {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: subpage-kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}

.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(3, 21, 27, 0.88) 0%, rgba(6, 58, 73, 0.55) 45%, rgba(3, 21, 27, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

.subpage-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.subpage-hero-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  z-index: 4;
  animation: hero-shine 8s ease-in-out infinite;
  pointer-events: none;
}

.subpage-hero-content {
  position: relative;
  z-index: 10;
  color: var(--text-light);
  padding: 0 24px;
  max-width: 820px;
  animation: hero-content-in 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.subpage-hero-title {
  font-size: 46px;
  margin-bottom: 16px;
  font-family: var(--font-serif);
  letter-spacing: 1px;
  line-height: 1.15;
}

.subpage-hero-subtitle {
  display: inline-block;
  font-size: 12px;
  opacity: 1;
  font-family: var(--font-sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 7px 14px;
  border: 1px solid rgba(198, 158, 102, 0.4);
  border-radius: 30px;
  background: rgba(198, 158, 102, 0.1);
}

.subpage-hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
  margin: 0 auto 26px;
}

.subpage-hero .hero-actions {
  justify-content: center;
  margin-bottom: 0;
  opacity: 1;
  animation: none;
}

@keyframes subpage-kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-1.5%, -1%); }
}

@keyframes hero-shine {
  0%, 100% { left: -100%; opacity: 0; }
  45% { opacity: 1; }
  55% { left: 140%; opacity: 0; }
}

@keyframes hero-content-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .subpage-hero {
    height: 360px;
    margin-top: 84px;
  }
  header.scrolled + .subpage-hero {
    margin-top: 72px;
  }
  .subpage-hero-title {
    font-size: 32px;
  }
  .subpage-hero-lead {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .subpage-hero .hero-actions .btn {
    min-width: 130px;
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .subpage-hero {
    height: 400px;
  }
  .subpage-hero-title {
    font-size: 28px;
  }
  .subpage-hero .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .subpage-hero .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* --- CASE STUDIES (PROJECT DETAIL PAGES) --- */
.project-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin: 60px 0;
}

.project-main-content h2 {
  font-size: 28px;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 15px;
}

.project-main-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-main-content ul {
  margin-left: 20px;
  margin-bottom: 25px;
}

.project-main-content li {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 15px;
}

/* Metadata Sidebar card */
.project-meta-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  height: fit-content;
  position: sticky;
  top: 110px;
}

.project-meta-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.meta-info-item {
  margin-bottom: 18px;
}

.meta-info-item:last-child {
  margin-bottom: 0;
}

.meta-info-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 600;
}

.meta-info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 4px;
}

/* Project Image Gallery */
.project-gallery {
  margin: 50px 0;
}

.project-gallery h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.gallery-img-wrapper {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  height: 380px;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-img-wrapper:hover img {
  transform: scale(1.04);
}

@media (max-width: 992px) {
  .project-details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-img-wrapper {
    height: 300px;
  }
}

/* --- INSIGHTS LISTING PAGE --- */
.insights-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 60px 0;
}

.insight-card {
  background-color: var(--text-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(198, 158, 102, 0.3);
}

.insight-img-link {
  display: block;
  overflow: hidden;
  height: 200px;
}

.insight-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.insight-img-link:hover img {
  transform: scale(1.05);
}

.insight-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-card-date {
  font-size: 12px;
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.insight-card-content h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 12px;
  line-height: 1.4;
}

.insight-card-content p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.insight-readmore {
  display: inline-flex;
  align-items: center;
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 600;
}

.insight-readmore svg {
  width: 14px;
  height: 14px;
  margin-left: 6px;
  fill: currentColor;
  transition: var(--transition-normal);
}

.insight-readmore:hover svg {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .insights-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .insights-list-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 40px auto;
  }
}

/* --- QUOTE ESTIMATOR PAGE --- */
.quote-container-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  margin: 60px 0;
}

.quote-process-info h2 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.quote-process-info h2 span {
  color: var(--secondary-color);
}

.quote-process-info > p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 35px;
}

/* Quote step card styling */
.quote-step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.quote-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  flex-shrink: 0;
}

.quote-step-text h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.quote-step-text p {
  color: var(--text-muted);
  font-size: 13.5px;
}

/* Ballpark Pricing Table */
.ballpark-pricing-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-top: 40px;
}

.ballpark-pricing-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.pricing-table th, .pricing-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.pricing-table th {
  background-color: rgba(6, 58, 73, 0.05);
  color: var(--primary-color);
  font-weight: 600;
}

.pricing-table td {
  color: var(--text-muted);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 992px) {
  .quote-container-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- DYNAMIC PREMIUM HOVER SHIFTS & TRANSITIONS --- */
.reveal-shift {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
}

.reveal-shift:hover {
  transform: translateY(-4px);
}

/* Custom interactive animation for buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.15);
  transition: width 0.3s ease-out;
  z-index: -1;
}

.btn-primary:hover::before {
  width: 100%;
}


/* --- DA vs CDC WIDGET STYLES --- */
.approvals-widget-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.approvals-widget-header {
  text-align: center;
  margin-bottom: 48px;
}

.approvals-widget-header h2 {
  font-size: 38px;
  color: var(--primary-color);
  font-family: var(--font-serif);
  margin-bottom: 14px;
  line-height: 1.2;
}

.approvals-widget-header .highlight {
  color: var(--secondary-color);
}

.approvals-widget-header p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

.widget-tabs-container {
  max-width: 860px;
  margin: 0 auto;
  background: var(--text-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.widget-tab-headers {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: #f4f5f7;
}

.widget-tab-btn {
  flex: 1;
  padding: 18px 16px;
  font-family: var(--font-serif);
  font-size: 17px;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--primary-color);
  transition: var(--transition-normal);
  position: relative;
}

.widget-tab-btn.active {
  background-color: var(--primary-color);
  color: var(--text-light);
  font-weight: 600;
}

.widget-tab-btn:hover:not(.active) {
  background-color: #eceef2;
}

.widget-tab-btn:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: -2px;
  z-index: 1;
}

.widget-tab-content {
  display: none;
  padding: 36px 40px 40px;
  animation: fadeInWidget 0.35s ease-out;
}

.widget-tab-content.active {
  display: block;
}

.widget-tab-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(6, 58, 73, 0.08);
  border: 1px solid rgba(6, 58, 73, 0.15);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.widget-tab-badge--cdc {
  color: #7a5a28;
  background: rgba(198, 158, 102, 0.14);
  border-color: rgba(198, 158, 102, 0.35);
}

.widget-tab-content h3 {
  color: var(--primary-color);
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.3;
}

.widget-tab-content p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.widget-feature-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.widget-feature-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  border-bottom: 1px solid rgba(217, 217, 217, 0.6);
}

.widget-feature-list li:last-child {
  border-bottom: none;
}

.widget-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary-color);
}

.widget-tab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.widget-tab-actions .btn {
  font-size: 14px;
  padding: 10px 22px;
}

.widget-compare-strip {
  max-width: 860px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 24px;
  background: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.widget-compare-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget-compare-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.widget-compare-value {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.5;
}

.widget-compare-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
}

.widget-compare-link:hover {
  color: var(--secondary-color);
}

@keyframes fadeInWidget {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .approvals-widget-header h2 {
    font-size: 28px;
  }
  .widget-tab-btn {
    font-size: 14px;
    padding: 14px 10px;
  }
  .widget-tab-content {
    padding: 28px 22px 32px;
  }
  .widget-tab-actions {
    flex-direction: column;
  }
  .widget-tab-actions .btn {
    width: 100%;
    text-align: center;
  }
  .widget-compare-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* --- HERO ARCHITECTURAL CANVAS ANIMATION --- */
#hero-animation-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  opacity: 0.65;
}

/* Typewriter blink cursor animation */
#hero-typewriter {
  border-right: 2px solid var(--secondary-color);
  animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
  from, to { border-color: transparent }
  50% { border-color: var(--secondary-color); }
}

