/* ============================================
   FLORGLOW — Corporate Website Styles
   Palette: White + Sky Blue + Silver
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=Outfit:wght@200;300;400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --silver-50: #f8f9fa;
  --silver-100: #f1f3f5;
  --silver-200: #e9ecef;
  --silver-300: #dee2e6;
  --silver-400: #ced4da;
  --silver-500: #adb5bd;
  --silver-600: #868e96;
  --silver-700: #495057;
  --silver-800: #343a40;
  --silver-900: #212529;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(14,165,233,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(14,165,233,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--silver-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- UTILITY ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

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

.section--silver {
  background: var(--silver-50);
}

.text-center { text-align: center; }

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--silver-900);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  color: var(--silver-600);
  font-size: 1.05rem;
}

.section-subtitle {
  color: var(--sky-600);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-desc {
  max-width: 620px;
  margin: 0 auto 50px;
  color: var(--silver-500);
  font-size: 1.1rem;
}

/* ---- HEADER / NAV ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--silver-200);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sky-600);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  font-weight: 700;
}

.nav { display: flex; align-items: center; gap: 6px; }

.nav a {
  text-decoration: none;
  color: var(--silver-600);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav a:hover, .nav a.active {
  color: var(--sky-600);
  background: var(--sky-50);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  stroke: var(--silver-700);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn--primary {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: white;
  box-shadow: 0 4px 20px rgba(14,165,233,0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--sky-600), var(--sky-700));
  box-shadow: 0 6px 28px rgba(14,165,233,0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--sky-600);
  border: 2px solid var(--sky-200);
}

.btn--outline:hover {
  background: var(--sky-50);
  border-color: var(--sky-400);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---- HERO ---- */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--sky-100) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--sky-50) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content { max-width: 540px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--sky-600);
  margin-bottom: 24px;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--sky-400);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--sky-600);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

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

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__image img {
  max-width: 420px;
  width: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(14,165,233,0.15));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__image::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
  border-radius: 50%;
  z-index: 0;
}

/* ---- CARDS / GRID ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--sky-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky-50), var(--sky-100));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--sky-500);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 { color: var(--silver-800); }

.card p {
  font-size: 0.95rem;
  color: var(--silver-500);
  line-height: 1.7;
}

/* ---- PRODUCT IMAGE ---- */
.product-showcase {
  text-align: center;
  padding: 40px;
  position: relative;
}

.product-showcase img {
  max-width: 380px;
  width: 100%;
  filter: drop-shadow(0 16px 40px rgba(14,165,233,0.12));
}

/* ---- FORM ---- */
.form-card {
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-card > p {
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--silver-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--silver-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--silver-800);
  background: var(--silver-50);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sky-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.1);
}

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

/* ---- TIMELINE ---- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sky-200), var(--sky-400), var(--sky-200));
}

.timeline__item {
  position: relative;
  margin-bottom: 40px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky-400);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--sky-200);
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sky-600);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.timeline__item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline__item p {
  font-size: 0.95rem;
}

/* ---- VALUES GRID ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  display: flex;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--sky-200);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sky-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-500);
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
}

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--sky-200);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--silver-800);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--sky-50);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--sky-500);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer__inner {
  padding: 0 24px 20px;
  color: var(--silver-600);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---- CONTACT INFO ---- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.contact-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--sky-200);
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: var(--sky-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-500);
}

.contact-card__icon svg { width: 24px; height: 24px; }

.contact-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--silver-500);
}

.contact-card a {
  color: var(--sky-600);
  text-decoration: none;
}

.contact-card a:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
.footer {
  background: var(--silver-900);
  color: var(--silver-400);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
  color: var(--silver-500);
  font-size: 0.92rem;
  margin-top: 14px;
  line-height: 1.7;
}

.footer h5 {
  color: var(--silver-300);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer a {
  display: block;
  color: var(--silver-500);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer a:hover { color: var(--sky-400); }

.footer__disclaimer {
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 28px;
}

.footer__disclaimer p {
  font-size: 0.8rem;
  color: var(--silver-600);
  line-height: 1.7;
  max-width: 800px;
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: var(--silver-600);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  display: inline;
  font-size: 0.82rem;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--silver-200);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.1);
  padding: 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--silver-600);
  flex: 1;
  min-width: 280px;
}

.cookie-banner p a {
  color: var(--sky-600);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
}

.cookie-banner .btn {
  padding: 10px 24px;
  font-size: 0.88rem;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--sky-50) 0%, var(--white) 100%);
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--sky-100) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 { margin-bottom: 16px; position: relative; }
.page-hero p {
  font-size: 1.15rem;
  color: var(--silver-500);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ---- SUCCESS PAGE ---- */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.success-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: scaleIn 0.6s ease;
}

.success-icon svg { width: 42px; height: 42px; color: white; }

@keyframes scaleIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ---- LEGAL PAGES ---- */
.legal-content {
  padding: 40px 0 80px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 36px 0 12px;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin: 24px 0 8px;
}

.legal-content p {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.legal-content ul {
  margin: 10px 0 14px 24px;
  color: var(--silver-600);
  font-size: 0.95rem;
}

.legal-content ul li { margin-bottom: 6px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__image { margin-top: 40px; }
  .hero__image::before { width: 280px; height: 280px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { 
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--silver-200);
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .page-hero { padding: 120px 0 60px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cookie-banner__inner { flex-direction: column; text-align: center; }
  .cookie-banner__actions { justify-content: center; }
}
