:root {
  --bg: #07111f;
  --bg-2: #0d1b2f;
  --text: #172033;
  --muted: #64748b;
  --white: #ffffff;
  --soft: #f7f9fc;
  --line: rgba(148, 163, 184, 0.24);
  --gold: #d6a84f;
  --gold-2: #f5d78b;
  --silver: #d7dde7;
  --shadow: 0 24px 70px rgba(2, 8, 23, 0.18);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--soft);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-kicker::before,
.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1,
h2,
h3 {
  line-height: 1.15;
  color: #101827;
}

h1,
h2 {
  font-family: 'Playfair Display', serif;
}

h1 {
  max-width: 850px;
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #111827;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 35px rgba(214, 168, 79, 0.28);
}

.btn-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
}

.btn-outline {
  color: var(--gold-2) !important;
  border-color: rgba(214, 168, 79, 0.55);
  background: rgba(214, 168, 79, 0.08);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 16px 0;
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--white);
  padding: 5px;
}

.brand-text {
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--gold-2);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
}

/* Hero */
.hero-carousel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(214, 168, 79, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.72) 47%, rgba(7, 17, 31, 0.36) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 80px;
}

.hero-content p {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-control:hover {
  background: rgba(214, 168, 79, 0.32);
}

.hero-control.prev {
  left: 24px;
}

.hero-control.next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 6;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 34px;
  background: var(--gold);
}

/* Cards */
.cards,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card,
.portfolio-card,
.contact-card,
.contact-form,
.map-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.card::after,
.portfolio-card::after {
  content: '';
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover::after,
.portfolio-card:hover::after {
  opacity: 1;
}

.card-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 35px rgba(2, 8, 23, 0.2);
  font-size: 1.4rem;
}

.card img,
.portfolio-card img {
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
}

.card h3,
.portfolio-card h3 {
  margin-top: 22px;
}

.card p,
.portfolio-card p {
  margin-top: 10px;
}

/* Stats */
.stats-section {
  padding: 46px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(214, 168, 79, 0.18), transparent),
    var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats-grid div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.stats-grid strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

/* About */
.about {
  background: var(--white);
}

.about-grid,
.location-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.about-text p {
  margin-top: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-weight: 700;
}

.check-list li::before {
  content: '✓';
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #111827;
  background: var(--gold-2);
  font-weight: 900;
}

.about-image {
  position: relative;
}

.about-image img {
  min-height: 450px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.experience-badge {
  position: absolute;
  right: 26px;
  bottom: 26px;
  max-width: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(14px);
}

.experience-badge strong {
  display: block;
  color: var(--gold-2);
  font-size: 1.7rem;
}

.experience-badge span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}

/* Portfolio */
.portfolio {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
}

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

.portfolio-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  transition: transform 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-7px);
}

.portfolio-card img {
  height: 175px;
}

.portfolio-card div {
  padding: 0 6px 12px;
}

/* Location */
.location {
  background: var(--white);
}

.location-text > p {
  margin-top: 16px;
}

.contact-card {
  margin-top: 26px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(214, 168, 79, 0.12), transparent 45%),
    #ffffff;
}

.contact-card p + p {
  margin-top: 4px;
}

.contact-card .btn {
  margin-top: 18px;
}

.map-card {
  overflow: hidden;
  min-height: 430px;
  padding: 10px;
}

.map-card iframe {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: 18px;
}

/* CTA */
.cta {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(214, 168, 79, 0.24), transparent 26%),
    linear-gradient(135deg, var(--bg), var(--bg-2));
}

.cta h2 {
  max-width: 760px;
  margin: 0 auto;
  color: var(--white);
}

.cta p {
  max-width: 650px;
  margin: 18px auto 28px;
  color: rgba(255, 255, 255, 0.72);
}

/* Contact */
.contact {
  background: #f7f9fc;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.info-list a {
  color: #0f4da8;
  font-weight: 800;
}

.contact-form {
  padding: 30px;
}

.contact-form form,
.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form form {
  gap: 18px;
}

.contact-form span {
  color: #334155;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(100, 116, 139, 0.26);
  border-radius: 16px;
  outline: none;
  padding: 15px 16px;
  color: #111827;
  background: #f8fafc;
  font: inherit;
  transition: border 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(214, 168, 79, 0.95);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(214, 168, 79, 0.14);
}

textarea {
  resize: vertical;
}

/* Footer */
.footer {
  padding: 24px 0;
  background: #050b14;
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.footer a:hover {
  color: var(--gold-2);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .about-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

  .main-nav {
    position: absolute;
    top: 86px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(7, 17, 31, 0.96);
    box-shadow: 0 18px 60px rgba(2, 8, 23, 0.36);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .main-nav .btn {
    margin-top: 8px;
  }

  .hero-control {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

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

  .footer-flex {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .brand-text {
    display: none;
  }

  .logo {
    width: 48px;
    height: 48px;
  }

  .hero-content {
    padding-top: 96px;
  }

  .hero-actions,
  .hero-actions .btn,
  .contact-card .btn {
    width: 100%;
  }

  .cards,
  .portfolio-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .about-image img,
  .map-card iframe,
  .map-card {
    min-height: 330px;
  }

  .experience-badge {
    position: static;
    max-width: none;
    margin-top: -60px;
    margin-inline: 18px;
  }
}
