
/* Oferta SafeFoto — zachowany działający formularz i karty z dotychczasowego kodu */
.offer-page {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.88), transparent 34%),
    linear-gradient(180deg, #fff1cf 0%, #fff8e8 100%);
  color: var(--text, #17202a);
}

.offer-hero {
  padding: clamp(58px, 8vw, 105px) 24px 62px;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(255, 241, 207, 0.90)),
    radial-gradient(circle at 78% 25%, rgba(212, 177, 95, 0.22), transparent 34%);
}

.offer-hero h1 {
  width: min(980px, 100%);
  margin: 0;
  color: #0a2138;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -0.06em;
}

.offer-hero h1 span {
  color: #bd9342;
}

.offer-hero .lead-offer {
  width: min(860px, 100%);
  margin: 24px 0 0;
  color: #4b5563;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.66;
}

.why-section,
.platform-section,
.pricing-section,
.notes-section {
  padding: clamp(54px, 7vw, 92px) 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(16,47,77,.08);
  box-shadow: 0 18px 44px rgba(16,47,77,.10);
}

.why-card strong {
  display: block;
  margin-bottom: 10px;
  color: #0a2138;
  font-size: 21px;
  line-height: 1.2;
}

.why-card p {
  margin: 0;
  color: #5d6672;
  font-size: 16px;
  line-height: 1.62;
}

.platform-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 30px;
  background: #0a2138;
  color: #fff;
  box-shadow: 0 24px 70px rgba(16,47,77,.16);
}

.platform-card h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.platform-card p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.72;
}

.platform-points {
  display: grid;
  gap: 14px;
}

.platform-point {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  line-height: 1.55;
  font-weight: 700;
}

.offer-heading {
  text-align: center;
  margin-bottom: 38px;
}

.offer-heading p {
  margin: 0 0 12px;
  color: #d4b15f;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 13px;
}

.offer-heading h2 {
  margin: 0;
  color: #0a2138;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.offer-heading .offer-heading-text {
  width: min(820px, 100%);
  margin: 18px auto 0;
  color: #5d6672;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.68;
}

.notes-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 26px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(16,47,77,.08);
  box-shadow: 0 18px 44px rgba(16,47,77,.10);
}

.notes-card p {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.75;
}

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

.pricing-section {
  background:
    linear-gradient(135deg, rgba(16,47,77,.94), rgba(10,33,56,.96)),
    radial-gradient(circle at top right, rgba(212,177,95,.22), transparent 38%);
}

