:root {
  --navy: #0f2d3a;
  --blue: #145c72;
  --ice: #e8f4f7;
  --white: #ffffff;
  --text: #263238;
  --muted: #66767c;
  --line: #d8e3e6;
  --soft: #eef2f3;
  --green: #25d366;
  --green-dark: #128c45;
  --accent: #f0b84f;
  --shadow: 0 16px 42px rgba(15, 45, 58, 0.11);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

body.menu-open {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: calc(100% - 32px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 227, 230, 0.9);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 168px;
  max-width: 214px;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.brand-logo-placeholder {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(20, 92, 114, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 34%, rgba(255, 255, 255, 0.95) 0 10%, transparent 11%),
    linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 10px 22px rgba(15, 45, 58, 0.14);
}

.brand-logo-placeholder::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-top-color: rgba(240, 184, 79, 0.95);
  border-radius: 50%;
}

.brand-logo-placeholder::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(240, 184, 79, 0.18);
}

.brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.brand-name,
.brand-text strong {
  display: block;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.15;
}

.brand-subtitle,
.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  color: var(--navy);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
  background: var(--ice);
}

.mobile-cta,
.mobile-social {
  display: none;
}

.social-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.social-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-link:hover,
.site-nav .social-link:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.header-instagram {
  flex: 0 0 auto;
}

.site-nav .social-link {
  gap: 7px;
  padding: 0 12px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 10px;
}

.button,
.product-card .button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 92, 114, 0.2);
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--white);
  background: var(--navy);
}

.button.whatsapp {
  background: var(--green-dark);
}

.button.whatsapp:hover {
  background: #0f7338;
}

.button.full {
  width: 100%;
}

.hero {
  padding: 76px 0 58px;
  background: linear-gradient(135deg, rgba(232, 244, 247, 0.98), rgba(255, 255, 255, 0.92));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 42px;
}

.hero-grid > *,
.split > *,
.grid > *,
.image-gallery > * {
  min-width: 0;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 30px;
  height: 3px;
  background: var(--accent);
  border-radius: 10px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  font-size: clamp(2.2rem, 3.8rem, 4.2rem);
}

.page-hero h1 {
  max-width: 820px;
}

h2 {
  font-size: clamp(1.75rem, 2.35rem, 2.7rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
  overflow-wrap: anywhere;
}

.hero-text {
  max-width: 690px;
  margin-top: 20px;
  color: #3b4f57;
  font-size: 1.08rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li,
.mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
}

.check-icon,
.mini-item::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.12);
}

.hero-panel {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(15, 45, 58, 0.12);
}

.visual-placeholder {
  display: none;
  min-height: 280px;
  place-items: center;
  padding: 24px;
  color: var(--blue);
  background:
    linear-gradient(145deg, #eef8fa, #d9edf2),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(20, 92, 114, 0.05) 28px 29px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.product-media {
  position: relative;
  display: grid;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ice);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  min-height: 440px;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: var(--radius);
}

.support-media {
  min-height: 410px;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: var(--radius);
}

.gallery-media {
  min-height: 340px;
  aspect-ratio: 4 / 5;
  border-bottom: 0;
}

.product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--ice);
}

.hero-media .product-photo {
  object-position: center 56%;
  filter: brightness(1.04) saturate(0.98);
}

.product-card > .product-media {
  height: 260px;
  min-height: 0;
  aspect-ratio: auto;
}

.product-grid > .product-card > .product-media {
  height: 280px;
}

.gallery-media .product-photo,
.support-media .product-photo {
  object-position: center 52%;
}

.product-media.has-image .visual-placeholder {
  display: none;
}

.product-media.image-failed .product-photo {
  display: none;
}

.product-media.image-failed .visual-placeholder {
  display: grid;
}

.wide-photo .product-photo {
  object-position: center;
}

.placeholder-icon {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border: 4px solid rgba(20, 92, 114, 0.28);
  border-top-color: var(--blue);
  border-radius: 50%;
}

.placeholder-title {
  display: block;
  color: var(--navy);
  font-weight: 800;
}

.placeholder-text {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--soft);
}

.section.ice {
  background: var(--ice);
}

.section-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-header p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.02rem;
}

.catalog-header {
  max-width: 820px;
}

.grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid > .product-card {
  scroll-margin-top: 104px;
}

.feature-card,
.product-card,
.info-card,
.gallery-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card,
.info-card {
  padding: 22px;
}

.feature-card {
  border-top: 4px solid var(--blue);
}

.feature-card p,
.info-card p,
.product-card p {
  margin-top: 10px;
  color: var(--muted);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 45, 58, 0.06);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card[data-card-link] {
  cursor: pointer;
}

