@font-face {
    font-family: "Space Grotesk";
    src: url("../typography/Space_Grotesk/static/SpaceGrotesk-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../typography/Space_Grotesk/static/SpaceGrotesk-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../typography/Space_Grotesk/static/SpaceGrotesk-SemiBold.ttf") format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../typography/Space_Grotesk/static/SpaceGrotesk-Bold.ttf") format("truetype");
    font-weight: 700;
}

/*==================================================
ROOT VARIABLES
==================================================*/
:root {
    /* BACKGROUNDS */

    --bg: #f5f7ff;
    --bg-alt: #e9edff;

    /* TEXT */

    --text: #0b1020;
    --text-light: #5f6475;

    /* SURFACES */

    --white: #ffffff;

    /* PRIMARY — ELECTRIC BLUE */

    --primary: #3b5bff;
    --primary-dark: #2639d9;

    /* CREATIVE ACCENT — VIOLET */

    --highlight: #a855f7;

    /* SECONDARY ACCENT — ELECTRIC CYAN */

    --accent: #00c2ff;

    /* BORDERS */

    --border: #d8ddf0;

    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.05);

    --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

    --radius: 22px;

    --transition: 0.35s ease;

    --container: 1220px;
}

/* SCROLLBAR WIDTH */
::-webkit-scrollbar {
    width: 12px;
}

/* SCROLLBAR TRACK */
::-webkit-scrollbar-track {
    background: #f2f2f2;
}

/* SCROLLBAR HANDLE */
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* HOVER */
::-webkit-scrollbar-thumb:hover {
    background: #3454c5;
}

/* FIREFOX */

html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f2f2f2;
}

/*==================================================
RESET
==================================================*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Space Grotesk", sans-serif;

    font-weight: 400;

    background: var(--bg);

    color: var(--text);

    line-height: 1.3;

    font-size: 20px;

    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}

/*==================================================
BACKGROUND GRID
==================================================*/

body::before {
    content: "";

    position: fixed;

    inset: 0;

    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);

    background-size: 70px 70px;

    opacity: 0.35;

    pointer-events: none;

    z-index: -2;
}

/*==================================================
TYPOGRAPHY
==================================================*/
h1 {
    line-height: 1;

    letter-spacing: -1px;
}

h2,
h3,
h4 {
    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -1px;
}

h1 {
    font-size: clamp(3.3rem, 7vw, 4rem);

    max-width: 900px;
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

h3 {
    font-size: 1.55rem;
}

p {
    color: var(--text-light);
}

img {
    display: block;

    width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

ul {
    list-style: none;
}

/*==================================================
LAYOUT
==================================================*/

.container {
    width: min(var(--container), calc(100% - 3rem));

    margin-inline: auto;
}

section {
    padding: 8rem 0;

    position: relative;
}

section:nth-child(even) {
    background: var(--bg-alt);
}

.small-title {
    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 5rem;
}

.section-title h2 {
    margin-top: 0.5rem;
}

/*==================================================
BUTTONS
==================================================*/

.btn-primary,
.btn-secondary {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 1rem 2rem;

    border-radius: 999px;

    transition: var(--transition);

    font-weight: 500;
}

.btn-primary {
    background: var(--primary);

    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.btn-secondary {
    border: 1px solid var(--border);

    background: white;
}

.btn-secondary:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-sm);
}

/*==================================================
HEADER
==================================================*/

header {
    position: fixed;

    left: 0;
    top: 0;

    width: 100%;

    z-index: 999;

    transition: 0.4s ease;
}

header.scrolled {
    background: white;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(12px);
}

.nav-container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 88px;
}

/* LOGO + PHONE */

.brand-contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* PHONE NUMBER */

.nav-phone {
    display: flex;
    align-items: center;

    color: var(--primary-dark);

    font-size: 2 rem;
    font-weight: 700;

    text-decoration: none;

    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-phone:hover {
    color: var(--primary);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;

    font-weight: 700;

    letter-spacing: -1px;

    color: var(--text);
}

nav ul {
    display: flex;

    gap: 3rem;
}

nav a {
    position: relative;

    color: var(--text);

    transition: var(--transition);
}

nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;

    height: 2px;

    background: var(--primary);

    transition: var(--transition);
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

/*==================================================
NAVIGATION CONTACT ACTIONS
==================================================*/

.nav-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-contact a {
    position: relative;

    color: var(--text-light);

    font-size: 0.9rem;
    font-weight: 500;

    transition: var(--transition);
}

.nav-contact a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: var(--primary);

    transition: var(--transition);
}

.nav-contact a:hover {
    color: var(--primary);
}

.nav-contact a:hover::after {
    width: 100%;
}

.nav-contact-icon {
    width: 36px;
    height: 36px;
}

/*==================================================
HERO
==================================================*/

.hero {
    position: relative;

    min-height: 92vh;

    display: flex;

    align-items: center;

    padding-top: 8rem;

    padding-bottom: 5rem;

    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    position: relative;
    padding: 0 20px;
    z-index: 5;
}

.hero h1 {
    margin-bottom: 2rem;
}

.hero p {
    max-width: 620px;

    font-size: 1.15rem;

    margin-bottom: 1rem;
}

.hero-buttons {
    display: flex;

    gap: 1.25rem;

    flex-wrap: wrap;
}

/*==================================================
DECORATIVE BLOBS
==================================================*/

.hero::before {
    content: "";

    position: absolute;

    width: 700px;

    height: 700px;

    border-radius: 50%;

    background: radial-gradient(rgba(15, 118, 110, 0.05), transparent 70%);

    right: -220px;

    top: -220px;

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    background: radial-gradient(rgba(123, 174, 154, 0.08), transparent 70%);

    left: -150px;

    bottom: -150px;

    pointer-events: none;
}

/*==================================================
FLOATING SHAPES
==================================================*/

.hero-shape {
    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    animation: float 8s ease-in-out infinite;

    pointer-events: none;
}

.hero-shape.one {
    width: 28px;

    height: 28px;

    background: rgba(15, 118, 110, 0.2);

    top: 18%;

    right: 44%;
}

