:root {
  --bg: #edf4ff;
  --bg-soft: #e3eefc;
  --paper: #f7fbff;
  --panel: #ffffffcc;
  --panel-strong: #eef5ff;
  --line: rgba(52, 92, 161, 0.14);
  --text: #0e1e3b;
  --muted: #4e6488;
  --orange: #1f7aff;
  --orange-deep: #0b2a5b;
  --orange-soft: #9bc3ff;
  --brown: #17315f;
  --white: #ffffff;
  --shadow: 0 24px 50px rgba(18, 52, 108, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(156, 195, 255, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(31, 122, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 36%, #e6f0ff 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1338px, calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 1000;
  border-radius: 999px;
  background: #fff;
  color: #12325f;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 22, 43, 1);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(90, 130, 196, 0.14);
}

.site-header[data-scrolled="true"] {
  background: linear-gradient(180deg, #0b2a5b, #17315f);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  width: 92px;
  max-height: 58px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.nav a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  background: rgba(31, 122, 255, 0.12);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(31, 122, 255, 0.16);
  border-radius: 999px;
  background: rgba(245, 248, 255, 0.9);
  color: var(--brown);
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(11, 42, 91, 0.96), rgba(31, 122, 255, 0.9)),
    url("../img/pictures/1.10.jpg") center/cover;
  color: #f4f9ff;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 22px;
  background: linear-gradient(135deg, transparent 0 8px, #f7fbff 8px 16px, transparent 16px 24px) repeat-x;
  background-size: 24px 22px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 14%, rgba(156, 195, 255, 0.24), transparent 22%),
    radial-gradient(circle at 78% 10%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(9, 22, 47, 0.2), rgba(9, 22, 47, 0.38));
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 3rem 0 3.5rem;
}

.hero-copy {
  max-width: 700px;
  padding-left: clamp(0rem, 2vw, 1rem);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(228, 239, 255, 0.82);
}

.light {
  color: #9ec3ff;
}

.hero-copy h1,
.section-heading h2,
.stage-card h2,
.orange-panel h2,
.contact-copy h2 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  margin: 0.55rem 0 1rem;
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 0.9;
  max-width: 10ch;
}

.hero-copy p {
  margin: 0;
  max-width: 56ch;
  color: rgba(244, 249, 255, 0.9);
  line-height: 1.8;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.7rem 0 0;
  padding: 0;
}

.hero-stats li {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(225, 238, 255, 0.2);
  padding: 0.95rem 1rem;
  display: grid;
  gap: 0.15rem;
}

.hero-stats strong {
  font-size: 1.55rem;
  line-height: 1;
}

.hero-stats span {
  font-size: 0.9rem;
  color: rgba(230, 240, 255, 0.88);
}

.hero-visual {
  margin: 0;
  justify-self: end;
  width: min(100%, 560px);
  background: rgba(247, 251, 255, 0.1);
  border: 1px solid rgba(223, 236, 255, 0.18);
  border-radius: 36px;
  padding: 1.1rem;
  box-shadow: 0 28px 48px rgba(8, 29, 68, 0.22);
  backdrop-filter: blur(8px);
}

.hero-visual img {
  width: 100%;
  height: clamp(300px, 56vh, 720px);
  object-fit: cover;
  border-radius: 28px;
}

.hero-visual figcaption {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.2rem;
  color: rgba(245, 250, 255, 0.95);
}

.hero-visual figcaption span {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.7rem;
  color: rgba(210, 229, 255, 0.9);
}

.hero-visual figcaption strong {
  font-size: 1.05rem;
  line-height: 1.4;
}

.section {
  padding: 5rem 0;
}

#etapas.section {
  padding: 0;
}

.section-cream {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(239, 246, 255, 0.98));
}

.section-heading {
  max-width: 840px;
  margin: 0 auto 2rem;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  margin: 0.7rem 0 0.75rem;
  font-size: clamp(2rem, 4.7vw, 3.7rem);
  line-height: 1.02;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr 1fr;
  gap: 1rem;
  align-items: start;
}

.info-card,
.stage-card,
.testimonial-card,
.contact-shell,
.orange-panel {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.info-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.info-card h3,
.stage-card h2,
.testimonial-card h3,
.orange-panel h2,
.contact-copy h2,
.requirement-card h3,
.service-item h3 {
  font-family: "Fraunces", serif;
}

.info-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.55rem;
}

