/*
Theme Name: EVCalc
Theme URI: https://evcalc.online/
Author: EVCalc
Author URI: https://evcalc.online/
Description: Lightweight custom WordPress theme for EVCalc.online
Version: 1.0.0
Text Domain: evcalc
*/


/* =========================================================
   DESIGN SYSTEM
========================================================= */

:root {

    --color-bg: #F4F6F1;
    --color-bg-soft: #EAF0E9;
    --color-white: #FFFFFF;

    --color-text: #17241B;
    --color-text-secondary: #657168;
    --color-text-muted: #8A948D;

    --color-green: #91BE9A;
    --color-green-dark: #193A29;
    --color-green-deep: #10291C;
    --color-green-light: #E3EEE5;
    --color-green-pale: #F0F5F0;

    --color-border: #DDE4DE;
    --color-border-dark: #CBD5CD;

    --color-success: #3E8653;
    --color-danger: #C45B5B;

    --shadow-soft:
        0 10px 35px rgba(23, 36, 27, 0.055);

    --shadow-card:
        0 18px 60px rgba(23, 36, 27, 0.075);

    --shadow-card-hover:
        0 24px 70px rgba(23, 36, 27, 0.10);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;

    --container-width: 1240px;
    --container-padding: 24px;

    --font-main:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

::selection {
    background: var(--color-green);
    color: var(--color-green-dark);
}


/* =========================================================
   BASE
========================================================= */

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

p {
    margin-top: 0;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 100;

    width: 100%;
    padding: 24px 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 48px;
}


/* Logo */

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--color-text);

    font-size: 21px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.05em;
}

.site-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 12px;

    background: var(--color-green);
    color: var(--color-green-dark);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: -0.04em;
}

.site-logo__text {
    display: inline-block;
}


/* Navigation */

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

.site-nav a {
    position: relative;

    color: var(--color-text-secondary);

    font-size: 14px;
    font-weight: 500;

    transition:
        color 0.2s ease;
}

.site-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;

    height: 1px;

    background: var(--color-green-dark);

    transform: scaleX(0);
    transform-origin: center;

    transition:
        transform 0.2s ease;
}

.site-nav a:hover {
    color: var(--color-text);
}

.site-nav a:hover::after {
    transform: scaleX(1);
}


/* WordPress menu */

.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 34px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-nav__menu li {
    margin: 0;
    padding: 0;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    padding: 84px 0 64px;

    overflow: hidden;
}


/*
 * Very subtle decorative background.
 */

.hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    top: -270px;
    right: -150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(145, 190, 154, 0.16) 0%,
            rgba(145, 190, 154, 0) 70%
        );

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -230px;
    bottom: -250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(145, 190, 154, 0.10) 0%,
            rgba(145, 190, 154, 0) 70%
        );

    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;

    max-width: 900px;
    margin: 0 auto;

    text-align: center;
}


/* Eyebrow */

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 6px 15px;

    margin-bottom: 25px;

    border: 1px solid var(--color-border);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.72);

    color: var(--color-green-dark);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.02em;

    box-shadow:
        0 4px 16px rgba(23, 36, 27, 0.025);
}


/* Main title */

.hero__title {
    max-width: 900px;

    margin: 0 auto 24px;

    color: var(--color-text);

    font-size: clamp(48px, 6vw, 78px);
    font-weight: 600;

    line-height: 0.99;

    letter-spacing: -0.065em;
}


/* Description */

.hero__description {
    max-width: 690px;

    margin: 0 auto;

    color: var(--color-text-secondary);

    font-size: 18px;
    line-height: 1.65;
}


/* =========================================================
   CALCULATOR SECTION
========================================================= */

.calculator-section {
    position: relative;

    padding: 12px 0 105px;
}


/* =========================================================
   CALCULATOR CONTAINER
========================================================= */

.calculator {
    position: relative;

    width: 100%;

    overflow: hidden;

    border: 1px solid rgba(203, 213, 205, 0.85);
    border-radius: var(--radius-xl);

    background: var(--color-white);

    box-shadow: var(--shadow-card);
}