.hero-shape.two {
    width: 16px;

    height: 16px;

    background: rgba(123, 174, 154, 0.35);

    bottom: 20%;

    left: 8%;

    animation-delay: 2s;
}

.hero-shape.three {
    width: 60px;

    height: 60px;

    border: 1px solid rgba(15, 118, 110, 0.15);

    top: 68%;

    right: 8%;

    animation-delay: 4s;
}

/*==================================================
HERO ENTRANCE
==================================================*/

.hero-text>* {
    opacity: 0;

    transform: translateY(35px);

    animation: fadeUp 0.9s forwards;
}

.hero-text>*:nth-child(1) {
    animation-delay: 0.15s;
}

.hero-text>*:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-text>*:nth-child(3) {
    animation-delay: 0.45s;
}

.hero-text>*:nth-child(4) {
    animation-delay: 0.6s;
}

.hero-image {
    opacity: 0;

    transform: translateX(50px);

    animation: imageReveal 1s 0.65s forwards;
}

/*==================================================
HERO FEATURED WORK
==================================================*/

.hero-featured {
    position: relative;
    min-width: 0;
    width: 100%;
}

.hero-featured>.small-title {
    margin-bottom: 1.5rem;
}

.hero-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
}

/*==================================================
HERO PROJECT
==================================================*/

.hero-project {
    display: block;

    position: relative;

    color: var(--text);

    transition: var(--transition);
}

.hero-project-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 4 / 5;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.hero-project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.hero-project:hover .hero-project-image img {
    transform: scale(1.05);
}

/*==================================================
HERO PROJECT IMAGE OVERLAY
==================================================*/

.hero-project-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(135deg,
            rgba(59, 91, 255, 0.16),
            rgba(168, 85, 247, 0.08) 45%,
            transparent 70%);

    opacity: 0;

    transition: var(--transition);

    pointer-events: none;
}

.hero-project:hover .hero-project-image::after {
    opacity: 1;
}

/*==================================================
HERO PROJECT INFO
==================================================*/

.hero-project-info {
    padding-top: 1rem;
}

.hero-project-info span {
    display: block;

    color: var(--primary);

    font-size: 0.7rem;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 0.4rem;
}

.hero-project-info h3 {
    font-size: 1.25rem;

    margin-bottom: 0.25rem;

    transition: var(--transition);
}

.hero-project-info p {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
    word-break: break-word;

    margin: 0;
}

.hero-project:hover .hero-project-info h3 {
    color: var(--primary);
}

/*==================================================
VIEW ALL PROJECTS
==================================================*/

.hero-work-link {
    display: inline-flex;

    align-items: center;

    gap: 0.6rem;

    margin-top: 2rem;

    color: var(--primary);

    font-size: 0.95rem;

    font-weight: 600;

    transition: var(--transition);
}

.hero-work-link:hover {
    gap: 1rem;

    color: var(--primary-dark);
}

/*==================================================
FEATURED PROJECTS
==================================================*/

#work {
    overflow: hidden;
}

.project {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 5rem;

    align-items: center;

    margin-bottom: 10rem;

    position: relative;
}

.project:last-child {
    margin-bottom: 0;
}

.project.reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.project.reverse .project-image {
    order: 2;
}

.project.reverse .project-info {
    order: 1;
}

/*==================================================
PROJECT IMAGE
==================================================*/

.project-image {
    position: relative;

    overflow: hidden;

    border-radius: var(--radius);

    background: white;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}

.project-image img {
    width: 100%;

    display: block;

    transition: 1s ease;

    transform: scale(1);
}

.project:hover .project-image img {
    transform: scale(1.05);
}

.project-image::before {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(rgba(245, 247, 255, 0.7), transparent 35%);

    z-index: 2;

    pointer-events: none;
}

.project-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(135deg,
            rgba(59, 91, 255, 0.12),
            rgba(168, 85, 247, 0.05) 40%,
            transparent 65%);
    opacity: 0;

    transition: 0.6s;
}

.project:hover .project-image::after {
    opacity: 1;
}

/*==================================================
PROJECT CONTENT
==================================================*/

.project-info {
    max-width: 520px;
}

.project-info h3 {
    font-size: 2rem;

    margin-bottom: 1rem;
}

.project-info p {
    margin-bottom: 1.75rem;
}

.project-info span {
    display: inline-block;

    padding: 0.65rem 1rem;

    border-radius: 999px;

    background: white;

    border: 1px solid var(--border);

    color: var(--primary);

    font-size: 0.9rem;

    margin-bottom: 2rem;
}

.project-info a {
    display: inline-flex;

    align-items: center;

    gap: 0.6rem;

    color: var(--primary);

    font-weight: 600;

    transition: var(--transition);
}

.project-info a:hover {
    gap: 1rem;

    color: var(--primary-dark);
}

/*==================================================
PROJECT REVEAL MASK
==================================================*/

.project-image {
    clip-path: inset(0 0 100% 0);

    transition: clip-path 1.1s ease, transform 0.5s ease;
}

.project.visible .project-image {
    clip-path: inset(0);
}

.project-info {
    opacity: 0;

    transform: translateY(50px);

    transition: opacity 0.8s ease, transform 0.8s ease;

    transition-delay: 0.2s;
}

.project.visible .project-info {
    opacity: 1;

    transform: translateY(0);
}

/*==================================================
SUBTLE PARALLAX
==================================================*/

.project-image img {
    will-change: transform;
}

/*==================================================
DECORATIVE ACCENTS
==================================================*/

.project::before {
    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    background: radial-gradient(rgba(168, 85, 247, 0.14), transparent 70%);

    top: -60px;

    right: -60px;

    z-index: -1;
}

.project.reverse::before {
    right: auto;

    left: -60px;
}

.project::after {
    content: "";

    position: absolute;

    width: 80px;

    height: 2px;

    background: var(--primary);

    bottom: -3rem;

    left: 0;

    opacity: 0.25;
}

.project:last-child::after {
    display: none;
}

