/* Kalma Taormina - sito statico multilingua */
:root {
  --navy: #082A4A;
  --navy-2: #0c3a65;
  --gold: #B78B4B;
  --sand: #F8F2E8;
  --sky: #EEF7FA;
  --text: #243447;
  --muted: #64748b;
  --white: #ffffff;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(8, 42, 74, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(8,42,74,0.08);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand-logo { width: 108px; height: auto; }
.main-nav { display: flex; gap: 24px; font-size: 14px; color: #475569; white-space: nowrap; }
.main-nav a:hover { color: var(--navy); }
.header-right { display: flex; align-items: center; gap: 14px; }

.language-switcher {
  display: flex; gap: 4px; padding: 4px;
  border: 1px solid rgba(8,42,74,.1);
  border-radius: 999px; background: rgba(255,255,255,.75);
}
.language-switcher button {
  border: 0; background: transparent; color: #64748b;
  font-size: 11px; font-weight: 800; cursor: pointer;
  border-radius: 999px; padding: 7px 8px;
}
.language-switcher button.active {
  background: var(--navy); color: white;
}

.header-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; transition: transform .2s ease, background .2s ease, border .2s ease;
}
.header-cta, .btn.primary { background: var(--navy); color: white; }
.header-cta:hover, .btn.primary:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn.secondary { border: 1px solid rgba(183,139,75,.45); color: var(--navy); background: rgba(255,255,255,.78); }
.btn.secondary:hover { background: var(--sand); transform: translateY(-1px); }
.btn.full { width: 100%; border: 0; cursor: pointer; font-size: 16px; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; border-radius: 999px; }

.section { padding: 110px 0; scroll-margin-top: 82px; }
.hero {
  min-height: 100vh; padding-top: 140px; display: flex; align-items: center;
  background: radial-gradient(circle at top left, rgba(248,242,232,1) 0%, rgba(255,255,255,1) 42%, rgba(238,247,250,1) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; letter-spacing: .24em; text-transform: uppercase; font-size: 12px; font-weight: 800; color: var(--gold); margin: 0 0 24px; }
.hero-logo { width: 260px; margin-bottom: 36px; }
h1, h2, h3 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-weight: 500; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.03em; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -.025em; }
h3 { font-size: 30px; line-height: 1.1; }
.lead { margin: 26px 0 0; color: var(--muted); font-size: 19px; line-height: 1.8; max-width: 620px; }
.lead.small { font-size: 18px; max-width: 650px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image-card { position: relative; border-radius: 36px; overflow: visible; }
.hero-image-card > img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 36px; box-shadow: var(--shadow);
}
.floating-card {
  position: absolute; left: -26px; bottom: -28px; min-width: 190px;
  padding: 20px 24px; border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 50px rgba(8,42,74,.16);
}
.floating-card strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 32px; color: var(--navy); font-weight: 500; }
.floating-card span { color: var(--muted); }

.section-title { text-align: center; max-width: 790px; margin: 0 auto 58px; }
.section-title p:not(.eyebrow) { color: var(--muted); line-height: 1.8; font-size: 18px; }
.soft { background: rgba(248,242,232,.55); }
.blue-soft { background: var(--sky); }

.cards { display: grid; gap: 24px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: white; border-radius: var(--radius); padding: 34px;
  box-shadow: 0 10px 35px rgba(8,42,74,.06);
  border: 1px solid rgba(8,42,74,.06);
}
.card.horizontal { display: flex; gap: 22px; }
.card p { color: var(--muted); line-height: 1.75; margin: 16px 0 0; }
.icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sand); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 25px; font-family: Georgia, "Times New Roman", serif;
  flex: 0 0 52px;
}

.apartment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.apartment-card { background: white; border-radius: 34px; overflow: hidden; box-shadow: 0 10px 35px rgba(8,42,74,.07); }
.apartment-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s ease; }
.apartment-card:hover img { transform: scale(1.05); }
.apartment-content { padding: 30px; }
.apartment-content p { color: var(--muted); line-height: 1.75; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.tags span { padding: 8px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: 12px; font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr .95fr; gap: 70px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.check-list li { position: relative; padding-left: 28px; color: #475569; line-height: 1.5; }
.check-list li::before { content: "•"; position: absolute; left: 0; top: -3px; color: var(--gold); font-size: 28px; }

.location-photo { position: relative; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); min-height: 470px; }
.location-photo img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.location-overlay {
  position: absolute; inset: auto 24px 24px 24px;
  padding: 26px; border-radius: 26px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
}
.location-overlay p { color: var(--muted); line-height: 1.7; }

.contact { background: var(--navy); color: white; }
.contact h2 { color: white; }
.eyebrow.gold { color: #D7B071; }
.light { color: rgba(255,255,255,.74); }
.contact-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 70px; align-items: start; }
.contact-lines { margin-top: 34px; display: grid; gap: 14px; color: rgba(255,255,255,.88); }
.contact-lines a:hover { color: #D7B071; }
.contact-form { background: white; color: var(--text); padding: 34px; border-radius: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: 14px; font-weight: 800; color: #475569; margin-bottom: 18px; }
input, textarea {
  width: 100%; margin-top: 8px; border: 1px solid #dbe3ec;
  border-radius: 18px; padding: 14px 16px; font: inherit; outline: none; color: var(--text);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(183,139,75,.16); }
.form-note { margin: 16px 0 0; color: #64748b; font-size: 12px; line-height: 1.6; }

.site-footer { padding: 42px 0; background: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-logo { width: 120px; }
.site-footer p { color: #64748b; font-size: 14px; }

@media (max-width: 1060px) {
  .header-cta { display: none; }
  .main-nav { gap: 16px; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header-inner { gap: 12px; }
  .main-nav {
    position: absolute; top: 82px; left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    padding: 18px 24px 24px; background: white;
    border-bottom: 1px solid rgba(8,42,74,.08);
    box-shadow: 0 18px 40px rgba(8,42,74,.08);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .cards.three, .cards.two, .apartment-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .floating-card { left: 18px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 78px 0; }
  .hero { padding-top: 118px; }
  .brand-logo { width: 92px; }
  .language-switcher button { padding: 6px 6px; font-size: 10px; }
  .hero-logo { width: 220px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .check-list, .form-row { grid-template-columns: 1fr; }
  .contact-form, .card, .apartment-content { padding: 24px; }
  .card.horizontal { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
}


/* Interactive map */
.map-section {
  background: #ffffff;
}

.map-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
}

.interactive-map {
  min-height: 560px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(8,42,74,.08);
  background: var(--sky);
}

.distance-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.address-card,
.distance-card {
  background: white;
  border: 1px solid rgba(8,42,74,.08);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 10px 35px rgba(8,42,74,.06);
}

.address-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
}

.address-card h3 {
  color: white;
  margin-top: 6px;
}

.address-card p {
  margin-bottom: 0;
  color: rgba(255,255,255,.78);
}

.distance-list {
  display: grid;
  gap: 14px;
}

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

.distance-card h4 {
  margin: 6px 0 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.distance-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.distance-kicker {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 800;
}

.route-link {
  flex: 0 0 auto;
  border: 1px solid rgba(183,139,75,.45);
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  background: var(--sand);
}

.route-link:hover {
  background: #fff;
}

.map-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}


@media (max-width: 960px) {
  .map-layout {
    grid-template-columns: 1fr;
  }

  .interactive-map {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .distance-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .route-link {
    width: 100%;
    text-align: center;
  }
}






.google-map iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}

@media (max-width: 960px) {
  .google-map iframe {
    min-height: 430px;
  }
}