.info-card p,
.section-heading p,
.stage-card p,
.testimonial-card p,
.orange-panel p,
.contact-copy p,
.requirement-card p,
.service-item p {
  line-height: 1.8;
}

.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  padding-left: 1.5rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

.about-figure {
  margin: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.about-figure img {
  width: min(100%, 230px);
  filter: drop-shadow(0 18px 26px rgba(18, 52, 108, 0.12));
}

.logos-section {
  padding: 0 0 1rem;
}

.logos-strip {
  overflow: hidden;
  padding: 0.2rem 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: logosMarquee 26s linear infinite;
}

.logo-card {
  margin: 0;
  width: clamp(180px, 16vw, 230px);
  min-width: clamp(180px, 16vw, 230px);
  height: 90px;
  display: grid;
  place-items: center;
  background: rgba(247, 251, 255, 0.92);
  border-radius: 18px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(31, 122, 255, 0.08);
}

.logo-card img {
  width: 100%;
  height: 78px;
  object-fit: contain;
  filter: saturate(0.9);
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.requirement-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.2rem;
  min-height: 195px;
}

.requirement-card span {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 122, 255, 0.12);
  border: 1px solid rgba(31, 122, 255, 0.18);
  font-weight: 900;
  color: var(--orange);
}

.requirement-card h3 {
  margin: 0.8rem 0 0.35rem;
  font-size: 1.3rem;
}

.orange-band {
  background: linear-gradient(135deg, #0b2a5b 0%, #1f7aff 52%, #0b2a5b 100%);
  color: #f4f9ff;
  position: relative;
}

.orange-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 28%);
  pointer-events: none;
}

.orange-band .section-heading p {
  color: rgba(224, 238, 255, 0.84);
}

.service-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-item {
  background: rgba(245, 248, 255, 0.12);
  border: 1px solid rgba(245, 248, 255, 0.18);
  border-radius: 22px;
  padding: 1.2rem;
  min-height: 150px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.service-item:hover,
.service-item:focus-visible {
  transform: translateY(-3px);
  background: rgba(245, 248, 255, 0.2);
  border-color: rgba(200, 224, 255, 0.42);
}

.service-item:focus-visible {
  outline: 2px solid rgba(170, 208, 255, 0.95);
  outline-offset: 2px;
}

.service-thumb {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(204, 227, 255, 0.3);
  margin-bottom: 0.9rem;
}

.service-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.service-modal[data-open="true"] {
  display: flex;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 45, 0.7);
  backdrop-filter: blur(4px);
}

.service-modal-card {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) 1fr;
  align-items: stretch;
  background: linear-gradient(180deg, #f5f9ff, #eaf3ff);
  border: 1px solid rgba(110, 161, 238, 0.35);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(5, 22, 56, 0.35);
}

.service-modal-media {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: clamp(420px, 62vh, 560px);
  background: linear-gradient(180deg, #dbeaff, #cfe3ff);
  overflow: hidden;
}

.service-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 251, 255, 0.95);
  color: #0b2a5b;
  font-size: 1.6rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(5, 22, 56, 0.22);
  cursor: pointer;
}

.service-modal-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
}

.service-modal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem;
  border-top: 1px solid rgba(48, 96, 169, 0.2);
  background: rgba(245, 250, 255, 0.78);
}

.service-modal-nav {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(11, 42, 91, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #0b2a5b;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.service-modal-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.service-modal-counter {
  font-size: 0.86rem;
  font-weight: 800;
  color: #214577;
  letter-spacing: 0.05em;
}

.service-modal-content {
  display: grid;
  align-content: center;
  padding: 1.45rem 1.5rem 1.6rem;
}

.service-modal-content .eyebrow {
  color: #2e5fa9;
}

.service-modal-content h3 {
  margin: 0.45rem 0 0.6rem;
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  color: #0c2550;
}

.service-modal-content p {
  margin: 0;
  color: #29466f;
  line-height: 1.75;
}

.service-modal-content #service-modal-description {
  white-space: pre-line;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

#etapas .container {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
}

#etapas .section-heading {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(1150px, calc(100% - 2rem));
  margin: 0;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

#etapas .project-gallery {
  width: 100%;
  min-height: 100vh;
}

