/* ===== EASYBNB.IT - FINAL WEBSITE v2 ===== */

:root {
  --coral: #E8614D;
  --coral-light: #f0897a;
  --coral-dark: #c44a38;
  --blue: #1A2B4A;
  --blue-light: #2d4470;
  --white: #FAFAFA;
  --gray: #F5F5F5;
  --gray-mid: #E0E0E0;
  --text: #222222;
  --text-light: #555555;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(26, 43, 74, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 43, 74, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--coral);
  transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--coral); }

.nav-cta {
  background: var(--coral);
  color: white !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 97, 77, 0.3);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}

.nav-burger span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== HERO SECTION (Homepage) ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, rgba(232, 97, 77, 0.03) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--blue);
  margin-bottom: 24px;
}

.hero-text h1 .accent {
  color: var(--coral);
  position: relative;
  display: inline-block;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--coral);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232, 97, 77, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--blue);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-3px);
}

.hero-illustration {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

.hero-illustration svg { width: 100%; height: 100%; }

/* ===== E ICON / AVATAR ===== */
.e-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(232, 97, 77, 0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.e-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 60%);
}

.e-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--coral-light), var(--coral-dark), var(--coral));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.e-icon:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 12px 40px rgba(232, 97, 77, 0.5);
}

.e-icon:hover::after { opacity: 1; }

.e-icon svg { width: 44px; height: 44px; position: relative; z-index: 1; }

.e-icon--lg {
  width: 120px;
  height: 120px;
  border-radius: 30px;
}

.e-icon--lg svg { width: 64px; height: 64px; }

/* ===== MARQUEE ===== */
.marquee-section {
  padding: 32px 0;
  overflow: hidden;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  background: var(--white);
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.marquee-item .dot {
  width: 8px; height: 8px;
  background: var(--coral);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SCROLL ZOOM SECTION ===== */
.zoom-section {
  padding: 120px 0;
  position: relative;
  min-height: 200vh;
}

.zoom-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.zoom-text { text-align: center; margin-bottom: 40px; }

.zoom-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blue);
  margin-bottom: 12px;
}

.zoom-text p { color: var(--text-light); font-size: 1.1rem; }

.zoom-device {
  width: 280px;
  height: 560px;
  background: var(--text);
  border-radius: 36px;
  padding: 12px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.6);
  transition: transform 0.1s linear;
}

.zoom-device-inner {
  width: 100%; height: 100%;
  background: white;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.zoom-device-notch {
  width: 120px; height: 24px;
  background: var(--text);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.zoom-device-content { padding: 20px 16px; flex: 1; }

.zoom-device-content .app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.zoom-device-content .app-header span {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--blue);
}

.zoom-device-content .app-card {
  background: var(--gray);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.zoom-device-content .app-card-img {
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, var(--coral-light), var(--coral));
  border-radius: 8px;
  margin-bottom: 8px;
}

.zoom-device-content .app-card h4 { font-size: 0.7rem; margin-bottom: 4px; }
.zoom-device-content .app-card p { font-size: 0.6rem; color: var(--text-light); }

/* ===== STATS / NUMBERS ===== */
.stats-section {
  padding: 100px 0;
  background: var(--gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item { padding: 40px 20px; }

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--coral);
  margin-bottom: 8px;
  display: inline-block;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== SAVINGS COMPARATOR ===== */
.savings-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--white) 0%, rgba(232, 97, 77, 0.04) 50%, var(--white) 100%);
}

.savings-header { text-align: center; margin-bottom: 60px; }

.savings-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--blue);
  margin-bottom: 12px;
}

.savings-header p { color: var(--text-light); font-size: 1.1rem; }

