/* ===================== */
/* RESET / BASE */
/* ===================== */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

section {
  padding: 80px 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* ===================== */
/* ANIMATIONS */
/* ===================== */
.fade {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== */
/* NAVBAR */
/* ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(0,0,0,0.9);
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  color: #22c55e;
  font-weight: 700;
}

.navbar nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.navbar nav a:hover {
  color: #22c55e;
}

/* ===================== */
/* BUTTONS */
/* ===================== */
.btn,
.card-btn {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn,
.btn-outline {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn {
  position: relative;
  overflow: hidden;
  background: #22c55e;
  color: #08132b;
  border: 2px solid #22c55e;
}

.btn:hover,
.card-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(34,197,94,0.22);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: #08132b;
  transform: translateY(-2px);
}

.card-btn {
  display: inline-block;
  background: #22c55e;
  color: #08132b;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.card-btn:hover {
  opacity: 0.95;
}

.hero-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===================== */
/* HERO */
/* ===================== */
.hero {
  min-height: 100vh;
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background:
    linear-gradient(rgba(4, 10, 24, 0.68), rgba(4, 10, 24, 0.82)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e');
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 3rem;
}

.hero-content {
  max-width: 950px;
}

.hero-content h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 16px;
  color: white;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.88);
  max-width: 760px;
  margin: 0 auto;
}

.hero-content .btn {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}

.hero-content p {
  animation-delay: 0.15s;
}

.hero-content .btn:nth-of-type(1) {
  animation-delay: 0.3s;
}

.hero-content .btn:nth-of-type(2) {
  animation-delay: 0.45s;
}

/* ===================== */
/* ABOUT */
/* ===================== */
.about {
  background: #f8fafc;
  color: #0f172a;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  text-align: left;
}

.about-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #334155;
}

.about-stats {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}

.stat {
  background: white;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.stat strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #0f172a;
}

.stat span {
  color: #475569;
  font-size: 0.95rem;
}

.about-media {
  display: flex;
  justify-content: center;
}

.about-carousel {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* ===================== */
/* HOME SERVICES */
/* ===================== */
.services {
  background: #08132b;
  color: white;
  padding: 110px 20px;
}

.services h2 {
  text-align: center;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.72);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cards {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.card {
  width: 100%;
  max-width: 380px;
  background: rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.20);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(34,197,94,0.30);
}

.card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.card-text {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.features li {
  margin-bottom: 12px;
  color: #f8fafc;
  font-size: 1rem;
}

.price {
  font-size: 2.1rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 24px;
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
}

.card.active .panel {
  max-height: 200px;
}

/* ===================== */
/* VALUE SECTION */
/* ===================== */
.value {
  background: #0b1220;
  color: white;
  padding: 110px 20px;
  text-align: center;
}

.value h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.25);
  transition: 0.3s;
}

.value-card:hover {
  transform: translateY(-8px);
}

.value-card h3 {
  color: #22c55e;
  margin-bottom: 10px;
}

.value-card p {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

/* ===================== */
/* PROJECTS */
/* ===================== */
.projects {
  background: #f8fafc;
  padding: 110px 20px;
  color: #0f172a;
  text-align: center;
}

.projects h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.project-card h3 {
  margin: 20px;
  font-size: 1.2rem;
}

.project-card p {
  margin: 0 20px 25px;
  color: #475569;
  line-height: 1.6;
}

/* ===================== */
/* CONTACT */
/* ===================== */
.contact {
  background: #0b1220;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-text {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.contact-box p {
  margin: 12px 0;
  font-size: 1.05rem;
}

.contact-box a,
.contact a {
  color: #22c55e;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* ===================== */
/* CAROUSEL */
/* ===================== */
.carousel {
  position: relative;
  width: 100%;
  max-width: 650px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  flex: 0 0 100%;
  overflow: hidden;
}

.slide img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.carousel:hover .slide img {
  transform: scale(1.05);
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.45);
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background: #22c55e;
}

/* ===================== */
/* SERVICES PAGE */
/* ===================== */
.services-info {
  background: #0f172a;
  padding: 80px 20px;
  text-align: center;
}

.services-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.services-text {
  max-width: 700px;
  margin: 10px auto;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.page-hero {
  padding: 150px 20px 90px;
  text-align: center;
  color: white;
}

.services-hero {
  background: transparent;
}

.page-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 18px;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  line-height: 1.8;
}

.services-intro {
  background: #0f172a;
  padding: 90px 20px;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.services-text-block {
  text-align: left;
}

.services-text-block h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.services-text-block p {
  color: rgba(255,255,255,0.82);
  line-height: 1.9;
  margin-bottom: 16px;
}

.services-image-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

.service-highlights {
  background: linear-gradient(180deg, #0b1730 0%, #0d1c38 100%);
  padding: 95px 20px;
  text-align: center;
}

.service-highlights h2 {
  font-size: 2.2rem;
  margin-bottom: 38px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.highlight-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}

.highlight-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.highlight-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.highlight-card p {
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

.service-includes {
  background: #0f172a;
  padding: 95px 20px;
}

.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.includes-box {
  background: rgba(255,255,255,0.04);
  border-radius: 24px;
  padding: 34px 30px;
  text-align: left;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
}

.includes-box h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.includes-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

.includes-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
  font-size: 1.2rem;
}

.pricing-section {
  background: linear-gradient(180deg, #0b1730 0%, #081225 100%);
  padding: 95px 20px 120px;
}

.pricing-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  padding: 46px 30px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

.pricing-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  font-weight: 700;
  font-size: 0.9rem;
}

.pricing-box h2 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.pricing-box p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
}

.big-price {
  font-size: 3rem;
  font-weight: 800;
  color: #22c55e;
  margin-bottom: 26px;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */
@media (max-width: 980px) {
  .about-content,
  .services-intro-grid,
  .includes-grid,
  .highlight-grid,
  .value-cards,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-text,
  .about-text p {
    max-width: 100%;
  }

  .about-text,
  .services-text-block {
    text-align: center;
  }

  .about-stats {
    max-width: 100%;
  }

  .services-image-card img {
    height: 280px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .services h2 {
    font-size: 2.2rem;
  }

  .card {
    padding: 26px 20px;
  }

  .card h3 {
    font-size: 1.7rem;
  }

  .price {
    font-size: 1.8rem;
  }
}

.video-hero {
  position: relative;
  overflow: hidden;
}

/* VIDEO */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

/* OSCURECER VIDEO */
.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 25, 0.7);
  z-index: -1;
}

.projects-showcase {
  background: linear-gradient(180deg, #0f172a 0%, #0b1730 100%);
  padding: 100px 20px 120px;
}

.project-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.20);
  margin-bottom: 42px;
}

.project-card-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.project-image-wrap {
  position: relative;
}

.project-image-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.28);
  display: block;
}

