:root {
  --background: #f4f7fb;
  --surface: #ffffff;
  --primary: #0d6efd;
  --primary-dark: #0847b6;
  --text: #1f2937;
  --muted: #5b6b7d;
  --shadow: rgba(15, 23, 42, 0.08);
  --border: rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: black;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 200px;
  height: 48px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-section {
  background: #000;
  color: white;
  padding: 256px 48px;
  border-radius: 0 0 24px 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video {
  animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-section .eyebrow {
  margin: 0 0 16px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
}

.hero-section h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.8rem);
  line-height: 1.04;
  max-width: 720px;
}

.hero-section .tagline {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
}

@keyframes slideDownFade {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.hero-logo {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 200px;
  opacity: 0;
  transform: translateY(-100px);
  animation: slideDownFade 0.8s ease-out forwards;
  will-change: transform, opacity;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  animation: slideDownFade 0.8s ease-out 0.3s both;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}

.site-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 600;
}

.primary-button {
  color: white;
  background: #1c64f2;
}

.secondary-button {
  color: white;
  background: rgba(255, 255, 255, 0.18);
}

.section {
  padding: 56px 0;
}

.about-section,
.services-section,
.portfolio-section,
.contact-section {
  background: var(--surface);
  margin: 0 0 24px;
  border-radius: 24px;
  box-shadow: 0 20px 50px var(--shadow);
}

.services-section h2 {
  text-align: center;
}

.section h2 {
  margin-top: 0;
  font-size: 2rem;
}

.section p {
  color: var(--muted);
  max-width: 720px;
}

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
  max-width: 720px;
  margin-inline: auto;
}

.card {
  padding: 24px;
  background: #f8fbff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-info p {
  margin: 0;
}

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

.form-group {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  background: #f8fbff;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-feedback {
  padding: 16px 18px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-weight: 600;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}

button.primary-button {
  width: fit-content;
  padding: 14px 28px;
  cursor: pointer;
}

.site-footer {
  text-align: center;
  padding: 22px 0;
  color: #64748b;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 0;
  }

  .header-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25d366;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.2s;
}

.lang-btn.active {
  color: white;
}

.lang-btn:hover {
  color: white;
}