/* ============================================
   Vikupkvartiry.ru — Static Site Styles
   Design: "Человеческое тепло" — Органический модернизм
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* CSS Variables */
:root {
  --primary: #b85c38;
  --primary-foreground: #fdf5f0;
  --primary-light: #d4845e;
  --background: #fdf8f3;
  --foreground: #3d2e1e;
  --card: #ffffff;
  --card-foreground: #3d2e1e;
  --secondary: #f5f0e8;
  --secondary-foreground: #5a4a3a;
  --muted: #f0ebe3;
  --muted-foreground: #7a6a5a;
  --accent: #6b8f5e;
  --accent-foreground: #fdf5f0;
  --border: #e8e0d5;
  --input: #f5f0e8;
  --ring: #b85c38;
  --radius: 1.5rem;
}

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

/* Base */
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: linear-gradient(180deg, #FDF8F3 0%, #FFFBF7 30%, #FDF6EF 70%, #F9F3EB 100%);
  background-attachment: fixed;
  color: var(--foreground);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1280px;
  }
}

/* Soft Card */
.soft-card {
  background: var(--card);
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.03);
  border: 1px solid rgba(232, 224, 213, 0.5);
}

/* Warm Button */
.btn-warm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 1rem;
  padding: 1rem 2rem;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
  text-decoration: none;
}

.btn-warm:hover {
  box-shadow: 0 10px 15px -3px rgba(184, 92, 56, 0.2);
  transform: translateY(-2px);
}

.btn-warm:active {
  transform: translateY(0);
}

.btn-warm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Outline Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 1rem;
  padding: 1rem 2rem;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Input Organic */
.input-organic {
  width: 100%;
  background: rgba(245, 240, 232, 0.5);
  border: 2px solid transparent;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--foreground);
  transition: all 0.3s ease;
  outline: none;
}

.input-organic:focus {
  border-color: var(--primary);
  background: var(--card);
  box-shadow: 0 10px 15px -3px rgba(184, 92, 56, 0.1);
}

.input-organic::placeholder {
  color: rgba(122, 106, 90, 0.6);
}

textarea.input-organic {
  resize: none;
  min-height: 120px;
}

