@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap");

/* ============================================================
   BRAVIK LAB — Design System
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg2: #161616;
  --bg3: #1e1e1e;
  --fg: #f5f5f5;
  --muted: #888888;
  --muted2: #555555;
  --accent: #7bff00;
  --cyan: #00c2ff;
  --orange: #ff6b00;
  --card: #161616;

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(123, 255, 0, 0.25);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --font: "Space Grotesk", sans-serif;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
img,
video {
  -webkit-user-select: none;
  user-select: none;
}

/* ---- NOISE TEXTURE overlay (sutil) ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav.navegation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
  height: 80px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 0.5px solid var(--border);
}

nav.navegation .logo img {
  height: 52px;
  width: auto;
  max-width: 100%;

  -webkit-user-drag: none;
  pointer-events: none;
  user-select: none;
}

nav.navegation .menu {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

nav.navegation .menu li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

nav.navegation .menu li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}

nav.navegation .menu li a:hover {
  color: var(--accent);
}

nav.navegation .menu li a:hover::after {
  width: 100%;
}

/* ---- LANG SWITCHER ---- */
.lang-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
  position: relative;
}

.lang-notice {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow:
    0 0 24px rgba(123, 255, 0, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.4);
  z-index: 500;
  pointer-events: none;
  animation: langNoticeFade 5s ease forwards;
}

.lang-notice-arrow {
  position: absolute;
  top: -5px;
  right: 26px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  transform: rotate(45deg);
}

@keyframes langNoticeFade {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  12% {
    opacity: 1;
    transform: translateY(0);
  }
  78% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.lang-btn {
  background: transparent;
  border: 0.5px solid var(--border);
  color: var(--muted);
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  text-transform: uppercase;
}

.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.lang-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ============================================================
   GLOBAL SECTION
   ============================================================ */
section {
  padding: 120px 80px;
  scroll-margin-top: 80px;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 600px;
}

/* ---- SECTION LABEL (overline) ---- */
.section-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ---- GLOBAL BUTTON ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 32px;
  border: 1px solid rgba(245, 245, 245, 0.2);
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font);
  cursor: pointer;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(123, 255, 0, 0.12);
}

/* Primary CTA */
.btn-primary-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg) !important;
  font-weight: 800;
}
.btn-primary-accent:hover {
  background: #9fff33;
  border-color: #9fff33;
  box-shadow: 0 0 28px rgba(123, 255, 0, 0.35);
  color: var(--bg) !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px;
}

/* Grid técnico de fundo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 255, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 255, 0, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
}

/* Radial glow central */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    rgba(123, 255, 0, 0.04) 0%,
    transparent 70%
  );
  z-index: 0;
}

.hero > div {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 0.95;
  animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero span {
  display: block;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 20px;
  animation: heroIn 1s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

/* Corner marks (estética técnica) */
.hero-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.3;
}
.hero-corner--tl {
  top: 40px;
  left: 80px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.hero-corner--tr {
  top: 40px;
  right: 80px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.hero-corner--bl {
  bottom: 40px;
  left: 80px;
  border-bottom: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.hero-corner--br {
  bottom: 40px;
  right: 80px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}

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

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about strong {
  color: var(--fg);
}

.about > div h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

/* accent line antes do h2 no about */
.about > div h2::before {
  content: "—";
  color: var(--accent);
  margin-right: 10px;
  font-size: 0.8em;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  text-align: left;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  margin-top: 60px;
  background: var(--border);
  border: 0.5px solid var(--border);
}

.card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

/* linha verde que aparece no topo no hover */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  background: var(--bg2);
}
.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 100%;
}

/* número do card */
.card-num {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted2);
  font-family: monospace;
  margin-bottom: 24px;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
#portfolio {
  text-align: left;
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  margin-top: 60px;
  background: var(--border);
}

.project {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg2);
  overflow: hidden;
  cursor: pointer;
}

.project video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project video.is-fullscreen-viewing {
  object-fit: contain;
  background: #000;
}

.project:hover video {
  transform: scale(1.04);
}

.project--vertical {
  aspect-ratio: 9 / 16;
  grid-row: span 2;
}

