* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #0891b2;
  text-decoration: none;
  transition: color 200ms ease-in-out;
}
a:hover {
  color: #0e7490;
}

button, [type=button], [type=submit] {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

section {
  padding: 6rem 0;
}
@media (min-width: 640px) {
  section {
    padding: 4rem 0;
  }
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.mt-sm {
  margin-top: 0.5rem;
}

.mt-md {
  margin-top: 1rem;
}

.mt-lg {
  margin-top: 1.5rem;
}

.mt-xl {
  margin-top: 2rem;
}

.mt-2xl {
  margin-top: 3rem;
}

.mb-sm {
  margin-bottom: 0.5rem;
}

.mb-md {
  margin-bottom: 1rem;
}

.mb-lg {
  margin-bottom: 1.5rem;
}

.mb-xl {
  margin-bottom: 2rem;
}

.mb-2xl {
  margin-bottom: 3rem;
}

.pt-lg {
  padding-top: 1.5rem;
}

.pb-lg {
  padding-bottom: 1.5rem;
}

.hidden {
  display: none !important;
}

@media (min-width: 640px) {
  .hidden-sm {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .hidden-md {
    display: none !important;
  }
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: #0891b2;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  text-decoration: none;
  display: inline-flex;
  gap: 0.5rem;
}
.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: #0891b2;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  text-decoration: none;
  display: inline-flex;
  gap: 0.5rem;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary:hover {
  background-color: #0e7490;
}
.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: #22d3ee;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  text-decoration: none;
  display: inline-flex;
  gap: 0.5rem;
}
.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-secondary:active {
  transform: translateY(0);
}
.btn-secondary:hover {
  background-color: #10b4cd;
}
.btn-success {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  text-decoration: none;
  display: inline-flex;
  gap: 0.5rem;
}
.btn-success:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.btn-success:active {
  transform: translateY(0);
}
.btn-success:hover {
  background-color: #0c8a60;
}
.btn-outline {
  background-color: transparent;
  border: 2px solid #0891b2;
  color: #0891b2;
}
.btn-outline:hover {
  background-color: #e0f2fe;
}
.btn-lg {
  padding: 1.5rem 3rem;
  font-size: 1.125rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: all 200ms ease-in-out;
}
.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.card-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.card-body {
  padding: 1rem 0;
}
.card-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
  margin-top: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-primary {
  background-color: #e0f2fe;
  color: #0e7490;
}
.badge-success {
  background-color: #9ef7d9;
  color: #085b40;
}
.badge-warning {
  background-color: #fdeccf;
  color: #945f06;
}
.badge-danger {
  background-color: white;
  color: #bd1010;
}

.icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}
.icon-lg {
  width: 3rem;
  height: 3rem;
}
.icon-sm {
  width: 1rem;
  height: 1rem;
}
.icon svg {
  width: 100%;
  height: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}
.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
  border-radius: 9999px;
}
.section-header p {
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}
@media (min-width: 640px) {
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.flex {
  display: flex;
  gap: 1rem;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}

.bg-light {
  background-color: #f8fafc;
}

.bg-white {
  background-color: #ffffff;
}

.bg-primary {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  color: #ffffff;
}

.bg-secondary {
  background: linear-gradient(135deg, #22d3ee 0%, #10b4cd 100%);
  color: #ffffff;
}

.text-muted {
  color: #64748b;
}

.text-primary {
  color: #0891b2;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-bold {
  font-weight: 700;
}

.fade-in {
  animation: fadeIn 300ms ease-in-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp 300ms ease-in-out forwards;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 300ms ease-in-out forwards;
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

:root {
  --accent: #0891b2;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
@media (min-width: 1024px) {
  #header {
    width: 264px;
    height: 100vh;
    border-bottom: none;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
  }
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.sidebar-brand .logo img {
  max-height: 40px;
}
@media (min-width: 1024px) {
  .sidebar-brand {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
  }
}

.nav-toggle {
  position: relative;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1e293b;
  border-radius: 9999px;
  transition: all 200ms ease-in-out;
}
.nav-toggle span:nth-child(1) {
  top: 0;
}
.nav-toggle span:nth-child(2) {
  top: 11px;
}
.nav-toggle span:nth-child(3) {
  top: 22px;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  padding-top: 5.5rem;
  overflow-y: auto;
  transition: left 300ms ease-in-out;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 999;
  display: flex;
  flex-direction: column;
}
.nav-menu.active {
  left: 0;
}
.nav-menu .nav-link {
  display: block;
  padding: 1rem 2rem;
  color: #334155;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: all 200ms ease-in-out;
}
.nav-menu .nav-link:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-left-color: var(--accent);
}
@media (min-width: 1024px) {
  .nav-menu {
    position: static;
    left: 0;
    width: 100%;
    height: auto;
    flex: 1;
    padding-top: 2rem;
    box-shadow: none;
    overflow-y: visible;
  }
}

.sidebar-social {
  display: flex;
  gap: 0.5rem;
  padding: 2rem;
  margin-top: auto;
  border-top: 1px solid #e2e8f0;
}
.sidebar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.sidebar-social a svg {
  width: 18px;
  height: 18px;
}
.sidebar-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-in-out;
  z-index: 998;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 1024px) {
  .nav-overlay {
    display: none;
  }
}

.hero,
main,
footer {
  padding-top: 64px;
}
@media (min-width: 1024px) {
  .hero,
main,
footer {
    margin-left: 264px;
    padding-top: 0;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  background-color: #0f172a;
  position: relative;
}
@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    min-height: 640px;
  }
}

.hero-panel {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, var(--accent) 0%, #0e7490 100%);
  color: #ffffff;
  padding: 6rem 1.5rem;
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-panel {
    width: 46%;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
    padding: 6rem 4rem;
  }
}

.hero-content {
  max-width: 460px;
}
.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}
.hero-content .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #ffffff;
  display: inline-block;
}
.hero-content h1 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}
.hero-content h2 {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-actions .btn-solid {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  color: var(--accent);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  text-decoration: none;
  display: inline-flex;
  gap: 0.5rem;
}
.hero-actions .btn-solid:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.hero-actions .btn-solid:active {
  transform: translateY(0);
}
.hero-actions .btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: transparent;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  text-decoration: none;
  display: inline-flex;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.hero-actions .btn-outline:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.hero-actions .btn-outline:active {
  transform: translateY(0);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-header h2 {
  margin-bottom: 0.5rem;
}
.section-header p {
  color: #475569;
}

.about-section {
  background: #ffffff;
}

.about-intro {
  max-width: 780px;
  margin: 0 auto 4rem;
  text-align: center;
  color: #475569;
}

.about-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .about-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .about-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-col {
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  transition: all 200ms ease-in-out;
}
.about-col .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.about-col .icon svg {
  width: 26px;
  height: 26px;
}
.about-col h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.about-col p {
  color: #475569;
  font-size: 0.875rem;
  margin-bottom: 0;
}
.about-col:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

#habilit {
  background: color-mix(in srgb, var(--accent) 6%, #ffffff);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mv-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 3rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.mv-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: var(--accent);
  color: #ffffff;
  margin: 0 auto 1.5rem;
}
.mv-card .icon svg {
  width: 30px;
  height: 30px;
}
.mv-card h3 {
  color: var(--accent);
}
.mv-card p {
  color: #475569;
  margin-bottom: 0;
}

.services-section {
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 200ms ease-in-out;
}
.service-card .service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.service-card .service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-card .service-icon svg {
  width: 24px;
  height: 24px;
}
.service-card h4 {
  margin-bottom: 0.5rem;
}
.service-card p {
  color: #475569;
  font-size: 0.875rem;
  margin-bottom: 0;
}
.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-bottom: 3px solid var(--accent);
}

.portfolio-section {
  background: #ffffff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 0.5rem;
  overflow: hidden;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease-in-out;
}
.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--accent) 70%, transparent);
  opacity: 0;
  transition: opacity 200ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-item .overlay a {
  color: #ffffff;
}
.portfolio-item .overlay svg {
  width: 28px;
  height: 28px;
}
.portfolio-item:hover img {
  transform: scale(1.08);
}
.portfolio-item:hover .overlay {
  opacity: 1;
}