/*==================================================
PROCESS TIMELINE
==================================================*/

#process {
    position: relative;

    overflow: hidden;
}

.timeline {
    position: relative;

    max-width: 900px;

    margin: 0 auto;

    padding-left: 5rem;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 20px;

    top: 0;

    bottom: 0;

    width: 2px;

    background: linear-gradient(var(--primary), rgba(15, 118, 110, 0.15));
}

/*==================================================
TIMELINE ITEM
==================================================*/

.timeline-item {
    position: relative;

    padding: 0 0 5rem 3.5rem;

    opacity: 0;

    transform: translateY(50px);

    transition: opacity 0.8s ease, transform 0.8s ease;

    z-index: 0;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item.visible {
    opacity: 1;

    transform: translateY(0);
}

/*==================================================
TIMELINE DOT
==================================================*/

.timeline-item::before {
    content: "";

    position: absolute;

    left: -27px;

    top: 6px;

    width: 22px;

    height: 22px;

    border-radius: 50%;

    background: var(--bg);

    border: 3px solid var(--primary);

    transition: 0.4s ease;

    z-index: 2;
}

.timeline-item.visible::before {
    background: var(--primary);

    box-shadow: 0 0 0 8px rgba(15, 118, 110, 0.1);
}

/*==================================================
TIMELINE CARD
==================================================*/

.timeline-item::after {
    content: "";

    position: absolute;

    inset: 0;

    left: 2rem;

    border-radius: var(--radius);

    background: linear-gradient(135deg,
            rgba(59, 91, 255, 0.045),
            rgba(168, 85, 247, 0.025));

    /* border: 1px solid var(--border); */

    /* box-shadow: var(--shadow-sm); */

    z-index: -1;
}

.timeline-item {
    padding-top: 2rem;

    padding-right: 2rem;

    padding-left: 5rem;

    padding-bottom: 2rem;

    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/*==================================================
TIMELINE TYPOGRAPHY
==================================================*/

.timeline-item h3 {
    margin-bottom: 1rem;

    color: var(--text);

    font-size: 1.65rem;
}

.timeline-item p {
    max-width: 500px;

    color: var(--text-light);

    line-height: 1.8;
}

/*==================================================
TIMELINE HOVER
==================================================*/

.timeline-item:hover::before {
    transform: scale(1.15);
}

.timeline-item:hover::after {
    transform: translateY(-3px);

    transition: 0.35s ease;

    /* box-shadow: var(--shadow); */
}

/*==================================================
SECTION BACKGROUND ACCENTS
==================================================*/

#process::before {
    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    background: radial-gradient(rgba(15, 118, 110, 0.05), transparent 70%);

    top: -150px;

    right: -150px;
}

#process::after {
    content: "";

    position: absolute;

    width: 320px;

    height: 320px;

    border-radius: 50%;

    background: radial-gradient(rgba(123, 174, 154, 0.08), transparent 70%);

    bottom: -120px;

    left: -120px;
}

/*==================================================
WHY BUSINESSES HIRE ME
==================================================*/

.numbers {
    position: relative;

    overflow: hidden;
}

.stats {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 2rem;

    margin-top: 2rem;
}

.stats>div {
    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 3rem 2rem;

    text-align: center;

    transition: var(--transition);

    box-shadow: var(--shadow-sm);
}

.stats>div:hover {
    transform: translateY(-10px);

    box-shadow: var(--shadow);
}

.stats h3 {
    font-size: clamp(3rem, 6vw, 5rem);

    color: var(--primary);

    line-height: 1;

    margin-bottom: 1rem;

    font-weight: 700;
}

.stats p {
    font-size: 1rem;

    color: var(--text-light);
}

/*==================================================
ABOUT
==================================================*/

#about {
    position: relative;
}

.about-grid {
    display: grid;

    grid-template-columns: 360px 1fr;

    gap: 5rem;

    align-items: center;
}

.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;

    aspect-ratio: 1;

    object-fit: cover;

    border-radius: 50%;

    border: 10px solid white;

    box-shadow: var(--shadow);
}

.about-photo::before {
    content: "";

    position: absolute;

    inset: -20px;

    border-radius: 50%;

    border: 1px solid rgba(15, 118, 110, 0.15);
}

.about-grid h2 {
    margin-bottom: 2rem;
}

.about-grid p {
    max-width: 700px;

    margin-bottom: 1.5rem;
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/*==================================================
PRICE CALCULATOR
==================================================*/

.pricing-calculator {
    position: relative;

    padding: 8rem 0;

    overflow: hidden;
}

/*==================================================
SECTION INTRO
==================================================*/

.calculator-intro {
    max-width: 680px;

    margin-bottom: 4rem;
}

.calculator-intro h2 {
    margin: 0 0 1.25rem;
}

.calculator-intro>p:last-child {
    max-width: 600px;

    margin: 0;
}

/*==================================================
MAIN LAYOUT
==================================================*/

.calculator-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);

    align-items: start;

    gap: 4rem;
}

/*==================================================
LEFT SIDE
==================================================*/

.calculator-options {
    min-width: 0;
}

/*==================================================
CALCULATOR SECTION
==================================================*/

.calculator-section {
    margin-bottom: 4rem;
}

.calculator-section-heading {
    display: flex;

    align-items: flex-start;

    gap: 1rem;

    margin-bottom: 1.5rem;
}

.calculator-number {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    background: linear-gradient(135deg,
            rgba(59, 91, 255, 0.12),
            rgba(168, 85, 247, 0.12));

    border: 1px solid var(--border);

    border-radius: 12px;

    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.04em;
}

.calculator-label {
    margin: 0 0 0.35rem;

    color: var(--primary);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.12em;
}

.calculator-section-heading h3 {
    margin: 0;

    color: var(--text);

    font-size: clamp(1.5rem, 2vw, 2rem);
}

/*==================================================
CALCULATOR CARD
==================================================*/

