.page-hero {
  background-color: var(--deep);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--deep) 8%,
    rgba(0, 23, 45, 0.86) 46%,
    rgba(0, 23, 45, 0.12)
  );
}
.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
  max-width: 760px;
  margin: 12px 0 22px;
}
.page-hero h1 em {
  color: var(--orange);
  font-style: normal;
}
@media (min-width: 901px) {
  .page-hero.about-hero {
    background-position: left center;
    background-size: 120% auto;
  }
}
.page-hero .lead {
  max-width: 590px;
  color: #d5dfe7;
  font-size: 1.05rem;
}
.crumb {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #9fb0bf;
}
.crumb b {
  color: var(--orange);
}
.inner-section {
  padding: 95px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}
.intro-grid h2,
.projects-title h2,
.contact-grid h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.intro-grid p {
  color: var(--muted);
}
.feature-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 38px;
}
.feature-panel article {
  padding: 18px 0;
  border-bottom: 1px solid #34516b;
  display: flex;
  gap: 18px;
}
.feature-panel article:last-child {
  border: 0;
}
.feature-panel [data-lucide] {
  color: var(--orange);
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}
.feature-panel h3 {
  font-size: 0.88rem;
  margin: 0;
}
.feature-panel p {
  font-size: 0.75rem;
  margin: 2px 0 0;
  color: #bdcbd6;
}
.values {
  background: var(--paper);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.value-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.value-grid [data-lucide] {
  color: var(--orange);
  width: 34px;
  height: 34px;
  stroke-width: 1.8;
}
.value-grid h3 {
  font-size: 1rem;
  margin: 16px 0 8px;
}
.value-grid p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}
.services-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
.services-intro h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.2;
}
.service-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.service-feature {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: 0.3s;
  scroll-margin-top: 30px;
}
.service-feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.service-feature .visual {
  height: 245px;
  background: linear-gradient(0deg, rgba(0, 33, 64, 0.35), transparent),
    var(--image) center/cover;
  position: relative;
}
.service-feature .visual b {
  position: absolute;
  left: 22px;
  bottom: 18px;
  background: var(--orange);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.64rem;
  text-transform: uppercase;
}
.service-feature .body {
  padding: 30px;
}
.service-feature h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}
.service-feature p {
  font-size: 0.84rem;
  color: var(--muted);
}
.deliverables {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.deliverables span {
  font-size: 0.65rem;
  background: #eef3f6;
  padding: 6px 9px;
  border-radius: 30px;
}
.service-feature a {
  color: var(--orange);
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 800;
}
.service-feature.wide {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.service-feature.wide .visual {
  height: auto;
  min-height: 300px;
}
.project-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.project-filter button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 30px;
  padding: 10px 17px;
  font: 700 0.68rem Manrope;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.project-filter button.active,
.project-filter button:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease,
    border-color 0.28s ease;
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 133, 0, 0.42);
    box-shadow: 0 20px 46px rgba(0, 33, 64, 0.14);
  }
  .project-card:hover .image {
    transform: scale(1.045);
  }
  .project-card:hover h3 {
    color: var(--navy);
  }
  .project-card:hover a {
    color: #d96f00;
  }
}
.project-card:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 133, 0, 0.14),
    0 18px 40px rgba(0, 33, 64, 0.12);
}
.project-card .image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.45s ease;
}
.project-card .body {
  padding: 24px;
}
.project-card small {
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
}
.project-card h3 {
  font-size: 1.02rem;
  margin: 8px 0;
  transition: color 0.2s ease;
}
.project-card p {
  font-size: 0.77rem;
  color: var(--muted);
}
.project-card a {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.project-card a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 2px;
}
.project-card.hidden {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-card .image,
  .project-card h3,
  .project-card a {
    transition: none;
  }
  .project-card:hover,
  .project-card:hover .image {
    transform: none;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px;
  background: #fff;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  border: 1px solid #d7e0e6;
  border-radius: 8px;
  padding: 15px;
  font: inherit;
  font-size: 0.8rem;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 133, 0, 0.14);
}
.contact-card select {
  appearance: none;
  cursor: pointer;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23002140' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}
.contact-card select option {
  background: #fff;
  color: var(--ink);
}
.contact-card select option:checked {
  background: var(--navy);
  color: #fff;
}
.custom-select {
  position: relative;
}
.custom-select-trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid #d7e0e6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.custom-select-trigger [data-lucide] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 0.2s;
}
.custom-select.open .custom-select-trigger {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 133, 0, 0.14);
}
.custom-select.open .custom-select-trigger [data-lucide] {
  transform: rotate(180deg);
}
.custom-select-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(0, 33, 64, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-select-options button {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
}
.custom-select-options button:hover,
.custom-select-options button:focus-visible {
  outline: none;
  background: #eef3f6;
  color: var(--navy);
}
.custom-select-options button[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
}
.custom-select-error {
  display: none;
  margin: 7px 0 0 2px;
  color: #b42318;
  font-size: 0.68rem;
}
.custom-select.invalid .custom-select-trigger {
  border-color: #b42318;
}
.custom-select.invalid .custom-select-error {
  display: block;
}
.contact-card .btn {
  border: 0;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}
.contact-card .btn:focus-visible {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(255, 133, 0, 0.5);
}
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  pointer-events: none;
}
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-actions .btn {
  width: 100%;
  justify-content: center;
  gap: 9px;
  text-align: center;
}
.form-actions .btn [data-lucide] {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.btn-whatsapp {
  border: 1px solid #15803d;
  background: #fff;
  color: #15803d;
}
.btn-whatsapp:hover {
  background: #15803d;
  color: #fff;
}
.contact-card .btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}
.contact-card textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-list article,
.contact-item-link {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item-link {
  color: inherit;
  transition: color 0.2s, transform 0.2s;
}
.contact-item-link:hover {
  color: var(--orange);
  transform: translateX(4px);
}
.contact-list article:last-child {
  border: 0;
}
.contact-list [data-lucide] {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--orange);
  padding: 14px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}