.savings-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.savings-card {
  padding: 48px 36px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.savings-card--ota {
  background: white;
  border: 2px solid var(--gray-mid);
}

.savings-card--direct {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: white;
  box-shadow: 0 16px 48px rgba(232, 97, 77, 0.3);
}

.savings-card h3 { font-size: 1.3rem; margin-bottom: 20px; }
.savings-card--ota h3 { color: var(--text-light); }

.savings-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.savings-price--hidden {
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.savings-price--hidden:hover { background: rgba(255,255,255,0.3); }

.savings-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.savings-card--ota .savings-price {
  text-decoration: line-through;
  color: var(--text-light);
}

/* ===== PROPERTIES ===== */
.properties-section { padding: 120px 0; }

.properties-header { text-align: center; margin-bottom: 60px; }

.properties-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--blue);
  margin-bottom: 12px;
}

/* Zone filter tabs */
.zone-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.zone-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: white;
  color: var(--text-light);
  border: 2px solid var(--gray-mid);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.zone-tab::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--coral);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.zone-tab:hover::before,
.zone-tab.active::before { width: 60%; }

.zone-tab.active {
  background: var(--coral);
  color: white;
  border-color: var(--coral);
}

.zone-tab:hover:not(.active) {
  border-color: var(--coral);
  color: var(--coral);
}

/* Property cards grid (for properties page) */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.property-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.property-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.property-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.property-card:hover .property-card-img-wrap img {
  transform: scale(1.08);
}

.property-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 43, 74, 0.85) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.property-card:hover .property-card-overlay { opacity: 1; }

.property-card-overlay-content {
  color: white;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.property-card:hover .property-card-overlay-content {
  transform: translateY(0);
}

.property-card-overlay-content .stars {
  color: #FFD700;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.property-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--coral);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 97, 77, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(232, 97, 77, 0); }
}

.property-card-body { padding: 24px; }

.property-card-body h3 {
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.property-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.property-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.property-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== CAROUSEL (Homepage) ===== */
.carousel-wrapper { position: relative; overflow: hidden; padding: 40px 0; }

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 20px 60px;
}

.carousel-card {
  flex: 0 0 400px;
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: scale(0.85);
  opacity: 0.6;
  filter: blur(1px);
}

.carousel-card.active {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
  box-shadow: var(--shadow-lg);
}

.carousel-card-img { width: 100%; height: 260px; object-fit: cover; }

.carousel-card-body { padding: 24px; }

.carousel-card-body h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.carousel-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.carousel-card-tag {
  display: inline-block;
  background: rgba(232, 97, 77, 0.1);
  color: var(--coral);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.carousel-nav { display: flex; justify-content: center; gap: 16px; margin-top: 32px; }

.carousel-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: white;
}

.carousel-btn svg { width: 20px; height: 20px; }

/* ===== BLOG SECTION ===== */
.blog-section { padding: 120px 0; background: var(--gray); }

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.blog-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--blue);
}

.blog-tabs {
  display: flex;
  gap: 4px;
  background: white;
  border-radius: 50px;
  padding: 4px;
  position: relative;
}

.blog-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.blog-tab.active {
  color: white;
}

/* Sliding pill behind active tab */
.blog-tabs-pill {
  position: absolute;
  height: calc(100% - 8px);
  top: 4px;
  background: var(--coral);
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card--featured { grid-row: 1 / 3; }

.blog-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img { transform: scale(1.05); }

.blog-card--featured .blog-card-img { height: 300px; }

.blog-card-color-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 97, 77, 0.0), rgba(26, 43, 74, 0.0));
  transition: background 0.4s ease;
}

.blog-card:hover .blog-card-color-overlay {
  background: linear-gradient(135deg, rgba(232, 97, 77, 0.15), rgba(26, 43, 74, 0.1));
}

.blog-card-body { padding: 24px; }

.blog-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--coral);
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Blog sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.sidebar-card h3 {
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray);
}

.sidebar-article {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray);
  transition: var(--transition);
}

.sidebar-article:last-child { border-bottom: none; }
.sidebar-article:hover { transform: translateX(4px); }