.portfolio .project:nth-child(1),
.portfolio .project:nth-child(2) {
  aspect-ratio: unset;
  grid-row: 1 / 4;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.play-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(245, 245, 245, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.project:hover .play-icon {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 16px rgba(123, 255, 0, 0.3);
}

.project.video-loaded .video-overlay {
  opacity: 0;
}

.fullscreen-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(245, 245, 245, 0.4);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s ease;
}

.project:hover .fullscreen-btn,
.project:focus-within .fullscreen-btn {
  opacity: 1;
  transform: translateY(0);
}

.fullscreen-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 14px rgba(123, 255, 0, 0.35);
}

@media (hover: none) {
  .fullscreen-btn {
    opacity: 1;
    transform: none;
  }
}

.project:not(.video-loaded) {
  background: var(--bg2);
  background-image: linear-gradient(
    110deg,
    var(--bg2) 30%,
    var(--bg3) 50%,
    var(--bg2) 70%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ============================================================
   REVIEWS
   ============================================================ */
#reviews {
  text-align: left;
  background: var(--bg);
  border-top: 0.5px solid var(--border);
}

#reviews h2 {
  text-align: left;
}

.reviews-subtitle {
  text-align: left;
  margin: 0 0 56px;
  max-width: 400px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  margin-bottom: 48px;
}

.review-card {
  background: var(--bg);
  padding: 32px;
  transition: background var(--transition);
  animation: fadeUp 0.45s ease both;
}

.review-card:hover {
  background: var(--bg2);
}

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

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg2);
  border: 0.5px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.review-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-name {
  font-size: 14px;
  color: var(--fg);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.review-role {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}

.review-stars-row {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.review-star {
  font-size: 13px;
  color: #2a2a2a;
}
.review-star.filled {
  color: var(--accent);
}

.review-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 100%;
  font-style: italic;
}

.reviews-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted2);
  padding: 48px 0;
  font-size: 14px;
  letter-spacing: 1px;
}

.reviews-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-weight: 600;
  margin-top: 0;
}
.btn-ghost:hover {
  border-color: var(--fg);
  color: var(--fg);
  box-shadow: none;
}

.btn-leave-review {
  margin-top: 0;
}

/* ---- REVIEW MODAL ---- */
.review-form-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 20px;
}

.review-form-modal.active {
  opacity: 1;
  visibility: visible;
}

.review-form-container {
  background: var(--bg2);
  border: 0.5px solid #2a2a2a;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s ease;
}

.review-form-modal.active .review-form-container {
  transform: translateY(0);
}

.review-form-container h3 {
  margin-bottom: 4px;
  font-size: 1.3rem;
  color: var(--fg);
  text-align: left;
  letter-spacing: -0.3px;
}

.review-form-desc {
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 100%;
  line-height: 1.5;
}

.star-selector {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
  cursor: pointer;
}

.star-selector .star-pick {
  font-size: 2.2rem;
  color: #444444;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
  user-select: none;
  cursor: pointer;
  display: inline-block;
  line-height: 1;
}

.star-selector .star-pick.selected {
  color: var(--accent);
  transform: scale(1.18);
}
.star-selector .star-pick.hovered {
  color: #ff6b00;
  transform: scale(1.1);
}

.star-label {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
  min-height: 18px;
  max-width: 100%;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-7px);
  }
  40%,
  80% {
    transform: translateX(7px);
  }
}
.star-selector.shake {
  animation: shake 0.4s ease;
}

.btn-review-submit {
  width: 100%;
  margin-top: 20px;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
}

.btn-review-submit:hover {
  background: #9fff33;
  border-color: #9fff33;
  color: var(--bg);
  box-shadow: 0 0 24px rgba(123, 255, 0, 0.3);
}

.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.15) !important;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  text-align: center;
  background: var(--bg);
  border-top: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* glow verde sutil no fundo do CTA */
.cta::before {
  content: "";
  position: absolute;
  bottom: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(123, 255, 0, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  letter-spacing: -1px;
  position: relative;
}

.contact-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  position: relative;
}

.contact-options .btn {
  margin: 0;
}

.btn-whatsapp {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
  letter-spacing: 2px;
}
.btn-whatsapp:hover {
  background: #128c7e !important;
  border-color: #128c7e !important;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.25) !important;
  color: #fff !important;
}

/* ---- WHATSAPP MODAL ---- */
.whatsapp-form {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  padding: 20px;
}