/*
 * Small top accent.
 */

.calculator::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 90px;
    height: 3px;

    transform: translateX(-50%);

    border-radius: 0 0 5px 5px;

    background: var(--color-green);
}


/* Calculator header */

.calculator__header {
    padding: 42px 46px 0;

    text-align: center;
}

.calculator__title {
    margin-bottom: 9px;

    font-size: 30px;
    font-weight: 600;

    letter-spacing: -0.045em;
}

.calculator__subtitle {
    max-width: 620px;

    margin: 0 auto;

    color: var(--color-text-secondary);

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   CALCULATOR BODY
========================================================= */

.calculator__body {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 1px;

    margin-top: 34px;

    background: var(--color-border);
}


/* =========================================================
   CALCULATOR CARD
========================================================= */

.calculator-card {
    padding: 40px 46px;

    background: var(--color-white);
}

.calculator-card__header {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 31px;
}

.calculator-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    border-radius: 15px;

    background: var(--color-green-light);

    font-size: 21px;

    box-shadow:
        inset 0 0 0 1px rgba(145, 190, 154, 0.10);
}

.calculator-card__title {
    margin: 0 0 2px;

    font-size: 20px;
    font-weight: 600;

    letter-spacing: -0.035em;
}

.calculator-card__description {
    margin: 0;

    color: var(--color-text-muted);

    font-size: 12px;
}


/* =========================================================
   FORM
========================================================= */

.form-field {
    margin-bottom: 21px;
}

.form-field:last-child {
    margin-bottom: 0;
}

.form-field__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 8px;

    color: var(--color-text);

    font-size: 13px;
    font-weight: 500;
}

.form-field__unit {
    flex-shrink: 0;

    color: var(--color-text-muted);

    font-size: 11px;
    font-weight: 400;
}


/* Input */