.product-card[data-card-link]:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 92, 114, 0.28);
  box-shadow: 0 16px 34px rgba(15, 45, 58, 0.11);
}

.product-media-link {
  display: grid;
  width: 100%;
  height: 100%;
  color: inherit;
}

.product-media-link .product-photo,
.product-media-link .visual-placeholder {
  grid-area: 1 / 1;
}

.product-media-link:focus-visible,
.card-title-link:focus-visible,
.card-link:focus-visible {
  outline: 3px solid rgba(20, 92, 114, 0.35);
  outline-offset: 3px;
}

.card-title-link:hover {
  color: var(--blue);
}

.product-image {
  min-height: 100%;
  border: 0;
  border-radius: 0;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 20px;
}

.product-title {
  font-size: 1.18rem;
  line-height: 1.2;
}

.product-body .button {
  margin-top: auto;
}

.product-body .tag-list + .product-meta {
  margin-top: 16px;
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-link:hover {
  color: var(--navy);
}

.product-meta {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-meta strong {
  color: var(--navy);
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: var(--blue);
  background: var(--ice);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.list-title {
  margin-top: 16px;
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.2;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: start;
  gap: 38px;
}

.visual-split {
  align-items: center;
}

.story-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
}

.split-text p + p {
  margin-top: 14px;
}

.home-about {
  padding: 58px 0;
}

.home-about-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 48px;
}

.service-lines-card {
  padding: 28px;
  border-color: rgba(20, 92, 114, 0.18);
  box-shadow: 0 10px 26px rgba(15, 45, 58, 0.06);
}

.service-lines-card h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.service-lines-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-lines-grid li {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.service-lines-grid li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1);
}

.service-lines-card p {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.product-detail-hero .section-actions {
  margin-top: 24px;
}

.product-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: start;
}

.product-detail-copy h2 {
  max-width: 780px;
}

.product-detail-copy .hero-text {
  max-width: 780px;
}

.product-gallery {
  align-items: stretch;
}

.product-gallery .gallery-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-gallery .gallery-media {
  min-height: 330px;
}

.detail-card {
  padding: 24px;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding: 11px 12px 11px 30px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.25;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 12px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.budget-info {
  border-top: 4px solid var(--blue);
}

.detail-cta-actions .button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.detail-cta-actions .button.secondary:hover {
  color: var(--navy);
  background: var(--white);
}

.image-panel {
  display: grid;
  gap: 16px;
}

.mini-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.compact-list {
  margin-top: 0;
}

.image-gallery {
  display: grid;
  gap: 22px;
}

.image-gallery.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-gallery.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-gallery.one {
  grid-template-columns: minmax(0, 0.68fr);
}

.gallery-card {
  overflow: hidden;
}

.gallery-card figcaption {
  margin: 0;
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
}

.company-card {
  position: sticky;
  top: 104px;
}

.cta-band {
  padding: 48px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(15, 45, 58, 0.98), rgba(20, 92, 114, 0.96));
  border-radius: var(--radius);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  max-width: 740px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  padding: 60px 0 46px;
  background: var(--ice);
}