.contact-section {
  background: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.contact-card .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.375rem;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin-bottom: 1rem;
}
.contact-card .contact-icon svg {
  width: 22px;
  height: 22px;
}
.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.contact-card p {
  color: #475569;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.contact-cta {
  border-radius: 0.75rem;
  padding: 3rem;
  background: linear-gradient(160deg, var(--accent) 0%, #0e7490 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-cta h3 {
  color: #ffffff;
}
.contact-cta p {
  color: rgba(255, 255, 255, 0.85);
}
.contact-cta .cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 200ms ease-in-out;
}
.contact-cta .cta-btn svg {
  width: 20px;
  height: 20px;
}
.contact-cta .cta-btn:hover {
  background: #ffffff;
  color: var(--accent);
}


footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand img {
  max-height: 36px;
  margin-bottom: 1rem;
}

.footer-nav h4,
.footer-social h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: #cbd5e1;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-social-links {
  display: flex;
  gap: 0.5rem;
}
.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.footer-social-links a svg {
  width: 16px;
  height: 16px;
}
.footer-social-links a:hover {
  background: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  display: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 900;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

.portfolio-item {
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms ease-in-out;
}
.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
}
.lightbox-content img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 0.375rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms ease-in-out, color 150ms ease-in-out;
  z-index: 2001;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--accent);
  color: #ffffff;
}
.lightbox-close svg,
.lightbox-nav svg {
  width: 22px;
  height: 22px;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

@media (min-width: 640px) {
  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }
}
@media (min-width: 640px) {
  header nav {
    gap: 2rem;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
  }

  .hero .hero-content h1 {
    font-size: 1.875rem;
  }
  .hero .hero-content h2 {
    font-size: 1.125rem;
  }
}
@media (min-width: 768px) {
  header .navbar {
    padding: 1rem 0;
  }
  header nav {
    gap: 3rem;
  }
  header nav a {
    padding: 1rem 1.5rem;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero .hero-content h2 {
    font-size: 1.25rem;
  }
}
@media (min-width: 1024px) {
  header .navbar {
    padding: 1.5rem 0;
  }
  header nav {
    gap: 3rem;
  }
  header nav a {
    padding: 1rem 2rem;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .contact-cards {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .contact-cards:has(.contact-card:nth-child(n+3):nth-child(-n+4)) {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero .hero-content h1 {
    font-size: 3rem;
  }
  .hero .hero-content h2 {
    font-size: 1.5rem;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 320px) {
  .show-xs {
    display: block !important;
  }

  .hide-xs {
    display: none !important;
  }
}
@media (min-width: 640px) {
  .show-sm {
    display: block !important;
  }

  .hide-sm {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .show-md {
    display: block !important;
  }

  .hide-md {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .show-lg {
    display: block !important;
  }

  .hide-lg {
    display: none !important;
  }
}
@media print {
  body {
    background: #ffffff;
  }

  header, footer, .back-to-top, .social-sidebar {
    display: none;
  }

  a {
    text-decoration: underline;
  }
}


/* ===== CONTACT EMAIL OVERFLOW FIX ===== */
.contact-icon ~ div,
.detail-icon ~ div,
.contact-cantina-icon ~ div,
.info-item > div,
.info-pill > div {
  min-width: 0;
}

#correoElectronico {
  overflow-wrap: break-word;
  word-break: break-word;
}
