:root {
  --bg: #f4f9fe;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --line: rgba(126, 169, 211, 0.2);
  --text: #163b66;
  --muted: #5c7898;
  --blue-900: #0f3d77;
  --blue-700: #1d71c1;
  --shadow: 0 26px 60px rgba(40, 94, 150, 0.14);
  --card-shadow: 0 14px 28px rgba(48, 101, 160, 0.08);
}

* {
  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 12% 10%, rgba(183, 220, 248, 0.22), transparent 24%),
    radial-gradient(circle at 84% 6%, rgba(159, 218, 248, 0.2), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #edf7ff 100%);
}

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

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

.site-shell {
  width: min(1120px, calc(100vw - 36px));
  margin: 38px auto;
  border: 1px solid rgba(158, 193, 224, 0.34);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.99));
  box-shadow: var(--shadow);
}

.site-header {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 14px;
  padding: 24px 30px 22px;
  background: var(--surface);
  border-bottom: 1px solid rgba(128, 172, 214, 0.16);
}

.brand-link {
  width: 198px;
}

.brand-logo {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.site-nav a,
.footer-links a,
.mobile-menu-panel a {
  font-size: 0.98rem;
  font-weight: 800;
  color: #36598a;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.footer-links a:hover,
.mobile-menu-panel a:hover {
  color: var(--blue-700);
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  list-style: none;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(126, 173, 220, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 22px rgba(44, 92, 143, 0.12);
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: block;
  width: 22px;
  height: 2.5px;
  margin: 5px auto;
  border-radius: 999px;
  background: #315b89;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu[open] summary span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu[open] summary span:nth-child(2) {
  opacity: 0;
}

.mobile-menu[open] summary span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 10;
  display: grid;
  gap: 12px;
  min-width: 250px;
  padding: 16px;
  border: 1px solid rgba(128, 173, 219, 0.26);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 34px rgba(47, 90, 142, 0.16);
}

.mobile-menu-panel img {
  width: 128px;
  margin-top: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 392px;
  background:
    linear-gradient(90deg, rgba(15, 78, 136, 0.56) 0%, rgba(19, 103, 178, 0.28) 34%, rgba(255, 255, 255, 0) 66%),
    url("grafica/top.png") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 69, 122, 0.34) 0%, rgba(20, 95, 163, 0.16) 30%, rgba(255, 255, 255, 0) 60%);
}

.hero-wave {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 392px;
  padding: 50px 42px 38px;
}

.hero-copy {
  max-width: 470px;
  padding-left: 6px;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.35rem, 3.6vw, 3.8rem);
  line-height: 1.01;
  letter-spacing: -0.05em;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(8, 44, 82, 0.28);
}

.hero-copy h1 span {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.58rem, 2.2vw, 2.28rem);
  line-height: 1.08;
}

.hero-copy p {
  max-width: 380px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  line-height: 1.72;
  text-shadow: 0 2px 10px rgba(10, 44, 79, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 24px;
}

.hero-actions img {
  height: 46px;
  width: auto;
}

.hero-suna {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 46px;
  padding: 0 44px 0 18px;
  background: url("grafica/btn_suna.png") center center / 100% 100% no-repeat;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(10, 48, 87, 0.35);
}

.hero-suna span {
  display: inline-block;
  transform: translateY(-1px);
}

.hero-stage {
  display: none;
}

.hero-stage {
  position: relative;
  min-height: 338px;
}

.hero-orb {
  position: absolute;
  inset: 4% 3% 0 1%;
  border-radius: 50% 50% 42% 42%;
  background: radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.99), rgba(242, 249, 255, 0.97) 42%, rgba(219, 240, 252, 0.9) 63%, rgba(219, 240, 252, 0) 76%);
}

.hero-stage img {
  position: absolute;
  z-index: 1;
}

.hero-eye-chart {
  left: 5%;
  top: 18%;
  width: 112px;
  opacity: 0.8;
}

.hero-phoropter {
  left: 56%;
  top: 0;
  width: 308px;
  transform: translateX(-50%);
}

.hero-glasses {
  left: 17%;
  bottom: 16px;
  width: 184px;
  transform: rotate(-6deg);
}

.hero-lens-blue {
  left: 54%;
  bottom: 18px;
  width: 52px;
}

.hero-lens-round {
  right: 27%;
  bottom: 18px;
  width: 40px;
}

.hero-cloth {
  right: 17%;
  bottom: 8px;
  width: 74px;
}

.hero-case {
  right: 12%;
  bottom: 16px;
  width: 98px;
}

.content-section {
  position: relative;
  padding: 30px 28px 34px;
}