.calculator-card {
    position: relative;

    margin-bottom: 1rem;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 1.75rem;

    transition: transform 0.25s ease, border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.calculator-card:hover {
    border-color: rgba(59, 91, 255, 0.35);

    transform: translateY(-2px);

    box-shadow: 0 18px 50px rgba(20, 30, 70, 0.07);
}

/*==================================================
CARD CONTENT
==================================================*/

.calculator-card-content {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 2rem;
}

.calculator-card h4 {
    margin: 0 0 0.6rem;

    color: var(--text);

    font-size: 1.15rem;

    font-weight: 650;
}

.calculator-card p {
    max-width: 520px;

    margin: 0;

    color: var(--text-light);

    line-height: 1.65;
}

/*==================================================
PRICE
==================================================*/

.calculator-price {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    flex-shrink: 0;
}

.calculator-price strong {
    color: var(--text);

    font-size: 1.35rem;

    font-weight: 700;

    letter-spacing: -0.03em;
}

.calculator-price span {
    margin-top: 0.15rem;

    color: var(--text-light);

    font-size: 0.8rem;

    white-space: nowrap;
}

/*==================================================
BASE WEBSITE CARD
==================================================*/

.base-website-card {
    background: linear-gradient(135deg,
            rgba(59, 91, 255, 0.06),
            rgba(168, 85, 247, 0.04)),
        var(--white);

    border-color: rgba(59, 91, 255, 0.2);
}

.included-label {
    display: inline-flex;

    align-items: center;

    margin-bottom: 0.8rem;

    padding: 0.35rem 0.65rem;

    background: rgba(59, 91, 255, 0.1);

    border-radius: 999px;

    color: var(--primary);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.08em;
}

/*==================================================
BASE PACKAGE DETAILS
==================================================*/

.base-package-details {
    display: flex;

    flex-wrap: wrap;

    gap: 0.6rem;

    margin-top: 1.75rem;

    padding-top: 1.5rem;

    border-top: 1px solid var(--border);
}

.base-package-details span {
    padding: 0.5rem 0.75rem;

    background: rgba(59, 91, 255, 0.05);

    border-radius: 999px;

    color: var(--text-light);

    font-size: 0.8rem;

    font-weight: 500;
}

/*==================================================
QUANTITY CONTROL
==================================================*/

.quantity-control {
    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    margin-top: 1.5rem;

    padding: 0.35rem;

    background: var(--bg);

    border: 1px solid var(--border);

    border-radius: 14px;
}

.quantity-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 10px;

    color: var(--text);

    font-family: inherit;

    font-size: 1.4rem;

    line-height: 1;

    cursor: pointer;

    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
        transform 0.2s ease;
}

.quantity-btn:hover {
    background: var(--primary);

    border-color: var(--primary);

    color: white;

    transform: scale(1.04);
}

.quantity-value {
    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 48px;

    color: var(--text);

    font-size: 1.05rem;

    font-weight: 700;
}

.quantity-note {
    margin-top: 0.85rem !important;

    font-size: 0.8rem;

    color: var(--text-light);
}

/*==================================================
CHECKBOX CARDS
==================================================*/

.checkbox-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 2rem;

    cursor: pointer;

    user-select: none;
}

.checkbox-card-content {
    display: flex;

    align-items: flex-start;

    gap: 1rem;
}

.custom-checkbox {
    position: relative;

    flex-shrink: 0;

    margin-top: 0.15rem;
}

.custom-checkbox input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.checkbox-ui {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    background: var(--white);

    border: 1.5px solid var(--border);

    border-radius: 7px;

    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.checkbox-ui::after {
    content: "";

    width: 9px;
    height: 5px;

    border-left: 2px solid white;
    border-bottom: 2px solid white;

    transform: rotate(-45deg) scale(0);

    transition: transform 0.2s ease;
}

.custom-checkbox input:checked+.checkbox-ui {
    background: var(--primary);

    border-color: var(--primary);
}

.custom-checkbox input:checked+.checkbox-ui::after {
    transform: rotate(-45deg) scale(1);
}

/* SELECTED CARD */

.checkbox-card:has(input:checked) {
    border-color: rgba(59, 91, 255, 0.45);

    background: linear-gradient(135deg,
            rgba(59, 91, 255, 0.06),
            rgba(168, 85, 247, 0.035));
}

/*==================================================
FEATURE PRICE
==================================================*/

.feature-price {
    flex-shrink: 0;

    color: var(--primary);

    font-size: 1.25rem;

    white-space: nowrap;
}

/*==================================================
ADDITIONAL PRODUCTS
Initially hidden
==================================================*/

.additional-products {
    display: none;

    margin-top: 1rem;
}

.additional-products.active {
    display: block;

    animation: revealProducts 0.35s ease;
}

@keyframes revealProducts {
    from {
        opacity: 0;

        transform: translateY(-10px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

/*==================================================
REVISION NOTE
==================================================*/

.calculator-note {
    padding: 1.25rem 1.5rem;

    background: rgba(59, 91, 255, 0.045);

    border-left: 3px solid var(--primary);

    border-radius: 0 12px 12px 0;
}

.calculator-note p {
    margin: 0;

    color: var(--text-light);

    font-size: 0.9rem;

    line-height: 1.65;
}

.calculator-note strong {
    color: var(--text);
}

/*==================================================
PRICE SUMMARY
==================================================*/

.price-summary {
    position: sticky;

    top: 2rem;

    align-self: start;
}

.price-summary-inner {
    position: relative;

    overflow: hidden;

    padding: 2rem;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 22px;

    box-shadow: 0 25px 70px rgba(20, 30, 70, 0.08);
}

.price-summary-inner::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(168, 85, 247, 0.1),
            rgba(59, 91, 255, 0.05) 45%,
            transparent 70%);

    top: -180px;
    right: -150px;

    pointer-events: none;
}

.price-summary-inner>* {
    position: relative;

    z-index: 1;
}

.price-summary h3 {
    margin: 0.5rem 0 2rem;

    color: var(--text);

    font-size: 1.5rem;
}

/*==================================================
SUMMARY ITEMS
==================================================*/

.summary-items {
    display: flex;

    flex-direction: column;

    gap: 1rem;
}

.summary-item {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 1rem;

    color: var(--text-light);

    font-size: 0.9rem;
}

.summary-item span {
    line-height: 1.5;
}

.summary-item strong {
    flex-shrink: 0;

    color: var(--text);

    font-weight: 650;
}

/*==================================================
TOTAL
==================================================*/

.summary-total {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 1rem;

    margin-top: 2rem;

    padding-top: 1.5rem;

    border-top: 1px solid var(--border);
}

.summary-total span {
    color: var(--text-light);

    font-size: 0.85rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}

.summary-total strong {
    color: var(--text);

    font-size: clamp(2rem, 4vw, 2.75rem);

    font-weight: 750;

    letter-spacing: -0.05em;

    line-height: 1;
}

/*==================================================
ESTIMATE BUTTON
==================================================*/

.estimate-button {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 0.75rem;

    width: 100%;

    margin-top: 2rem;

    border: none;

    cursor: pointer;

    font-family: inherit;
}

.estimate-button span {
    font-size: 1.25rem;

    transition: transform 0.25s ease;
}

.estimate-button:hover span {
    transform: translateX(4px);
}

/*==================================================
DISCLAIMER
==================================================*/

.estimate-disclaimer {
    margin: 1.25rem 0 0;

    color: var(--text-light);

    font-size: 0.78rem;

    line-height: 1.6;

    text-align: center;
}

/*==================================================
LARGE TABLET
==================================================*/

@media (max-width: 1000px) {
    .calculator-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);

        gap: 2.5rem;
    }

    .price-summary-inner {
        padding: 1.5rem;
    }
}