.project-card {
  margin: 0;
  position: relative;
  min-height: 100vh;
  border-radius: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.project-card-large {
  width: 100%;
}

.gallery-slides {
  display: none;
}

.gallery-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: opacity 0.65s ease;
}

.gallery-frame.is-fading {
  opacity: 0;
}

.project-card figcaption {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  align-items: flex-start;
  padding: clamp(2rem, 6vw, 5rem);
  color: #f4f9ff;
  background: linear-gradient(90deg, rgba(8, 24, 53, 0.72) 0%, rgba(8, 24, 53, 0.34) 42%, rgba(8, 24, 53, 0.08) 100%);
}

.project-card figcaption span {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(219, 234, 255, 0.9);
}

.project-card figcaption strong {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.1;
  max-width: 12ch;
}

.orange-panel-wrap {
  padding-top: 0;
}

.orange-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  padding: 1.6rem;
  background: linear-gradient(135deg, #0b2a5b, #1f7aff);
  color: #f4f9ff;
}

.orange-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.16), transparent 24%);
  pointer-events: none;
}

.orange-panel article {
  position: relative;
  z-index: 1;
}

.orange-panel h2 {
  margin: 0.45rem 0 0.65rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
}

.orange-panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.4rem;
}

.light-list li::before {
  color: #d6e8ff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  padding: 1.2rem;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.testimonial-head img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}

.testimonial-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.testimonial-head p {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-section {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(235, 243, 255, 0.98));
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  padding: 1.4rem;
  background: linear-gradient(135deg, #0b2a5b, #17315f);
  color: #f3f8ff;
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  margin: 0.5rem 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
}

.contact-meta {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.contact-meta span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  color: rgba(201, 223, 255, 0.82);
  margin-bottom: 0.2rem;
}

.contact-meta strong {
  font-size: 1rem;
}

.contact-map {
  margin-top: 1rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 223, 255, 0.26);
  background: rgba(8, 24, 53, 0.2);
  box-shadow: 0 18px 36px rgba(5, 22, 56, 0.25);
}

.contact-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  background: rgba(245, 248, 255, 0.08);
  border: 1px solid rgba(245, 248, 255, 0.12);
  border-radius: 24px;
  padding: 1.15rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
  color: #eff6ff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(245, 248, 255, 0.16);
  border-radius: 14px;
  background: rgba(247, 251, 255, 0.94);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #d6e8ff;
}

.form-status[data-state="success"] {
  color: #b8ffd4;
}

.form-status[data-state="error"] {
  color: #ffd0d0;
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.gallery-page-main {
  padding: 2.5rem 0 5rem;
}

.gallery-hero-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(11, 42, 91, 0.95), rgba(31, 122, 255, 0.88)),
    url("../img/pictures/7.6.jpg") center/cover;
  color: #f4f9ff;
  box-shadow: var(--shadow);
}

.gallery-hero-panel h1,
.gallery-section-head h2 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
}

.gallery-hero-panel h1 {
  margin: 0.55rem 0 0.85rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.94;
  max-width: 10ch;
}

.gallery-hero-panel p {
  max-width: 60ch;
  margin: 0;
  line-height: 1.8;
  color: rgba(242, 248, 255, 0.92);
}

.gallery-hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.gallery-section-block {
  margin-top: 2rem;
  padding: 1.4rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gallery-section-head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: #0c2550;
}

.gallery-section-head p,
.gallery-total {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-total {
  white-space: nowrap;
  font-weight: 800;
  color: #214577;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #f7fbff;
  border: 1px solid rgba(52, 92, 161, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(18, 52, 108, 0.16);
}

.gallery-card:focus-visible {
  outline: 2px solid rgba(31, 122, 255, 0.5);
  outline-offset: 3px;
}

.gallery-card-media {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #dce9fb;
}

.gallery-card figcaption {
  padding: 0.85rem 0.95rem 1rem;
}

.gallery-card strong {
  display: block;
  font-size: 1rem;
  color: #0c2550;
}

.gallery-card span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.gallery-lightbox[data-open="true"] {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 45, 0.82);
  backdrop-filter: blur(6px);
}

.gallery-lightbox-card {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 251, 255, 0.92);
  color: #0b2a5b;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(5, 22, 56, 0.22);
}

