/* SJI Group — Premium Real Estate Website */

:root {
  --green-900: #0a2e22;
  --green-800: #0f3d2e;
  --green-700: #145a42;
  --green-600: #1a6b50;
  --green-500: #228b63;
  --gold-400: #e8c547;
  --gold-500: #d4af37;
  --gold-600: #b8941f;
  --cream: #f7f4ed;
  --cream-dark: #ebe6da;
  --white: #ffffff;
  --text: #2c3330;
  --text-muted: #5c6560;
  --shadow: 0 4px 24px rgba(10, 46, 34, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 46, 34, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--green-800);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 46, 34, 0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
}

.logo-img-footer {
  height: 64px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-700);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15, 61, 46, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 61, 46, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--green-900);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-800);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 46, 34, 0.88) 0%, rgba(15, 61, 46, 0.75) 50%, rgba(10, 46, 34, 0.85) 100%),
    var(--img-hero) center/cover no-repeat;
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--gold-400);
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}

.stat-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
}

.hero-card img {
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.hero-card .badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--gold-500);
  color: var(--green-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* Values Bar */
.values-bar {
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--gold-500));
  padding: 1rem 0;
}

.values-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-900);
}

.values-list li::before {
  content: "◆";
  font-size: 0.5rem;
  color: var(--green-800);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gold-500);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.3;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold-400);
  font-size: 1.1rem;
}

.about-feature strong {
  display: block;
  font-size: 0.875rem;
  color: var(--green-800);
  margin-bottom: 0.15rem;
}

.about-feature span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Founder */
.founder-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.founder-grid {
  align-items: start;
}

.founder-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.founder-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold-500);
}

.founder-highlight strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-800);
  line-height: 1;
  white-space: nowrap;
}

.founder-highlight span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.founder-quotes {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.founder-quote {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.founder-quote strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.founder-quote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-900);
  line-height: 1.6;
  margin: 0;
}

.founder-quote.motto p {
  font-style: italic;
  color: var(--green-800);
}

.founder-image {
  position: relative;
}

.founder-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founder-card {
  position: absolute;
  bottom: -1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.founder-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.founder-card p {
  font-size: 0.875rem;
  color: var(--gold-400);
  margin-bottom: 0.25rem;
}

.founder-card span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Motto banner */
.motto-banner {
  background: var(--green-800);
  padding: 1.25rem 0;
  text-align: center;
}

.motto-banner p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-400);
  margin: 0;
}

/* Brochure */
.brochure-section {
  background: var(--cream);
}

.brochure-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.brochure-wrap img {
  width: 100%;
  display: block;
}

/* Vision Mission */
.vision-mission {
  background: var(--white);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vm-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.vm-card.vision {
  background: linear-gradient(135deg, #fef9e7, #fdf3d0);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.vm-card.mission {
  background: var(--green-800);
  color: var(--white);
}

.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.vm-card.vision h3 {
  color: var(--green-800);
}

.vm-card p,
.vm-card li {
  font-size: 0.95rem;
  line-height: 1.7;
}

.vm-card.vision p {
  color: var(--text-muted);
}

.vm-card.mission ul {
  margin-top: 0.5rem;
}

.vm-card.mission li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.vm-card.mission li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-400);
  font-weight: 700;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.3);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-800);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Why Choose */
.why-section {
  background: var(--green-800);
  color: var(--white);
}

.why-section .section-label {
  color: var(--gold-400);
}

.why-section .section-title {
  color: var(--white);
}

.why-section .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-item {
  text-align: center;
  padding: 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.why-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.06);
}

.project-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  background: var(--gold-500);
  color: var(--green-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.project-body {
  padding: 1.5rem;
}

.project-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.project-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--green-600);
  font-weight: 500;
}

/* Segments */
.segments {
  background: var(--white);
}

.segments-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.segment-pill {
  padding: 0.65rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green-800);
  transition: all var(--transition);
}

.segment-pill:hover {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

/* Presence */
.presence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.presence-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold-500);
}

.presence-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.presence-card .state {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
}

.presence-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.presence-locations span {
  padding: 0.4rem 0.85rem;
  background: var(--cream);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text);
}

/* Gallery */
.gallery-section {
  background: var(--green-900);
}

.gallery-section .section-label {
  color: var(--gold-400);
}

.gallery-section .section-title {
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 46, 34, 0.6), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Careers */
.careers-apply {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0 3rem;
}

.careers-apply p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.careers-email {
  font-size: 1.1rem;
  color: var(--green-800);
  font-weight: 500;
}

.careers-email a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.careers-email a:hover {
  color: var(--gold-600);
}