.about-hero {
  background: linear-gradient(135deg, var(--ice), #f8fbfc);
}

.page-hero p {
  max-width: 850px;
  margin-top: 16px;
  color: #40545c;
  font-size: 1.05rem;
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-list dt {
  color: var(--navy);
  font-weight: 800;
}

.contact-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.social-card .eyebrow {
  margin-bottom: 10px;
}

.social-card h2 {
  font-size: 1.35rem;
}

.portfolio-hero {
  background: linear-gradient(135deg, var(--ice), #f7fbfc);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.filter-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.filter-button:hover {
  transform: translateY(-1px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(15, 45, 58, 0.06);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-media {
  min-height: 0;
  height: 360px;
  aspect-ratio: auto;
  border-bottom: 1px solid var(--line);
}

.portfolio-card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.portfolio-card-body .badge {
  margin-bottom: 0;
  padding: 4px 8px;
  font-size: 0.72rem;
}

.portfolio-card-body h2 {
  font-size: 0.96rem;
  line-height: 1.25;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 42px 0 24px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.6fr) minmax(240px, 0.8fr);
  gap: 26px;
}

.footer-title {
  display: block;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 800;
}

.footer-brand {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 12px;
}

.footer-brand-logo-wrap {
  display: inline-flex;
  max-width: 220px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.footer-brand-logo {
  display: block;
  width: auto;
  max-width: 190px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid p + p {
  margin-top: 8px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-social-title {
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 800;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-social-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer-social-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.footer-social-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.16);
}

.footer-social-link .social-icon {
  width: 15px;
  height: 15px;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  z-index: 45;
  border: 0;
  box-shadow: 0 14px 32px rgba(15, 45, 58, 0.24);
}

.floating-whatsapp {
  right: 18px;
  bottom: 18px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: #06a94f;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 44px rgba(18, 140, 69, 0.5);
}

.floating-whatsapp::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #e8ff78;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(232, 255, 120, 0.2);
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  background: #087f3d;
  box-shadow: 0 26px 52px rgba(18, 140, 69, 0.56);
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 20px 44px rgba(18, 140, 69, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.36);
  }

  50% {
    box-shadow: 0 20px 44px rgba(18, 140, 69, 0.5), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

@media (min-width: 761px) {
  .floating-whatsapp {
    animation: whatsapp-pulse 2.8s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp {
    animation: none;
  }
}

.back-to-top {
  right: 18px;
  bottom: 88px;
  width: 44px;
  height: 44px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1100px) {
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-actions .button,
  .header-instagram {
    display: none;
  }
}

@media (max-width: 980px) {
  .header-actions .button {
    display: none;
  }

  .header-instagram {
    display: none;
  }

  .hero-grid,
  .split,
  .story-layout,
  .product-detail-grid,
  .home-about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .image-gallery.three,
  .image-gallery.two,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-gallery.one {
    grid-template-columns: 1fr;
  }

  .company-card {
    position: static;
  }

  .home-about-grid {
    gap: 26px;
  }

  .hero-media,
  .support-media {
    min-height: 360px;
    aspect-ratio: 16 / 11;
  }

  .product-card > .product-media,
  .product-grid > .product-card > .product-media {
    height: 250px;
  }

  .gallery-media {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .container {
    width: 100%;
    padding-right: 24px;
    padding-left: 24px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    min-width: 0;
    max-width: 166px;
  }

  .brand-logo {
    max-height: 38px;
  }

  .brand-logo-placeholder {
    width: 34px;
    height: 34px;
  }

  .brand-logo-placeholder::before {
    inset: 8px;
  }

  .brand-name,
  .brand-text strong {
    font-size: 1rem;
  }

  .brand-subtitle,
  .brand-text small {
    font-size: 0.72rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 18px 16px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-cta,
  .mobile-social {
    display: block;
  }

  .site-nav a {
    justify-content: center;
    min-height: 48px;
  }

  .site-nav .mobile-cta .button {
    color: var(--white);
    border-radius: var(--radius);
  }

  .hero,
  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding: 42px 0 36px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .hero-highlights,
  .grid.four,
  .grid.three,
  .grid.two,
  .image-gallery.three,
  .image-gallery.two,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filters {
    gap: 8px;
  }

  .filter-button {
    flex: 1 1 auto;
    min-width: min(100%, 132px);
  }

  .portfolio-media {
    height: 300px;
  }

  .hero-panel {
    padding: 12px;
  }

  .product-media {
    min-height: 210px;
  }

  .product-card > .product-media,
  .product-grid > .product-card > .product-media {
    height: 224px;
  }

  .hero-media,
  .support-media {
    min-height: 300px;
    aspect-ratio: 4 / 5;
  }

  .gallery-media {
    min-height: 290px;
  }

  .product-gallery .gallery-media {
    min-height: 260px;
  }

  .visual-placeholder {
    min-height: 220px;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .button {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .cta-band {
    padding: 28px 20px;
  }

  .product-body,
  .feature-card,
  .info-card,
  .service-lines-card,
  .detail-card {
    padding: 18px;
  }

  .social-card {
    align-items: stretch;
    flex-direction: column;
  }

  .home-about {
    padding: 46px 0;
  }

  .service-lines-grid {
    gap: 8px;
  }

  .site-footer {
    padding-bottom: 104px;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-social {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social-links {
    width: 100%;
    justify-content: flex-start;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    width: auto;
    min-height: 52px;
    padding: 0 20px;
    font-size: 0.92rem;
  }

  .back-to-top {
    right: 12px;
    bottom: 76px;
  }
}

@media (max-width: 420px) {
  .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  h1 {
    font-size: 1.78rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .product-media {
    min-height: 190px;
  }

  .product-card > .product-media,
  .product-grid > .product-card > .product-media {
    height: 208px;
  }

  .hero-media,
  .support-media,
  .gallery-media {
    min-height: 260px;
  }

  .tag-list li {
    width: 100%;
  }

  .service-lines-grid {
    grid-template-columns: 1fr;
  }
}