.content-section + .content-section {
  border-top: 1px solid rgba(129, 173, 215, 0.14);
}

.content-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(150deg, transparent 28%, rgba(255, 255, 255, 0.45) 50%, transparent 78%),
    radial-gradient(circle at 12% 50%, rgba(183, 223, 255, 0.16), transparent 26%);
}

.section-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.62rem, 2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #143d6d;
}

.section-title::before,
.section-title::after {
  content: "";
  width: min(20vw, 138px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 104, 151, 0.34), transparent);
}

.card-grid,
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

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

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

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  max-width: 1040px;
  margin: 0 auto;
}

.info-card,
.product-card,
.why-card,
.map-card {
  border: 1px solid rgba(132, 176, 215, 0.2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 252, 255, 0.99));
  box-shadow: var(--card-shadow);
}

.info-card {
  overflow: hidden;
  position: relative;
  min-height: 126px;
  padding: 18px 18px 16px;
}

.info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.74) 40%, rgba(255, 255, 255, 0.22) 72%, rgba(255, 255, 255, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

.info-card-art {
  position: absolute;
  right: -8px;
  bottom: 0;
  z-index: 0;
  width: 118px;
  opacity: 0.92;
  object-fit: contain;
  pointer-events: none;
}

.art-consult {
  width: 128px;
  right: -20px;
  bottom: -2px;
  opacity: 0.39;
}

.art-style {
  width: 134px;
  right: -22px;
  bottom: -6px;
  opacity: 0.35;
}

.art-montaj {
  width: 108px;
  right: 8px;
  bottom: 8px;
  opacity: 0.82;
}

.art-repair {
  width: 120px;
  right: -10px;
  bottom: -4px;
  opacity: 0.44;
}

.info-card h3,
.info-card p {
  position: relative;
  z-index: 2;
}

.info-card p {
  max-width: 78%;
}

.product-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 104px;
  margin-bottom: 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.96), rgba(226, 240, 250, 0.84) 58%, rgba(226, 240, 250, 0.28) 72%),
    linear-gradient(180deg, rgba(241, 249, 255, 0.96), rgba(221, 237, 249, 0.6));
}

.info-card h3,
.product-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.32;
  color: #173f6f;
}

.info-card p,
.product-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.68;
}

.product-card {
  padding: 18px 16px 16px;
}

.product-media img {
  max-height: 78px;
  width: auto;
}

.asset-clip-right-soft {
  clip-path: inset(0 10px 0 0);
}

.asset-clip-right {
  clip-path: inset(0 18px 0 0);
}

.asset-clip-right-strong {
  clip-path: inset(0 26px 0 0);
}

.asset-clip-left-soft {
  clip-path: inset(0 0 0 10px);
}

.asset-clip-both {
  clip-path: inset(0 42px 0 8px);
}

.product-media-large img {
  max-height: 88px;
}

.product-media-accessories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.product-media-accessories img:nth-child(1) {
  width: 86px;
}

.product-media-accessories img:nth-child(2) {
  width: 44px;
}

.product-media-accessories img:nth-child(3) {
  width: 98px;
}

.map-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: 100%;
  max-height: 520px;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  height: 108px;
  background:
    linear-gradient(180deg, rgba(249, 252, 255, 0.98) 0%, rgba(249, 252, 255, 0.92) 58%, rgba(249, 252, 255, 0) 100%);
  pointer-events: none;
}

.map-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 58px;
  height: 188px;
  background:
    linear-gradient(90deg, rgba(249, 252, 255, 0.99) 0%, rgba(249, 252, 255, 0.96) 62%, rgba(249, 252, 255, 0) 100%);
  pointer-events: none;
}

.contact-strip {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  width: min(380px, calc(100% - 36px));
}

.map-overlay {
  position: absolute;
  left: 10px;
  top: 12px;
  z-index: 3;
  width: min(344px, calc(100% - 20px));
  padding: 13px 14px 12px;
  border: 1px solid rgba(104, 151, 196, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 14px 30px rgba(34, 73, 115, 0.14);
}

.map-overlay-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.map-eyebrow {
  margin: 0;
  color: #5a82ae;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-name {
  display: block;
  margin-top: 3px;
  color: #1b4a7a;
  font-size: 0.98rem;
  line-height: 1.3;
}

.map-link {
  flex-shrink: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(105, 151, 196, 0.2);
  border-radius: 999px;
  background: rgba(244, 249, 255, 0.96);
  color: #1663af;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.map-address {
  margin: 8px 0 0;
  color: #345677;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.5;
}

.map-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.map-phone,
.map-rating,
.map-reviews {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 800;
}

.map-phone {
  background: linear-gradient(180deg, #2b8be0 0%, #165ba7 100%);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(25, 88, 153, 0.16);
}

.map-rating,
.map-reviews {
  border: 1px solid rgba(118, 164, 208, 0.42);
  background: rgba(242, 249, 255, 0.98);
  color: #1e4f82;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.map-status {
  margin: 9px 0 0;
  color: #6784a1;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.4;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
}

.contact-form-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-height: 520px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(76, 125, 174, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 255, 0.96)),
    radial-gradient(circle at 0% 0%, rgba(156, 211, 248, 0.22), transparent 28%);
  box-shadow: 0 18px 34px rgba(40, 96, 154, 0.1);
}