.project-info {
  text-align: left;
}

.project-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  font-size: 0.9rem;
  font-weight: 700;
}

.project-info h3 {
  font-size: 2.1rem;
  margin-bottom: 16px;
  line-height: 1.15;
}

.project-info p {
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.project-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-points li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.82);
}

.project-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #22c55e;
  font-size: 1.2rem;
}

.project-card-alt.reverse {
  direction: rtl;
}

.project-card-alt.reverse .project-info {
  direction: ltr;
}

@media (max-width: 900px) {
  .project-card-alt {
    grid-template-columns: 1fr;
  }

  .project-card-alt.reverse {
    direction: ltr;
  }

  .project-image-wrap img {
    height: 280px;
  }

  .project-info {
    text-align: center;
  }

  .project-points {
    text-align: left;
  }
}

.contact-page {
  background: linear-gradient(180deg, #0f172a 0%, #0b1730 100%);
  padding: 100px 20px 120px;
  overflow-x: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.contact-grid > * {
  min-width: 0;
}

.contact-info-panel,
.contact-form-panel {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 34px 30px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.20);
}

.contact-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-info-panel h2,
.contact-form-panel h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-methods {
  display: grid;
  gap: 20px;
}

.contact-method {
  background: rgba(255,255,255,0.03);
  border-radius: 18px;
  padding: 18px 20px;
}

.contact-method h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.contact-method a {
  color: #22c55e;
  text-decoration: none;
  word-break: break-word;
}

.contact-method a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-weight: 600;
  color: white;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(34,197,94,0.55);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form .card-btn {
  border: none;
  cursor: pointer;
  width: fit-content;
}

@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 28px 22px;
  }
}