
:root {
  --orange: #ff4b00;
  --red: #d91410;
  --navy: #102c3b;
  --muted: #657582;
  --white: #ffffff;
  --line: #e9e9e9;
  --gradient: linear-gradient(110deg, #e63800, #ff7900);
  --radius: 12px;
  --shadow: 0 6px 22px rgba(0, 0, 0, .07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--navy);
  background: white;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }
a { text-decoration: none; color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section { padding: 75px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 45px;
  padding: 12px 23px;
  border: 0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px rgba(0,0,0,.15);
}

.btn-primary {
  color: white;
  background: linear-gradient(110deg, #ff5900, #d91410);
}

.btn-orange {
  color: white;
  background: linear-gradient(110deg, #ff9c00, #ff4b00);
}

.btn-white {
  background: white;
  color: var(--orange);
}

.eyebrow {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.section-heading {
  max-width: 750px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2 {
  margin: 12px 0;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.25;
}

.section-heading h2 span { color: var(--orange); }

.section-heading > p:last-child {
  max-width: 610px;
  margin: auto;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.section-heading.light,
.section-heading.light h2,
.section-heading.light .eyebrow,
.section-heading.light > p:last-child {
  color: white;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 15px rgba(0,0,0,.06);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand img {
  max-width: 155px;
  max-height: 49px;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  flex-direction: column;
}

.brand-fallback strong {
  font-size: 20px;
  letter-spacing: 3px;
}

.brand-fallback small {
  font-size: 7px;
  letter-spacing: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-link {
  position: relative;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--orange);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  white-space: nowrap;
  font-size: 11px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.language-selector i { color: var(--orange); }

.language-selector select {
  max-width: 82px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 23px;
}

/* HERO */

.hero {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff9f4;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.93) 29%,
      rgba(255,255,255,.62) 43%,
      rgba(255,255,255,0) 65%),
    url("assets/hero-background.jpg");
  background-position: center, center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 490px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 55%;
  padding: 60px 0;
}

.hero h1 {
  margin: 19px 0;
  font-size: clamp(38px, 5vw, 65px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -2.5px;
}

.hero h1 span { color: var(--orange); }

.hero-description {
  max-width: 500px;
  margin-bottom: 25px;
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 500;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.video-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.play-circle {
  width: 43px;
  height: 43px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange);
}

.hero-note {
  position: absolute;
  top: 45px;
  right: 3%;
  transform: rotate(-9deg);
  font-size: 21px;
  font-weight: 800;
  font-style: italic;
  line-height: 1.25;
  text-align: center;
}

.hero-note i {
  display: block;
  margin-top: 10px;
  color: var(--orange);
  font-size: 35px;
}

/* SERVICES */

.services {
  position: relative;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 235px;
  padding: 26px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .3s, box-shadow .3s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0,0,0,.11);
}

.service-icon-wrapper {
  height: 55px;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 34px;
}

.service-card h3 {
  margin: 13px 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.service-card > a {
  margin-top: auto;
  padding-top: 17px;
  color: var(--orange);
  font-size: 19px;
}

/* PORTFOLIO */

.portfolio {
  background: linear-gradient(120deg, #e63700, #ff8100);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 23px;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: white;
  color: var(--navy);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  transition: .2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(255,255,255,.1);
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 17px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: white;
  border-radius: 10px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.project-card[hidden] { display: none !important; }

.project-image {
  height: 190px;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(130deg, #eee, #f8f8f8);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.project-card:hover img { transform: scale(1.05); }

.project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 6px 5px;
}

.project-category {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
}

.project-content h3 {
  margin: 6px 0;
  font-size: 15px;
  font-weight: 800;
}

.project-content p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
}

.project-content a {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
}

/* CTA */

.cta-banner {
  padding: 30px 0;
  background: linear-gradient(100deg, #bd2100, #ff7200);
  color: white;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.cta-leaf { font-size: 75px; }

.cta-content { flex: 1; }

.cta-content h2 {
  margin-bottom: 8px;
  font-size: 23px;
  font-weight: 800;
}

.cta-content p { font-size: 13px; }

/* DIFFERENCE */

.difference { background: white; }

.difference-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.difference-item {
  padding: 15px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.difference-item:last-child { border-right: 0; }

.difference-item > i {
  color: var(--orange);
  font-size: 33px;
  margin-bottom: 17px;
}

.difference-item h3 {
  font-size: 13px;
  margin-bottom: 9px;
  font-weight: 800;
}

.difference-item p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

/* PRICING */

.pricing {
  position: relative;
  color: white;
  background:
    radial-gradient(circle at 100% 0%, #bb2600 0%, transparent 45%),
    linear-gradient(125deg, #410600, #700b04 55%, #230300);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 960px;
  margin: auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 23px 20px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 10px;
  text-align: center;
  background: rgba(0,0,0,.12);
}

.pricing-card.popular {
  border: 2px solid #ff9200;
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 15%;
  width: 70%;
  padding: 6px;
  border-radius: 20px;
  background: #ff9200;
  color: white;
  font-size: 10px;
  font-weight: 800;
}

.plan-leaf {
  color: var(--orange);
  font-size: 30px;
  margin-bottom: 5px;
}

.pricing-card h3 {
  font-size: 23px;
  font-weight: 900;
}

.plan-subtitle {
  font-size: 11px;
  margin: 4px 0 16px;
}

.pricing-card ul {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}

.pricing-card li {
  position: relative;
  padding-left: 19px;
  margin-bottom: 9px;
  font-size: 11px;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff9a00;
  font-weight: 900;
}

.plan-bottom {
  margin-top: auto;
  width: 100%;
}

.starting {
  font-size: 11px;
  opacity: .9;
}

.price {
  font-size: 17px;
  margin: 3px 0;
}

.price strong {
  font-size: 34px;
  font-weight: 900;
}

.installments {
  margin-bottom: 18px;
  font-size: 10px;
}

.pricing-card .btn { width: 100%; }

/* FOOTER */

.footer {
  background: white;
  padding: 45px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 35px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-logo > i {
  color: var(--red);
  font-size: 37px;
}

.footer-logo span {
  display: flex;
  flex-direction: column;
}

.footer-logo strong {
  font-size: 22px;
  letter-spacing: 2px;
}

.footer-logo small {
  font-size: 8px;
  letter-spacing: 2px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 230px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h4 {
  font-size: 13px;
  margin-bottom: 7px;
}

.footer-column a,
.footer-column p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-column a:hover { color: var(--orange); }

.footer-column i {
  color: var(--orange);
  margin-right: 7px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: var(--orange);
  font-size: 17px;
}

/* VIDEO MODAL */

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.8);
}

.video-modal.open { display: flex; }

.video-dialog {
  position: relative;
  width: min(750px, 100%);
  background: #102c3b;
  border-radius: 12px;
  padding: 45px 20px;
  color: white;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
}

.video-placeholder {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.video-placeholder i {
  font-size: 65px;
  color: var(--orange);
}

/* ANIMATIONS */

.reveal {
  opacity: 1;
  transform: none;
}

.js-animations .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s, transform .65s;
}

.js-animations .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */

@media (max-width: 1050px) {
  .main-nav { gap: 15px; }
  .nav-link { font-size: 11px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-note { display: none; }
  .hero-content { width: 65%; }
}

/* MOBILE */

@media (max-width: 768px) {
  .section { padding: 55px 0; }

  .header-inner { min-height: 70px; }
  .brand img { max-width: 125px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5%;
    background: white;
    box-shadow: 0 12px 18px rgba(0,0,0,.1);
  }

  .main-nav.open { display: flex; }

  .nav-link {
    padding: 14px;
    font-size: 13px;
  }

  .nav-link.active::after { display: none; }

  .hero, .hero-inner { min-height: 580px; }

  .hero-background {
    background-image:
      linear-gradient(180deg,
        rgba(255,255,255,.98) 0%,
        rgba(255,255,255,.95) 40%,
        rgba(255,255,255,.2) 100%),
      url("assets/hero-background.jpg");
    background-position: center, 65% center;
  }

  .hero-inner { align-items: flex-start; }

  .hero-content {
    width: 100%;
    padding-top: 45px;
  }

  .hero h1 {
    font-size: clamp(36px, 9vw, 54px);
    letter-spacing: -1.5px;
  }

  .hero-description {
    max-width: 430px;
    font-size: 15px;
  }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .difference-grid { grid-template-columns: repeat(2, 1fr); }
  .difference-item:nth-child(2) { border-right: 0; }
  .difference-item { margin-bottom: 20px; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .cta-leaf { font-size: 45px; }
  .cta-content h2 { font-size: 18px; }
  .cta-inner { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card { min-height: 205px; }
  .project-image { height: 210px; }

  .section-heading h2 { font-size: 27px; }

  .portfolio-filters { justify-content: flex-start; }
  .filter-btn { font-size: 10px; padding: 10px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions { gap: 14px; }
  .hero .eyebrow { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .js-animations .reveal {
    opacity: 1;
    transform: none;
  }
}
