/*
Theme Name: Kesäkaverit
Theme URI: https://kesakaverit.fi
Author: Kesäkaverit Oy
Author URI: https://kesakaverit.fi
Description: Kesäinen, iloinen ja perheystävällinen teema Kesäkaverit Oy:n kesäleirisivustolle.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kesakaverit
Tags: summer, kids, camp, colorful, family-friendly
*/

/* =============================================
   CSS VARIABLES & ROOT
   ============================================= */
:root {
  --orange:     #F97316;
  --orange-light: #FDBA74;
  --yellow:     #FCD34D;
  --yellow-light: #FEF3C7;
  --green:      #22C55E;
  --green-dark: #16A34A;
  --blue:       #3B82F6;
  --blue-dark:  #1D4ED8;
  --blue-light: #DBEAFE;
  --white:      #FFFFFF;
  --off-white:  #FFFBF5;
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-600:   #4B5563;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --text:       #1E293B;
  --text-muted: #64748B;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);

  --font-heading: 'Nunito', 'Segoe UI', sans-serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --section-pad: 80px 24px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::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(--text);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }

ul, ol { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad); }
.section-tight { padding: 48px 24px; }

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

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

.flex       { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  text-decoration: none;
  line-height: 1;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: #EA6900; color: var(--white); }

.btn-secondary {
  background: var(--green);
  color: var(--white);
}
.btn-secondary:hover { background: var(--green-dark); color: var(--white); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2.5px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--white); }

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
#site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--yellow);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#site-header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

body { padding-top: 64px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img {
  height: 0px;
  width: auto;
}

.site-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.1;
  color: var(--orange);
  text-decoration: none;
}

.site-logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-700);
  padding: 8px 70px;
  border-radius: 50px;
  transition: all .2s;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  background: var(--yellow-light);
  color: var(--orange);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 20px !important;
}