.form-input {
    display: block;

    width: 100%;
    height: 55px;

    padding: 0 17px;

    border: 1px solid var(--color-border);
    border-radius: 13px;

    outline: none;

    background: var(--color-bg);

    color: var(--color-text);

    font-size: 16px;
    font-weight: 500;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-input:hover {
    border-color: var(--color-border-dark);
}

.form-input:focus {
    border-color: var(--color-green);

    background: var(--color-white);

    box-shadow:
        0 0 0 4px rgba(145, 190, 154, 0.15);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}


/* =========================================================
   RESULT
========================================================= */

.calculator__result {
    padding: 46px;

    background:
        linear-gradient(
            135deg,
            var(--color-green-dark) 0%,
            var(--color-green-deep) 100%
        );

    color: var(--color-white);
}

.result {
    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 38px;
}

.result__side {
    text-align: center;
}

.result__label {
    margin-bottom: 9px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 12px;
    font-weight: 500;

    letter-spacing: 0.01em;
}

.result__value {
    margin-bottom: 5px;

    color: var(--color-white);

    font-size: 34px;
    font-weight: 600;

    line-height: 1;

    letter-spacing: -0.045em;

    white-space: nowrap;
}

.result__description {
    margin: 0;

    color: rgba(255, 255, 255, 0.42);

    font-size: 11px;
}

.result__divider {
    width: 1px;
    height: 64px;

    background: rgba(255, 255, 255, 0.13);
}


/* Main saving */

.result__saving {
    margin-top: 39px;
    padding-top: 32px;

    border-top: 1px solid rgba(255, 255, 255, 0.11);

    text-align: center;
}

.result__saving-label {
    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;
}

.result__saving-value {
    margin-bottom: 8px;

    color: var(--color-green);

    font-size: clamp(48px, 5vw, 68px);
    font-weight: 600;

    line-height: 0.95;

    letter-spacing: -0.065em;

    white-space: nowrap;
}

.result__saving-percent {
    margin: 0;

    color: rgba(255, 255, 255, 0.58);

    font-size: 13px;
}


/* =========================================================
   SAVING PERIOD
========================================================= */

.saving-period {
    padding: 34px 46px 40px;

    background: var(--color-bg);

    border-top: 1px solid var(--color-border);
}

.saving-period__title {
    margin-bottom: 18px;

    text-align: center;

    font-size: 17px;
    font-weight: 600;
}

.saving-period__tabs {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;
}

.saving-period__tab {
    min-height: 40px;

    padding: 7px 17px;

    border: 1px solid var(--color-border);
    border-radius: 999px;

    background: var(--color-white);

    color: var(--color-text-secondary);

    font-size: 12px;
    font-weight: 500;

    transition:
        transform 0.18s ease,
        color 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.saving-period__tab:hover {
    border-color: var(--color-green);

    color: var(--color-text);

    transform: translateY(-1px);
}

.saving-period__tab.is-active {
    border-color: var(--color-green);

    background: var(--color-green);

    color: var(--color-green-dark);

    box-shadow:
        0 5px 16px rgba(145, 190, 154, 0.20);
}

.saving-period__tab:focus-visible {
    outline: none;

    border-color: var(--color-green-dark);

    box-shadow:
        0 0 0 4px rgba(145, 190, 154, 0.20);
}

.saving-period__result {
    margin-top: 20px;

    text-align: center;
}

.saving-period__amount {
    margin-bottom: 2px;

    color: var(--color-text);

    font-size: 28px;
    font-weight: 600;

    line-height: 1.1;

    letter-spacing: -0.04em;
}

.saving-period__description {
    margin: 0;

    color: var(--color-text-muted);

    font-size: 11px;
}


/* =========================================================
   CONTENT / SEO
========================================================= */

.content-section {
    padding: 110px 0;
}

.content-section--white {
    background: var(--color-white);
}

.content {
    max-width: 820px;
    margin: 0 auto;
}

.content h2 {
    margin-bottom: 25px;

    font-size: 38px;

    letter-spacing: -0.05em;
}

.content h3 {
    margin-top: 46px;
    margin-bottom: 15px;

    font-size: 24px;
}

.content p {
    margin-bottom: 19px;

    color: var(--color-text-secondary);

    font-size: 16px;
    line-height: 1.8;
}

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


/* =========================================================
   FAQ
========================================================= */

.faq {
    max-width: 820px;
    margin: 0 auto;
}

.faq__title {
    margin-bottom: 38px;

    text-align: center;

    font-size: 38px;
}

.faq-item {
    border-top: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
    position: relative;

    padding: 23px 48px 23px 0;

    cursor: pointer;

    list-style: none;

    color: var(--color-text);

    font-size: 15px;
    font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";

    position: absolute;

    top: 17px;
    right: 2px;

    color: var(--color-text-muted);

    font-size: 22px;
    font-weight: 300;

    transition:
        transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item__content {
    max-width: 720px;

    padding: 0 48px 24px 0;

    color: var(--color-text-secondary);

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 36px 0;

    border-top: 1px solid var(--color-border);

    background: var(--color-bg);
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.site-footer__copyright {
    margin: 0;

    color: var(--color-text-muted);

    font-size: 11px;
}

.site-footer__links {
    display: flex;
    align-items: center;

    gap: 22px;
}

.site-footer__links a {
    color: var(--color-text-secondary);

    font-size: 11px;

    transition:
        color 0.2s ease;
}

.site-footer__links a:hover {
    color: var(--color-text);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .hero {
        padding-top: 58px;
    }

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

    .result {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .result__divider {
        width: 100%;
        height: 1px;
    }

    .calculator-card,
    .calculator__header,
    .calculator__result,
    .saving-period {
        padding-right: 28px;
        padding-left: 28px;
    }

}


@media (max-width: 600px) {

    :root {
        --container-padding: 16px;
    }


    /* Header */

    .site-header {
        padding: 17px 0;
    }

    .site-logo {
        font-size: 19px;
    }

    .site-logo__mark {
        width: 34px;
        height: 34px;

        border-radius: 10px;
    }

    .site-nav {
        display: none;
    }


    /* Hero */

    .hero {
        padding: 45px 0 38px;
    }

    .hero__eyebrow {
        margin-bottom: 20px;

        font-size: 11px;
    }

    .hero__title {
        font-size: 42px;

        letter-spacing: -0.06em;
    }

    .hero__description {
        font-size: 15px;
        line-height: 1.65;
    }


    /* Calculator */

    .calculator-section {
        padding-bottom: 70px;
    }

    .calculator {
        border-radius: 24px;
    }

    .calculator__header {
        padding-top: 32px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .calculator__title {
        font-size: 25px;
    }

    .calculator__subtitle {
        font-size: 13px;
    }

    .calculator-card {
        padding: 29px 22px;
    }

    .calculator-card__header {
        margin-bottom: 25px;
    }

    .calculator-card__icon {
        width: 43px;
        height: 43px;

        flex-basis: 43px;

        border-radius: 13px;
    }

    .calculator-card__title {
        font-size: 19px;
    }

    .calculator__result {
        padding: 34px 22px;
    }

    .result__value {
        font-size: 28px;
    }

    .result__saving {
        margin-top: 32px;
        padding-top: 27px;
    }

    .result__saving-value {
        font-size: 46px;
    }

    .saving-period {
        padding: 27px 22px 30px;
    }

    .saving-period__tabs {
        justify-content: flex-start;
    }

    .saving-period__tab {
        flex: 1 1 calc(33.333% - 7px);

        min-width: 0;

        padding-right: 10px;
        padding-left: 10px;
    }


    /* Content */

    .content-section {
        padding: 70px 0;
    }

    .content h2,
    .faq__title {
        font-size: 30px;
    }

    .content h3 {
        font-size: 22px;
    }

    .content p {
        font-size: 15px;
        line-height: 1.75;
    }


    /* Footer */

    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

}



/* =========================================================
   MOBILE UX — EVCalc
========================================================= */

@media (max-width: 600px) {

    body {
        overflow-x: hidden;
    }


    /* -----------------------------------------------------
       HEADER
    ----------------------------------------------------- */

    .site-header__inner {
        min-height: 42px;
    }

    .site-logo {
        gap: 9px;

        font-size: 20px;
    }

    .site-logo__mark {
        width: 35px;
        height: 35px;

        border-radius: 11px;

        font-size: 11px;
    }


    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .hero {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .hero__content {
        padding: 0 5px;
    }

    .hero__title {
        max-width: 390px;

        font-size: clamp(38px, 11vw, 48px);

        line-height: 0.99;
    }

    .hero__description {
        max-width: 360px;

        font-size: 14px;
    }


    /* -----------------------------------------------------
       CALCULATOR
    ----------------------------------------------------- */

    .calculator-section {
        padding-top: 0;
    }

    .calculator {
        border-radius: 22px;

        box-shadow:
            0 12px 38px rgba(23, 36, 27, 0.075);
    }


    .calculator__header {
        padding-top: 29px;
    }

    .calculator__title {
        font-size: 24px;
    }

    .calculator__subtitle {
        max-width: 320px;
    }


    /* -----------------------------------------------------
       CARDS
    ----------------------------------------------------- */

    .calculator-card {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .calculator-card__header {
        margin-bottom: 22px;
    }


    .form-field {
        margin-bottom: 17px;
    }

    .form-field__label {
        font-size: 12px;
    }

    .form-input {
        height: 53px;

        padding-right: 15px;
        padding-left: 15px;

        border-radius: 12px;

        font-size: 16px;
    }


    /* -----------------------------------------------------
       CALCULATED CONSUMPTION
    ----------------------------------------------------- */

    .calculated-consumption {
        margin-top: 21px;

        padding: 13px 14px;

        border-radius: 12px;
    }


    /* -----------------------------------------------------
       RESULT
    ----------------------------------------------------- */

    .calculator__result {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .result {
        gap: 20px;
    }

    .result__label {
        font-size: 11px;
    }

    .result__value {
        font-size: 27px;
    }

    .result__description {
        font-size: 10px;
    }


    .result__saving {
        margin-top: 27px;
        padding-top: 24px;
    }

    .result__saving-label {
        font-size: 11px;
    }

    .result__saving-value {
        margin-bottom: 9px;

        font-size: clamp(42px, 12vw, 52px);
    }

    .result__saving-percent {
        font-size: 11px;
    }


    /* -----------------------------------------------------
       RESULT BARS
    ----------------------------------------------------- */

    .result-bars {
        margin-top: 25px;
        padding-top: 23px;
    }

    .result-bar {
        margin-bottom: 14px;
    }

    .result-bar__top {
        margin-bottom: 6px;

        font-size: 9px;
    }

    .result-bar__top strong {
        font-size: 10px;
    }

    .result-bar__track {
        height: 6px;
    }


    /* -----------------------------------------------------
       DISTANCE
    ----------------------------------------------------- */

    .saving-period {
        padding-top: 25px;
        padding-bottom: 27px;
    }

    .saving-period__title {
        margin-bottom: 15px;

        font-size: 15px;
    }

    .saving-period__tabs {
        gap: 6px;
    }

    .saving-period__tab {
        flex: 1 1 calc(33.333% - 6px);

        min-height: 38px;

        padding: 6px 5px;

        font-size: 10px;
    }

    .saving-period__amount {
        font-size: 25px;
    }


    /* -----------------------------------------------------
       CONTENT
    ----------------------------------------------------- */

    .content-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .content {
        padding: 0 3px;
    }

    .content h2,
    .faq__title {
        font-size: 28px;

        line-height: 1.08;
    }

    .content h3 {
        margin-top: 38px;

        font-size: 20px;
    }

    .content p {
        font-size: 14px;
        line-height: 1.75;
    }


    /* -----------------------------------------------------
       FAQ
    ----------------------------------------------------- */

    .faq {
        padding: 0 3px;
    }

    .faq__title {
        margin-bottom: 25px;
    }

    .faq-item summary {
        padding-top: 19px;
        padding-bottom: 19px;

        padding-right: 35px;

        font-size: 13px;
    }

    .faq-item summary::after {
        top: 13px;

        font-size: 20px;
    }

    .faq-item__content {
        padding-right: 30px;
        padding-bottom: 20px;

        font-size: 12px;
        line-height: 1.7;
    }


    /* -----------------------------------------------------
       FOOTER
    ----------------------------------------------------- */

    .site-footer {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .site-footer__inner {
        gap: 15px;
    }

    .site-footer__links {
        flex-wrap: wrap;

        gap: 10px 18px;
    }

}
/* =========================================================
   EVCalc BRAND
========================================================= */

.site-logo {
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.site-logo:hover {
    transform: translateY(-1px);
}

.site-logo__mark {
    position: relative;

    overflow: hidden;

    box-shadow:
        0 6px 18px rgba(145, 190, 154, 0.20);
}

.site-logo__mark::after {
    content: "";

    position: absolute;

    top: -50%;
    left: -80%;

    width: 45%;
    height: 200%;

    transform: rotate(25deg);

    background:
        rgba(255, 255, 255, 0.25);

    transition:
        left 0.55s ease;
}

.site-logo:hover .site-logo__mark::after {
    left: 140%;
}

.site-logo__svg {
    display: block;

    position: relative;
    z-index: 1;
}


/* =========================================================
   RESULT ANIMATION
========================================================= */

@keyframes evcalcResultUpdate {

    0% {
        opacity: 0.45;
        transform: translateY(3px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

.result__value.is-updated,
.result__saving-value.is-updated,
.saving-period__amount.is-updated,
.calculated-consumption__value.is-updated {
    animation:
        evcalcResultUpdate 0.22s ease;
}


/* =========================================================
   CALCULATOR MICRO INTERACTIONS
========================================================= */

.calculator-card__icon {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.calculator-card:hover .calculator-card__icon {
    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(23, 36, 27, 0.075);
}


.form-input {
    transition:
        transform 0.18s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   CALCULATED VALUE
========================================================= */

.calculated-consumption__value {
    font-variant-numeric: tabular-nums;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .site-logo:hover {
        transform: none;
    }

    .calculator-card:hover .calculator-card__icon {
        transform: none;
    }

}