.gallery-lightbox-close {
  position: absolute;
  top: -0.8rem;
  right: 0;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-lightbox-nav {
  font-size: 2rem;
  line-height: 1;
}

.gallery-lightbox-figure {
  margin: 0;
  padding: 1rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #f5f9ff, #eaf3ff);
  border: 1px solid rgba(110, 161, 238, 0.35);
  box-shadow: 0 25px 70px rgba(5, 22, 56, 0.35);
}

.gallery-lightbox-media {
  width: 100%;
}

.gallery-lightbox-image {
  width: 100%;
  max-height: min(76vh, 860px);
  object-fit: contain;
  border-radius: 22px;
  background: #dce9fb;
}

.gallery-lightbox-video {
  width: 100%;
  max-height: min(76vh, 860px);
  border-radius: 22px;
  background: #0b2a5b;
}

.gallery-lightbox-caption {
  margin-top: 0.9rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-lightbox-caption strong {
  display: block;
  font-size: 1.15rem;
  color: #0c2550;
}

.gallery-lightbox-caption span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.gallery-lightbox-counter {
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 800;
  color: #214577;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6e87ae;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(156, 195, 255, 0.95);
  outline-offset: 2px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button-primary {
  color: #f5faff;
  background: linear-gradient(135deg, #1f7aff, #9bc3ff);
  box-shadow: 0 15px 32px rgba(31, 122, 255, 0.28);
}

.button-secondary {
  background: rgba(245, 248, 255, 0.18);
  border-color: rgba(245, 248, 255, 0.28);
  color: #f4f9ff;
}

.floating-whatsapp-wrap {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  z-index: 72;
}

.floating-whatsapp-tip {
  background: rgba(255, 255, 255, 0.98);
  color: #203252;
  border: 1px solid rgba(31, 122, 255, 0.14);
  border-radius: 14px;
  padding: 0.72rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(7, 29, 69, 0.14);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  animation: whatsappTipReveal 0.85s ease-out 1.1s forwards;
}

.whatsapp-tip-emoji {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.floating-whatsapp {
  z-index: 70;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.2rem;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.35);
  font-weight: 800;
  align-self: flex-start;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
}

.floating-whatsapp img {
  width: 80px;
  height: 80px;
}

.floating-whatsapp-wrap:hover .floating-whatsapp-tip,
.floating-whatsapp-wrap:focus-within .floating-whatsapp-tip {
  pointer-events: auto;
}

@keyframes whatsappTipReveal {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.privacy-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11, 42, 91, 0.92), rgba(31, 122, 255, 0.86)),
    url("../img/pictures/7.6.jpg") center/cover;
  color: #f4f9ff;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 18px;
  background: linear-gradient(135deg, transparent 0 8px, #f7fbff 8px 16px, transparent 16px 24px) repeat-x;
  background-size: 24px 18px;
}

.privacy-hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(156, 195, 255, 0.25), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.14), transparent 22%);
}

.privacy-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 5.2rem 0 4.3rem;
}

.privacy-hero-inner h1 {
  margin: 0;
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.privacy-hero-inner p {
  margin: 0;
  max-width: 64ch;
  line-height: 1.75;
  color: rgba(238, 246, 255, 0.92);
}

.privacy-section {
  padding-top: 4.5rem;
}

.privacy-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
  align-items: start;
}

.privacy-card,
.privacy-side {
  border-radius: 24px;
  border: 1px solid rgba(90, 130, 196, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 255, 0.88));
  box-shadow: var(--shadow);
}

.privacy-card {
  padding: 1.55rem;
}

.privacy-eyebrow {
  color: #1f5dab;
}

.privacy-card h2 {
  margin: 0.55rem 0 0.7rem;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.05;
  color: #0d2b5e;
}

.privacy-card h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1.08rem;
  color: #113a73;
}

.privacy-card p {
  margin: 0;
  line-height: 1.8;
  color: #264772;
}

.privacy-card ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
  color: #264772;
  line-height: 1.75;
}

.privacy-card .button {
  margin-top: 1.15rem;
}

.privacy-update {
  margin-top: 1rem;
  font-weight: 700;
  color: #19447f;
}

.privacy-side {
  padding: 0.95rem;
  display: grid;
  gap: 0.85rem;
}

.privacy-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.privacy-figure img {
  width: 100%;
  height: clamp(280px, 40vw, 420px);
  object-fit: cover;
}