select.input-organic {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237a6a5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Header */
.header {
  padding: 1.5rem 0;
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-weight: 600;
  font-size: 1.125rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.header-phone:hover {
  color: var(--foreground);
}

.header-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.header-back:hover {
  color: var(--foreground);
}

/* Hero */
.hero {
  padding: 3rem 0 5rem;
  position: relative;
  z-index: 10;
}

.hero-center {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero h1 .highlight-accent {
  color: var(--accent);
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.hero .subtext {
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0 7rem;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero .subtitle {
    font-size: 1.5rem;
  }
}

/* Grid layouts */
.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Scenario Cards */
.scenario-card {
  display: block;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.scenario-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.scenario-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.scenario-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.scenario-card:hover h3 {
  color: var(--primary);
}

.scenario-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.scenario-card .link {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
  gap: 0.5rem;
}

.scenario-card:hover .link svg {
  transform: translateX(4px);
}

.scenario-card .link svg {
  transition: transform 0.3s;
}

/* Calculator CTA Card */
.calc-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  max-width: 48rem;
  margin: 0 auto;
  transition: all 0.3s;
}

.calc-cta:hover {
  box-shadow: 0 25px 50px -12px rgba(184, 92, 56, 0.1);
}

@media (min-width: 768px) {
  .calc-cta {
    flex-direction: row;
    padding: 2.5rem;
  }
}

.calc-cta .icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(184, 92, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calc-cta .text {
  text-align: center;
  flex: 1;
}

@media (min-width: 768px) {
  .calc-cta .text {
    text-align: left;
  }
}

.calc-cta h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.calc-cta:hover h3 {
  color: var(--primary);
}

/* Benefits */
.benefit-item {
  text-align: center;
}

.benefit-item .icon-box {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.benefit-item h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Section Decorated */
.section-decorated {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section-decorated {
    padding: 6rem 0;
  }
}

.section-decorated::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(184, 92, 56, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.section-decorated::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 40%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(107, 143, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* How We Work Steps */
.steps-container {
  max-width: 56rem;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .step-item {
    gap: 2rem;
    margin-bottom: 2rem;
  }
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Stats */
.stat-item {
  text-align: center;
}

.stat-item .icon-box {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 0.75rem;
  background: rgba(184, 92, 56, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .stat-item .value {
    font-size: 1.875rem;
  }
}

.stat-item .label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Check items */
.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Situations list */
.situation-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Landing page hero with image */
.landing-hero {
  padding: 2rem 0 4rem;
}

@media (min-width: 768px) {
  .landing-hero {
    padding: 4rem 0;
  }
}

.landing-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.badge-primary {
  background: rgba(184, 92, 56, 0.1);
  color: var(--primary);
}

.badge-accent {
  background: rgba(107, 143, 94, 0.2);
  color: var(--accent);
}

.landing-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .landing-hero h1 {
    font-size: 3rem;
  }
}

.landing-hero .desc {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.hero-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

/* Solutions section */
.solutions-section {
  background: rgba(245, 240, 232, 0.5);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .solutions-section {
    padding: 6rem 0;
  }
}

.solution-card {
  padding: 2rem;
}

.solution-card .number-box {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.number-box-primary {
  background: rgba(184, 92, 56, 0.1);
  color: var(--primary);
}

.number-box-accent {
  background: rgba(107, 143, 94, 0.2);
  color: var(--accent);
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.solution-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Form section */
.form-section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .form-section {
    padding: 6rem 0;
  }
}

.form-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .form-section h2 {
    font-size: 2.25rem;
  }
}

.form-section .desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.form-benefit {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-benefit .icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-accent {
  background: rgba(107, 143, 94, 0.2);
}

.icon-box-primary {
  background: rgba(184, 92, 56, 0.2);
}

.form-benefit h4 {
  font-weight: 500;
}

.form-benefit .sub {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Lead Form */
.lead-form {
  padding: 2rem;
}

@media (min-width: 768px) {
  .lead-form {
    padding: 2.5rem;
  }
}

.lead-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lead-form .form-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-consent {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-top: 1rem;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 2.5rem;
}

.form-success .success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(107, 143, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--muted-foreground);
}

/* Timeline */
.timeline-card {
  padding: 2rem;
  position: relative;
}

.timeline-card .time-badge {
  position: absolute;
  top: -0.75rem;
  left: 2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.timeline-card .content {
  padding-top: 1rem;
}

.timeline-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Calculator */
.calc-form {
  padding: 2rem;
}

.calc-options {
  display: grid;
  gap: 0.5rem;
}

.calc-options-5 {
  grid-template-columns: repeat(5, 1fr);
}

.calc-options-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .calc-options-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc-option {
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--secondary);
  border: none;
  font-family: inherit;
  color: var(--foreground);
}

.calc-option:hover {
  background: rgba(245, 240, 232, 0.8);
}

.calc-option.active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgba(184, 92, 56, 0.2);
}

.calc-result {
  margin-top: 2rem;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.calc-result-row .label {
  color: var(--muted-foreground);
}

.calc-result-row .value {
  font-weight: 500;
}

.calc-result-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(184, 92, 56, 0.1);
  border-radius: 0.75rem;
  margin: 0 -1rem;
}

.calc-result-total .label {
  font-weight: 600;
  font-size: 1.125rem;
}

.calc-result-total .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.calc-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(245, 240, 232, 0.5);
  border-radius: 0.75rem;
  display: flex;
  gap: 0.75rem;
}

.calc-disclaimer p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.calc-cta-buttons {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .calc-cta-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Info block */
.info-block {
  padding: 1.5rem;
}

.info-block h4 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.info-block ul {
  list-style: none;
}

.info-block li {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* Section titles */
.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-subtitle {
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
}

.cta-card {
  padding: 2rem;
  text-align: center;
  background: rgba(184, 92, 56, 0.05);
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 3rem;
  }
}

.cta-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-card h2 {
    font-size: 1.875rem;
  }
}

.cta-card p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Trust block */
.trust-card {
  padding: 2rem;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .trust-card {
    padding: 3rem;
  }
}

.trust-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copy {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--foreground);
}

/* Decorative backgrounds */
.bg-decoration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  animation: float 6s ease-in-out infinite;
}

.bg-blob-1 {
  top: 5rem;
  right: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(184, 92, 56, 0.05);
}

.bg-blob-2 {
  bottom: 10rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(107, 143, 94, 0.05);
  animation-delay: 3s;
}

/* Honest disclaimer */
.disclaimer-card {
  padding: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .disclaimer-card {
    padding: 3rem;
  }
}

.disclaimer-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.disclaimer-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.disclaimer-card p:last-child {
  margin-bottom: 0;
}

/* Utility */
.max-w-5xl {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

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

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.hidden { display: none; }

@media (min-width: 640px) {
  .sm-inline { display: inline; }
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  font-weight: 500;
  z-index: 1000;
  animation: slideUp 0.3s ease-out;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.toast-success {
  background: var(--accent);
  color: white;
}

.toast-error {
  background: #c44;
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Phone hidden on mobile */
@media (max-width: 639px) {
  .phone-text { display: none; }
}

/* Calculator toggle buttons */
.toggle-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.toggle-group-wide {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .toggle-group-wide {
    grid-template-columns: repeat(3, 1fr);
  }
}

.toggle-btn {
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--secondary);
  border: none;
  font-family: inherit;
  color: var(--foreground);
}

.toggle-btn:hover {
  background: rgba(245, 240, 232, 0.8);
}

.toggle-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px rgba(184, 92, 56, 0.2);
}

/* Calculator result rows */
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.result-highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(184, 92, 56, 0.1);
  border-radius: 0.75rem;
  margin-top: 1rem;
}

/* Info box */
.info-box {
  padding: 1rem;
  background: rgba(245, 240, 232, 0.5);
  border-radius: 0.75rem;
  display: flex;
  gap: 0.75rem;
}

/* Badge warning */
.badge-warning {
  background: rgba(217, 119, 6, 0.15);
  color: #b45309;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Highlight variants */
.highlight {
  color: var(--primary);
}

.highlight-accent {
  color: var(--accent);
}

.highlight-warning {
  color: #b45309;
}

/* Number box warning */
.number-box-warning {
  background: rgba(217, 119, 6, 0.15);
  color: #b45309;
}

/* Responsive toggle group on small screens */
@media (max-width: 639px) {
  .toggle-group {
    grid-template-columns: repeat(3, 1fr);
  }
  .toggle-group .toggle-btn:nth-child(4),
  .toggle-group .toggle-btn:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 400px) {
  .toggle-group {
    grid-template-columns: repeat(2, 1fr);
  }
}
