:root {
  --brand-start: #4f46e5;
  --brand-end: #6d28d9;
  --bg: #f5f7fb;
  --text: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
  --ring: rgba(79, 70, 229, 0.25);
  --shadow: 0 10px 25px rgba(2, 6, 23, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: #fff;
  padding: clamp(1.5rem, 4vw, 3rem) 1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
  position: relative;
}
header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
header p {
  margin: 0.5rem auto 1.2rem;
  max-width: 70ch;
  opacity: 0.9;
}
.cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: var(--brand-start);
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta-btn:hover {
  background: #f0f0ff;
  transform: translateY(-2px);
}

.whoweare-h2,
.gallery-h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  color: #4f46e5;
  margin-bottom: 1.2rem;
  font-weight: 700;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}
.whoweare-h2::after,
.gallery-h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: #f59e0b;
  margin: 0.5rem auto 0;
  border-radius: 2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}
main {
  width: min(1140px, 92%);
  margin: 2rem auto 2.5rem;
  flex: 1;
  display: grid;
  gap: 1.5rem;
  animation: fadeIn 1.2s ease-in-out;
  background: linear-gradient(180deg, #f5f7fb 0%, #e0f2fe 100%);
  padding: 1.5rem;
  border-radius: 18px;
}

.content p {
  background: var(--card);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 0 1rem 0;
  font-size: 1.05rem;
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
figcaption {
  padding: 15px;
}

@media (min-width: 720px) {
  .gallery-images {
    grid-template-columns: 1fr 1fr;
  }
}

.img-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
  cursor: default;
}
.img-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow);
}
.img-card figcaption {
  padding: 0.75rem 1rem;
  background: rgba(79, 70, 229, 0.05);
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  border-top: 1px solid rgba(79, 70, 229, 0.2);
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  line-height: 1.4;
  border-radius: 0 0 var(--radius) var(--radius);
}
.img-card:hover figcaption {
  background: rgba(248, 201, 131, 0.5);
  color: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.1);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 0;
}

.extra-text {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #ede9fe, #e0f2fe);
  border-left: 6px solid var(--brand-start);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.15);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.8;
  color: #1e293b;
  text-align: center;
  animation: fadeIn 1.2s ease-in-out;
}

footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}
.footer-inner {
  width: min(1140px, 92%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.contact-options {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 999;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn.wa {
  background-color: #1eb851;
}

.contact-btn.email {
  background-color: #d97706;
}

.contact-btn.phone {
  background-color: #2563eb;
}
.contact-btn:focus {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.contact-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.contact-list li {
  opacity: 0.95;
}
.contact-list a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  width: 8.5rem;
}
#email-a {
  width: 16.2rem;
}

.contact-list a:hover {
  color: #fbbf24;
}

.contact-list i {
  font-size: 1.2rem;
  min-width: 1.5rem;
  text-align: center;
}

.contact-list a i.fa-whatsapp {
  color: #1eb851;
  transition: color 0.2s;
}
.contact-list a:hover i.fa-whatsapp {
  color: #22c55e;
}

.contact-list a i.fa-envelope {
  color: #d97706;
}
.contact-list a:hover i.fa-envelope {
  color: #f59e0b;
}

.contact-list a i.fa-phone {
  color: #2563eb;
}
.contact-list a:hover i.fa-phone {
  color: #3b82f6;
}

.contact-btn i {
  font-size: 1.25rem;
  line-height: 1;
}
.whatsapp a {
  color: #86caff;
  text-decoration: none;
  border-bottom: none;
}
.whatsapp a:hover {
  color: #b7ddff;
  border-color: #b7ddff;
}

footer .copy {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

a:focus {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  main {
    width: 100%;
    margin: 0;
    padding: 1rem;
  }

  .gallery-images {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .img-wrap {
    aspect-ratio: 1 / 1;
    min-height: 220px;
  }

  .img-wrap img {
    object-fit: contain;
  }
  .img-card figcaption {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 500px) {
  .img-wrap {
    aspect-ratio: auto;
    min-height: auto;
  }

  .img-wrap img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .extra-text {
    font-size: 1rem;
    padding: 1rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .cta-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  .img-card figcaption {
    font-size: 0.85rem;
    padding: 0.4rem 0.5rem;
  }
  .contact-options {
    bottom: 15px;
    right: 15px;
    gap: 0.5rem;
  }
  .contact-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
}