.whatsapp-form.active {
  opacity: 1;
  visibility: visible;
}

.form-container {
  background: var(--bg2);
  border: 0.5px solid #2a2a2a;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s ease;
}

.whatsapp-form.active .form-container {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 0.5px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: 50%;
}

.close-btn:hover {
  color: var(--fg);
  border-color: var(--fg);
  transform: rotate(90deg);
}

.form-container h3 {
  margin-bottom: 24px;
  font-size: 1.3rem;
  color: var(--fg);
  text-align: left;
  letter-spacing: -0.3px;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--fg);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 0.5px solid #2a2a2a;
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-family: var(--font);
  font-size: 14px;
  transition: all 0.2s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(123, 255, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(123, 255, 0, 0.06);
}

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

.btn-submit {
  width: 100%;
  margin-top: 24px;
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
}

.btn-submit:hover {
  background: #128c7e;
  border-color: #128c7e;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  color: #fff;
}

.btn-submit-email {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn-submit-email:hover {
  background: #6ae000;
  border-color: #6ae000;
  box-shadow: 0 8px 20px rgba(123, 255, 0, 0.3);
  color: var(--bg);
}

.btn-submit:disabled,
.btn-submit-email:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
}

.form-status-success {
  background: rgba(123, 255, 0, 0.1);
  color: var(--accent);
  border: 1px solid rgba(123, 255, 0, 0.3);
}

.form-status-error {
  background: rgba(255, 80, 80, 0.1);
  color: #ff8080;
  border: 1px solid rgba(255, 80, 80, 0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 32px 80px;
  border-top: 0.5px solid var(--border);
  color: var(--muted2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

footer span:first-child {
  color: var(--muted);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg);
  z-index: 99999;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-success {
  background: var(--bg2);
  border: 0.5px solid var(--accent);
  color: var(--accent);
}
.toast-error {
  background: var(--bg2);
  border: 0.5px solid var(--orange);
  color: var(--orange);
}

.reviews-loading {
  opacity: 0.4;
  font-style: italic;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  section {
    padding: 100px 48px;
  }
  nav.navegation {
    padding: 0 48px;
  }
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  section {
    padding: 80px 32px;
  }
  .hero {
    min-height: 80vh;
    padding: 60px 32px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
  }
  .hero-corner--tl,
  .hero-corner--bl {
    left: 32px;
  }
  .hero-corner--tr,
  .hero-corner--br {
    right: 32px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .portfolio {
    grid-template-columns: 1fr;
  }
  .project {
    aspect-ratio: 16/9;
  }
  footer {
    padding: 28px 32px;
  }
}

@media (max-width: 768px) {
  nav.navegation {
    padding: 0 24px;
    height: 72px;
  }
  nav.navegation .logo img {
    height: 40px;
  }
  nav.navegation .menu {
    gap: 18px;
  }
  nav.navegation .menu li a {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  section {
    padding: 64px 24px;
    scroll-margin-top: 72px;
  }
  .btn {
    padding: 12px 24px;
    font-size: 10px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  nav.navegation {
    flex-direction: column;
    height: auto;
    padding: 16px 20px;
    gap: 12px;
  }
  nav.navegation .logo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  nav.navegation .logo img {
    height: 36px;
  }
  nav.navegation .menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .lang-switcher {
    position: absolute;
    top: 22px;
    right: 20px;
  }
  .lang-notice {
    right: -8px;
    font-size: 10px;
    padding: 8px 12px;
  }

  section {
    padding: 56px 20px;
    scroll-margin-top: 120px;
  }
  .hero {
    min-height: 70vh;
    padding: 40px 20px;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
    letter-spacing: -1px;
  }
  .hero-corner {
    display: none;
  }

  .card {
    padding: 28px 24px;
  }
  .project {
    aspect-ratio: 16/10;
  }
  .contact-options {
    flex-direction: column;
  }
  .contact-options .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .form-container,
  .review-form-container {
    padding: 28px 20px;
  }
  .reviews-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .reviews-actions .btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    justify-content: center;
  }
  footer {
    padding: 24px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: clamp(1.9rem, 12vw, 2.8rem);
  }
  nav.navegation .logo img {
    height: 32px;
  }
  .lang-btn {
    padding: 4px 10px;
    font-size: 9px;
  }
}
