:root {
  --primary: #0b63ff;
  --primary-dark: #0443b3;
  --bg: #0f172a;
  --bg-light: #f3f4f6;
  --text: #0f172a;
  --muted: #6b7280;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: #ffffff;
}

/* Layout base */

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--bg-light);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 680px;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 1rem;
  color: var(--primary);
}

.logo-sub {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--primary);
}

.nav a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

/* Hero */

.hero {
  padding: 6rem 0 4rem;
  background: radial-gradient(circle at top left, #e0efff, #ffffff 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-highlights li {
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
}

.hero-image img {
  width: 100%;
  border-radius: 20px 20px 20px 20px;
  box-shadow: 0px 0px 2px 2px;
  min-height: 500;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease,
    transform 0.05s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover {
  background: var(--bg-light);
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.card-list li + li {
  margin-top: 0.25rem;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.about-grid p {
  color: var(--muted);
}

.about-highlight {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.about-highlight h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.about-highlight ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.about-highlight li + li {
  margin-top: 0.25rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.contact-list li + li {
  margin-top: 0.5rem;
}

.contact-list a {
  color: var(--primary-dark);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-family: inherit;
  font-size: 0.9rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.3);
  outline-offset: 1px;
  border-color: var(--primary);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */

.footer {
  background: var(--bg);
  color: #e5e7eb;
  padding: 1.75rem 0 2rem;
  margin-top: 1.5rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.8rem;
}

.footer-note {
  color: #9ca3af;
  margin-top: 0.4rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .cards-grid,
  .gallery-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 5rem;
  }

  .cards-grid {
    gap: 1.25rem;
  }

  .gallery-item img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 1rem 0.75rem;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.17s ease, opacity 0.17s ease;
  }

  .nav.nav-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-actions {
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 2rem, 100%);
  }

  .hero-text h1 {
    font-size: 1.85rem;
  }

  .cards-grid,
  .gallery-grid {
    gap: 1rem;
  }

  .card,
  .contact-form {
    padding-inline: 1.1rem;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: flex-start;
  }
}