/*==================================================
TABLET
==================================================*/

@media (max-width: 850px) {
    .pricing-calculator {
        padding: 6rem 0;
    }

    .calculator-layout {
        grid-template-columns: 1fr;
    }

    .price-summary {
        position: static;

        width: 100%;
    }

    .price-summary-inner {
        max-width: 700px;
    }
}

/*==================================================
MOBILE
==================================================*/

@media (max-width: 768px) {
    .pricing-calculator {
        padding: 5rem 0;
    }

    .calculator-intro {
        margin-bottom: 3rem;
    }

    .calculator-section {
        margin-bottom: 3rem;
    }

    .calculator-card {
        padding: 1.4rem;
    }

    .calculator-card-content {
        gap: 1.25rem;
    }

    .base-package-details {
        gap: 0.5rem;
    }

    .base-package-details span {
        font-size: 0.75rem;
    }
}

/*==================================================
SMALL MOBILE
==================================================*/

@media (max-width: 560px) {
    .calculator-section-heading {
        gap: 0.75rem;
    }

    .calculator-number {
        width: 38px;
        height: 38px;

        border-radius: 10px;
    }

    .calculator-card {
        padding: 1.25rem;

        border-radius: 16px;
    }

    /* STACK CARD CONTENT */

    .calculator-card-content {
        flex-direction: column;

        gap: 1rem;
    }

    .calculator-price {
        align-items: flex-start;
    }

    /* CHECKBOX CARDS */

    .checkbox-card {
        align-items: flex-start;

        gap: 1rem;
    }

    .feature-price {
        margin-top: 0.2rem;

        font-size: 1.1rem;
    }

    .checkbox-card-content {
        gap: 0.8rem;
    }

    /* SUMMARY */

    .price-summary-inner {
        padding: 1.5rem;

        border-radius: 18px;
    }

    .summary-total {
        align-items: flex-start;

        flex-direction: column;

        gap: 0.6rem;
    }

    .summary-total strong {
        font-size: 2.5rem;
    }

    /* BUTTON */

    .estimate-button {
        min-height: 54px;
    }
}

/*==================================================
VERY SMALL PHONES
==================================================*/

@media (max-width: 380px) {
    .calculator-card {
        padding: 1rem;
    }

    .quantity-btn {
        width: 38px;
        height: 38px;
    }

    .quantity-value {
        min-width: 40px;
    }

    .feature-price {
        font-size: 1rem;
    }
}

/*==================================================
CONTACT FORM
==================================================*/

.contact {
    max-width: 900px;
}

.contact-intro {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 3.5rem;
}

.contact-intro h2 {
    margin-bottom: 1.5rem;
}

.contact-intro p {
    margin: 0 auto;
}

/*==================================================
FORM CONTAINER
==================================================*/

.contact-form {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 3rem;

    box-shadow: var(--shadow-sm);

    position: relative;

    overflow: hidden;
}

/* SUBTLE CREATIVE ACCENT */

.contact-form::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(168, 85, 247, 0.1),
            rgba(59, 91, 255, 0.04) 45%,
            transparent 70%);

    top: -180px;
    right: -150px;

    pointer-events: none;
}

/*==================================================
FORM LAYOUT
==================================================*/

.form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1.5rem;
}

.form-group {
    position: relative;

    margin-bottom: 1.5rem;

    z-index: 1;
}

/*==================================================
LABELS
==================================================*/

.form-group label {
    display: block;

    font-size: 0.9rem;

    font-weight: 600;

    color: var(--text);

    margin-bottom: 0.65rem;
}

.form-group label span {
    font-weight: 400;

    color: var(--text-light);

    margin-left: 0.25rem;
}

/*==================================================
INPUTS
==================================================*/

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    font-family: inherit;

    font-size: 1rem;

    color: var(--text);

    background: var(--bg);

    border: 1px solid var(--border);

    border-radius: 14px;

    padding: 1rem 1.1rem;

    outline: none;

    transition: border-color var(--transition), box-shadow var(--transition);
}

/* PLACEHOLDER */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #98a2b3;
}

/* TEXTAREA */

.form-group textarea {
    resize: vertical;

    min-height: 140px;

    line-height: 1.5;
}

/* SELECT */

.form-group select {
    cursor: pointer;
}

/*==================================================
INPUT FOCUS
==================================================*/

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);

    border-color: var(--primary);

    box-shadow: 0 0 0 4px rgba(59, 91, 255, 0.1),
        0 10px 30px rgba(59, 91, 255, 0.05);
}