.contact-list b,
.contact-list span {
  display: block;
}
.contact-list b {
  font-size: 0.72rem;
  text-transform: uppercase;
}
.contact-list span {
  font-size: 0.82rem;
  color: var(--muted);
}
.form-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.76rem;
  line-height: 1.5;
}
.form-status[hidden] {
  display: none;
}
.form-status-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.form-status-icon [data-lucide] {
  display: none;
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}
.form-status-content,
.form-status-content > span {
  display: block;
}
.form-status-content strong {
  display: block;
  margin-bottom: 1px;
  color: var(--navy);
  font-size: 0.78rem;
}
.form-status.loading {
  border-color: #cddae6;
  background: #f3f7fb;
  color: #49647b;
}
.form-status.loading .form-status-icon {
  background: #dce9f5;
  color: var(--navy);
}
.form-status.loading .status-loading-icon {
  display: block;
  animation: status-spin 0.85s linear infinite;
}
.form-status.success {
  border-color: #a8d8b7;
  background: #f0faf3;
  color: #326442;
}
.form-status.success .form-status-icon {
  background: #d7f0df;
  color: #167448;
}
.form-status.success .status-success-icon {
  display: block;
}
.form-status.error {
  border-color: #f0b8b2;
  background: #fff5f4;
  color: #8b3028;
}
.form-status.error .form-status-icon {
  background: #fbe0dd;
  color: #b42318;
}
.form-status.error .status-error-icon {
  display: block;
}
@keyframes status-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .form-status.loading .status-loading-icon {
    animation: none;
  }
}
.not-found {
  min-height: calc(100vh - 86px);
  background: radial-gradient(circle at 75% 45%, #07345a, var(--deep) 50%);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
}
.not-found strong {
  display: block;
  color: var(--orange);
  font-size: clamp(7rem, 20vw, 15rem);
  line-height: 0.8;
}
.not-found h1 {
  font-size: 2.2rem;
  margin: 25px 0 10px;
}
.not-found p {
  color: #bdcad4;
}
.not-found .actions {
  justify-content: center;
  margin-top: 28px;
}
@media (max-width: 900px) {
  .page-hero {
    min-height: 470px;
  }
  .page-hero.about-hero {
    background-position: 58% center;
  }
  .intro-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .value-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-showcase {
    grid-template-columns: 1fr;
  }
  .service-feature.wide {
    grid-column: auto;
    display: block;
  }
  .service-feature.wide .visual {
    height: 245px;
  }
  .page-hero:after {
    background: linear-gradient(
      0deg,
      var(--deep) 8%,
      rgba(0, 23, 45, 0.68) 80%
    );
  }
}
@media (max-width: 560px) {
  .inner-section {
    padding: 54px 0;
  }
  .page-hero {
    min-height: 430px;
    align-items: end;
  }
  .page-hero .container {
    padding: 52px 0 42px;
  }
  .page-hero h1 {
    font-size: clamp(2.2rem, 11vw, 2.65rem);
    margin-bottom: 16px;
  }
  .page-hero .lead {
    font-size: 0.92rem;
  }
  .value-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
  .service-feature .visual {
    height: 210px;
  }
  .contact-card {
    padding: 22px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .form-actions {
    grid-template-columns: 1fr;
  }
}
