@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: rgba(255, 204, 0, 0.2);
}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --accent: #FFCC00;
  --accent-fg: #000000;
  --card: #0d0d0d;
  --muted: #333333;
  --muted-fg: #FFCC00;
  --radius: 0.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: "DM Sans", sans-serif;
  overflow-x: clip;
  line-height: 1.625;
}

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

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 204, 0, 0.2);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent-fg);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-text .accent {
  color: var(--accent);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
  padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active {
  border-bottom: 2px solid var(--accent);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 700;
  transition: opacity 0.2s;
}

.header-phone:hover {
  opacity: 0.9;
}

.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 1rem;
  border-top: 1px solid rgba(255, 204, 0, 0.2);
  background: var(--card);
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  font-size: 1rem;
}

.mobile-menu .mobile-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
  padding-top: 0.5rem;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 90dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 204, 0, 0.2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  margin-top: 3rem;
  animation: fadeInUp 0.7s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid rgba(255, 204, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-badge svg {
  color: var(--accent);
  fill: var(--accent);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.3);
  width: 100%;
  justify-content: center;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.5);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--card);
  color: var(--fg);
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 204, 0, 0.5);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  font-weight: 500;
}

.btn-outline:hover {
  background: rgba(255, 204, 0, 0.1);
  color: var(--accent);
  border-color: var(--accent);
}

/* ========== SERVICES ========== */
.services {
  padding: 6rem 0;
  position: relative;
}

.services-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 48rem;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 204, 0, 0.5), transparent);
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header h2 .accent {
  color: var(--accent);
}

.section-header p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 204, 0, 0.1);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.5s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }

.service-card:hover {
  border-color: rgba(255, 204, 0, 0.5);
  transform: translateY(-4px);
}

.service-card-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.service-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--bg);
  border: 1px solid rgba(255, 204, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
  stroke: var(--accent);
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: var(--accent);
  border-color: var(--accent);
}

.service-card:hover .service-icon svg {
  color: var(--accent-fg);
  stroke: var(--accent-fg);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.service-card:hover h3 {
  color: var(--accent);
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
}

/* ========== CTA ========== */
.cta {
  padding: 6rem 0;
  background: var(--card);
  border-top: 1px solid rgba(255, 204, 0, 0.2);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow-1,
.cta-glow-2 {
  position: absolute;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 204, 0, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-glow-1 { top: -5rem; right: -5rem; }
.cta-glow-2 { bottom: -5rem; left: -5rem; }

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 1.25rem;
  padding: 1.25rem 2.5rem;
  border-radius: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 40px rgba(255, 204, 0, 0.2);
}

.btn-cta:hover {
  opacity: 0.9;
}

.btn-cta:active {
  transform: scale(0.98);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--card);
  border-top: 1px solid rgba(255, 204, 0, 0.2);
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-fg);
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-logo-text .accent {
  color: var(--accent);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.footer-owner {
  color: var(--accent);
  font-weight: 500;
}

.footer-owner span {
  color: var(--fg);
}

.footer h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links li svg {
  flex-shrink: 0;
  color: var(--accent);
  stroke: var(--accent);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links .phone-link {
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 204, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links span {
  cursor: pointer;
  transition: color 0.2s;
}

.footer-bottom-links span:hover {
  color: var(--accent);
}

/* ========== CONTACT PAGE ========== */
.contact-main {
  flex: 1;
  padding: 4rem 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeIn 0.5s ease-out;
}

.contact-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.contact-header h1 .accent {
  color: var(--accent);
}

.contact-header p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--card);
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.3s;
  animation: fadeIn 0.5s ease-out backwards;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }

.contact-card:hover {
  border-color: rgba(255, 204, 0, 0.5);
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  stroke: var(--accent);
}

.contact-card-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  margin-bottom: 0.25rem;
}

.contact-card-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-card a {
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.2s;
  display: block;
}

.contact-card a:hover {
  color: var(--accent);
}

/* Form */
.form-card {
  background: var(--card);
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: var(--radius);
  animation: fadeIn 0.5s ease-out 0.4s backwards;
}

.form-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 204, 0, 0.1);
}

.form-card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.form-card-body {
  padding: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.form-group textarea {
  resize: none;
  min-height: 6rem;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 1.125rem;
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "DM Sans", sans-serif;
}

.btn-submit:hover {
  opacity: 0.9;
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-submit .spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: var(--accent-fg);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.success-msg {
  color: #166534;
}

/* Map */
.map-card {
  background: var(--card);
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fadeIn 0.5s ease-out 0.5s backwards;
}

.map-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 204, 0, 0.1);
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.map-header svg {
  color: var(--accent);
  stroke: var(--accent);
}

.map-container {
  width: 100%;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(120%);
}

.map-footer {
  padding: 1rem;
  background: var(--accent);
  color: var(--accent-fg);
  text-align: center;
  font-weight: 500;
}

/* Page wrapper */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page > .footer {
  margin-top: auto;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  .btn-primary,
  .btn-outline {
    width: auto;
  }
  .header-inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
  .hero-desc {
    font-size: 1.25rem;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-header h2 {
    font-size: 2.25rem;
  }
  .cta h2 {
    font-size: 3rem;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .contact-header h1 {
    font-size: 3rem;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .map-container {
    height: 500px;
  }
  .nav-desktop { display: flex; }
  .header-phone { display: flex; }
  .mobile-menu-btn { display: none; }
}

@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .header-phone { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
  .services-grid {
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
  .container {
    padding: 0 2rem;
  }
  .header-inner {
    padding: 0 2rem;
  }
  .contact-main .container {
    padding: 0 2rem;
  }
}