/* Thank you */
.thank-you-page {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0 3rem;
}

.thank-you-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  color: var(--gold-400);
  font-size: 2.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.thank-you-page p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.thank-you-page a {
  color: var(--green-700);
  font-weight: 600;
}

.thank-you-page a:hover {
  color: var(--gold-600);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.careers-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.careers-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.careers-perks {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.careers-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.careers-perks li::before {
  content: "✦";
  color: var(--gold-500);
}

.careers-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  background: var(--cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.form-alert-success {
  background: #e8f5ee;
  color: #145a42;
  border: 1px solid rgba(34, 139, 99, 0.25);
}

.form-alert-error {
  background: #fdecea;
  color: #8b2e2e;
  border: 1px solid rgba(139, 46, 46, 0.2);
}

/* Contact */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--green-800);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.25rem;
}

.contact-item a:hover {
  color: var(--green-600);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

/* Footer */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.8rem;
}

.footer-ribbon {
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500), var(--gold-600));
  padding: 0.65rem 0;
  text-align: center;
}

.footer-ribbon p {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-900);
}

/* Inner page banner */
.page-banner {
  position: relative;
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background:
    linear-gradient(135deg, rgba(10, 46, 34, 0.92), rgba(15, 61, 46, 0.85)),
    var(--img-hero) center/cover no-repeat;
  text-align: center;
  color: var(--white);
}

.page-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400), var(--gold-600));
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.page-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.breadcrumb span {
  color: var(--gold-400);
}

.page-content {
  padding-top: 0;
}

.page-content .section:first-child {
  padding-top: 4rem;
}

/* Home page sections */
.home-about {
  background: var(--white);
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 120px;
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}

.about-badge span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.home-projects {
  background: var(--cream);
}

.home-services {
  background: var(--white);
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Process timeline */
.home-process {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.process-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
  transition: all var(--transition);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.35);
}

.process-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  background: var(--cream);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.process-icon {
  width: 64px;
  height: 64px;
  margin: 0.75rem auto 1rem;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.process-connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  margin-top: 4.5rem;
  opacity: 0.5;
}

/* Testimonials */
.home-testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--cream-dark);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  margin: 0;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card.featured {
  background: linear-gradient(145deg, var(--green-800), var(--green-900));
  border-color: transparent;
  color: var(--white);
  transform: scale(1.03);
}

.testimonial-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.testimonial-stars {
  color: var(--gold-500);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 0.925rem;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.testimonial-card.featured p {
  color: rgba(255, 255, 255, 0.88);
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-900);
  flex-shrink: 0;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-800);
}

.testimonial-card.featured cite {
  color: var(--white);
}

.testimonial-card footer span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testimonial-card.featured footer span {
  color: rgba(255, 255, 255, 0.65);
}

/* Presence on home */
.home-presence {
  background: var(--cream);
}

/* Gallery CTA */
.gallery-section .section-cta {
  margin-top: 2rem;
  text-align: center;
}

.home-gallery .section-cta .btn-gold {
  color: var(--green-900);
}

/* CTA banner */
.home-cta {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.home-cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 46, 34, 0.94), rgba(15, 61, 46, 0.88)),
    var(--img-cta) center/cover no-repeat;
  z-index: 0;
}

.home-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.04;
}

.home-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-cta-text .section-label {
  color: var(--gold-400);
}

.home-cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.home-cta-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 520px;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-dark:hover {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
}

/* Home quick links */
.quick-links {
  background: var(--white);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.quick-link-card {
  display: block;
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  transition: all var(--transition);
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
  background: var(--white);
}

.quick-link-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.quick-link-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.quick-link-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.quick-link-card .link-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-600);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal pages */
.legal-page {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  min-height: 70vh;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-800);
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content,
  .about-grid,
  .vm-grid,
  .contact-grid,
  .careers-content {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card {
    max-width: 480px;
  }

  .process-grid {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .process-connector {
    display: none;
  }

  .process-step {
    flex: 1 1 calc(50% - 0.75rem);
    max-width: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card.featured {
    transform: none;
  }

  .testimonial-card.featured:hover {
    transform: translateY(-4px);
  }

  .home-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .home-cta-text p {
    margin-inline: auto;
  }

  .home-cta-actions {
    justify-content: center;
  }

  .founder-grid .founder-image {
    order: -1;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--cream-dark);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .header .btn-primary {
    display: none;
  }

  .services-grid,
  .projects-grid,
  .why-grid,
  .presence-grid,
  .about-features {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex: 1 1 100%;
  }

  .about-badge {
    left: 1rem;
    bottom: -0.5rem;
  }

  .home-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .home-cta-actions .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