.sidebar-article-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--coral);
  opacity: 0.5;
  line-height: 1;
}

.sidebar-article-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* Newsletter */
.newsletter-box {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: var(--radius);
  padding: 32px;
  color: white;
}

.newsletter-box h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: white;
  border: none;
  padding: 0;
}

.newsletter-box p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.15);
  color: white;
  backdrop-filter: blur(4px);
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }

.newsletter-input:focus {
  outline: none;
  background: rgba(255,255,255,0.25);
}

.newsletter-btn {
  padding: 12px 20px;
  background: var(--coral);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: var(--coral-dark);
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--blue);
  color: white;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--coral-light);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ===== PAGE HEROES ===== */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-hero--properties {
  background: linear-gradient(135deg, var(--white) 0%, rgba(232, 97, 77, 0.05) 100%);
}

.page-hero--pm {
  background: linear-gradient(180deg, var(--white) 0%, rgba(26, 43, 74, 0.03) 100%);
}

.page-hero--consult {
  background: linear-gradient(135deg, rgba(26, 43, 74, 0.02) 0%, rgba(232, 97, 77, 0.04) 100%);
}

.page-hero--blog { background: var(--gray); }

.page-hero--contact {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray) 100%);
}

/* Parallax floating elements */
.parallax-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.parallax-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.parallax-shape--1 {
  width: 300px; height: 300px;
  background: var(--coral);
  top: -100px; right: -50px;
}

.parallax-shape--2 {
  width: 200px; height: 200px;
  background: var(--blue);
  bottom: -80px; left: -40px;
}

.parallax-shape--3 {
  width: 150px; height: 150px;
  background: var(--coral);
  top: 50%; left: 20%;
  border-radius: 30%;
  transform: rotate(45deg);
}

/* ===== TIMELINE (Property Manager) ===== */
.timeline-section { padding: 100px 0; }

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-mid);
}

.timeline-line-progress {
  position: absolute;
  left: 24px;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--coral), var(--blue));
  transition: height 0.1s linear;
}

.timeline-item {
  padding-left: 72px;
  padding-bottom: 60px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: 14px; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gray-mid);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--gray-mid);
  transition: all 0.4s ease;
}

.timeline-item.visible .timeline-dot {
  background: var(--coral);
  box-shadow: 0 0 0 2px var(--coral);
  animation: dotPulse 0.6s ease-out;
}

@keyframes dotPulse {
  0% { transform: scale(0.5); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.timeline-item h3 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== FAQ ACCORDION ===== */
.faq-section { padding: 100px 0; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--blue);
  margin-bottom: 16px;
}

.faq-intro p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--coral);
  box-shadow: 0 4px 16px rgba(232, 97, 77, 0.1);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
}

.faq-question:hover { color: var(--coral); }

.faq-icon {
  width: 24px; height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--coral);
  transition: var(--transition);
}

.faq-icon::before {
  width: 14px; height: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px; height: 14px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CONTACT FORM ===== */
.contact-section { padding: 100px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--blue);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-detail:hover { transform: translateX(6px); }

.contact-detail-icon {
  width: 52px; height: 52px;
  background: rgba(232, 97, 77, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact-detail:hover .contact-detail-icon {
  background: var(--coral);
}

.contact-detail-icon svg {
  width: 22px; height: 22px;
  color: var(--coral);
  transition: var(--transition);
}

.contact-detail:hover .contact-detail-icon svg { color: white; }

.contact-form {
  background: white;
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Floating label form */
.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group--float { position: relative; }

.form-group--float input,
.form-group--float textarea {
  width: 100%;
  padding: 20px 18px 8px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--gray);
}

.form-group--float label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-light);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.form-group--float textarea ~ label {
  top: 24px;
  transform: none;
}

.form-group--float input:focus ~ label,
.form-group--float input:not(:placeholder-shown) ~ label,
.form-group--float textarea:focus ~ label,
.form-group--float textarea:not(:placeholder-shown) ~ label {
  top: 8px;
  transform: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group--float input:focus,
.form-group--float textarea:focus {
  outline: none;
  border-color: var(--coral);
  background: white;
  box-shadow: 0 0 0 4px rgba(232, 97, 77, 0.08);
}

.form-group--float textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--coral);
  background: white;
  box-shadow: 0 0 0 4px rgba(232, 97, 77, 0.08);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--coral);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
}