/*==================================================
SUBMIT BUTTON
==================================================*/

.form-submit {
    width: 100%;

    border: none;

    cursor: pointer;

    font-family: inherit;

    font-size: 1rem;

    margin-top: 0.5rem;

    padding: 1.15rem 2rem;
}

/*==================================================
HONEYPOT SPAM PROTECTION
==================================================*/

.form-honeypot {
    position: absolute !important;

    left: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}

/*==================================================
TABLET
==================================================*/

@media (max-width: 900px) {
    #contact {
        padding: 6rem 0;
    }

    .contact {
        max-width: 100%;
    }

    .contact-form {
        padding: 2.5rem;
    }
}

/*==================================================
MOBILE
==================================================*/

@media (max-width: 768px) {
    #contact {
        padding: 5rem 0;
    }

    .contact-intro {
        margin-bottom: 2.5rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;

        border-radius: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .contact-form::before {
        width: 300px;
        height: 300px;

        top: -150px;
        right: -170px;
    }
}

/*==================================================
SMALL PHONES
==================================================*/

@media (max-width: 480px) {
    #contact {
        padding: 4rem 0;
    }

    .contact-intro {
        margin-bottom: 2rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;

        border-radius: 16px;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;

        padding: 0.9rem 1rem;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .form-submit {
        padding: 1rem 1.25rem;

        font-size: 0.95rem;
    }
}

/*==================================================
CONTACT ESTIMATE
==================================================*/
.contact-estimate.active {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    line-height: 2;
    background: var(--bg);
}

.contact-estimate {
    display: none;
}

.contact-estimate.active {
    display: block;
}

/*==================================================
THANK YOU MODAL
==================================================*/

.thank-you-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 1.5rem;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ACTIVE STATE */

.thank-you-modal.active {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}

/*==================================================
BACKGROUND OVERLAY
==================================================*/

.thank-you-overlay {
    position: absolute;

    inset: 0;

    background: rgba(11, 16, 32, 0.55);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);
}

/*==================================================
POPUP BOX
==================================================*/

.thank-you-box {
    position: relative;

    z-index: 1;

    width: 100%;
    max-width: 520px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: calc(var(--radius) + 6px);

    padding: 3.5rem 3rem 3rem;

    box-shadow: 0 30px 80px rgba(11, 16, 32, 0.25);

    transform: translateY(25px) scale(0.97);

    opacity: 0;

    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;

    overflow: hidden;
}

/* SHOW POPUP */

.thank-you-modal.active .thank-you-box {
    transform: translateY(0) scale(1);

    opacity: 1;
}

/*==================================================
CREATIVE BLUE / VIOLET GLOW
==================================================*/

.thank-you-box::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(168, 85, 247, 0.14),
            rgba(59, 91, 255, 0.07) 45%,
            transparent 70%);

    top: -220px;
    right: -170px;

    pointer-events: none;
}

/*==================================================
CLOSE BUTTON
==================================================*/

.thank-you-close {
    position: absolute;

    z-index: 2;

    top: 1rem;
    right: 1rem;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--bg);

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--text);

    font-family: inherit;

    font-size: 1.5rem;

    line-height: 1;

    cursor: pointer;

    transition: 0.25s ease;
}

.thank-you-close:hover {
    color: var(--primary);

    border-color: var(--primary);

    transform: rotate(90deg);
}

/*==================================================
SUCCESS ICON
==================================================*/

.thank-you-icon {
    position: relative;

    z-index: 1;

    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 1.75rem;

    background: linear-gradient(135deg, var(--primary), #a855f7);

    border-radius: 50%;

    color: white;

    font-size: 2rem;

    font-weight: 700;

    box-shadow: 0 12px 30px rgba(59, 91, 255, 0.25);
}

/*==================================================
CONTENT
==================================================*/

.thank-you-box .small-title {
    position: relative;

    z-index: 1;

    margin-bottom: 0.75rem;
}

.thank-you-box h2 {
    position: relative;

    z-index: 1;

    margin-bottom: 1rem;
}

.thank-you-box p:not(.small-title) {
    position: relative;

    z-index: 1;

    max-width: 400px;

    margin: 0 auto 2rem;
}

/*==================================================
POPUP BUTTON
==================================================*/

.thank-you-button {
    position: relative;

    z-index: 1;

    border: none;

    cursor: pointer;

    font-family: inherit;
}

/*==================================================
MOBILE
==================================================*/

@media (max-width: 600px) {
    .thank-you-modal {
        padding: 1rem;
    }

    .thank-you-box {
        padding: 3rem 1.5rem 2rem;
    }

    .thank-you-icon {
        width: 62px;
        height: 62px;

        font-size: 1.7rem;

        margin-bottom: 1.5rem;
    }

    .thank-you-close {
        top: 0.75rem;
        right: 0.75rem;
    }
}

/*==================================================
FOOTER
==================================================*/

footer {
    padding: 3rem 0;

    border-top: 1px solid var(--border);

    background: white;
}

.footer {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 2rem;

    flex-wrap: wrap;
}

.footer-heading {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer h3 {
    margin-bottom: 0.4rem;
}

.footer p {
    margin: 0;
}

.footer div:last-child {
    display: flex;

    gap: 2rem;
}

.footer a {
    color: var(--text-light);

    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary);
}



/*==================================================
SECTION DIVIDERS
==================================================*/

section::after {
    content: "";

    position: absolute;

    left: 50%;

    bottom: 0;

    transform: translateX(-50%);

    width: min(90%, 1100px);

    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            rgba(15, 118, 110, 0.12),
            transparent);
}

footer::after {
    display: none;
}

/*==================================================
SCROLL REVEAL
==================================================*/

.reveal {
    opacity: 0;

    transform: translateY(60px);

    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}

.visible {
    opacity: 1 !important;

    transform: none !important;
}

/*==================================================
ACTIVE NAVIGATION
==================================================*/

nav a.active {
    color: var(--primary);
}