/* Dostosowanie dotychczasowego kodu kart i formularza do strony w Nginx */
:root {
            --text-main: #ffffff;
            --text-muted: #e2e8f0;
            --card-bg: rgba(15, 23, 42, 0.84);
            --card-bg-hover: rgba(30, 41, 59, 0.94);
            --accent-soft: #fed7aa;
            --accent-light: #fff7ed;
            --bg-card: rgba(15, 23, 42, 0.88);
            --bg-field: rgba(255, 255, 255, 0.08);
            --bg-field-focus: rgba(255, 255, 255, 0.12);
            --border: rgba(255, 255, 255, 0.22);
            --border-focus: rgba(255, 255, 255, 0.55);
            --text-dark: #0f172a;
            --error: #fecaca;
            --success: #bbf7d0;
        }

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

        

        .pricing-container {
            max-width: 1260px;
            width: 100%;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .pricing-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            perspective: 1200px;
            align-items: stretch;
        }

        .sf-card {
            min-height: 335px;
            height: 100%;
            position: relative;
            perspective: 1200px;
            cursor: pointer;
        }

        .sf-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            min-height: 335px;
            transform-style: preserve-3d;
            transition: transform 0.75s ease;
        }

        .sf-card:hover .sf-card-inner,
        .sf-card.is-flipped .sf-card-inner {
            transform: rotateY(180deg);
        }

        .sf-card-face {
            position: absolute;
            inset: 0;
            width: 100%;
            min-height: 335px;

            display: flex;
            flex-direction: column;
            justify-content: space-between;

            background: var(--card-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);

            border: 1px solid rgba(255, 255, 255, 0.28);
            border-radius: 22px;
            padding: 26px 22px 24px;
            text-align: center;
            overflow: hidden;

            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;

            box-shadow:
                0 18px 45px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.14);
        }

        .sf-card-face::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(
                145deg,
                rgba(255, 255, 255, 0.14),
                rgba(255, 255, 255, 0.02)
            );
            pointer-events: none;
            z-index: 1;
        }

        .sf-card-front {
            z-index: 2;
        }

        .sf-card-back {
            transform: rotateY(180deg);
            justify-content: center;
            background: var(--card-bg-hover);
            border-color: rgba(255, 255, 255, 0.42);
        }

        .sf-card-featured .sf-card-face {
            border-color: rgba(254, 215, 170, 0.72);
            box-shadow:
                0 18px 45px rgba(0, 0, 0, 0.38),
                0 0 26px rgba(254, 215, 170, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.18);
        }

        .sf-content {
            width: 100%;
            height: 100%;
            position: relative;
            z-index: 3;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .sf-top-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .sf-badge-slot {
            min-height: 32px;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sf-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 26px;
            padding: 5px 12px;
            border-radius: 999px;
            background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-soft) 100%);
            color: #111827;
            font-size: 0.78rem;
            font-weight: 850;
            line-height: 1;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
        }

        .sf-capacity {
            font-size: 2.75rem;
            font-weight: 850;
            margin-bottom: 12px;
            letter-spacing: -1px;
            color: #ffffff;
            text-shadow:
                0 3px 14px rgba(0, 0, 0, 0.55),
                0 0 18px rgba(255, 255, 255, 0.15);
        }

        .sf-description {
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 1.42;
            max-width: 280px;
            min-height: 62px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
        }

        .sf-price-tag {
            display: block;
            width: 100%;
            padding: 14px;
            margin-top: 20px;

            background: #ffffff;
            color: #0f172a;

            border-radius: 15px;
            font-weight: 850;
            font-size: 1.06rem;

            box-shadow:
                0 8px 22px rgba(0, 0, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
        }

        .sf-card-featured .sf-price-tag,
        .row-bottom .sf-price-tag {
            background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-soft) 100%);
            color: #111827;
        }

        .sf-back-content {
            position: relative;
            z-index: 3;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 14px;
            min-height: 100%;
        }

        .sf-back-title {
            font-size: 1.55rem;
            font-weight: 850;
            line-height: 1.2;
            color: #ffffff;
            text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
        }

        .sf-back-text {
            font-size: 0.98rem;
            line-height: 1.45;
            color: var(--text-muted);
            max-width: 280px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
        }

        .sf-form-info {
            max-width: 900px;
            margin: 34px auto 28px;
            padding: 22px 26px;
            text-align: center;
            background: rgba(15, 23, 42, 0.92);
            border: 1px solid rgba(254, 215, 170, 0.46);
            border-radius: 22px;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow:
                0 18px 42px rgba(0, 0, 0, 0.34),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        .sf-form-info-title {
            color: #ffffff;
            font-size: 1.18rem;
            font-weight: 850;
            line-height: 1.3;
            margin-bottom: 8px;
        }

        .sf-form-info-text {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.5;
            max-width: 760px;
            margin: 0 auto;
        }

        .sf-form-info-text span {
            display: block;
            margin-top: 5px;
        }

        .sf-form-info-text strong {
            color: #ffffff;
            font-weight: 850;
        }

        .sf-form-wrapper {
            max-width: 860px;
            margin: 0 auto;
        }

        .sf-form-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 26px;
            padding: 34px;
            box-shadow:
                0 22px 55px rgba(0, 0, 0, 0.36),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            position: relative;
            overflow: hidden;
        }

        .sf-form-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 34%),
                linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02));
            pointer-events: none;
        }

        .sf-form-content {
            position: relative;
            z-index: 2;
        }

        .sf-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .sf-header h2 {
            font-size: 2.1rem;
            line-height: 1.15;
            margin-bottom: 10px;
            letter-spacing: -0.5px;
        }

        .sf-header p {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.5;
            max-width: 620px;
            margin: 0 auto;
        }

        .sf-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 18px;
        }

        .sf-field {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .sf-field.full {
            grid-column: 1 / -1;
        }

        .sf-field label {
            font-size: 0.92rem;
            color: #f8fafc;
            font-weight: 650;
        }

        .sf-field small {
            color: var(--text-muted);
            font-size: 0.82rem;
            line-height: 1.35;
        }

        .sf-field input,
        .sf-field select,
        .sf-field textarea {
            width: 100%;
            background: var(--bg-field);
            color: var(--text-main);
            border: 1px solid var(--border);
            border-radius: 15px;
            padding: 14px 15px;
            font-size: 1rem;
            outline: none;
            font-family: inherit;
            transition:
                border-color 0.25s ease,
                background 0.25s ease,
                box-shadow 0.25s ease;
        }

        .sf-field input::placeholder,
        .sf-field textarea::placeholder {
            color: rgba(226, 232, 240, 0.62);
        }

        .sf-field input:focus,
        .sf-field select:focus,
        .sf-field textarea:focus {
            background: var(--bg-field-focus);
            border-color: var(--border-focus);
            box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
        }

        .sf-field select option {
            color: #0f172a;
        }

        .sf-field textarea {
            min-height: 135px;
            resize: vertical;
        }

        .sf-consents {
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .sf-consent {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.45;
        }

        .sf-consent input {
            margin-top: 3px;
            width: 18px;
            height: 18px;
            accent-color: #ffffff;
            flex: 0 0 auto;
        }

        .sf-consent a {
            color: #ffffff;
            font-weight: 750;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .sf-consent a:hover {
            color: var(--accent-soft);
        }

        .sf-actions {
            margin-top: 26px;
            display: flex;
            gap: 14px;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
        }

        .sf-submit {
            border: none;
            border-radius: 16px;
            padding: 15px 28px;
            background: #ffffff;
            color: var(--text-dark);
            font-weight: 850;
            font-size: 1.02rem;
            cursor: pointer;
            box-shadow:
                0 12px 28px rgba(0, 0, 0, 0.32),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
            transition:
                transform 0.2s ease,
                box-shadow 0.2s ease,
                background 0.2s ease,
                opacity 0.2s ease;
        }

        .sf-submit:hover {
            transform: translateY(-2px);
            background: #f8fafc;
            box-shadow:
                0 16px 36px rgba(0, 0, 0, 0.38),
                0 0 22px rgba(255, 255, 255, 0.12);
        }

        .sf-submit:disabled {
            opacity: 0.65;
            cursor: not-allowed;
            transform: none;
        }

        .sf-note {
            color: var(--text-muted);
            font-size: 0.86rem;
            text-align: center;
            max-width: 560px;
            margin: 16px auto 0;
            line-height: 1.45;
        }

        .sf-status {
            display: none;
            margin-top: 18px;
            padding: 14px 16px;
            border-radius: 15px;
            font-size: 0.94rem;
            line-height: 1.45;
            text-align: center;
        }

        .sf-status.error {
            display: block;
            color: var(--error);
            background: rgba(239, 68, 68, 0.12);
            border: 1px solid rgba(248, 113, 113, 0.28);
        }

        .sf-status.success {
            display: block;
            color: var(--success);
            background: rgba(34, 197, 94, 0.12);
            border: 1px solid rgba(74, 222, 128, 0.28);
        }

        .sf-contact-direct {
            margin-top: 20px;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.92rem;
            line-height: 1.45;
        }

        .sf-contact-direct strong {
            color: #ffffff;
        }

        #formularz {
            margin-top: 12px;
            scroll-margin-top: 24px;
        }

        @media (max-width: 1100px) {
            .pricing-row {
                grid-template-columns: repeat(2, 1fr);
                max-width: 100%;
            }
        }

        @media (max-width: 700px) {
            .sf-form-card {
                padding: 24px 18px;
                border-radius: 22px;
            }

            .sf-header h2 {
                font-size: 1.65rem;
            }

            .sf-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .sf-submit {
                width: 100%;
            }
        }

        @media (max-width: 600px) {
            

            .pricing-container {
                gap: 14px;
            }

            .pricing-row {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .sf-card,
            .sf-card-inner,
            .sf-card-face {
                min-height: 250px;
            }

            .sf-card-face {
                padding: 22px 20px;
                border-radius: 20px;
            }

            .sf-badge-slot {
                min-height: 0;
                margin-bottom: 8px;
            }

            .sf-badge-slot:empty {
                display: none;
            }

            .sf-badge {
                font-size: 0.74rem;
            }

            .sf-capacity {
                font-size: 2.35rem;
                margin-bottom: 10px;
            }

            .sf-description {
                font-size: 0.95rem;
                min-height: auto;
                max-width: 320px;
            }

            .sf-price-tag {
                margin-top: 18px;
                padding: 13px;
                font-size: 1rem;
            }

            .sf-back-title {
                font-size: 1.45rem;
            }

            .sf-back-text {
                font-size: 0.95rem;
            }

            .sf-form-info {
                margin: 24px auto 20px;
                padding: 18px 15px;
                border-radius: 18px;
            }

            .sf-form-info-title {
                font-size: 1.05rem;
            }

            .sf-form-info-text {
                font-size: 0.92rem;
            }
        }

.pricing-container {
  color: var(--text-main);
}

#formularz {
  scroll-margin-top: 90px;
}

.pricing-section .sf-form-info {
  margin-top: 38px;
}

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

  .platform-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .why-section,
  .platform-section,
  .pricing-section,
  .notes-section {
    padding: 52px 18px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .offer-hero {
    padding: 52px 18px;
  }
}

/* Pakiety przeniesione wyżej na stronie oferty */
.offer-hero + .pricing-section {
  padding-top: clamp(44px, 6vw, 72px);
}

.offer-hero + .pricing-section .offer-heading {
  margin-bottom: 30px;
}