.contact-form-card::before {
  content: "";
  position: absolute;
  inset: auto -36px -48px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 220, 251, 0.34), rgba(174, 220, 251, 0));
  pointer-events: none;
}

.contact-kicker {
  margin: 0;
  position: relative;
  z-index: 1;
  color: #4f80b3;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form-card h3 {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  font-size: 1.42rem;
  line-height: 1.1;
  color: #143d6d;
}

.contact-copy {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 10px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field {
  display: grid;
  gap: 5px;
  margin-top: 6px;
}

.field span {
  color: #204a78;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.field input,
.field textarea {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(37, 86, 139, 0.52);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(216, 235, 249, 0.58)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -10px 20px rgba(201, 225, 244, 0.22),
    0 10px 20px rgba(44, 96, 152, 0.08);
  backdrop-filter: blur(10px);
  padding: 10px 14px;
  color: var(--text);
  font: inherit;
  line-height: 1.3;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.field input {
  min-height: 36px;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(18, 86, 150, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(220, 238, 252, 0.7)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 0 4px rgba(46, 131, 210, 0.16),
    0 14px 26px rgba(34, 96, 156, 0.12);
  transform: translateY(-1px);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(63, 97, 133, 0.62);
}

.field-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-actions {
  margin-top: auto;
  padding-top: 10px;
}

.contact-submit {
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #2588dc 0%, #0f5ba7 100%);
  color: #ffffff;
  min-height: 42px;
  padding: 0 18px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(28, 93, 157, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 180px;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(28, 93, 157, 0.22);
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-status.is-pending {
  color: #4f80b3;
}

.form-status.is-success {
  color: #1d6d45;
}

.form-status.is-error {
  color: #bb3847;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 28px 28px 30px;
  border-top: 1px solid rgba(127, 172, 214, 0.16);
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.96), rgba(237, 247, 255, 0.98));
}

.footer-wave {
  position: absolute;
  right: 0;
  top: 0;
  width: min(55%, 420px);
  opacity: 0.72;
  pointer-events: none;
}

.footer-brand,
.footer-links {
  position: relative;
  z-index: 1;
}

.footer-brand img {
  width: 172px;
}

.footer-brand p {
  margin: 8px 0 0;
  color: #567190;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.mobile-callbar {
  display: none;
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 20px 18px;
    position: relative;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .card-grid-three {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .brand-link {
    width: min(186px, 56vw);
  }

  .hero {
    min-height: 340px;
    background-position: 67% center;
  }

  .hero-grid {
    min-height: 340px;
    padding: 28px 18px 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero-copy h1 span {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .hero-copy p {
    font-size: 0.98rem;
    line-height: 1.74;
  }

  .hero-suna {
    width: 176px;
    height: 44px;
    padding-right: 40px;
    font-size: 0.94rem;
  }

  .content-section {
    padding: 24px 16px 26px;
  }

  .card-grid-four {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 118px;
  }

  .info-card p {
    max-width: 72%;
  }

  .art-consult {
    width: 116px;
  }

  .art-style {
    width: 120px;
  }

  .art-montaj {
    width: 96px;
    right: 4px;
  }

  .art-repair {
    width: 108px;
  }

  .map-card,
  .map-card iframe {
    aspect-ratio: auto;
    min-height: 220px;
  }

  .map-overlay {
    left: 12px;
    top: 12px;
    width: calc(100% - 24px);
    padding: 12px 12px 11px;
  }

  .map-card::after {
    width: 42px;
    height: 164px;
  }

  .map-overlay-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-link {
    align-self: flex-start;
  }

  .site-footer {
    padding: 24px 16px 102px;
  }

  .footer-wave {
    width: 82%;
    opacity: 0.55;
  }

  .mobile-callbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: block;
  }

  .mobile-callbar img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 22px 28px rgba(13, 58, 104, 0.28));
  }
}