nav a.active::after {
    width: 100%;
}

/*==================================================
RIPPLE EFFECT
==================================================*/

.btn-primary,
.btn-secondary {
    position: relative;

    overflow: hidden;
}

.ripple {
    position: absolute;

    border-radius: 50%;

    transform: scale(0);

    background: rgba(255, 255, 255, 0.45);

    animation: ripple 0.6s linear;

    pointer-events: none;
}

/*==================================================
KEYFRAMES
==================================================*/

@keyframes fadeUp {
    from {
        opacity: 0;

        transform: translateY(40px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

@keyframes imageReveal {
    from {
        opacity: 0;

        transform: translateX(60px);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    from {
        top: -100%;
    }

    to {
        top: 100%;
    }
}

@keyframes ripple {
    to {
        transform: scale(4);

        opacity: 0;
    }
}

/*==================================================
TABLET
==================================================*/

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;

        gap: 4rem;
    }

    .hero-image {
        max-width: 700px;

        margin-inline: auto;
    }

    .project,
    .project.reverse {
        grid-template-columns: 1fr;

        gap: 3rem;
    }

    .project.reverse .project-image,
    .project.reverse .project-info {
        order: initial;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-photo {
        max-width: 340px;

        margin-inline: auto;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        padding-left: 3rem;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-item::before {
        left: -35px;
    }
}

/*==================================================
MOBILE
==================================================*/

@media (max-width: 900px) {
    html {
        font-size: 15px;
    }

    .container {
        width: min(100% - 4rem, var(--container));
    }

    section {
        padding: 6rem 0;
    }

    .nav-container {
        min-height: 74px;
    }

    nav {
        display: none;
    }

    .hero {
        min-height: auto;

        padding-top: 7rem;

        padding-bottom: 5rem;
    }

    .hero-grid {
        gap: 3.5rem;
    }

    .hero-project-grid {
        grid-template-columns: 1fr 1fr;

        gap: 1rem;
    }

    .hero-project-image {
        aspect-ratio: 4 / 5;
    }

    .hero-project-info h3 {
        font-size: 1.05rem;
    }

    .hero-project-info p {
        font-size: 0.8rem;
    }

    .hero-work-link {
        margin-top: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-buttons a {
        width: 100%;
    }

    .project {
        margin-bottom: 6rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item {
        padding-left: 3rem;

        padding-right: 1.5rem;
    }

    .timeline-item::before {
        left: -18px;

        width: 18px;

        height: 18px;
    }

    .timeline-item::after {
        left: 1rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
    }

    .contact-links a {
        width: 100%;
    }

    .footer {
        flex-direction: column;

        text-align: center;
    }

    .footer div:last-child {
        justify-content: center;
    }

    .footer-heading {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

}

/*==================================================
SMALL PHONES
==================================================*/

@media (max-width: 480px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-placeholder {
        aspect-ratio: 4/5;
    }

    .project-info h3 {
        font-size: 1.7rem;
    }

    .stats h3 {
        font-size: 3rem;
    }

    .about-photo {
        max-width: 260px;
    }

    .nav-contact {
        gap: 0.5rem;
    }

    a.logo {
        font-size: 0.9rem;
    }

    .nav-phone {
        font-size: 1rem;
    }
}

/*==================================================
PERFORMANCE
==================================================*/

img {
    user-select: none;

    -webkit-user-drag: none;
}

::selection {
    background: var(--primary);

    color: #fff;
}

body {
    text-rendering: optimizeLegibility;
}

html:focus-within {
    scroll-behavior: smooth;
}

/*==================================================
LANDING PAGE SPECIAL OFFER POPUP
==================================================*/

.offer-popup {
    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 1.5rem;

    z-index: 9999;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


/* ACTIVE STATE */

.offer-popup.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/*==================================================
OVERLAY
==================================================*/

.offer-popup-overlay {
    position: absolute;

    inset: 0;

    background: rgba(20, 25, 35, 0.65);

    backdrop-filter: blur(8px);
}


/*==================================================
POPUP CARD
==================================================*/

.offer-popup-card {
    position: relative;

    width: 100%;

    max-width: 620px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 3.5rem;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 249, 252, 0.96));

    border: 1px solid rgba(15, 118, 110, 0.15);

    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25),
        0 0 60px rgba(15, 118, 110, 0.12);

    transform: translateY(20px) scale(0.98);

    transition:
        transform 0.4s ease;
}


/* POPUP ENTRANCE */

.offer-popup.active .offer-popup-card {
    transform: translateY(0) scale(1);
}


/*==================================================
SUBTLE BACKGROUND GLOW
==================================================*/

.offer-popup-card::before {
    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    top: -250px;

    right: -200px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(15, 118, 110, 0.16),
            transparent 70%);

    pointer-events: none;
}


/*==================================================
BACKGROUND FAVICON
==================================================*/

.offer-popup-bg-icon {
    position: absolute;

    width: 300px;

    height: 300px;

    right: -90px;

    bottom: -160px;

    object-fit: contain;

    /* opacity: 0.035; */
    opacity: 0.15;

    pointer-events: none;

    user-select: none;
}


/*==================================================
CONTENT
==================================================*/

.offer-popup-content {
    position: relative;

    z-index: 2;

    text-align: center;
}


/*==================================================
CLOSE BUTTON
==================================================*/

.offer-popup-close {
    position: absolute;

    top: 1.25rem;

    right: 1.25rem;

    width: 40px;

    height: 40px;

    display: grid;

    place-items: center;

    border: none;

    border-radius: 50%;

    background: rgba(15, 118, 110, 0.08);

    color: var(--text);

    font-size: 1.6rem;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;

    z-index: 5;
}


.offer-popup-close:hover {
    background: rgba(15, 118, 110, 0.15);

    transform: rotate(90deg);
}


/*==================================================
EYEBROW
==================================================*/

.offer-eyebrow {
    margin-bottom: 1rem;

    color: var(--primary);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.14em;
}


/*==================================================
TITLE
==================================================*/

.offer-popup h2 {
    max-width: 540px;

    margin:
        0 auto 1.25rem;

    font-size: clamp(2rem, 5vw, 3.4rem);

    line-height: 1.05;

    letter-spacing: -0.045em;
}


.offer-popup h2 span {
    display: block;

    margin-top: 0.25rem;

    color: var(--primary);
}


/*==================================================
INTRO TEXT
==================================================*/

.offer-intro {
    max-width: 500px;

    margin:
        0 auto 2rem;

    color: var(--text-light);

    font-size: 1.05rem;

    line-height: 1.7;
}


/*==================================================
INCLUDED FEATURES
==================================================*/

.offer-includes {
    max-width: 460px;

    margin:
        0 auto 2rem;

    padding: 1.5rem;

    text-align: left;

    background: rgba(255, 255, 255, 0.55);

    border: 1px solid var(--border);

    border-radius: 16px;
}


.offer-includes-title {
    margin-bottom: 1rem;

    color: var(--text);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.1em;
}


.offer-includes ul {
    display: grid;

    gap: 0.75rem;

    margin: 0;

    padding: 0;

    list-style: none;
}


.offer-includes li {
    display: flex;

    align-items: center;

    gap: 0.75rem;

    color: var(--text-light);

    font-size: 0.95rem;
}


/* CHECK ICON */

.offer-check {
    display: grid;

    place-items: center;

    width: 22px;

    height: 22px;

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(15, 118, 110, 0.1);

    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 700;
}


/*==================================================
CTA
==================================================*/

.offer-popup-cta {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 0.75rem;

    width: 100%;

    max-width: 460px;

    padding: 1rem 1.5rem;

    font-size: 1rem;
}


.offer-popup-cta span {
    transition: transform 0.25s ease;
}


.offer-popup-cta:hover span {
    transform: translateX(5px);
}


/*==================================================
DISMISS BUTTON
==================================================*/

.offer-popup-dismiss {
    display: block;

    margin:
        1rem auto 0;

    padding: 0.5rem;

    border: none;

    background: transparent;

    color: var(--text-light);

    font: inherit;

    font-size: 0.9rem;

    cursor: pointer;

    transition: color 0.2s ease;
}


.offer-popup-dismiss:hover {
    color: var(--primary);
}


/*==================================================
SMALL NOTE
==================================================*/

.offer-popup-note {
    margin-top: 1.5rem;

    color: var(--text-light);

    font-size: 0.8rem;
}


.offer-popup-note a {
    color: var(--primary);

    text-decoration: none;

    font-weight: 600;
}


.offer-popup-note a:hover {
    text-decoration: underline;
}


/*==================================================
MOBILE
==================================================*/

@media (max-width: 600px) {

    .offer-popup {
        align-items: flex-start;

        overflow-y: auto;

        padding: 1rem;
    }


    .offer-popup-card {
        margin: auto 0;

        max-height: none;

        padding:
            3.5rem 1.5rem 2rem;

        border-radius: 20px;
    }


    .offer-popup-bg-icon {
        width: 240px;

        height: 240px;

        right: -70px;

        bottom: -80px;
    }


    .offer-popup h2 {
        font-size: 2.2rem;
    }


    .offer-intro {
        font-size: 0.98rem;

        line-height: 1.6;
    }


    .offer-includes {
        padding: 1.25rem;
    }


    .offer-includes li {
        align-items: flex-start;

        font-size: 0.9rem;

        line-height: 1.4;
    }

}


/*==================================================
HERO SPECIAL OFFER
==================================================*/

.hero-special-offer {
    display: flex;

    align-items: center;

    width: 100%;

    max-width: 460px;

    margin: 1.5rem auto 0;

    padding: 0.85rem 1rem;

    border: 1px solid rgba(15, 118, 110, 0.18);

    border-radius: 14px;

    background:
        linear-gradient(135deg,
            rgba(15, 118, 110, 0.06),
            rgba(255, 255, 255, 0.8));

    box-shadow:
        0 8px 30px rgba(15, 118, 110, 0.06);

    font: inherit;

    text-align: left;

    color: var(--text);

    cursor: pointer;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* HOVER */

.hero-special-offer:hover {
    transform: translateY(-3px);

    border-color: var(--primary);

    box-shadow:
        0 14px 35px rgba(15, 118, 110, 0.14);
}


/*==================================================
ICON
==================================================*/

.hero-offer-icon {
    display: grid;

    place-items: center;

    width: 38px;

    height: 38px;

    flex-shrink: 0;

    margin-right: 0.85rem;

    border-radius: 50%;

    background: rgba(15, 118, 110, 0.1);

    color: var(--primary);

    font-size: 1rem;
}


/*==================================================
TEXT
==================================================*/

.hero-offer-text {
    display: flex;

    flex-direction: column;

    gap: 0.15rem;

    flex: 1;
}


.hero-offer-label {
    color: var(--primary);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 0.12em;
}


.hero-offer-title {
    font-size: 0.95rem;

    font-weight: 600;

    line-height: 1.2;
}


/*==================================================
PRICE
==================================================*/

.hero-offer-price {
    margin-left: 1rem;

    color: var(--primary);

    font-size: 1.35rem;

    font-weight: 700;

    letter-spacing: -0.03em;
}


/*==================================================
ARROW
==================================================*/

.hero-offer-arrow {
    margin-left: 0.75rem;

    color: var(--text-light);

    font-size: 1.2rem;

    transition: transform 0.25s ease;
}


.hero-special-offer:hover .hero-offer-arrow {
    transform: translateX(4px);
}


/*==================================================
MOBILE
==================================================*/

@media (max-width: 600px) {

    .hero-special-offer {
        max-width: 100%;

        padding: 0.8rem 0.9rem;
    }

    .hero-offer-icon {
        width: 34px;

        height: 34px;

        margin-right: 0.7rem;
    }

    .hero-offer-price {
        margin-left: 0.5rem;

        font-size: 1.15rem;
    }

    .hero-offer-arrow {
        margin-left: 0.5rem;
    }

}