.privacy-highlight {
  border-radius: 16px;
  border: 1px solid rgba(90, 130, 196, 0.22);
  background: rgba(246, 251, 255, 0.82);
  padding: 0.85rem 0.9rem;
}

.privacy-highlight h3 {
  margin: 0.4rem 0 0.45rem;
  color: #113a73;
}

.privacy-highlight p {
  margin: 0.2rem 0;
  color: #25456f;
  line-height: 1.65;
}

.floating-top {
  position: fixed;
  right: 1rem;
  bottom: 1.15rem;
  z-index: 71;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #1f7aff, #9bc3ff);
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(31, 122, 255, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.floating-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-footer {
  background: linear-gradient(180deg, #0b2a5b, #17315f);
  color: #f4f9ff;
  padding: 2rem 0 1.3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.footer-grid p {
  margin: 0.25rem 0;
}

.footer-grid a {
  color: #f4f9ff;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(225, 238, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: #f4f9ff;
}

.footer-legal {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.footer-legal-link {
  color: #b9d8ff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(220, 235, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@keyframes logosMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .orange-panel,
  .contact-shell,
  .privacy-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 1.25rem;
    padding: 2.6rem 0 3.2rem;
  }

  .hero-copy {
    max-width: 100%;
    padding-left: 0;
  }

  .hero-visual {
    justify-self: start;
    width: min(100%, 640px);
  }

  .privacy-side {
    order: -1;
  }

  .requirement-grid,
  .service-list,
  .testimonial-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 76px;
    /* left: 1rem; */
    right: 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(11, 42, 91, 0.98), rgba(23, 49, 95, 0.98));
    border: 1px solid rgba(201, 223, 255, 0.22);
    box-shadow: var(--shadow);
  }

  .nav[data-open="false"] {
    display: none;
  }

  .hero-grid {
    padding: 3.2rem 0 4rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 11vw, 4.5rem);
    max-width: 10ch;
  }

  .privacy-hero-inner {
    min-height: 300px;
    padding: 4.4rem 0 3.4rem;
  }

  .privacy-card,
  .privacy-side {
    padding: 1rem;
  }

  .hero-stats,
  .requirement-grid,
  .service-list,
  .testimonial-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-card-media {
    height: 220px;
  }

  .gallery-lightbox-card {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .gallery-lightbox-nav[data-direction="prev"] {
    left: 0.35rem;
  }

  .gallery-lightbox-nav[data-direction="next"] {
    right: 0.35rem;
  }

  .gallery-lightbox-figure {
    padding: 0.8rem;
  }

  .gallery-lightbox-image {
    max-height: 62vh;
  }

  .gallery-lightbox-caption {
    flex-direction: column;
  }

  .logo-card {
    width: 170px;
    min-width: 170px;
    height: 84px;
  }

  .logo-card img {
    height: 70px;
  }

  .hero-visual img,
  .service-thumb {
    height: 260px;
  }

  .contact-shell {
    padding: 1rem;
  }

  .service-modal {
    padding: 0.7rem;
    align-items: flex-start;
  }

  .service-modal-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    max-height: calc(100vh - 1.4rem);
  }

  .service-modal-media {
    height: clamp(220px, 35vh, 300px);
  }

  .service-modal-image {
    min-height: 0;
  }

  .service-modal-content {
    padding: 1rem 1rem 1.2rem;
    align-content: start;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .service-modal-close {
    top: 0.55rem;
    right: 0.55rem;
    width: 42px;
    height: 42px;
  }

  .project-card,
  .project-card figcaption {
    min-height: 390px;
  }

  .project-card figcaption strong {
    font-size: 1.18rem;
  }

  .contact-map iframe {
    height: 220px;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .footer-bottom {
    justify-content: center;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 2.5rem);
  }

  .hero-copy p {
    line-height: 1.65;
  }

  .hero-stats li {
    padding: 0.8rem 0.85rem;
  }

  .hero-stats strong {
    font-size: 1.35rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .contact-map iframe {
    height: 200px;
  }

  .floating-whatsapp img {
    width: 64px;
    height: 64px;
  }

  .floating-whatsapp-tip {
    font-size: 0.82rem;
    padding: 0.62rem 0.75rem;
    max-width: 200px;
    white-space: normal;
    text-align: center;
  }

  .floating-top {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
}
