:root {
  --navy: #0f1f3d;
  --navy-light: #1a2f52;
  --steel: #4a5568;
  --silver: #a0aec0;
  --light: #f7fafc;
  --white: #ffffff;
  --accent: #e07b2e;
  --accent-hover: #c96a22;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 31, 61, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 31, 61, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --max-width: 1200px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.header.scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img { height: 48px; width: auto; }

.nav { display: flex; gap: 2rem; align-items: center; }

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--steel);
  transition: color 0.2s;
}

.nav a:hover, .nav a.active { color: var(--navy); }

.nav__cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}

.hero__content {
  padding: 4rem 0 4rem clamp(1rem, 5vw, 4rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 31, 61, 0.06);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--navy);
}

.hero__title span { color: var(--accent); }

.hero__text {
  font-size: 1.125rem;
  color: var(--steel);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--navy);
  background: var(--light);
}

.hero__visual {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__stats {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 2rem;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.stat__label {
  font-size: 0.8rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section--alt { background: var(--light); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section__label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section__desc { color: var(--steel); font-size: 1.05rem; }

/* About grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-grid__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-grid__image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-grid__text h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.about-grid__text p {
  color: var(--steel);
  margin-bottom: 1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(224, 123, 46, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-card p { color: var(--steel); font-size: 0.95rem; }

/* Materials accordion */
.materials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.accordion { display: flex; flex-direction: column; gap: 0.5rem; }

.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: background 0.2s;
}

.accordion__trigger:hover { background: var(--light); }

.accordion__trigger[aria-expanded="true"] {
  background: var(--light);
  border-left: 3px solid var(--accent);
}

.accordion__icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(180deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion__panel[aria-hidden="false"] { max-height: 400px; }

.accordion__content {
  padding: 0 1.5rem 1.5rem;
  color: var(--steel);
  font-size: 0.95rem;
}

.accordion__content strong { color: var(--navy); }

.materials__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.materials__gallery img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/3;
}

.materials__gallery img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-grid__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-grid__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-grid__item:hover img { transform: scale(1.05); }

.gallery-grid__item--wide { grid-column: span 2; }
.gallery-grid__item--wide img { height: 220px; }

/* Social */
.social-section { padding-top: 2rem; }

.social-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #243b5e 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.social-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(224, 123, 46, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.social-banner__content { position: relative; z-index: 1; }

.social-banner .section__label { color: var(--accent); }

.social-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.social-banner__desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  max-width: 400px;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.social-link svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.social-link:hover svg { transform: scale(1.1); }

.social-link--instagram:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

.social-link--youtube:hover {
  background: #ff0000;
  border-color: transparent;
}

.social-link--tiktok:hover {
  background: #010101;
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.social-link--linkedin:hover {
  background: #0a66c2;
  border-color: transparent;
}

/* Contact CTA */
.contact-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-cta h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-cta p { color: rgba(255,255,255,0.75); margin-bottom: 0.5rem; }

.contact-cta a { color: var(--accent); }

.contact-cta .btn--primary {
  background: var(--accent);
  margin-top: 1.5rem;
}

.contact-cta .btn--primary:hover { background: var(--accent-hover); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-sidebar .contact-info__icon {
  background: var(--light);
  color: var(--accent);
  border: 1px solid var(--border);
}

/* Contact page */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  padding: 4rem 0 6rem;
  align-items: start;
}

.contact-sidebar h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-sidebar p { color: var(--steel); margin-bottom: 2rem; }

.contact-sidebar__social-title {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-sidebar .footer__social {
  justify-content: flex-start;
  margin-top: 0.75rem;
}

.contact-sidebar .footer__social a {
  background: var(--light);
  color: var(--navy);
  border: 1px solid var(--border);
}

/* Form */
.form {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form__group { margin-bottom: 1.25rem; }

.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.form__label .required { color: var(--accent); }

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 123, 46, 0.15);
}

.form__textarea { resize: vertical; min-height: 140px; }

.form__file {
  width: 100%;
  padding: 0.75rem;
  border: 2px dashed var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
}

.form__hint {
  font-size: 0.8rem;
  color: var(--silver);
  margin-top: 0.35rem;
}

.form__submit {
  width: 100%;
  padding: 1rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}

.form__submit:hover:not(:disabled) {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form__message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
}

.form__message--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form__message--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.form__error {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form__group--invalid .form__error { display: block; }
.form__group--invalid .form__input,
.form__group--invalid .form__textarea { border-color: #c0392b; }

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer__social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__social a:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.footer__social a[aria-label="Instagram"]:hover { background: #e1306c; }
.footer__social a[aria-label="YouTube"]:hover { background: #ff0000; }
.footer__social a[aria-label="TikTok"]:hover { background: #010101; }
.footer__social a[aria-label="LinkedIn"]:hover { background: #0a66c2; }

.footer a { color: rgba(255,255,255,0.8); }

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__visual { min-height: 400px; order: -1; }
  .hero__image { border-radius: 0; }
  .hero__stats { left: 1rem; bottom: 1rem; }
  .hero__content { padding: 2rem 1rem 3rem; }
  .about-grid, .materials, .contact-cta, .contact-layout { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid__item--wide { grid-column: span 1; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .menu-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .materials__gallery { grid-template-columns: 1fr; }
  .materials__gallery img:first-child { grid-row: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 1rem; }
  .contact-cta { padding: 2rem; }
  .form { padding: 1.5rem; }
  .social-banner { grid-template-columns: 1fr; gap: 2rem; }
  .social-links { grid-template-columns: 1fr; }
}
