/* ============================= */
/* Base setup & CSS variables */
/* ============================= */
:root {
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --btn-height: 48px;
  --btn-color: #ff6b04;
  --btn-hover: #e66003;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #0f1a2c;
  overflow-x: hidden;
}

/* ============================= */
/* Background */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35)),
    url('beach.jpg') center/cover no-repeat fixed;
}

@media (max-width: 768px) {
  .page { background-attachment: scroll; }
}

/* ============================= */
/* Stack container */
.stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ============================= */
/* Brand header */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: var(--spacing-sm);
  color: #fff;
  z-index: 2;
  text-align: center;
}

/* ============================= */
/* Logo with floating + fade-in + scale animation */
@keyframes floatLogo {
  0%   { transform: translateY(0) scale(0.95); opacity: 0; }
  50%  { transform: translateY(-10px) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.logo-img {
  height: clamp(120px, 18vw, 240px); /* fluid size */
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  margin-bottom: var(--spacing-sm);

  animation: floatLogo 3s ease-in-out forwards infinite;
  transform-origin: center;
}

/* ============================= */
/* Hero header */
.hero {
  color: #fff;
  text-align: center;
  padding: 6px var(--spacing-md) 0;
  max-width: 980px;
  margin: 0 auto;
}

.hero h1 { 
  margin: 0 0 2px; 
  font-size: clamp(1.5rem, 4vw, 1.9rem); 
  font-weight: 700; 
}

.hero p { 
  margin: 0; 
  opacity: 0.95; 
  font-size: clamp(0.95rem, 2vw, 1rem);
}

/* ============================= */
/* Cards layout */
.cards {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  padding: var(--spacing-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
}

.card-block {
  display: grid;
  gap: var(--spacing-md);
  justify-items: center;
  height: 100%;
  align-content: start;
  grid-template-rows: 1fr auto;
}

/* ============================= */
/* Glassy card */
.card {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  padding: 28px 22px;
  text-align: center;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  height: auto;
  min-height: 220px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.25);
}

.card h2 {
  margin: 0 0 10px 0;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
}

.card p {
  margin: 0 0 22px 0;
  line-height: 1.6;
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
}

/* ============================= */
/* Buttons */
.btn {
  display: inline-block;
  height: var(--btn-height);
  padding: 0 18px;
  line-height: var(--btn-height);
  font-weight: 600;
  color: #ffffff;
  background: var(--btn-color);
  border: none;
  border-radius: 0;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
  background: var(--btn-hover);
}

.btn:active { transform: translateY(0); }

/* ============================= */
/* WhatsApp CTA under card */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: underline;
  background: transparent;
}

.cta-icon { width: 22px; height: 22px; color: #ffffff; }
.cta:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================= */
/* Footer */
.footer {
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 22px 12px 40px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* ============================= */
/* Responsive breakpoints */
@media (max-width: 1200px) {
  .card h2 { font-size: 1.6rem; }
  .card p { font-size: 1.15rem; }
}

@media (max-width: 768px) {
  .cards { gap: var(--spacing-md); }
  .card { padding: 20px 16px; }
  .card h2 { font-size: 1.4rem; }
  .card p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.95rem; }
  .card h2 { font-size: 1.2rem; }
  .card p { font-size: 0.95rem; }
}