.form-submit:hover::before { width: 300px; height: 300px; }

.form-submit:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 97, 77, 0.3);
}

/* ===== MAP ===== */
.map-container {
  width: 100%;
  height: 350px;
  background: var(--gray);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  position: relative;
  border: 2px solid var(--gray-mid);
}

.map-container svg { width: 100%; height: 100%; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 0;
}

.service-card {
  padding: 40px 32px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-mid);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card-icon {
  width: 56px; height: 56px;
  background: rgba(232, 97, 77, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--coral);
  transform: scale(1.1) rotate(-5deg);
}

.service-card-icon svg {
  width: 28px; height: 28px;
  color: var(--coral);
  transition: var(--transition);
}

.service-card:hover .service-card-icon svg { color: white; }

.service-card h3 {
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white), rgba(232, 97, 77, 0.03));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 24px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--coral);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral-light), var(--coral));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== CONSULT CTA ===== */
.consult-cta {
  padding: 80px 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  border-radius: var(--radius);
  margin: 60px 24px;
  color: white;
  position: relative;
  overflow: hidden;
}

.consult-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.consult-cta::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.consult-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  position: relative;
}

.consult-cta p {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 1.1rem;
  position: relative;
}

.btn-white {
  background: white;
  color: var(--coral);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  transition: var(--transition);
  position: relative;
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* ===== "FOR WHO" ICONS (Consulenza) ===== */
.for-who-section {
  padding: 100px 0;
  background: var(--gray);
}

.for-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.for-who-card {
  text-align: center;
  padding: 40px 24px;
}

.for-who-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  position: relative;
}

.for-who-icon svg {
  width: 100%; height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.for-who-card:hover .for-who-icon svg {
  transform: scale(1.1) rotate(5deg);
}

.for-who-card h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.for-who-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-illustration { max-width: 350px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--featured { grid-row: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .savings-compare { grid-template-columns: 1fr; max-width: 400px; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .for-who-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: 80px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .carousel-card { flex: 0 0 300px; }
  .carousel-track { padding: 20px 20px; }
  .blog-header { flex-direction: column; gap: 16px; }
  .contact-form { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .property-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .consult-cta { margin: 40px 16px; padding: 60px 24px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .carousel-card { flex: 0 0 280px; }
}

/* ===== UTILITY ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal */
.reveal-stagger .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: 0.5s; }

/* Slide in from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Spring bounce for counters */
@keyframes springBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.1); }
  50% { transform: scale(0.95); }
  70% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.stat-number.counted {
  animation: springBounce 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Pricing cards gradient borders */
.pricing-card {
  padding: 48px 36px;
  background: white;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, var(--coral), var(--blue));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.pricing-card:hover::before { opacity: 1; }

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: white;
}

.pricing-card--featured::before { display: none; }

/* ===== PROPERTY CARDS CLICCABILI (link → booking engine) ===== */
/* Le carousel-card e property-card ora sono <a>: assicuro cursor pointer,
   tipografia non sottolineata, colore testo invariato e hover migliorato. */
a.carousel-card,
a.property-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
a.carousel-card h3,
a.property-card h3,
a.carousel-card p,
a.property-card p,
a.carousel-card span,
a.property-card span {
  color: inherit;
  text-decoration: none;
}
a.carousel-card:hover h3,
a.property-card:hover h3 {
  color: var(--coral);
  transition: color 0.25s ease;
}