.nav-cta:hover {
  background: #EA6900 !important;
  color: var(--white) !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all .3s;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background: linear-gradient(135deg, #FEF3C7 0%, #DBEAFE 50%, #DCFCE7 100%);
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '☀️';
  position: absolute;
  top: 20px;
  right: 5%;
  font-size: 5rem;
  opacity: 0.4;
  animation: spin-slow 20s linear infinite;
}

.hero::after {
  content: '🌿';
  position: absolute;
  bottom: 30px;
  left: 3%;
  font-size: 3.5rem;
  opacity: 0.35;
  animation: float 4s ease-in-out infinite;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--yellow);
  color: var(--orange);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.hero-title .highlight {
  color: var(--orange);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.6;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

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

.hero-image-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.hero-card:nth-child(2) { margin-top: 32px; }

.hero-card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.hero-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.hero-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   WAVE DIVIDERS
   ============================================= */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.wave-divider svg { display: block; width: 100%; }

/* =============================================
   FEATURES / USP SECTION
   ============================================= */
.features-section {
  background: var(--white);
  padding: 72px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  background: var(--yellow-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =============================================
   CAMPS / BOOKING SECTION
   ============================================= */
.camps-section {
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--off-white) 100%);
  padding: 80px 24px;
}

.camps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.camp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  border: 2px solid var(--gray-200);
}

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

.camp-card-header {
  padding: 28px 24px 20px;
  position: relative;
}

.camp-card:nth-child(1) .camp-card-header { background: linear-gradient(135deg, #FEF3C7, #FED7AA); }
.camp-card:nth-child(2) .camp-card-header { background: linear-gradient(135deg, #DCFCE7, #A7F3D0); }
.camp-card:nth-child(3) .camp-card-header { background: linear-gradient(135deg, #DBEAFE, #C7D2FE); }
.camp-card:nth-child(4) .camp-card-header { background: linear-gradient(135deg, #FEE2E2, #FECACA); }
.camp-card:nth-child(5) .camp-card-header { background: linear-gradient(135deg, #dcb577, #ae8658); }

.camp-emoji {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.camp-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.camp-price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 900;
  font-size: 1.15rem;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--green);
}

.camp-card-body {
  padding: 20px 24px 24px;
}

.camp-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.camp-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

.camp-meta-item .icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.camp-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* =============================================
   MOBILEPAY SECTION
   ============================================= */
.mobilepay-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  border: 3px dashed var(--green);
  max-width: 700px;
  margin: 40px auto 0;
  box-shadow: var(--shadow-sm);
}

.mobilepay-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.mobilepay-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: 0.05em;
  margin: 12px 0;
}

.mobilepay-steps {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 8px;
}

.mobilepay-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 160px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobilepay-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* =============================================
   BOOKING FORM
   ============================================= */
.booking-section {
  background: var(--gray-900);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: '🎯';
  position: absolute;
  top: 20px;
  right: 60px;
  font-size: 4rem;
  opacity: 0.15;
}

.booking-section::after {
  content: '⚽';
  position: absolute;
  bottom: 30px;
  left: 40px;
  font-size: 3rem;
  opacity: 0.1;
}

.booking-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.booking-section .section-title { color: var(--white); }
.booking-section .section-subtitle { color: var(--gray-200); margin-bottom: 40px; }

.booking-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: left;
  box-shadow: var(--shadow-lg);
}

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

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color .2s;
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-required { color: var(--orange); }

select.form-control { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-note {
  background: var(--yellow-light);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.form-submit {
  width: 100%;
  margin-top: 24px;
  justify-content: center;
  font-size: 1.1rem;
  padding: 16px;
}

/* =============================================
   TESTIMONIAL / TRUST SECTION
   ============================================= */
.trust-section {
  background: var(--yellow-light);
  padding: 72px 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.trust-stars {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.trust-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}

.trust-author {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, #F97316 50%, var(--yellow) 100%);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2 { color: var(--white); position: relative; margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 28px; position: relative; }
.cta-banner .btn-white {
  background: var(--white);
  color: var(--orange);
  font-weight: 900;
  position: relative;
}
.cta-banner .btn-white:hover {
  background: var(--yellow-light);
  color: var(--orange);
  box-shadow: var(--shadow-md);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-hero {
  background: linear-gradient(135deg, #DBEAFE, #DCFCE7);
  padding: 64px 24px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  padding: 72px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--yellow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item:nth-child(1) .contact-item-icon { background: var(--yellow-light); }
.contact-item:nth-child(2) .contact-item-icon { background: var(--blue-light); }
.contact-item:nth-child(3) .contact-item-icon { background: #DCFCE7; }
.contact-item:nth-child(4) .contact-item-icon { background: #FEE2E2; }

.contact-item-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.contact-item-value a {
  color: var(--blue-dark);
  font-weight: 700;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.contact-form-card .lead {
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* =============================================
   ABOUT / TARINAMME PAGE
   ============================================= */
.about-hero {
  background: linear-gradient(135deg, #DCFCE7, #FEF3C7);
  padding: 72px 24px;
  text-align: center;
}

.about-story {
  background: var(--white);
  padding: 72px 24px;
}

.about-story-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.story-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.team-section {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--blue-light) 100%);
  padding: 80px 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s, box-shadow .3s;
}

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

.team-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--yellow-light), var(--orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--orange);
}

.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--yellow-light), var(--orange-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 700;
}

.team-photo-placeholder span:first-child { font-size: 4rem; }

.team-card:nth-child(2) .team-photo-placeholder {
  background: linear-gradient(135deg, var(--blue-light), #C7D2FE);
  color: var(--blue-dark);
}

.team-info {
  padding: 28px;
}

.team-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 16px;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 16px;
  border-left: 4px solid var(--yellow);
  font-style: italic;
}

.team-bio-placeholder {
  color: var(--gray-600);
  font-style: italic;
}

.values-section {
  background: var(--white);
  padding: 72px 24px;
}

.value-card {
  text-align: center;
  padding: 28px 20px;
}

.value-icon { font-size: 2.8rem; margin-bottom: 12px; }
.value-card h4 { font-weight: 900; color: var(--gray-900); margin-bottom: 6px; }
.value-card p  { font-size: 0.9rem; color: var(--text-muted); }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 60px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.footer-brand { }

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--yellow);
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--gray-200);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--gray-200);
  font-size: 0.93rem;
  font-weight: 600;
  transition: color .2s;
}
.footer-links a:hover { color: var(--orange); }

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-200);
  font-size: 0.93rem;
  margin-bottom: 10px;
}

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

/* =============================================
   PAGE HERO (generic)
   ============================================= */
.page-hero {
  padding: 64px 24px;
  text-align: center;
}

.page-hero h1 { margin-bottom: 12px; }
.page-hero p  { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* =============================================
   SUCCESS / ERROR MESSAGES
   ============================================= */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success { background: #DCFCE7; color: #166534; border: 1.5px solid #86EFAC; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1.5px solid #FCA5A5; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px 20px; }

  .hero-inner       { grid-template-columns: 1fr; gap: 36px; }
  .hero-image-area  { grid-template-columns: 1fr 1fr; }
  .hero-card:nth-child(2) { margin-top: 0; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: 1fr; max-width: 480px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .booking-form { padding: 28px 20px; }
  .mobilepay-section { padding: 32px 24px; }

  /* Hamburger visible */
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 80px 24px 40px;
    transition: right .3s ease;
    z-index: 999;
  }

  .main-nav.open { right: 0; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 1.05rem;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }
  .menu-overlay.active { display: block; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-image-area { grid-template-columns: 1fr; }
  .hero-card:nth-child(2) { margin-top: 0; }
}

/* =============================================
   PRINT
   ============================================= */
@media print {
  #site-header, #site-footer, .booking-section, .cta-banner { display: none !important; }
  body { background: white; color: black; }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 24px;
  background: var(--orange);
  color: white;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* WordPress custom logo override */
.custom-logo-link,
.site-logo a {
  display: flex;
  align-items: center;
}

.custom-logo,
.custom-logo-link img {
  height: 60px !important;
  width: auto !important;
  max-height: 60px !important;
}

/* =============================================
   LISÄTIETOA-SIVU – Lisää style.css:n loppuun
   ============================================= */

/* Hero */
.lisatietoa-hero {
  background: linear-gradient(135deg, #FEF3C7 0%, #DBEAFE 60%, #DCFCE7 100%);
  padding: 72px 24px 64px;
}

/* Section wrapper */
.lt-section {
  padding: 72px 24px;
}

.lt-section--white  { background: var(--white); }
.lt-section--tinted { background: var(--yellow-light); }

.lt-container {
  max-width: 860px;
  margin: 0 auto;
}

/* ---- ACCORDION ---- */
.lt-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lt-item {
  border-radius: var(--radius-md);
  border: 2px solid var(--item-border, var(--gray-200));
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .2s;
}

.lt-item:has(.lt-trigger--open) {
  box-shadow: var(--shadow-md);
}

/* Trigger button */
.lt-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--item-bg, var(--gray-50));
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  text-align: left;
  transition: background .2s;
}

.lt-trigger:hover {
  filter: brightness(0.97);
}

.lt-trigger-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lt-emoji {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.lt-trigger-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lt-trigger-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.2;
}

.lt-trigger-dates {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.lt-trigger-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lt-price {
  font-size: 1rem;
  font-weight: 900;
  color: var(--green-dark);
  background: white;
  padding: 4px 12px;
  border-radius: 50px;
  border: 2px solid var(--green);
  white-space: nowrap;
}

.lt-chevron {
  color: var(--text-muted);
  display: flex;
  transition: transform .3s ease;
}

.lt-trigger--open .lt-chevron {
  transform: rotate(180deg);
  color: var(--orange);
}

/* Panel */
.lt-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.lt-panel--open {
  grid-template-rows: 1fr;
}

.lt-panel-inner {
  overflow: hidden;
  padding: 0 24px;
  transition: padding .35s ease;
}

.lt-panel--open .lt-panel-inner {
  padding: 4px 24px 28px;
}

.lt-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

/* Detail cards inside panel */
.lt-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.lt-detail-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
}

.lt-detail-card--full {
  grid-column: 1 / -1;
}

.lt-detail-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.lt-detail-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--orange);
  margin-bottom: 4px;
}

.lt-detail-value {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

/* ---- RULES ---- */
.lt-rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lt-rules-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 2px solid var(--gray-200);
  transition: border-color .2s, box-shadow .2s;
}

.lt-rules-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-sm);
}

.lt-rules-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lt-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lt-rules-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.lt-rules-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
  font-size: 0.85rem;
}

/* ---- TERMS BOX ---- */
.lt-terms-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 2px solid var(--yellow);
  box-shadow: var(--shadow-sm);
  line-height: 1.8;
  font-size: 1rem;
  color: var(--text);
}

.lt-terms-box h4 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--gray-900);
  margin: 24px 0 8px;
}

.lt-terms-box h4:first-child { margin-top: 0; }

.lt-terms-box p,
.lt-terms-box li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.lt-terms-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--yellow-light);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: 1.5px dashed var(--yellow);
  font-size: 1.4rem;
}

.lt-terms-notice p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-700);
  font-style: italic;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .lt-details-grid  { grid-template-columns: 1fr; }
  .lt-rules-grid    { grid-template-columns: 1fr; }
  .lt-trigger       { padding: 16px 18px; }
  .lt-panel-inner   { padding: 0 18px; }
  .lt-panel--open .lt-panel-inner { padding: 4px 18px 24px; }
  .lt-price         { display: none; }
  .lt-terms-box     { padding: 24px 20px; }
}

.wide-image-block {
    width: 100%;
    max-height: 620px;
    overflow: hidden;
}

.wide-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}