@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --orange: #ff6b35;
  --orange-dark: #ea580c;
  --yellow: #f7931e;
  --gradient: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
  --dark: #111827;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --radius: 1rem;
  --header-h: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
}

.btn-primary:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.btn-light {
  background: var(--gray-100);
  color: var(--gray-800);
}

.btn-light:hover {
  background: #e5e7eb;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.header .logo img {
  height: 72px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--gray-800);
}

.logo-text span {
  font-size: 0.72rem;
  color: var(--gray-500);
  font-weight: 500;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang a {
  color: var(--gray-400);
  padding: 0.2rem 0.35rem;
}

.lang a.is-active {
  color: var(--orange);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--gray-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--gray-700);
}

.icon-btn:hover {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

#nav-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to bottom right, #ffedd5, #fef9c3);
  transform: skewX(-12deg) translateX(-12%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.hero h1 .line {
  display: block;
  color: var(--gray-800);
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-image {
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
  object-fit: cover;
  width: 100%;
  height: 420px;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-muted {
  background: var(--gray-50);
}

.section-head {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-head p {
  font-size: 1.15rem;
  color: var(--gray-600);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.about-copy .lead {
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.about-copy p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.about-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.why-box {
  margin-top: 1.5rem;
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
}

.why-box h3 {
  margin-bottom: 0.85rem;
  font-size: 1.2rem;
}

.why-box li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--gray-700);
  margin-bottom: 0.55rem;
}

.check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  border-radius: 999px;
  background: var(--gradient);
}

.check::after {
  content: "";
  display: block;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 2px auto 0;
}

.cta-inline {
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--gray-800);
}

/* Cards */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
}

.icon-box svg {
  width: 32px;
  height: 32px;
}

.card h3 {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card .desc {
  text-align: center;
  color: var(--gray-600);
  min-height: 4.2rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.feature-list {
  margin-bottom: 1.25rem;
  flex: 1;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 999px;
  background: var(--orange);
}

.card-media {
  height: 180px;
  object-fit: contain;
  padding: 1rem;
  background: var(--gray-100);
  width: 100%;
}

.card-media.cover {
  object-fit: cover;
  padding: 0;
  height: 200px;
}

.price {
  font-weight: 800;
  color: var(--orange);
  margin: 0.5rem 0 1rem;
  font-size: 1.05rem;
}

.badge {
  display: inline-block;
  background: #ffedd5;
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

/* Contact */
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-card {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 1.25rem;
}

.info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.info-card .value {
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.info-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.form-box {
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.form-box h3 {
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 0.7rem;
  padding: 0.8rem 0.95rem;
  outline: none;
  color: var(--gray-800);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer h3,
.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p {
  color: var(--gray-400);
  font-size: 0.95rem;
}

.footer a {
  color: var(--gray-400);
  display: block;
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.footer-bottom a {
  display: inline;
  margin: 0 0.4rem;
}

.footer .logo img {
  height: 48px;
  margin-bottom: 0.85rem;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #22c55e;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
  z-index: 90;
}

.whatsapp-float:hover {
  background: #16a34a;
}

/* Inner pages */
.page-hero {
  padding: 8.5rem 0 3.5rem;
  background: linear-gradient(to bottom right, #fff7ed, #fefce8);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.page-hero p {
  color: var(--gray-600);
  max-width: 48rem;
  font-size: 1.1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 1rem;
}

.prose {
  max-width: 52rem;
}

.prose p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.gallery img,
.gallery-item {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--gray-100);
}

.gallery figure {
  margin: 0;
}

.gallery figcaption {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.prose h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.6rem;
  text-align: left;
}

.gallery-item {
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: var(--white);
  font-weight: 600;
  background-size: cover;
  background-position: center;
  position: relative;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.72), transparent 55%);
  border-radius: 1rem;
}

.gallery-item span {
  position: relative;
  z-index: 1;
}

.meta-list dt {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 0.85rem;
}

.meta-list dd {
  font-weight: 700;
  color: var(--gray-800);
}

.cta-band {
  margin-top: 4rem;
  background: var(--gradient);
  color: var(--white);
  border-radius: 1.25rem;
  padding: 2.5rem;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.65rem;
}

.cta-band p {
  margin-bottom: 1.25rem;
  opacity: 0.95;
}

.cta-band .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-band .btn-outline:hover {
  background: var(--white);
  color: var(--orange);
}

.project-cover {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}

.cover-fallback {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  color: var(--white);
  font-weight: 700;
  background: var(--gradient);
  position: relative;
}

.cover-fallback.s1 { background: linear-gradient(135deg, #1f2937, #ff6b35); }
.cover-fallback.s2 { background: linear-gradient(135deg, #0f172a, #f7931e); }
.cover-fallback.s3 { background: linear-gradient(135deg, #111827, #ea580c); }
.cover-fallback.s4 { background: linear-gradient(135deg, #1e3a5f, #ff6b35); }
.cover-fallback.s5 { background: linear-gradient(135deg, #14532d, #f7931e); }
.cover-fallback.s6 { background: linear-gradient(135deg, #1e1b4b, #ff6b35); }
.cover-fallback.s7 { background: linear-gradient(135deg, #7c2d12, #f7931e); }
.cover-fallback.s8 { background: linear-gradient(135deg, #334155, #ff6b35); }

/* Legal */
.legal {
  padding: 8.5rem 0 5rem;
}

.legal h1 {
  margin-bottom: 1.25rem;
}

.legal p,
.legal li {
  color: var(--gray-600);
  margin-bottom: 0.85rem;
}

@media (max-width: 1200px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .grid-2,
  .footer-grid,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-bg {
    width: 70%;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #nav-toggle:checked ~ .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.25rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    gap: 0.9rem;
    box-shadow: var(--shadow-lg);
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .hero,
  .section {
    padding: 5.5rem 0 3.5rem;
  }

  .hero {
    padding-top: 7.5rem;
  }

  .hero-grid,
  .about-grid,
  .grid-5,
  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid,
  .contact-info,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .about-image {
    height: 280px;
  }

  .logo-text {
    display: none;
  }

  .card .desc {
    min-height: 0;
  }
}
